From 185c91f52209ea35229afe3362b242ff2f49f0ff Mon Sep 17 00:00:00 2001 From: cc78078 <110895089+cc78078@users.noreply.github.com> Date: Thu, 11 Aug 2022 15:06:58 +0800 Subject: [PATCH] kasli: add Error LED to MasterBase and SatelliteBase --- artiq/gateware/targets/kasli.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/artiq/gateware/targets/kasli.py b/artiq/gateware/targets/kasli.py index 71ee933a5..75fb0c3bf 100755 --- a/artiq/gateware/targets/kasli.py +++ b/artiq/gateware/targets/kasli.py @@ -282,6 +282,9 @@ class MasterBase(MiniSoC, AMPSoC): platform = self.platform if platform.hw_rev == "v2.0": + self.submodules.error_led = gpio.GPIOOut(Cat( + self.platform.request("error_led"))) + self.csr_devices.append("error_led") self.submodules += SMAClkinForward(platform) i2c = self.platform.request("i2c") @@ -462,6 +465,9 @@ class SatelliteBase(BaseSoC): 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") cdr_clk_clean = self.platform.request("cdr_clk_clean") else: cdr_clk_clean = self.platform.request("si5324_clkout")