mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-24 05:47:36 -04:00
[dv] Fix traps in simple system cosim
Previously any traps seen on RVFI were skipped over. This was old behaviour. With the latest cosim setup traps must be passed to the `step` function.
This commit is contained in:
parent
51f1141335
commit
1ea89a423b
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ module ibex_simple_system_cosim_checker (
|
|||
end
|
||||
|
||||
always @(posedge clk_i) begin
|
||||
if (u_top.rvfi_valid & !u_top.rvfi_trap) begin
|
||||
if (u_top.rvfi_valid) begin
|
||||
riscv_cosim_set_nmi(cosim_handle, u_top.rvfi_ext_nmi);
|
||||
riscv_cosim_set_mip(cosim_handle, u_top.rvfi_ext_mip);
|
||||
riscv_cosim_set_debug_req(cosim_handle, u_top.rvfi_ext_debug_req);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue