set terminate if core terminate requested
[soc.git] / src / soc / simple / issuer.py
index 15391fe80c68fa3f8768c297761501c6adeea43a..156fce3cdf79ddc786804e6342a49533b12f3397 100644 (file)
@@ -1415,7 +1415,8 @@ class TestIssuerInternal(TestIssuerBase):
         nia = Signal(64)
 
         # connect up debug signals
-        comb += dbg.terminate_i.eq(core.o.core_terminate_o)
+        with m.If(core.o.core_terminate_o):
+            comb += dbg.terminate_i.eq(1)
 
         # pass the prefix mode from Fetch to Issue, so the latter can loop
         # on VL==0