From 3535d0f1ae98829538b013714aa1a63c0621f9ce Mon Sep 17 00:00:00 2001 From: cc78078 Date: Fri, 12 Aug 2022 12:41:50 +0800 Subject: [PATCH] kasli: relocate the SatelliteBase Error LED code (#1955) --- artiq/gateware/targets/kasli.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/artiq/gateware/targets/kasli.py b/artiq/gateware/targets/kasli.py index 75fb0c3bf..5938fc947 100755 --- a/artiq/gateware/targets/kasli.py +++ b/artiq/gateware/targets/kasli.py @@ -462,12 +462,14 @@ class SatelliteBase(BaseSoC): platform = self.platform - disable_cdr_clk_ibuf = Signal(reset=1) - disable_cdr_clk_ibuf.attr.add("no_retiming") if self.platform.hw_rev == "v2.0": self.submodules.error_led = gpio.GPIOOut(Cat( self.platform.request("error_led"))) self.csr_devices.append("error_led") + + disable_cdr_clk_ibuf = Signal(reset=1) + disable_cdr_clk_ibuf.attr.add("no_retiming") + if self.platform.hw_rev == "v2.0": cdr_clk_clean = self.platform.request("cdr_clk_clean") else: cdr_clk_clean = self.platform.request("si5324_clkout")