From 48bc8a2eccd20138c2e902443fe6a60a89ab2dc9 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 10 Jul 2023 11:26:07 +0800 Subject: [PATCH] gtx_7series_init: GTH -> GTX (NFC) --- artiq/gateware/drtio/transceiver/gtx_7series_init.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/artiq/gateware/drtio/transceiver/gtx_7series_init.py b/artiq/gateware/drtio/transceiver/gtx_7series_init.py index 0e30ee27c..6f1bff15e 100644 --- a/artiq/gateware/drtio/transceiver/gtx_7series_init.py +++ b/artiq/gateware/drtio/transceiver/gtx_7series_init.py @@ -120,24 +120,24 @@ class GTXInit(Module): ) startup_fsm.act("RELEASE_PLL_RESET", gtXxreset.eq(1), - If(cplllock, NextState("RESET_GTH")) + If(cplllock, NextState("RESET_GTX")) ) - startup_fsm.act("RESET_GTH", + startup_fsm.act("RESET_GTX", gtXxreset.eq(1), pll_reset_timer.wait.eq(1), - If(pll_reset_timer.done, NextState("RELEASE_GTH_RESET")) + If(pll_reset_timer.done, NextState("RELEASE_GTX_RESET")) ) # Release GTX reset and wait for GTX resetdone # (from UG476, GTX is reset on falling edge # of gttxreset) if rx: - startup_fsm.act("RELEASE_GTH_RESET", + startup_fsm.act("RELEASE_GTX_RESET", Xxuserrdy.eq(1), cdr_stable_timer.wait.eq(1), If(Xxresetdone & cdr_stable_timer.done, NextState("DELAY_ALIGN")) ) else: - startup_fsm.act("RELEASE_GTH_RESET", + startup_fsm.act("RELEASE_GTX_RESET", Xxuserrdy.eq(1), If(Xxresetdone, NextState("DELAY_ALIGN")) ) @@ -234,7 +234,7 @@ class GTXInit(Module): startup_fsm.act("READY", Xxuserrdy.eq(1), self.done.eq(1), - If(self.restart, NextState("RESET_GTH")) + If(self.restart, NextState("RESET_GTX")) )