From 946889e2abdb616d12c7728e6342402b5a1eb234 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 30 Apr 2021 16:25:20 +0100 Subject: [PATCH] debug and stop on mmu test_pipe_caller.py --- src/soc/fu/mmu/test/test_pipe_caller.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/soc/fu/mmu/test/test_pipe_caller.py b/src/soc/fu/mmu/test/test_pipe_caller.py index 175347b7..a8fcfac5 100644 --- a/src/soc/fu/mmu/test/test_pipe_caller.py +++ b/src/soc/fu/mmu/test/test_pipe_caller.py @@ -192,7 +192,9 @@ class TestRunner(unittest.TestCase): vld = yield fsm.n.valid_o #fsm while not vld: yield - if debughang: print("not valid -- hang") + if debughang: + print("not valid -- hang") + return vld = yield fsm.n.valid_o if debughang==2: vld=1 yield -- 2.30.2