forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

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")
),