diff options
Diffstat (limited to 'rtl/core/control/issue.sv')
| -rw-r--r-- | rtl/core/control/issue.sv | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/rtl/core/control/issue.sv b/rtl/core/control/issue.sv index c1c932e..d124a0d 100644 --- a/rtl/core/control/issue.sv +++ b/rtl/core/control/issue.sv @@ -32,11 +32,13 @@ module core_control_issue undefined <= 0; pc_visible <= 2; end else if(next_cycle.issue) begin - undefined <= dec.ctrl.undefined; + if(issue) begin + undefined <= dec.ctrl.undefined; `ifdef VERILATOR - if(dec.ctrl.undefined) - $display("[core] undefined insn: [0x%08x] %08x", insn_pc << 2, insn); + if(dec.ctrl.undefined) + $display("[core] undefined insn: [0x%08x] %08x", insn_pc << 2, insn); + end `endif pc <= insn_pc; |
