Skip to content

Commit

Permalink
csr_regfile.sv: force mstatus.UBE to 0 (see #1417)
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 committed Nov 14, 2023
1 parent 39d26fb commit da436dc
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 da436dc

Please sign in to comment.