From: Luke Kenneth Casson Leighton Date: Fri, 24 Jul 2020 11:43:59 +0000 (+0100) Subject: comment about timeline does not exist X-Git-Tag: semi_working_ecp5~581 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=35dd8b9948a3def659f2736d17cb05c98a1ff183;p=soc.git comment about timeline does not exist --- 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)