Skip to content

Commit

Permalink
drtio: fix satellite i_status handling
Browse files Browse the repository at this point in the history
  • Loading branch information
sbourdeauducq committed Sep 19, 2018
1 parent b482f5f commit 69d060b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions artiq/gateware/drtio/rt_packet_satellite.py
Expand Up @@ -161,8 +161,8 @@ def __init__(self, link_layer):
tx_fsm.act("IDLE",
If(echo_req, NextState("ECHO")),
If(buffer_space_req, NextState("BUFFER_SPACE")),
If(read_request_pending,
If(~self.cri.i_status[2], NextState("READ")),
If(read_request_pending & ~self.cri.i_status[2],
NextState("READ"),
If(self.cri.i_status[0], NextState("READ_TIMEOUT")),
If(self.cri.i_status[1], NextState("READ_OVERFLOW"))
)
Expand Down

0 comments on commit 69d060b

Please sign in to comment.