From 2b8729f3263e86ca75b4c42804aafe6a714cc7fe Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 13 Mar 2017 00:00:38 +0800 Subject: [PATCH] drtio: clear any read request on satellite reset --- artiq/gateware/drtio/rt_packet_satellite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/gateware/drtio/rt_packet_satellite.py b/artiq/gateware/drtio/rt_packet_satellite.py index 1fba94a1a..1234146e8 100644 --- a/artiq/gateware/drtio/rt_packet_satellite.py +++ b/artiq/gateware/drtio/rt_packet_satellite.py @@ -111,7 +111,7 @@ class RTPacketSatellite(Module): read_request_timeout = Signal() read_request_wait = Signal() # 1 cycle latency channel→(data,overflow) and time_limit→timeout self.sync += [ - If(clear_read_request, + If(clear_read_request | self.reset, read_request_pending.eq(0) ), read_request_wait.eq(0),