Skip to content

Commit f3c50a3

Browse files
committedDec 5, 2016
rtio: always read full DMA sequence
1 parent c413d95 commit f3c50a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎artiq/gateware/rtio/dma.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -350,12 +350,12 @@ def __init__(self, membus):
350350
self.submodules += fsm
351351

352352
fsm.act("IDLE",
353-
If(self.enable.re & self.enable.r, NextState("FLOWING"))
353+
If(self.enable.re, NextState("FLOWING"))
354354
)
355355
fsm.act("FLOWING",
356356
self.enable.w.eq(1),
357357
flow_enable.eq(1),
358-
If(self.slicer.end_marker_found | (self.enable.re & ~self.enable.r),
358+
If(self.slicer.end_marker_found,
359359
NextState("FLUSH")
360360
)
361361
)

0 commit comments

Comments
 (0)
Please sign in to comment.