mirror of
https://github.com/Domipheus/RPU.git
synced 2025-04-18 19:15:13 -04:00
Fix bug in which OP decode previously went though the others=> case, which is now solely for invalid instructions. This caused an illegal intruction interrupt on all OP instructions (add,sub) or if interrupts are disabled, allowed the instruction to proceed without the data write from ALU occuring to the register file, causing major debug headaches.
This commit is contained in:
parent
bb6683092f
commit
a9f3009b8f
1 changed files with 5 additions and 0 deletions
|
@ -113,6 +113,11 @@ begin
|
|||
else
|
||||
O_dataIMM <= X"0000" & "0000" & I_dataInst(IMM_I_START downto IMM_I_END);
|
||||
end if;
|
||||
|
||||
when OPCODE_OP =>
|
||||
O_int <= '0';
|
||||
O_regDwe <= '1';
|
||||
O_memOp <= "00000";
|
||||
when OPCODE_LOAD =>
|
||||
O_int <= '0';
|
||||
O_regDwe <= '1';
|
||||
|
|
Loading…
Add table
Reference in a new issue