2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

kasli: relocate the SatelliteBase Error LED code (#1955)

This commit is contained in:
cc78078 2022-08-12 12:41:50 +08:00 committed by GitHub
parent 185c91f522
commit 3535d0f1ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")