mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-24 19:04:02 +08:00
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
|
||||
|
||||
fsm.act("IDLE",
|
||||
If(self.enable.re & self.enable.r, NextState("FLOWING"))
|
||||
If(self.enable.re, NextState("FLOWING"))
|
||||
)
|
||||
fsm.act("FLOWING",
|
||||
self.enable.w.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")
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user