1 -------------------------------------------------------------------------------     2 -- File       : TenGigEthPkg.vhd     3 -- Company    : SLAC National Accelerator Laboratory     4 -- Created    : 2015-02-12     5 -- Last update: 2015-04-07     6 -------------------------------------------------------------------------------     7 -- Description: 10GbE Package Files     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;
    26  --! @ingroup ethernet_TenGigEthCore_core    28    -- Default MAC is 01:03:00:56:44:00    43       pma_pmd_type => "111",            --111 = 10GBASE-SR (Wavelength:850 nm & OM3:300m) 
slv( 7 downto  0)   core_status
 
EthMacConfigType   macConfig
 
slv( 47 downto  0)  :=   EMAC_ADDR_INIT_C MAC_ADDR_INIT_C
 
slv( 2 downto  0)   pma_pmd_type
 
slv( 47 downto  0)  := x"020300564400" EMAC_ADDR_INIT_C
 
EthMacConfigType  :=(macAddress  =>   EMAC_ADDR_INIT_C,filtEnable  => '1',pauseEnable  => '1',pauseTime  => x"00FF",ipCsumEn  => '1',tcpCsumEn  => '1',udpCsumEn  => '1',dropOnPause  => '0') ETH_MAC_CONFIG_INIT_C
 
EthMacStatusType   macStatus
 
TenGigEthConfig  :=(softRst  => '0',macConfig  =>   ETH_MAC_CONFIG_INIT_C,pma_pmd_type  =>   "111",pma_loopback  => '0',pma_reset  => '0',pcs_loopback  => '0',pcs_reset  => '0') TEN_GIG_ETH_CONFIG_INIT_C