1 ------------------------------------------------------------------------------- 2 -- File : XauiGtx7Wrapper.vhd 3 -- Company : SLAC National Accelerator Laboratory 4 -- Created : 2015-04-07 5 -- Last update: 2016-09-29 6 ------------------------------------------------------------------------------- 7 -- Description: Gtx7 Wrapper for 10 GigE XAUI 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 use unisim.vcomponents.
all;
30 --! @ingroup ethernet_XauiCore_gtx7 34 -- QUAD PLL Configurations 36 REFCLK_DIV2_G : := false;
-- FALSE: gtClkP/N = 156.25 MHz, TRUE: gtClkP/N = 312.5 MHz 37 -- AXI-Lite Configurations 40 -- AXI Streaming Configurations 43 -- Local Configurations 44 localMac :
in slv(
47 downto 0) := MAC_ADDR_INIT_C;
45 -- Streaming DMA Interface 52 -- Slave AXI-Lite Interface 64 -- MGT Clock Port (156.25 MHz or 312.5 MHz) 84 IBUFDS_GTE2_Inst : IBUFDS_GTE2
94 ---------------------- 95 -- 10 GigE XAUI Module 96 ---------------------- 100 -- AXI-Lite Configurations 103 -- AXI Streaming Configurations 106 -- Local Configurations 115 -- Slave AXI-Lite Interface
out axiLiteWriteSlaveAxiLiteWriteSlaveType
AXI_ERROR_RESP_Gslv( 1 downto 0) := AXI_RESP_SLVERR_C
AXIS_CONFIG_GAxiStreamConfigType := AXI_STREAM_CONFIG_INIT_C
out gtTxNslv( 3 downto 0)
AXIS_CONFIG_GAxiStreamConfigType := AXI_STREAM_CONFIG_INIT_C
in axiLiteWriteMasterAxiLiteWriteMasterType := AXI_LITE_WRITE_MASTER_INIT_C
USE_GTREFCLK_Gboolean := false
in axiLiteReadMasterAxiLiteReadMasterType := AXI_LITE_READ_MASTER_INIT_C
in dmaObMasterAxiStreamMasterType
out axiLiteWriteSlaveAxiLiteWriteSlaveType
in dmaObMasterAxiStreamMasterType
in dmaIbSlaveAxiStreamSlaveType
out dmaObSlaveAxiStreamSlaveType
out gtTxPslv( 3 downto 0)
out axiLiteReadSlaveAxiLiteReadSlaveType
slv( 1 downto 0) := "10" AXI_RESP_SLVERR_C
AXI_ERROR_RESP_Gslv( 1 downto 0) := AXI_RESP_SLVERR_C
out gtTxNslv( 3 downto 0)
EN_AXI_REG_Gboolean := false
out gtTxPslv( 3 downto 0)
AxiLiteReadMasterType :=(araddr =>( others => '0'),arprot =>( others => '0'),arvalid => '0',rready => '1') AXI_LITE_READ_MASTER_INIT_C
AxiStreamConfigType :=(TSTRB_EN_C => false,TDATA_BYTES_C => 16,TDEST_BITS_C => 4,TID_BITS_C => 0,TKEEP_MODE_C => TKEEP_NORMAL_C,TUSER_BITS_C => 4,TUSER_MODE_C => TUSER_NORMAL_C) AXI_STREAM_CONFIG_INIT_C
in axiLiteReadMasterAxiLiteReadMasterType := AXI_LITE_READ_MASTER_INIT_C
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
REFCLK_DIV2_Gboolean := false
in localMacslv( 47 downto 0) := MAC_ADDR_INIT_C
out dmaObSlaveAxiStreamSlaveType
in axiLiteWriteMasterAxiLiteWriteMasterType := AXI_LITE_WRITE_MASTER_INIT_C
out dmaIbMasterAxiStreamMasterType
in localMacslv( 47 downto 0) := MAC_ADDR_INIT_C
EN_AXI_REG_Gboolean := false
in dmaIbSlaveAxiStreamSlaveType
out axiLiteReadSlaveAxiLiteReadSlaveType
out dmaIbMasterAxiStreamMasterType