code-shuffle on testing to prepare loading large files into memory
[soc.git] / src / soc / simple / issuer.py
index d0d1c5e2350263207e41e7b22bcfd2c79e798fbb..45e6b283325bb6bc3567889930ad606d78ecad78 100644 (file)
@@ -75,6 +75,10 @@ class TestIssuer(Elaboratable):
         comb += self.pc_o.eq(cur_pc)
         ilatch = Signal(32)
 
+        # allow debug access to current instruction and pc
+        self._current_insn = current_insn
+        self._cur_pc = cur_pc
+
         # next instruction (+4 on current)
         nia = Signal(64, reset_less=True)
         comb += nia.eq(cur_pc + 4)