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
1 changed files with 2 additions and 2 deletions

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: