Fix CsrPlugin dcsr.stepie
This commit is contained in:
parent
4ae7386904
commit
5a8cdee884
|
@ -1231,7 +1231,7 @@ class CsrPlugin(val config: CsrPluginConfig) extends Plugin[VexRiscv] with Excep
|
||||||
code.addTag(Verilator.public)
|
code.addTag(Verilator.public)
|
||||||
|
|
||||||
if(withPrivilegedDebug) {
|
if(withPrivilegedDebug) {
|
||||||
valid clearWhen(!debug.dcsr.stepie)
|
valid clearWhen(debug.dcsr.step && !debug.dcsr.stepie)
|
||||||
valid setWhen(debug.doHalt)
|
valid setWhen(debug.doHalt)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue