From 5cf06937588e644099cede68405ffcc347d09241 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 21 Sep 2017 22:31:56 +0800 Subject: [PATCH] rtio: use BlindTransfer to report collision and busy errors to sys domain --- artiq/gateware/rtio/core.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/artiq/gateware/rtio/core.py b/artiq/gateware/rtio/core.py index 4917a0371..7fea824ee 100644 --- a/artiq/gateware/rtio/core.py +++ b/artiq/gateware/rtio/core.py @@ -3,7 +3,6 @@ from operator import and_ from migen import * from migen.genlib.resetsync import AsyncResetSynchronizer -from migen.genlib.cdc import PulseSynchronizer from misoc.interconnect.csr import * from artiq.gateware.rtio import cri @@ -68,8 +67,8 @@ class Core(Module, AutoCSR): ] # Asychronous output errors - o_collision_sync = PulseSynchronizer("rtio", "rsys") - o_busy_sync = PulseSynchronizer("rtio", "rsys") + o_collision_sync = BlindTransfer() + o_busy_sync = BlindTransfer() self.submodules += o_collision_sync, o_busy_sync o_collision = Signal() o_busy = Signal()