From 9941f3557d13c50f916dbd09005b8d22fbe1da79 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 23 Nov 2016 23:19:14 +0800 Subject: [PATCH] rtio: use only CRI commands for rio/rio_phy resets --- artiq/gateware/rtio/core.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/artiq/gateware/rtio/core.py b/artiq/gateware/rtio/core.py index 4f1c36e91..23fff3039 100644 --- a/artiq/gateware/rtio/core.py +++ b/artiq/gateware/rtio/core.py @@ -301,12 +301,10 @@ class Core(Module): ] self.comb += self.cd_rio.clk.eq(ClockSignal("rtio")) self.specials += AsyncResetSynchronizer( - self.cd_rio, - cmd_reset | ResetSignal("rtio", allow_reset_less=True)) + self.cd_rio, cmd_reset) self.comb += self.cd_rio_phy.clk.eq(ClockSignal("rtio")) self.specials += AsyncResetSynchronizer( - self.cd_rio_phy, - cmd_reset_phy | ResetSignal("rtio", allow_reset_less=True)) + self.cd_rio_phy, cmd_reset_phy) # Managers self.submodules.counter = RTIOCounter(len(self.cri.o_timestamp) - fine_ts_width)