From 320867e1350684d21a87176dc9ece9299ebd939e Mon Sep 17 00:00:00 2001 From: Dolu1990 Date: Tue, 4 Apr 2023 18:11:33 +0200 Subject: [PATCH] sync --- 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 afe3e6c..20912f3 100644 --- a/src/main/scala/vexriscv/plugin/CsrPlugin.scala +++ b/src/main/scala/vexriscv/plugin/CsrPlugin.scala @@ -857,7 +857,7 @@ class CsrPlugin(val config: CsrPluginConfig) extends Plugin[VexRiscv] with Excep wakeService.askWake() } } - stoptime = out(debugMode && dcsr.stoptime).setName("stoptime") + stoptime = out(RegNext(debugMode && dcsr.stoptime) init(False)).setName("stoptime") //Very limited subset of the trigger spec val trigger = (debugTriggers > 0) generate new Area {