comment about timeline does not exist
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 24 Jul 2020 11:43:59 +0000 (12:43 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 24 Jul 2020 11:43:59 +0000 (12:43 +0100)
src/soc/fu/div/test/test_pipe_caller.py

index a5e83887afbfcdf16359339114ed3f2020e59437..fa10ae58da4870c4ab6cc1ed9b7f7521fe8dba9a 100644 (file)
@@ -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)