gw: fix CircularBuffer test

with_wb = True overrides the rd_addr, which broke the test. Just had to
disable that param and the test was correct again
This commit is contained in:
David Lenfesty 2023-05-27 11:02:31 -06:00
parent 1ab88bb698
commit 942dba8ea3

View File

@ -111,7 +111,7 @@ class CircularBuffer(Module):
def testbench(): def testbench():
dut = CircularBuffer(9, 24) dut = CircularBuffer(9, 24, with_wb=False)
def test_fn(): def test_fn():
assert (yield dut.len) == 0 assert (yield dut.len) == 0
assert (yield dut.wr_ready) == 1 assert (yield dut.wr_ready) == 1