disable buffermode in test 12
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 7 Apr 2019 05:54:19 +0000 (06:54 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 7 Apr 2019 05:54:19 +0000 (06:54 +0100)
src/add/test_buf_pipe.py

index ae035054a8a3c3478558a004aca1b1665ce09d0e..6f81998a81c78288c75c6738563dcf2006ed95ea 100644 (file)
@@ -136,7 +136,6 @@ class Test3:
                     send = True
                 else:
                     send = randint(0, send_range) != 0
-                send = True
                 o_p_ready = yield self.dut.p.o_ready
                 if not o_p_ready:
                     yield
@@ -210,6 +209,7 @@ class Test5:
                     send = True
                 else:
                     send = randint(0, send_range) != 0
+                #send = True
                 o_p_ready = yield self.dut.p.o_ready
                 if not o_p_ready:
                     yield
@@ -228,7 +228,7 @@ class Test5:
             stall_range = randint(0, 3)
             for j in range(randint(1,10)):
                 ready = randint(0, stall_range) != 0
-                ready = True
+                #ready = True
                 yield self.dut.n.i_ready.eq(ready)
                 yield
                 o_n_valid = yield self.dut.n.o_valid
@@ -627,7 +627,7 @@ class ExampleBufDelayedPipe(BufferedPipeline):
     def __init__(self):
         stage = ExampleStageDelayCls(valid_trigger=3)
         BufferedPipeline.__init__(self, stage, stage_ctl=True,
-                                    buffermode=False)
+                                    buffermode=True)
 
     def elaborate(self, platform):
         m = BufferedPipeline.elaborate(self, platform)