mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-22 05:07:21 -04:00
Hotfix 2885: Condition on RVU (#2886)
Condition on RVU because you can have RVU with M mode but not RVS without RVU
This commit is contained in:
parent
31dd1d232b
commit
2d3532e192
1 changed files with 1 additions and 1 deletions
|
@ -2570,7 +2570,7 @@ module csr_regfile
|
|||
priv_lvl_o != riscv::PRIV_LVL_M && v_q)
|
||||
? 1'b1
|
||||
: 1'b0;
|
||||
end else if (CVA6Cfg.RVS) begin
|
||||
end else if (CVA6Cfg.RVU) begin
|
||||
assign en_translation_o = (satp_mode_is_sv && priv_lvl_o != riscv::PRIV_LVL_M) ? 1'b1 : 1'b0;
|
||||
assign en_g_translation_o = 1'b0;
|
||||
end else begin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue