Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PorterLu committed Aug 13, 2024
1 parent cdb458a commit 65296df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rocketv/src/CSR.scala
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ class CSR(val parameter: CSRParameter)
sgeip_mask.sgeip := true.B
read_mideleg & ~(hs_delegable_interrupts | sgeip_mask.asUInt)
}
if (true) {
if (usingSupervisor) {
val read_sie = reg_mie & sie_mask
val read_sip = read_mip & sie_mask
val read_sstatus = WireDefault(0.U.asTypeOf(new MStatus))
Expand Down

0 comments on commit 65296df

Please sign in to comment.