mirror of https://github.com/m-labs/artiq.git
kasli: relocate the SatelliteBase Error LED code (#1955)
This commit is contained in:
parent
97cba3fd5f
commit
bfab7a7422
|
@ -461,12 +461,14 @@ class SatelliteBase(BaseSoC):
|
||||||
|
|
||||||
platform = self.platform
|
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":
|
if self.platform.hw_rev == "v2.0":
|
||||||
self.submodules.error_led = gpio.GPIOOut(Cat(
|
self.submodules.error_led = gpio.GPIOOut(Cat(
|
||||||
self.platform.request("error_led")))
|
self.platform.request("error_led")))
|
||||||
self.csr_devices.append("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")
|
cdr_clk_clean = self.platform.request("cdr_clk_clean")
|
||||||
else:
|
else:
|
||||||
cdr_clk_clean = self.platform.request("si5324_clkout")
|
cdr_clk_clean = self.platform.request("si5324_clkout")
|
||||||
|
|
Loading…
Reference in New Issue