From 6275e0884f5f7c6db66e36c9ef6c83eaf763555d Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 6 Apr 2019 05:12:14 +0100 Subject: [PATCH] rename stall test to ready --- src/add/test_buf_pipe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/add/test_buf_pipe.py b/src/add/test_buf_pipe.py index 0243053e..f79863df 100644 --- a/src/add/test_buf_pipe.py +++ b/src/add/test_buf_pipe.py @@ -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 -- 2.30.2