SURF  1.0
EthMacRxImportXlgmii.vhd
Go to the documentation of this file.
1 -------------------------------------------------------------------------------
2 -- File : EthMacRxImportXlgmii.vhd
3 -- Company : SLAC National Accelerator Laboratory
4 -- Created : 2016-09-13
5 -- Last update: 2016-09-14
6 -------------------------------------------------------------------------------
7 -- Description: 40GbE Import MAC core with XLGMII interface
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 use ieee.std_logic_arith.all;
21 use ieee.std_logic_unsigned.all;
22 
23 use work.AxiStreamPkg.all;
24 use work.StdRtlPkg.all;
25 use work.EthMacPkg.all;
26 
27 --! @see entity
28  --! @ingroup ethernet_EthMacCore
30  generic (
31  TPD_G : time := 1 ns);
32  port (
33  -- Clock and Reset
34  ethClk : in sl;
35  ethRst : in sl;
36  -- AXIS Interface
38  -- XLGMII PHY Interface
39  phyRxd : in slv(127 downto 0);
40  phyRxc : in slv(15 downto 0);
41  -- Configuration and status
42  phyReady : in sl;
43  rxCountEn : out sl;
44  rxCrcError : out sl);
45 end EthMacRxImportXlgmii;
46 
47 architecture rtl of EthMacRxImportXlgmii is
48 
49 begin
50  -- Place holder for future code
52  rxCountEn <= '0';
53  rxCrcError <= '0';
54 end rtl;
std_logic sl
Definition: StdRtlPkg.vhd:28
AxiStreamMasterType :=(tValid => '0',tData =>( others => '0'),tStrb =>( others => '1'),tKeep =>( others => '1'),tLast => '0',tDest =>( others => '0'),tId =>( others => '0'),tUser =>( others => '0')) AXI_STREAM_MASTER_INIT_C
in phyRxcslv( 15 downto 0)
in phyRxdslv( 127 downto 0)
out macIbMasterAxiStreamMasterType
std_logic_vector slv
Definition: StdRtlPkg.vhd:29