forked from M-Labs/artiq
1
0
Fork 0

sayma_amc: filter jesd refclk/sysref with jreset (hmc7043 can generate noise when unconfigured see sinara issue #541)

This commit is contained in:
Florent Kermarrec 2018-04-27 13:04:37 +02:00
parent 28ccca412a
commit 8212e46f5e
1 changed files with 6 additions and 2 deletions

View File

@ -59,7 +59,7 @@ class AD9154CRG(Module, AutoCSR):
platform.add_period_constraint(refclk_pads.p, 1e9/self.refclk_freq)
self.specials += [
Instance("IBUFDS_GTE3", i_CEB=0, p_REFCLK_HROW_CK_SEL=0b00,
Instance("IBUFDS_GTE3", i_CEB=self.jreset.storage, p_REFCLK_HROW_CK_SEL=0b00,
i_I=refclk_pads.p, i_IB=refclk_pads.n,
o_O=self.refclk, o_ODIV2=refclk2),
Instance("BUFG_GT", i_I=refclk2, o_O=self.cd_jesd.clk),
@ -67,7 +67,11 @@ class AD9154CRG(Module, AutoCSR):
]
jref = platform.request("dac_sysref")
self.specials += DifferentialInput(jref.p, jref.n, self.jref)
self.specials += Instance("IBUFDS_IBUFDISABLE",
p_USE_IBUFDISABLE="TRUE", p_SIM_DEVICE="ULTRASCALE",
i_IBUFDISABLE=self.jreset.storage,
i_I=jref.p, i_IB=jref.n,
o_O=self.jref)
class AD9154JESD(Module, AutoCSR):