From 4e44540df239b609652ec2538aeafc4928878db4 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 25 Sep 2021 20:28:07 +0100 Subject: [PATCH] move debug printout to see whats going on for ldst --- src/soc/simple/test/test_runner.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.30.2