From b39993be4c7bd8c3a4282a0068374a7c188637d4 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 19 Nov 2021 17:41:25 +0000 Subject: [PATCH] debug and cleanup --- src/soc/simple/test/test_runner.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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<