From 35dd8b9948a3def659f2736d17cb05c98a1ff183 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 24 Jul 2020 12:43:59 +0100 Subject: [PATCH] comment about timeline does not exist --- src/soc/fu/div/test/test_pipe_caller.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/soc/fu/div/test/test_pipe_caller.py b/src/soc/fu/div/test/test_pipe_caller.py index a5e83887..fa10ae58 100644 --- a/src/soc/fu/div/test/test_pipe_caller.py +++ b/src/soc/fu/div/test/test_pipe_caller.py @@ -343,7 +343,13 @@ class TestRunner(unittest.TestCase): yield yield Delay(0.1e-6) - print("time:", sim._state.timeline.now) + # XXX sim._state is an internal variable + # and timeline does not exist + # AttributeError: '_SimulatorState' object + # has no attribute 'timeline' + # TODO: raise bugreport with whitequark + # requesting a public API to access this "officially" + # XXX print("time:", sim._state.timeline.now) yield from self.check_alu_outputs(alu, pdecode2, isa_sim, code) -- 2.30.2