forked from M-Labs/artiq
rtio: fix handling of o_status in DMA
This commit is contained in:
parent
75ea13748a
commit
b677c69faf
|
@ -309,7 +309,7 @@ class CRIMaster(Module, AutoCSR):
|
||||||
)
|
)
|
||||||
fsm.act("CHECK_STATE",
|
fsm.act("CHECK_STATE",
|
||||||
self.busy.eq(1),
|
self.busy.eq(1),
|
||||||
If(~self.cri.o_status,
|
If(self.cri.o_status == 0,
|
||||||
self.sink.ack.eq(1),
|
self.sink.ack.eq(1),
|
||||||
NextState("IDLE")
|
NextState("IDLE")
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue