tb: axis_mii_tx: Test one-cycle error
Ensure we transition properly even if buf_err is only high for one cycle. Signed-off-by: Sean Anderson <seanga2@gmail.com>
This commit is contained in:
parent
4746b3b6cd
commit
01ff073916
|
@ -225,6 +225,11 @@ async def test_underflow(mac):
|
|||
send, status = await start(mac, [*range(x), None])
|
||||
await underflow(mac, send, status)
|
||||
|
||||
# Error on last byte valid for one cycle
|
||||
send, status = await start(mac, [*range(x), None],
|
||||
last_extra=(12 + 8 + x) * 10 - x + 5)
|
||||
await underflow(mac, send, status)
|
||||
|
||||
# Error with more to come
|
||||
send, status = await start(mac, [*range(x), None, 1])
|
||||
await underflow(mac, send, status)
|
||||
|
|
Loading…
Reference in New Issue