mirror of https://github.com/m-labs/artiq.git
drtio: fix satellite i_status handling
This commit is contained in:
parent
b482f5feae
commit
69d060b639
|
@ -161,8 +161,8 @@ class RTPacketSatellite(Module):
|
||||||
tx_fsm.act("IDLE",
|
tx_fsm.act("IDLE",
|
||||||
If(echo_req, NextState("ECHO")),
|
If(echo_req, NextState("ECHO")),
|
||||||
If(buffer_space_req, NextState("BUFFER_SPACE")),
|
If(buffer_space_req, NextState("BUFFER_SPACE")),
|
||||||
If(read_request_pending,
|
If(read_request_pending & ~self.cri.i_status[2],
|
||||||
If(~self.cri.i_status[2], NextState("READ")),
|
NextState("READ"),
|
||||||
If(self.cri.i_status[0], NextState("READ_TIMEOUT")),
|
If(self.cri.i_status[0], NextState("READ_TIMEOUT")),
|
||||||
If(self.cri.i_status[1], NextState("READ_OVERFLOW"))
|
If(self.cri.i_status[1], NextState("READ_OVERFLOW"))
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue