From: Luke Kenneth Casson Leighton Date: Sat, 25 Sep 2021 19:28:07 +0000 (+0100) Subject: move debug printout to see whats going on for ldst X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=37d9a1ccfa98fd56f1c4aa24b5adcac61fb9f73e;p=soc.git move debug printout to see whats going on for ldst --- diff --git a/src/soc/simple/test/test_runner.py b/src/soc/simple/test/test_runner.py index 32c19db5..d8716b37 100644 --- a/src/soc/simple/test/test_runner.py +++ b/src/soc/simple/test/test_runner.py @@ -478,11 +478,6 @@ class TestRunner(FHDLTestCase): else: last_sim = None # err what are you doing?? - if self.run_hdl and self.run_sim: - for simstate, hdlstate in zip(sim_states, hdl_states): - simstate.compare(hdlstate) # register check - simstate.compare_mem(hdlstate) # memory check - if self.run_hdl: print ("hdl_states") for state in hdl_states: @@ -493,6 +488,11 @@ class TestRunner(FHDLTestCase): for state in sim_states: print (state) + if self.run_hdl and self.run_sim: + for simstate, hdlstate in zip(sim_states, hdl_states): + simstate.compare(hdlstate) # register check + simstate.compare_mem(hdlstate) # memory check + # compare against expected results if test.expected is not None: # have to put these in manually