avalon/AvalonMM2Wishbone: Fix avl.readdatavalid.

Multi-driven, remove assign in BURST-READ.
This commit is contained in:
Florent Kermarrec 2023-05-08 10:18:56 +02:00
parent dd40c25b23
commit 3c03b6f5e4
1 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,8 @@ class AvalonMM2Wishbone(Module):
),
If(~avl.waitrequest,
NextValue(burst_address, burst_address + word_width),
NextValue(burst_count, burst_count - 1)),
NextValue(burst_count, burst_count - 1),
),
If(burst_count == 0,
burst_cycle.eq(0),
NextState("SINGLE")
@ -121,7 +122,6 @@ class AvalonMM2Wishbone(Module):
wb.cti.eq(wishbone.CTI_BURST_END)
),
If(wb.ack,
avl.readdatavalid.eq(1),
NextValue(burst_address, burst_address + word_width),
NextValue(burst_count, burst_count - 1)
),