Re-enable core stopped signal when stopped.
authorCesar Strauss <cestrauss@gmail.com>
Thu, 23 Dec 2021 10:56:42 +0000 (07:56 -0300)
committerCesar Strauss <cestrauss@gmail.com>
Thu, 23 Dec 2021 10:56:42 +0000 (07:56 -0300)
src/soc/simple/issuer.py

index 5cd3223487231f6d0c068dffa5fb44daea8ac5e5..6da1610ce25a487d4014287d8dfb76ae12b51122 100644 (file)
@@ -1088,7 +1088,7 @@ class TestIssuerInternal(TestIssuerBase):
                         m.next = "INSN_WAIT"
                 with m.Else():
                     # tell core it's stopped, and acknowledge debug handshake
-                    #comb += dbg.core_stopped_i.eq(1)
+                    comb += dbg.core_stopped_i.eq(1)
                     # while stopped, allow updating SVSTATE
                     with m.If(self.svstate_i.ok):
                         comb += new_svstate.eq(self.svstate_i.data)