2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 11:18:27 +08:00

drtio: clear any read request on satellite reset

This commit is contained in:
Sebastien Bourdeauducq 2017-03-13 00:00:38 +08:00
parent 1dbfaf5ad0
commit 2b8729f326

View File

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