Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion rtl/ibex_core.sv
Original file line number Diff line number Diff line change
Expand Up @@ -2411,7 +2411,8 @@ module ibex_core import ibex_pkg::*; import ibex_cheriot_pkg::*; #(
always_comb begin
rvfi_set_trap_pc_d = rvfi_set_trap_pc_q;

if (pc_set && pc_mux_id == PC_EXC && (exc_pc_mux_id == EXC_PC_IRQ)) begin
if (pc_set && pc_mux_id == PC_EXC &&
(exc_pc_mux_id == EXC_PC_EXC || exc_pc_mux_id == EXC_PC_IRQ)) begin
// PC is set to enter a trap handler
rvfi_set_trap_pc_d = 1'b1;
end else if (rvfi_set_trap_pc_q && rvfi_id_done) begin
Expand Down
Loading