Fix privileged debug trigger decode break logic

This commit is contained in:
Dolu1990 2022-10-21 17:21:13 +02:00
parent 95c656ceef
commit 662943522f
1 changed files with 1 additions and 0 deletions

View File

@ -829,6 +829,7 @@ class CsrPlugin(val config: CsrPluginConfig) extends Plugin[VexRiscv] with Excep
when(enabled) {
decode.arbitration.haltByOther := True
when(timeout.state) {
decode.arbitration.flushIt := True
dpc := decode.input(PC)
running := False
dcsr.cause := 2