Entity: EthMacTxExportGmii

Diagram

time TPD_G sl ethClkEn sl ethClk sl ethRst AxiStreamMasterType macObMaster sl phyReady AxiStreamSlaveType macObSlave sl gmiiTxEn sl gmiiTxEr slv(7 downto 0) gmiiTxd sl txCountEn sl txUnderRun sl txLinkNotReady

Description


Company : SLAC National Accelerator Laboratory

Description: 1GbE Export MAC core with GMII interface

This file is part of 'SLAC Firmware Standard Library'. It is subject to the license terms in the LICENSE.txt file found in the top-level directory of this distribution and at: https://confluence.slac.stanford.edu/display/ppareg/LICENSE.html. No part of 'SLAC Firmware Standard Library', including this file, may be copied, modified, propagated, or distributed except according to

the terms contained in the LICENSE.txt file.

Generics

Generic name Type Value Description
TPD_G time 1 ns

Ports

Port name Direction Type Description
ethClkEn in sl Clock and Reset
ethClk in sl
ethRst in sl
macObMaster in AxiStreamMasterType AXIS Interface
macObSlave out AxiStreamSlaveType
gmiiTxEn out sl GMII PHY Interface
gmiiTxEr out sl
gmiiTxd out slv(7 downto 0)
phyReady in sl
txCountEn out sl Status
txUnderRun out sl
txLinkNotReady out sl

Signals

Name Type Description
r RegType
rin RegType
macMaster AxiStreamMasterType
macSlave AxiStreamSlaveType
crcOut slv(31 downto 0)
crcDataValid sl
crcIn slv(7 downto 0)

Constants

Name Type Value Description
AXI_CONFIG_C AxiStreamConfigType ( TSTRB_EN_C => INT_EMAC_AXIS_CONFIG_C.TSTRB_EN_C,
TDATA_BYTES_C => 1,
-- 8-bit AXI stream interface TDEST_BITS_C => INT_EMAC_AXIS_CONFIG_C.TDEST_BITS_C,
TID_BITS_C => INT_EMAC_AXIS_CONFIG_C.TID_BITS_C,
TKEEP_MODE_C => INT_EMAC_AXIS_CONFIG_C.TKEEP_MODE_C,
TUSER_BITS_C => INT_EMAC_AXIS_CONFIG_C.TUSER_BITS_C,
TUSER_MODE_C => INT_EMAC_AXIS_CONFIG_C.TUSER_MODE_C)
REG_INIT_C RegType ( gmiiTxEn => '0',
gmiiTxEr => '0',
gmiiTxd => (others => '0'),
txCount => (others => '0'),
txData => (others => '0'),
txCountEn => '0',
txUnderRun => '0',
txLinkNotReady => '0',
crcReset => '0',
crcDataValid => '0',
crcIn => (others => '0'),
state => IDLE_S,
macSlave => AXI_STREAM_SLAVE_INIT_C)

Types

Name Type Description
StateType ( IDLE_S,
TX_PREAMBLE_S,
TX_DATA_S,
PAD_S,
TX_CRC_S,
TX_CRC0_S,
TX_CRC1_S,
TX_CRC2_S,
TX_CRC3_S,
DUMP_S,
INTERGAP_S)
RegType

Processes

Instantiations

Description
CRC