From: Luke Kenneth Casson Leighton Date: Fri, 19 Nov 2021 17:41:25 +0000 (+0000) Subject: debug and cleanup X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b39993be4c7bd8c3a4282a0068374a7c188637d4;p=soc.git debug and cleanup --- diff --git a/src/soc/simple/test/test_runner.py b/src/soc/simple/test/test_runner.py index e49ee067..74085731 100644 --- a/src/soc/simple/test/test_runner.py +++ b/src/soc/simple/test/test_runner.py @@ -219,7 +219,7 @@ class HDLRunner(StateRunner): index = (yield self.issuer.cur_state.pc) // 4 terminated = yield self.issuer.dbg.terminated_o - print("terminated", terminated) + print("terminated", terminated, index, len(instructions)) if index < len(instructions): # Get HDL mem and state @@ -230,8 +230,7 @@ class HDLRunner(StateRunner): if index >= len(instructions): print ("index over, send dmi stop") # stop at end - yield from set_dmi(dmi, DBGCore.CTRL, - 1<