csr regfile: force mstatus.UBE to 0 (see #1417) (#1626)

as CVA6 is little endian

Signed-off-by: André Sintzoff <andre.sintzoff@thalesgroup.com>
This commit is contained in:
André Sintzoff 2023-11-14 13:28:20 +01:00 committed by GitHub
parent f9c7542e84
commit 061694e3df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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