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
29
entity
EthMacRxImportXlgmii
is
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
37
macIbMaster
:
out
AxiStreamMasterType
;
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
51
macIbMaster
<=
AXI_STREAM_MASTER_INIT_C
;
52
rxCountEn
<=
'
0
'
;
53
rxCrcError
<=
'
0
'
;
54
end
rtl
;
EthMacRxImportXgmii.ieee
_library_ ieeeieee
Definition:
EthMacRxImportXgmii.vhd:18
StdRtlPkg.sl
std_logic sl
Definition:
StdRtlPkg.vhd:28
AxiStreamPkg.AXI_STREAM_MASTER_INIT_C
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
Definition:
AxiStreamPkg.vhd:40
EthMacRxImportXlgmii.ethRst
in ethRstsl
Definition:
EthMacRxImportXlgmii.vhd:35
EthMacRxImportXlgmii.TPD_G
TPD_Gtime := 1 ns
Definition:
EthMacRxImportXlgmii.vhd:31
EthMacPkg
Definition:
EthMacPkg.vhd:26
EthMacRxImportXlgmii.phyRxc
in phyRxcslv( 15 downto 0)
Definition:
EthMacRxImportXlgmii.vhd:40
EthMacRxImportXlgmii.rxCrcError
out rxCrcErrorsl
Definition:
EthMacRxImportXlgmii.vhd:44
AxiStreamPkg.AxiStreamMasterType
AxiStreamMasterType
Definition:
AxiStreamPkg.vhd:29
EthMacRxImportXlgmii
Definition:
EthMacRxImportXlgmii.vhd:29
EthMacRxImportXlgmii.rxCountEn
out rxCountEnsl
Definition:
EthMacRxImportXlgmii.vhd:43
EthMacRxImportXlgmii.phyReady
in phyReadysl
Definition:
EthMacRxImportXlgmii.vhd:42
EthMacRxImportXlgmii.phyRxd
in phyRxdslv( 127 downto 0)
Definition:
EthMacRxImportXlgmii.vhd:39
AxiStreamPkg
Definition:
AxiStreamPkg.vhd:25
EthMacRxImportXlgmii.macIbMaster
out macIbMasterAxiStreamMasterType
Definition:
EthMacRxImportXlgmii.vhd:37
StdRtlPkg
Definition:
StdRtlPkg.vhd:23
EthMacRxImportXlgmii.ethClk
in ethClksl
Definition:
EthMacRxImportXlgmii.vhd:34
StdRtlPkg.slv
std_logic_vector slv
Definition:
StdRtlPkg.vhd:29
ethernet
EthMacCore
rtl
EthMacRxImportXlgmii.vhd
Generated by
1.8.13