2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 11:18:27 +08:00

rtio: fix different address collision detection

This commit is contained in:
Sebastien Bourdeauducq 2016-03-10 12:14:48 +08:00
parent ea523c765b
commit de718fc819

View File

@ -158,8 +158,8 @@ class _OutputManager(Module):
self.sync.rsys += sequence_error.eq(self.ev.timestamp[fine_ts_width:] <
buf.timestamp[fine_ts_width:])
if interface.enable_replace:
if hasattr(self.ev, "a"):
different_addresses = self.ev.a != buf.a
if address_width:
different_addresses = self.ev.address != buf.address
else:
different_addresses = 0
if fine_ts_width: