We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d66a9e commit 9e9522cCopy full SHA for 9e9522c
FemtoRV/RTL/PROCESSOR/femtorv32_quark.v
@@ -237,7 +237,7 @@ module FemtoRV32 #(
237
// 32 bits, so we deactivate width test for mem_addr and writeBackData
238
239
assign mem_addr = state[WAIT_INSTR_bit] | state[FETCH_INSTR_bit] ?
240
- PC : loadstore_addr ;
+ PC : {loadstore_addr[ADDR_WIDTH-1:2], 2'b00} ;
241
242
/***************************************************************************/
243
// The value written back to the register file.
0 commit comments