mirror of https://github.com/m-labs/artiq.git
rtio: add a missing case for collision reporting
This commit is contained in:
parent
14ae1cc100
commit
207453efcd
|
@ -104,6 +104,9 @@ class _OutputManager(Module):
|
||||||
(self.ev.timestamp[fine_ts_width:] == buf.timestamp[fine_ts_width:])
|
(self.ev.timestamp[fine_ts_width:] == buf.timestamp[fine_ts_width:])
|
||||||
& ((self.ev.timestamp[:fine_ts_width] != buf.timestamp[:fine_ts_width])
|
& ((self.ev.timestamp[:fine_ts_width] != buf.timestamp[:fine_ts_width])
|
||||||
|different_addresses))
|
|different_addresses))
|
||||||
|
else:
|
||||||
|
self.sync.rsys += collision.eq(
|
||||||
|
(self.ev.timestamp == buf.timestamp) & different_addresses)
|
||||||
else:
|
else:
|
||||||
self.sync.rsys += collision.eq(
|
self.sync.rsys += collision.eq(
|
||||||
self.ev.timestamp[fine_ts_width:] == buf.timestamp[fine_ts_width:])
|
self.ev.timestamp[fine_ts_width:] == buf.timestamp[fine_ts_width:])
|
||||||
|
|
Loading…
Reference in New Issue