diff --git a/tb/axis_replay_buffer.py b/tb/axis_replay_buffer.py index de8d182..f33ab9c 100644 --- a/tb/axis_replay_buffer.py +++ b/tb/axis_replay_buffer.py @@ -29,7 +29,7 @@ async def send_packet(signals, packet, ratio=1): if signals['ready'].value: break signals['valid'].value = 0 - if ratio != 1: + if ratio != 1 and not last: await ClockCycles(signals['clk'], ratio - 1, rising=False) @timeout(30, 'us')