forked from M-Labs/artiq
phaser: use new jesd clocking
This commit is contained in:
parent
81511feab8
commit
af0e8582a2
@ -466,10 +466,13 @@ class AD9154(Module, AutoCSR):
|
||||
rtio_freq = 125*1000*1000
|
||||
jesd_qpll = GTXQuadPLL(
|
||||
rtio_crg.refclk, jesd_refclk_freq, jesd_linerate)
|
||||
jesd_phys = [JESD204BPhyTX(
|
||||
jesd_qpll, platform.request("ad9154_jesd", i),
|
||||
rtio_freq, i) for i in range(4)]
|
||||
self.submodules += jesd_qpll, jesd_phys
|
||||
self.submodules += jesd_qpll
|
||||
jesd_phys = []
|
||||
for i in range(4):
|
||||
jesd_phy = [JESD204BPhyTX(jesd_qpll,
|
||||
platform.request("ad9154_jesd", i), rtio_freq)
|
||||
jesd_phys.append(jesd_phy)
|
||||
setattr(self.submodules, "jesd_phy"+str(i), jesd_phy)
|
||||
for jesd_phy in jesd_phys:
|
||||
platform.add_period_constraint(
|
||||
jesd_phy.gtx.cd_tx.clk,
|
||||
|
Loading…
Reference in New Issue
Block a user