When part skipped do not threat it as sent

This commit is contained in:
Dmitry Derevyanko 2024-04-28 21:52:55 +03:00
parent 22f4637570
commit bb2284b40b
1 changed files with 2 additions and 2 deletions

View File

@ -303,10 +303,10 @@ class _AXILiteDownConverterWrite(LiteXModule):
skip.eq(slave.w.strb == 0),
slave.aw.valid.eq(~skip & ~aw_ready),
slave.w.valid.eq(~skip & ~w_ready),
If(slave.aw.ready,
If(slave.aw.ready & ~skip,
NextValue(aw_ready, 1)
),
If(slave.w.ready,
If(slave.w.ready & ~skip,
NextValue(w_ready, 1)
),
# When skipping, we just increment the counter.