mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
rtio: do not clear asynchronous error flags on RTIO reset
This commit is contained in:
parent
db3118b916
commit
12249dac57
@ -333,7 +333,9 @@ class Core(Module, AutoCSR):
|
||||
If(self.cri.cmd == cri.commands["write"],
|
||||
o_underflow.eq(0),
|
||||
o_sequence_error.eq(0),
|
||||
),
|
||||
)
|
||||
]
|
||||
self.sync += [
|
||||
If(self.async_error.re,
|
||||
If(self.async_error.r[0], o_collision.eq(0)),
|
||||
If(self.async_error.r[1], o_busy.eq(0)),
|
||||
@ -370,7 +372,9 @@ class Core(Module, AutoCSR):
|
||||
|
||||
self.sync.rsys += [
|
||||
If(o_manager.underflow, o_underflow.eq(1)),
|
||||
If(o_manager.sequence_error, o_sequence_error.eq(1)),
|
||||
If(o_manager.sequence_error, o_sequence_error.eq(1))
|
||||
]
|
||||
self.sync += [
|
||||
If(o_manager.collision, o_collision.eq(1)),
|
||||
If(o_manager.busy, o_busy.eq(1))
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user