2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-28 20:53:35 +08:00

rtio: fix handling of o_status in DMA

This commit is contained in:
Sebastien Bourdeauducq 2016-12-05 17:59:23 +08:00
parent 75ea13748a
commit b677c69faf

View File

@ -309,7 +309,7 @@ class CRIMaster(Module, AutoCSR):
)
fsm.act("CHECK_STATE",
self.busy.eq(1),
If(~self.cri.o_status,
If(self.cri.o_status == 0,
self.sink.ack.eq(1),
NextState("IDLE")
),