forked from M-Labs/artiq
drtio: clear any read request on satellite reset
This commit is contained in:
parent
1dbfaf5ad0
commit
2b8729f326
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue