1 ------------------------------------------------------------------------------- 2 -- File : Pgp2bGtx7VarLat.vhd 3 -- Company : SLAC National Accelerator Laboratory 4 -- Created : 2015-01-14 5 -- Last update: 2016-08-24 6 ------------------------------------------------------------------------------- 7 -- Description: Gtx7 Variable Latency Wrapper 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;
27 --! @ingroup protocols_pgp_pgp2b_gtx7 31 ---------------------------------------------------------------------------------------------- 33 ---------------------------------------------------------------------------------------------- 53 -- RX Equalizer Attributes 55 -- Configure PLL sources 59 -- Configure Buffer usage 66 ---------------------------------------------------------------------------------------------- 68 ---------------------------------------------------------------------------------------------- 86 gtTxP : out sl;
-- GT Serial Transmit Positive 87 gtTxN : out sl;
-- GT Serial Transmit Negative 88 gtRxP : in sl;
-- GT Serial Receive Positive 89 gtRxN : in sl;
-- GT Serial Receive Negative 108 -- Frame Transmit Interface - Array of 4 VCs 111 -- Frame Receive Interface - Array of 4 VCs 119 -- AXI-Lite Interface 152 -- RX Equalizer Attributes 154 -- Configure PLL sources 157 -- Configure Buffer usage 163 -- Configure Number of Lanes 205 -- Frame Transmit Interface - Array of 4 VCs 208 -- Frame Receive Interface - Array of 4 VCs 216 -- AXI-Lite Interface NUM_VC_EN_Ginteger range 1 to 4:= 4
array(natural range <> ) of AxiStreamSlaveType AxiStreamSlaveArray
in txDiffCtrlslv( 3 downto 0) := "1000"
out pgpRxMastersAxiStreamMasterArray( 3 downto 0)
RX_DFE_KL_CFG2_Gbit_vector := x"3010D90C"
TX_ENABLE_Gboolean := true
in txPreCursorslv( 4 downto 0) :=( others => '0')
TX_CLK25_DIV_Ginteger := 7
TX_ENABLE_Gboolean := true
out pgpTxOutPgp2bTxOutType
in gtQPllRefClkLostsl := '0'
out axilReadSlaveAxiLiteReadSlaveType
in pgpRxMmcmLockedsl := '1'
NUM_VC_EN_Ginteger range 1 to 4:= 4
in pgpTxMastersAxiStreamMasterArray( 3 downto 0) :=( others => AXI_STREAM_MASTER_INIT_C)
in pgpTxMmcmLockedsl := '1'
AxiStreamMasterType :=(tValid => '0',tData =>( others => '0'),tStrb =>( others => '1'),tKeep =>( others => '1'),tLast => '0',tDest =>( others => '0'),tId =>( others => '0'),tUser =>( others => '0')) AXI_STREAM_MASTER_INIT_C
in txPostCursorslv( 4 downto 0) :=( others => '0')
out axilWriteSlaveAxiLiteWriteSlaveType
CPLL_REFCLK_SEL_Gbit_vector := "001"
in txPostCursorslv( 4 downto 0) :=( others => '0')
in pgpTxMastersAxiStreamMasterArray( 3 downto 0) :=( others => AXI_STREAM_MASTER_INIT_C)
CPLL_REFCLK_DIV_Ginteger := 1
out pgpRxMastersAxiStreamMasterArray( 3 downto 0)
CPLL_REFCLK_DIV_Ginteger := 1
RX_ENABLE_Gboolean := true
in txDiffCtrlslv( 3 downto 0) := "1000"
SIM_GTRESET_SPEEDUP_Gstring := "FALSE"
RX_OS_CFG_Gbit_vector := "0000010000000"
RXCDR_CFG_Gbit_vector := x"03000023ff40200020"
LANE_CNT_Ginteger range 1 to 2:= 2
TX_BUF_EN_Gboolean := true
TX_PHASE_ALIGN_Gstring := "NONE"
RX_ENABLE_Gboolean := true
out pgpRxMasterMuxedAxiStreamMasterType
in axilReadMasterAxiLiteReadMasterType := AXI_LITE_READ_MASTER_INIT_C
CPLL_FBDIV_45_Ginteger := 5
TX_OUTCLK_SRC_Gstring := "OUTCLKPMA"
slv( 1 downto 0) := "11" AXI_RESP_DECERR_C
TX_BUF_EN_Gboolean := true
SIM_GTRESET_SPEEDUP_Gstring := "FALSE"
TX_OUTCLK_SRC_Gstring := "OUTCLKPMA"
TX_PHASE_ALIGN_Gstring := "NONE"
SIM_VERSION_Gstring := "4.0"
VC_INTERLEAVE_Ginteger := 0
STABLE_CLOCK_PERIOD_Greal := 4.0E-9
SIM_VERSION_Gstring := "4.0"
in pgpRxCtrlAxiStreamCtrlArray( 3 downto 0)
array(natural range <> ) of AxiStreamCtrlType AxiStreamCtrlArray
STABLE_CLOCK_PERIOD_Greal := 6.4E-9
array(natural range <> ) of AxiStreamMasterType AxiStreamMasterArray
out pgpRxMasterMuxedAxiStreamMasterType
out pgpTxOutPgp2bTxOutType
PMA_RSV_Gbit_vector := x"00018480"
RX_DFE_KL_CFG2_Gbit_vector := x"3010D90C"
RX_CLK25_DIV_Ginteger := 7
AxiLiteReadMasterType :=(araddr =>( others => '0'),arprot =>( others => '0'),arvalid => '0',rready => '1') AXI_LITE_READ_MASTER_INIT_C
RX_OS_CFG_Gbit_vector := "0000010000000"
in axilWriteMasterAxiLiteWriteMasterType := AXI_LITE_WRITE_MASTER_INIT_C
in txPreCursorslv( 4 downto 0) :=( others => '0')
CPLL_FBDIV_45_Ginteger := 5
RXCDR_CFG_Gbit_vector := x"03000023ff40200020"
PAYLOAD_CNT_TOP_Ginteger := 7
PMA_RSV_Gbit_vector := x"00018480"
AxiLiteWriteMasterType :=(awaddr =>( others => '0'),awprot =>( others => '0'),awvalid => '0',wdata =>( others => '0'),wstrb =>( others => '1'),wvalid => '0',bready => '1') AXI_LITE_WRITE_MASTER_INIT_C
out pgpRxOutPgp2bRxOutType
RX_CLK25_DIV_Ginteger := 7
in pgpRxCtrlAxiStreamCtrlArray( 3 downto 0)
AXI_ERROR_RESP_Gslv( 1 downto 0) := AXI_RESP_DECERR_C
TX_BUF_ADDR_MODE_Gstring := "FULL"
PAYLOAD_CNT_TOP_Ginteger := 7
VC_INTERLEAVE_Ginteger := 0
TX_CLK25_DIV_Ginteger := 7
AXI_ERROR_RESP_Gslv( 1 downto 0) := AXI_RESP_DECERR_C
out pgpTxSlavesAxiStreamSlaveArray( 3 downto 0)
CPLL_REFCLK_SEL_Gbit_vector := "001"
out pgpTxSlavesAxiStreamSlaveArray( 3 downto 0)
TX_BUF_ADDR_MODE_Gstring := "FULL"
out pgpRxOutPgp2bRxOutType