forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class RTPacketSatellite(Module):
read_request_timeout = Signal() read_request_timeout = Signal()
read_request_wait = Signal() # 1 cycle latency channel→(data,overflow) and time_limit→timeout read_request_wait = Signal() # 1 cycle latency channel→(data,overflow) and time_limit→timeout
self.sync += [ self.sync += [
If(clear_read_request, If(clear_read_request | self.reset,
read_request_pending.eq(0) read_request_pending.eq(0)
), ),
read_request_wait.eq(0), read_request_wait.eq(0),