SURF  1.0
TenGigEthPkg.vhd
Go to the documentation of this file.
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 -------------------------------------------------------------------------------
17 
18 library ieee;
19 use ieee.std_logic_1164.all;
20 
21 use work.StdRtlPkg.all;
22 use work.EthMacPkg.all;
23 
24 package TenGigEthPkg is
25 --! @file
26  --! @ingroup ethernet_TenGigEthCore_core
27 
28  -- Default MAC is 01:03:00:56:44:00
29  constant MAC_ADDR_INIT_C : slv(47 downto 0) := EMAC_ADDR_INIT_C;
30 
31  type TenGigEthConfig is record
34  pma_pmd_type : slv(2 downto 0);
39  end record;
41  softRst => '0',
43  pma_pmd_type => "111", --111 = 10GBASE-SR (Wavelength:850 nm & OM3:300m)
44  pma_loopback => '0',
45  pma_reset => '0',
46  pcs_loopback => '0',
47  pcs_reset => '0');
48 
49  type TenGigEthStatus is record
62  core_status : slv(7 downto 0);
63  end record;
64 
65 end TenGigEthPkg;
EthMacStatusType
Definition: EthMacPkg.vhd:90
std_logic sl
Definition: StdRtlPkg.vhd:28
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
EthMacConfigType
Definition: EthMacPkg.vhd:68
slv( 47 downto 0) := x"020300564400" EMAC_ADDR_INIT_C
Definition: EthMacPkg.vhd:31
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
Definition: EthMacPkg.vhd:78
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
std_logic_vector slv
Definition: StdRtlPkg.vhd:29