From 662943522fc1d5eaccb95cb1c4027e368fbb3f57 Mon Sep 17 00:00:00 2001 From: Dolu1990 Date: Fri, 21 Oct 2022 17:21:13 +0200 Subject: [PATCH] Fix privileged debug trigger decode break logic --- src/main/scala/vexriscv/plugin/CsrPlugin.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/scala/vexriscv/plugin/CsrPlugin.scala b/src/main/scala/vexriscv/plugin/CsrPlugin.scala index 78a5bd9..2b6fb80 100644 --- a/src/main/scala/vexriscv/plugin/CsrPlugin.scala +++ b/src/main/scala/vexriscv/plugin/CsrPlugin.scala @@ -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