From de718fc8192bb2fa95072d86c6d20829ddc9c571 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 10 Mar 2016 12:14:48 +0800 Subject: [PATCH] rtio: fix different address collision detection --- artiq/gateware/rtio/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/gateware/rtio/core.py b/artiq/gateware/rtio/core.py index 6b8d68c22..69babebac 100644 --- a/artiq/gateware/rtio/core.py +++ b/artiq/gateware/rtio/core.py @@ -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: