Skip to content

Commit

Permalink
csr regfile: force mstatus.UBE to 0 (see #1417) (#1626)
Browse files Browse the repository at this point in the history
as CVA6 is little endian

Signed-off-by: André Sintzoff <[email protected]>
  • Loading branch information
ASintzoff authored Nov 14, 2023
1 parent f9c7542 commit 061694e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/csr_regfile.sv
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,7 @@ module csr_regfile
mstatus_d.wpri1 = 1'b0;
mstatus_d.wpri2 = 1'b0;
mstatus_d.wpri0 = 1'b0;
mstatus_d.ube = 1'b0; // CVA6 is little-endian
// this register has side-effects on other registers, flush the pipeline
flush_o = 1'b1;
end
Expand Down

0 comments on commit 061694e

Please sign in to comment.