mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-22 13:17:41 -04:00
parent
21733e55d7
commit
fe1a19fca7
1 changed files with 1 additions and 1 deletions
|
@ -1074,7 +1074,7 @@ module csr_regfile
|
|||
// If h-extension is not enabled, priv level HS is reserved
|
||||
if (!CVA6Cfg.RVH) begin
|
||||
if (mstatus_d.mpp == riscv::PRIV_LVL_HS) begin
|
||||
mstatus_d.mpp = riscv::PRIV_LVL_U;
|
||||
mstatus_d.mpp = mstatus_q.mpp;
|
||||
end
|
||||
end
|
||||
// this instruction has side-effects
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue