Avalon2Wishbone: Burst can only advance if write is high and waitrequest low

This commit is contained in:
Hans Baier 2023-05-11 08:24:12 +07:00
parent 7d58f5d640
commit 2b4c75ddd3
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class AvalonMM2Wishbone(Module):
If(burst_count == 1,
wb.cti.eq(wishbone.CTI_BURST_END)
),
If(~avl.waitrequest,
If(~avl.waitrequest & avl.write,
NextValue(burst_address, burst_address + burst_increment),
NextValue(burst_count, burst_count - 1),
),