Entity: EthMacTb

Diagram

Description


Company : SLAC National Accelerator Laboratory

Description: Simulation Testbed for testing the EthMac module

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.

Signals

Name Type Description
r RegType
rin RegType
clk sl
rst sl
phyReady sl
txMaster AxiStreamMasterType
txSlave AxiStreamSlaveType
rxMaster AxiStreamMasterType
rxSlave AxiStreamSlaveType
ethStatus EthMacStatusType
ethConfig EthMacConfigType
phyD slv(63 downto 0)
phyC slv(7 downto 0)

Constants

Name Type Value Description
CLK_PERIOD_C time 10 ns
TPD_G time (CLK_PERIOD_C/4)
AXIS_CONFIG_C AxiStreamConfigType ssiAxiStreamConfig(1) 1 byte wide AXI stream interface
PRESET_SIZE_G slv(7 downto 0) toSlv(11,
8)
Present up to the SRC MAC + DST MAC
REG_INIT_C RegType ( txMaster => AXI_STREAM_MASTER_INIT_C,
txSize => PRESET_SIZE_G,
txCnt => (others => '0'),
rxSlave => AXI_STREAM_SLAVE_INIT_C,
rxSize => PRESET_SIZE_G,
rxCnt => (others => '0'),
errorDet => (others => '0'),
errorDetDly => '0')

Types

Name Type Description
RegType

Processes

Instantiations

Description

Ethernet MAC core