add debugging chain for #425
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 10 Jul 2020 09:16:28 +0000 (10:16 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 10 Jul 2020 09:16:28 +0000 (10:16 +0100)
src/soc/fu/div/pipeline.py
src/soc/fu/div/test/test_pipe_caller.py

index d72083e52c872aec63997765c0cf813c9973e018..801cd44a995a8183398ff7f5d19ae278c45b3a5e 100644 (file)
@@ -34,6 +34,7 @@ class DivStagesEnd(PipeModBaseChain):
         core_final = DivCoreFinalStage(self.pspec)
         div_out = DivOutputStage(self.pspec)
         alu_out = DivMulOutputStage(self.pspec)
+        self.div_out = div_out # debugging - bug #425
         return [core_final, div_out, alu_out]
 
 
index 6b80fcc1fc300e5508f32e2222143f677f14fb98..403c0b57e642311446511dcf8501ecf56ef81c40 100644 (file)
@@ -217,6 +217,7 @@ class TestRunner(FHDLTestCase):
                     while not vld:
                         yield
                         vld = yield alu.n.valid_o
+                        print ("bug track", alu.pipe_end.div_out)
                     yield
 
                     yield from self.check_alu_outputs(alu, pdecode2, sim, code)