From: klehman Date: Tue, 21 Sep 2021 18:20:31 +0000 (-0400) Subject: changed test_runner to use state mem compare X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a8371e5d5ba1b5179dc5a471b27fef7aec13fb29;p=soc.git changed test_runner to use state mem compare --- diff --git a/src/soc/simple/test/test_runner.py b/src/soc/simple/test/test_runner.py index d1d8e209..934736ac 100644 --- a/src/soc/simple/test/test_runner.py +++ b/src/soc/simple/test/test_runner.py @@ -26,7 +26,7 @@ from soc.regfile.regfiles import StateRegs from soc.simple.issuer import TestIssuerInternal from soc.config.test.test_loadstore import TestMemPspec -from soc.simple.test.test_core import (setup_regs, check_regs, +from soc.simple.test.test_core import (setup_regs, check_regs, check_mem, wait_for_busy_clear, wait_for_busy_hi) from soc.fu.compunits.test.test_compunit import (setup_tst_memory, @@ -299,7 +299,7 @@ class TestRunner(FHDLTestCase): yield from check_regs(self, sim, core, test, code) # Memory check - yield from check_sim_memory(self, l0, sim, code) + yield from check_mem(self, sim, core, test, code) terminated = yield issuer.dbg.terminated_o print("terminated(2)", terminated)