1 ------------------------------------------------------------------------------- 2 -- File : EthMacTxExport.vhd 3 -- Company : SLAC National Accelerator Laboratory 4 -- Created : 2016-09-08 5 -- Last update: 2017-05-10 6 ------------------------------------------------------------------------------- 7 -- Description: Mapping for 1GbE/10GbE/40GbE ETH MAC TX path 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;
20 use ieee.std_logic_arith.
all;
21 use ieee.std_logic_unsigned.
all;
27 --! @ingroup ethernet_EthMacCore 39 -- XLGMII PHY Interface 42 -- XGMII PHY Interface 49 -- Configuration and status 61 assert ((PHY_TYPE_G = "XLGMII") or (PHY_TYPE_G = "XGMII") or (PHY_TYPE_G = "GMII")) report "EthMacTxExport: PHY_TYPE_G must be either GMII, XGMII, XLGMII" severity failure;
74 -- XLGMII PHY Interface 77 -- Configuration and status 83 -- Unused output ports 102 -- XGMII PHY Interface 105 -- Configuration and status 111 -- Unused output ports 130 -- GMII PHY Interface 134 -- Configuration and status 140 -- Unused output ports
out gmiiTxdslv( 7 downto 0)
in macObMasterAxiStreamMasterType
out macObSlaveAxiStreamSlaveType
out macObSlaveAxiStreamSlaveType
in macAddressslv( 47 downto 0)
out macObSlaveAxiStreamSlaveType
in macAddressslv( 47 downto 0)
in macAddressslv( 47 downto 0)
out phyTxdslv( 127 downto 0)
out xlgmiiTxdslv( 127 downto 0)
in macAddressslv( 47 downto 0)
in macObMasterAxiStreamMasterType
out macObSlaveAxiStreamSlaveType
out gmiiTxdslv( 7 downto 0)
out xlgmiiTxcslv( 15 downto 0)
out xgmiiTxdslv( 63 downto 0)
out phyTxcslv( 15 downto 0)
in macObMasterAxiStreamMasterType
PHY_TYPE_Gstring := "XGMII"
out phyTxcslv( 7 downto 0)
out phyTxdslv( 63 downto 0)
in macObMasterAxiStreamMasterType
out xgmiiTxcslv( 7 downto 0)