Skip to content

Commit

Permalink
RVFI - Set proper write mask for mstatus fs when writes to frm
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoann Pruvost committed Apr 26, 2024
1 parent 7b9bf59 commit 90e982e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bhv/pipe_freeze_trace.sv
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,10 @@ function compute_csr_we();
r_pipe_freeze_trace.csr.fflags_we = 1'b1;
r_pipe_freeze_trace.csr.mstatus_fs_we = 1'b1;
end
CSR_FRM: r_pipe_freeze_trace.csr.frm_we = 1'b1;
CSR_FRM: begin
r_pipe_freeze_trace.csr.frm_we = 1'b1;
r_pipe_freeze_trace.csr.mstatus_fs_we = 1'b1;
end
CSR_FCSR: begin
r_pipe_freeze_trace.csr.fcsr_we = 1'b1;
r_pipe_freeze_trace.csr.mstatus_fs_we = 1'b1;
Expand Down

0 comments on commit 90e982e

Please sign in to comment.