mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 04:47:25 -04:00
fix: Illegal instruction display message
When encountering certain illegal compressed instructions, incorrect instruction information was displayed. Now, illegal instructions can be printed correctly.
This commit is contained in:
parent
6e466c1504
commit
2678654820
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ module ibex_controller #(
|
|||
// print warning in case of decoding errors
|
||||
if ((ctrl_fsm_cs == DECODE) && instr_valid_i && !instr_fetch_err_i && illegal_insn_d) begin
|
||||
$display("%t: Illegal instruction (hart %0x) at PC 0x%h: 0x%h", $time, u_ibex_core.hart_id_i,
|
||||
pc_id_i, id_stage_i.instr_rdata_i);
|
||||
pc_id_i, instr_is_compressed_i ? {16'b0, instr_compressed_i} : instr_i );
|
||||
end
|
||||
end
|
||||
// synopsys translate_on
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue