Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
MarioOpenHWGroup and github-actions[bot] committed Aug 29, 2024
1 parent bc0dd78 commit 7f43411
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/cva6_rvfi.sv
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,9 @@ module cva6_rvfi
ex_commit_cause == riscv::ENV_CALL_SMODE ||
ex_commit_cause == riscv::ENV_CALL_UMODE));
rvfi_instr_o[i].valid <= valid;
rvfi_instr_o[i].insn <= mem_q[commit_pointer[i]].instr;
rvfi_instr_o[i].insn <= mem_q[commit_pointer[i]].instr;
// when trap, the instruction is not executed
rvfi_instr_o[i].trap <= exception;
rvfi_instr_o[i].trap <= exception;

if (exception && ex_commit_cause[31]) begin
rvfi_intr[i] <= 'b101;
Expand Down

0 comments on commit 7f43411

Please sign in to comment.