rtio: use BlindTransfer to report collision and busy errors to sys domain

This commit is contained in:
Sebastien Bourdeauducq 2017-09-21 22:31:56 +08:00
parent d74a7d272e
commit 5cf0693758
1 changed files with 2 additions and 3 deletions

View File

@ -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()