mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-22 12:57:23 -04:00
Trap on illegal instructions when no FPU
This commit is contained in:
parent
3e950a85c5
commit
6e8759cc96
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ module ifu import cvw::*; #(parameter cvw_t P) (
|
|||
assign InstrD = InstrRawD;
|
||||
assign IllegalIEUInstrD = IllegalBaseInstrD;
|
||||
end
|
||||
assign IllegalIEUFPUInstrD = IllegalIEUInstrD & IllegalFPUInstrD;
|
||||
assign IllegalIEUFPUInstrD = IllegalIEUInstrD & (IllegalFPUInstrD | !P.F_SUPPORTED);
|
||||
|
||||
// Misaligned PC logic
|
||||
// Instruction address misalignment only from br/jal(r) instructions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue