1 ------------------------------------------------------------------------------- 2 -- File : TenGigEthGth7Clk.vhd 3 -- Company : SLAC National Accelerator Laboratory 4 -- Created : 2015-03-30 5 -- Last update: 2016-05-19 6 ------------------------------------------------------------------------------- 7 -- Description: 10GBASE-R Ethernet's Clock 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 ethernet_TenGigEthCore_gth7 32 REFCLK_DIV2_G : := false;
-- FALSE: gtClkP/N = 156.25 MHz, TRUE: gtClkP/N = 312.5 MHz 39 -- MGT Clock Port (156.25 MHz or 312.5 MHz) 92 IBUFDS_GTE2_Inst : IBUFDS_GTE2
123 qPllLockDetClk => '0',
-- IP Core ties this to GND (see note below) 127 --------------------------------------------------------------------------------------------- 128 -- Note: GTXE2_COMMON pin gtxe2_common_0_i.QPLLLOCKDETCLK cannot be driven by a clock derived 129 -- from the same clock used as the reference clock for the QPLL, including TXOUTCLK*, 130 -- RXOUTCLK*, the output from the IBUFDS_GTE2 providing the reference clock, and any 131 -- buffered or multiplied/divided versions of these clock outputs. Please see UG476 for 132 -- more information. Source, through a clock buffer, is the same as the GT cell 134 --------------------------------------------------------------------------------------------- QPLL_REFCLK_SEL_Gbit_vector := "001"
USE_GTREFCLK_Gboolean := false
QPLL_REFCLK_DIV_Ginteger := 1
in rstsl :=not RST_POLARITY_G
QPLL_CFG_Gbit_vector := x"04801C7"
QPLL_REFCLK_SEL_Gbit_vector := "001"
SIM_RESET_SPEEDUP_Gstring := "TRUE"
REFCLK_DIV2_Gboolean := false
in arstsl :=not IN_POLARITY_G
QPLL_FBDIV_RATIO_Gbit := '1'
SIM_VERSION_Gstring := "2.0"
in qPllPowerDownsl := '0'
DURATION_Gnatural range 0 to (( 2** 30)- 1):= 156250000
QPLL_FBDIV_Gbit_vector := "0100100000"
RST_ASYNC_Gboolean := false
bit_vector := ite( USE_GTREFCLK_G, "111", QPLL_REFCLK_SEL_G) QPLL_REFCLK_SEL_C