From 13061b8b2efc41bfc0adfeaeeca97cef7a2d0a50 Mon Sep 17 00:00:00 2001 From: Charles Papon Date: Wed, 15 Mar 2023 09:50:09 +0800 Subject: [PATCH] debug unavailable is now BufferCC --- src/main/scala/vexriscv/plugin/CsrPlugin.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/vexriscv/plugin/CsrPlugin.scala b/src/main/scala/vexriscv/plugin/CsrPlugin.scala index fa80e78..4091be6 100644 --- a/src/main/scala/vexriscv/plugin/CsrPlugin.scala +++ b/src/main/scala/vexriscv/plugin/CsrPlugin.scala @@ -709,7 +709,7 @@ class CsrPlugin(val config: CsrPluginConfig) extends Plugin[VexRiscv] with Excep bus.running := running bus.halted := !running - bus.unavailable := RegNext(ClockDomain.current.isResetActive) + bus.unavailable := BufferCC(ClockDomain.current.isResetActive) when(debugMode){ inhibateInterrupts() }