forked from M-Labs/artiq
kasli: add Error LED to MasterBase and SatelliteBase
This commit is contained in:
parent
eba143a475
commit
97cba3fd5f
|
@ -281,6 +281,9 @@ class MasterBase(MiniSoC, AMPSoC):
|
||||||
platform = self.platform
|
platform = self.platform
|
||||||
|
|
||||||
if platform.hw_rev == "v2.0":
|
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)
|
self.submodules += SMAClkinForward(platform)
|
||||||
|
|
||||||
i2c = self.platform.request("i2c")
|
i2c = self.platform.request("i2c")
|
||||||
|
@ -461,6 +464,9 @@ class SatelliteBase(BaseSoC):
|
||||||
disable_cdr_clk_ibuf = Signal(reset=1)
|
disable_cdr_clk_ibuf = Signal(reset=1)
|
||||||
disable_cdr_clk_ibuf.attr.add("no_retiming")
|
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.platform.request("error_led")))
|
||||||
|
self.csr_devices.append("error_led")
|
||||||
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