forked from M-Labs/artiq
drtio: fix satellite i_status handling
This commit is contained in:
parent
3d965910f7
commit
08be176369
|
@ -201,8 +201,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