From bfab7a742284e357ec88c4f34c122323d7341214 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 4174dce02..dd5580602 100755 --- a/artiq/gateware/targets/kasli.py +++ b/artiq/gateware/targets/kasli.py @@ -461,12 +461,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")