cores/dma: Don’t drop data while idle.
This commit is contained in:
parent
15f72174ce
commit
6ad6d1e414
|
@ -182,7 +182,6 @@ class WishboneDMAWriter(Module, AutoCSR):
|
||||||
self.submodules += fsm
|
self.submodules += fsm
|
||||||
self.comb += fsm.reset.eq(~self._enable.storage)
|
self.comb += fsm.reset.eq(~self._enable.storage)
|
||||||
fsm.act("IDLE",
|
fsm.act("IDLE",
|
||||||
self.sink.ready.eq(1),
|
|
||||||
NextValue(offset, 0),
|
NextValue(offset, 0),
|
||||||
NextState("RUN"),
|
NextState("RUN"),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue