forked from M-Labs/artiq
rtio: always read full DMA sequence
This commit is contained in:
parent
c413d95b49
commit
f3c50a37ca
|
@ -350,12 +350,12 @@ class DMA(Module):
|
||||||
self.submodules += fsm
|
self.submodules += fsm
|
||||||
|
|
||||||
fsm.act("IDLE",
|
fsm.act("IDLE",
|
||||||
If(self.enable.re & self.enable.r, NextState("FLOWING"))
|
If(self.enable.re, NextState("FLOWING"))
|
||||||
)
|
)
|
||||||
fsm.act("FLOWING",
|
fsm.act("FLOWING",
|
||||||
self.enable.w.eq(1),
|
self.enable.w.eq(1),
|
||||||
flow_enable.eq(1),
|
flow_enable.eq(1),
|
||||||
If(self.slicer.end_marker_found | (self.enable.re & ~self.enable.r),
|
If(self.slicer.end_marker_found,
|
||||||
NextState("FLUSH")
|
NextState("FLUSH")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue