From c495f10fdbbc2bdaf0e304db5a709e0c585de9c2 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 23 Aug 2020 20:49:13 +0100 Subject: [PATCH] bring "core stopped" signal out through DMI interface --- src/soc/simple/issuer.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/soc/simple/issuer.py b/src/soc/simple/issuer.py index ad4fd0a9..cf516099 100644 --- a/src/soc/simple/issuer.py +++ b/src/soc/simple/issuer.py @@ -156,9 +156,9 @@ class TestIssuer(Elaboratable): # connect up debug signals # TODO comb += core.icache_rst_i.eq(dbg.icache_rst_o) - comb += core.core_stopped_i.eq(dbg.core_stop_o) comb += dbg.terminate_i.eq(core.core_terminate_o) comb += dbg.state.pc.eq(pc) + #comb += dbg.state.pc.eq(cur_state.pc) comb += dbg.state.msr.eq(cur_state.msr) # temporaries @@ -195,6 +195,9 @@ class TestIssuer(Elaboratable): comb += self.state_r_msr.ren.eq(1<