1 ------------------------------------------------------------------------------- 2 -- File : AxiAds42lb69Pll.vhd 3 -- Company : SLAC National Accelerator Laboratory 4 -- Created : 2015-03-20 5 -- Last update: 2016-09-20 6 ------------------------------------------------------------------------------- 7 -- Description: PLL Module 8 ------------------------------------------------------------------------------- 9 -- This file is part of 'SLAC Firmware Standard Library'. 10 -- It is subject to the license terms in the LICENSE.txt file found in the 11 -- top-level directory of this distribution and at: 12 -- https://confluence.slac.stanford.edu/display/ppareg/LICENSE.html. 13 -- No part of 'SLAC Firmware Standard Library', including this file, 14 -- may be copied, modified, propagated, or distributed except according to 15 -- the terms contained in the LICENSE.txt file. 16 ------------------------------------------------------------------------------- 19 use ieee.std_logic_1164.
all;
24 use unisim.vcomponents.
all;
27 --! @ingroup devices_Ti_ads42lb69 42 -- ADC Reference Signals 71 MMCME2_ADV_0 : MMCME2_ADV
74 CLKOUT4_CASCADE => false,
75 COMPENSATION =>
"ZHOLD",
76 STARTUP_WAIT => false,
79 CLKFBOUT_PHASE =>
0.000,
80 CLKFBOUT_USE_FINE_PS => false,
98 -- Input clock control 102 -- Tied to always select the primary input clock 104 -- Ports for dynamic reconfiguration 105 DADDR =>
(others => '0'
),
108 DI =>
(others => '0'
),
112 -- Ports for dynamic phase shift 117 -- Other control and status signals 119 CLKINSTOPPED =>
open,
120 CLKFBSTOPPED =>
open,
146 DDR_CLK_EDGE =>
"OPPOSITE_EDGE",
-- "OPPOSITE_EDGE" or "SAME_EDGE" 147 INIT => '0',
-- Initial value for Q port ('1' or '0') 148 SRTYPE =>
"SYNC") -- Reset Type ("ASYNC" or "SYNC") 150 D1 =>
sync,
-- 1-bit data input (positive edge) 151 D2 =>
sync,
-- 1-bit data input (negative edge) 152 Q =>
syncOut,
-- 1-bit DDR output 154 CE => '1',
-- 1-bit clock enable input 155 R => '0',
-- 1-bit reset 156 S => '0'
);
-- 1-bit set 188 DDR_CLK_EDGE =>
"OPPOSITE_EDGE",
-- "OPPOSITE_EDGE" or "SAME_EDGE" 189 INIT => '0',
-- Initial value for Q port ('1' or '0') 190 SRTYPE =>
"SYNC") -- Reset Type ("ASYNC" or "SYNC") 192 D1 =>
sync,
-- 1-bit data input (positive edge) 193 D2 =>
sync,
-- 1-bit data input (negative edge) 194 Q =>
syncOut,
-- 1-bit DDR output 195 C =>
adcClk,
-- 1-bit clock input 196 CE => '1',
-- 1-bit clock enable input 197 R => '0',
-- 1-bit reset 198 S => '0'
);
-- 1-bit set 220 GEN_ULTRASCALE_NO_PLL : if (XIL_DEVICE_G = "ULTRASCALE") generate 242 D1 =>
sync,
-- 1-bit data input (positive edge) 243 D2 =>
sync,
-- 1-bit data input (negative edge) 244 Q =>
syncOut,
-- 1-bit DDR output 245 C =>
adcClk,
-- 1-bit clock input
XIL_DEVICE_Gstring := "7SERIES"
ADC_CLK_FREQ_Greal := 250.0E+6
BYPASS_SYNC_Gboolean := false
real := 1.0E+9/ ADC_CLK_FREQ_G ADC_CLK_PERIOD_NS_C
in rstInsl :=not RST_POLARITY_G
XIL_DEVICE_Gstring := "7SERIES"