mirror of https://github.com/m-labs/artiq.git
kasli: v2 clocking WIP, remove SFP LEDs from RTIO
This commit is contained in:
parent
9bc43b2dbf
commit
d19f28fa84
|
@ -32,6 +32,9 @@ class _RTIOCRG(Module, AutoCSR):
|
|||
self.clock_domains.cd_rtio = ClockDomain()
|
||||
self.clock_domains.cd_rtiox4 = ClockDomain(reset_less=True)
|
||||
|
||||
if platform.hw_rev == "v2.0":
|
||||
clk_synth = platform.request("cdr_clk_clean_fabric")
|
||||
else:
|
||||
clk_synth = platform.request("si5324_clkout_fabric")
|
||||
clk_synth_se = Signal()
|
||||
platform.add_period_constraint(clk_synth.p, 8.0)
|
||||
|
@ -174,6 +177,7 @@ class Tester(StandaloneBase):
|
|||
eem.Sampler.add_std(self, 3, 2, ttl_serdes_7series.Output_8X)
|
||||
eem.Zotino.add_std(self, 4, ttl_serdes_7series.Output_8X)
|
||||
|
||||
if hw_rev in ("v1.0", "v1.1"):
|
||||
for i in (1, 2):
|
||||
sfp_ctl = self.platform.request("sfp_ctl", i)
|
||||
phy = ttl_simple.Output(sfp_ctl.led)
|
||||
|
|
Loading…
Reference in New Issue