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:
parent
1ab88bb698
commit
942dba8ea3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user