Skip to content

Commit

Permalink
put back mstatush
Browse files Browse the repository at this point in the history
  • Loading branch information
ved-rivos committed Nov 26, 2023
1 parent 7d63627 commit 3f9b362
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions model/riscv_sys_control.sail
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,7 @@ function init_sys() -> unit = {
if sizeof(xlen) == 64 then {
mstatus = Mk_Mstatus([mstatus.bits() with 37 .. 36 = 0b00])
};
mstatush->bits() = zero_extend(0b0);

mip->bits() = zero_extend(0b0);
mie->bits() = zero_extend(0b0);
Expand Down

0 comments on commit 3f9b362

Please sign in to comment.