forked from M-Labs/artiq
sayma_amc: filter jesd refclk/sysref with jreset (hmc7043 can generate noise when unconfigured see sinara issue #541)
This commit is contained in:
parent
28ccca412a
commit
8212e46f5e
|
@ -59,7 +59,7 @@ class AD9154CRG(Module, AutoCSR):
|
||||||
|
|
||||||
platform.add_period_constraint(refclk_pads.p, 1e9/self.refclk_freq)
|
platform.add_period_constraint(refclk_pads.p, 1e9/self.refclk_freq)
|
||||||
self.specials += [
|
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,
|
i_I=refclk_pads.p, i_IB=refclk_pads.n,
|
||||||
o_O=self.refclk, o_ODIV2=refclk2),
|
o_O=self.refclk, o_ODIV2=refclk2),
|
||||||
Instance("BUFG_GT", i_I=refclk2, o_O=self.cd_jesd.clk),
|
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")
|
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):
|
class AD9154JESD(Module, AutoCSR):
|
||||||
|
|
Loading…
Reference in New Issue