OpenCores
no use no use 1/1 no use no use
"W" register in RISC( processor
by Unknown on Feb 11, 2004
Not available!
Hello,
I downloaded the verilog source code of the RISC 8 processor from the CVS
page.
I have a question about the "W" register.
As indicated bellow, the "dbus" (the output of the ALU) data is written into
this register. This register is used later as one of the input for the ALU.

My question is why the output should go first to "W" register and then to
the MUX which is connected to the ALU.
Is it possble to not use the W register at all and connect directly the
"sbus" to the MUX.

=============================
// W Register
always @(posedge clk) begin
if (reset) begin
w end
else begin
if (wwe) begin
w end
end
end
===========================

Thank you for your help,

/Ben
UEC, IS
www.uec.ac.jp




no use no use 1/1 no use no use
© copyright 1999-2026 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.