allow busy to settle before checking state in test_core.py
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 30 Nov 2021 12:11:45 +0000 (12:11 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 30 Nov 2021 12:11:45 +0000 (12:11 +0000)
src/soc/simple/test/test_core.py

index cdc844823cbb3784003510914d64f9616412c535..43564ebed76f3401cccc8513ca731b5c90f2f27f 100644 (file)
@@ -323,6 +323,7 @@ class TestRunner(FHDLTestCase):
                         # use issuer.any_busy to not send back "stopped" signal
                         while (yield core.o.any_busy_o):
                             yield
+                        yield Settle()
 
                         # register check
                         yield from check_regs(self, sim, core, test, code)