rename stall test to ready
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 6 Apr 2019 04:12:14 +0000 (05:12 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 6 Apr 2019 04:12:14 +0000 (05:12 +0100)
src/add/test_buf_pipe.py

index 0243053e08db2a3038e9dfba401933f803dd1de8..f79863dfa4ba5763d00f86129b214180026e1064 100644 (file)
@@ -224,8 +224,8 @@ class Test5:
         while self.o != len(self.data):
             stall_range = randint(0, 3)
             for j in range(randint(1,10)):
-                stall = randint(0, stall_range) != 0
-                yield self.dut.n.i_ready.eq(stall)
+                ready = randint(0, stall_range) != 0
+                yield self.dut.n.i_ready.eq(ready)
                 yield
                 o_n_valid = yield self.dut.n.o_valid
                 i_n_ready = yield self.dut.n.i_ready_test