frontend/avalon: Remove SINGLE-WRITE/SINGLE-READ states since no longer useful with Cmd/Data-path decoupling.
This commit is contained in:
parent
5a092dd4ed
commit
60712547e5
|
@ -104,30 +104,10 @@ class LiteDRAMAvalonMM2Native(LiteXModule):
|
|||
port.cmd.last.eq(1),
|
||||
If(port.cmd.valid & port.cmd.ready,
|
||||
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",
|
||||
avalon.waitrequest.eq(1),
|
||||
port.cmd.addr.eq(address),
|
||||
|
|
Loading…
Reference in New Issue