frontend/avalon: Remove SINGLE-WRITE/SINGLE-READ states since no longer useful with Cmd/Data-path decoupling.

This commit is contained in:
Florent Kermarrec 2023-06-01 08:57:02 +02:00
parent 5a092dd4ed
commit 60712547e5
1 changed files with 0 additions and 20 deletions

View File

@ -104,30 +104,10 @@ class LiteDRAMAvalonMM2Native(LiteXModule):
port.cmd.last.eq(1), port.cmd.last.eq(1),
If(port.cmd.valid & port.cmd.ready, If(port.cmd.valid & port.cmd.ready,
avalon.waitrequest.eq(0), avalon.waitrequest.eq(0),
If(port.cmd.we,
NextState("SINGLE-WRITE")
).Else(
NextState("SINGLE-READ")
)
) )
) )
) )
) )
fsm.act("SINGLE-WRITE",
avalon.waitrequest.eq(1),
If(port.wdata.valid & port.wdata.ready,
NextState("IDLE")
)
)
fsm.act("SINGLE-READ",
avalon.waitrequest.eq(1),
If(port.rdata.valid,
NextState("IDLE")
)
)
fsm.act("BURST-WRITE", fsm.act("BURST-WRITE",
avalon.waitrequest.eq(1), avalon.waitrequest.eq(1),
port.cmd.addr.eq(address), port.cmd.addr.eq(address),