kleine Ă„nderungen
[calu.git] / cpu / src / decode_stage_b.vhd
index 7d42e8fdf9f56a829512f8072e8e163d331bdcad..14846b227dc9cf202181500064fa0dc3c5049968 100644 (file)
@@ -164,7 +164,7 @@ begin
                rtw_rec_nxt.rtw_reg1 <= ('1' and reg_we);
        end if;
 
-       if (reg_w_addr = instr_spl.reg_src1_addr) then
+       if (reg_w_addr = instr_spl.reg_src2_addr) then
                rtw_rec_nxt.rtw_reg2 <= ('1' and reg_we);
        end if;