From d0512df768fec45afe10a553b0f7564ae50db3f8 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 23 Sep 2021 23:47:32 +0100 Subject: [PATCH] add in a stack of comments for identifying match-points with StateRunner --- src/soc/simple/test/test_runner.py | 36 +++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/src/soc/simple/test/test_runner.py b/src/soc/simple/test/test_runner.py index 69b1ccfc..99ca54c3 100644 --- a/src/soc/simple/test/test_runner.py +++ b/src/soc/simple/test/test_runner.py @@ -290,6 +290,9 @@ class TestRunner(FHDLTestCase): svp64=self.svp64, mmu=self.microwatt_mmu, reg_wid=64) + + ###### SETUP PHASE ####### + if self.run_hdl: #hard_reset = Signal(reset_less=True) issuer = TestIssuerInternal(pspec) @@ -319,6 +322,8 @@ class TestRunner(FHDLTestCase): def process(): + ###### PREPARATION PHASE AT START OF RUNNING ####### + if self.run_hdl: # start in stopped yield from set_dmi(dmi, DBGCore.CTRL, 1<