mirror of https://github.com/m-labs/artiq.git
drtio: clear underflow and sequence error on reset
This commit is contained in:
parent
7196bc21c1
commit
8f747fa209
|
@ -105,6 +105,10 @@ class RTController(Module):
|
||||||
If(self.cri.cmd == cri.commands["o_sequence_error_reset"], status_sequence_error.eq(0)),
|
If(self.cri.cmd == cri.commands["o_sequence_error_reset"], status_sequence_error.eq(0)),
|
||||||
If(underflow_set, status_underflow.eq(1)),
|
If(underflow_set, status_underflow.eq(1)),
|
||||||
If(sequence_error_set, status_sequence_error.eq(1)),
|
If(sequence_error_set, status_sequence_error.eq(1)),
|
||||||
|
If(self.csrs.reset.re,
|
||||||
|
status_underflow.eq(0),
|
||||||
|
status_sequence_error.eq(0)
|
||||||
|
)
|
||||||
]
|
]
|
||||||
|
|
||||||
signal_fifo_space_timeout = Signal()
|
signal_fifo_space_timeout = Signal()
|
||||||
|
|
Loading…
Reference in New Issue