1 ------------------------------------------------------------------------------- 2 -- File : EthMacRxImport.vhd 3 -- Company : SLAC National Accelerator Laboratory 4 -- Created : 2016-09-09 5 -- Last update: 2016-09-14 6 ------------------------------------------------------------------------------- 7 -- Description: Mapping for 1GbE/10GbE/40GbE ETH MAC RX 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;
28 --! @ingroup ethernet_EthMacCore 39 -- XLGMII PHY Interface 42 -- XGMII PHY Interface 49 -- Configuration and status 59 assert ((PHY_TYPE_G = "XLGMII") or (PHY_TYPE_G = "XGMII") or (PHY_TYPE_G = "GMII")) report "EthMacRxImport: PHY_TYPE_G must be either GMII, XGMII, XLGMII" severity failure;
71 -- XLGMII PHY Interface 74 -- Configuration and status 90 -- XGMII PHY Interface 93 -- Configuration and status 109 -- GMII PHY Interface 113 -- Configuration and status
out macIbMasterAxiStreamMasterType
in xgmiiRxdslv( 63 downto 0)
in xlgmiiRxcslv( 15 downto 0)
in xgmiiRxcslv( 7 downto 0)
PHY_TYPE_Gstring := "XGMII"
in phyRxdslv( 63 downto 0)
in xlgmiiRxdslv( 127 downto 0)
in phyRxcslv( 15 downto 0)
in phyRxcslv( 7 downto 0)
in gmiiRxdslv( 7 downto 0)
in phyRxdslv( 127 downto 0)
out macIbMasterAxiStreamMasterType
in gmiiRxdslv( 7 downto 0)
out macIbMasterAxiStreamMasterType
out macIbMasterAxiStreamMasterType