Entity: EthMacPauseTb
- File: EthMacPauseTb.vhd
Diagram
Description
Title : SSI Protocol: https://confluence.slac.stanford.edu/x/0oyfD
Company : SLAC National Accelerator Laboratory
Description: Simulation Testbed for testing the EthMacPause 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 |
---|---|---|
clk | sl | |
trig | sl | |
rst | sl | |
txMaster | AxiStreamMasterType | |
txSlave | AxiStreamSlaveType | |
obMacMasters | AxiStreamMasterArray(1 downto 0) | |
obMacSlaves | AxiStreamSlaveArray(1 downto 0) | |
ibMacMasters | AxiStreamMasterArray(1 downto 0) | |
ibMacSlaves | AxiStreamSlaveArray(1 downto 0) | |
xgmiiData | Slv64Array(1 downto 0) | |
xgmiiChar | Slv8Array(1 downto 0) | |
rxMaster | AxiStreamMasterType | |
rxSlave | AxiStreamSlaveType | |
prbsFlowCtrlMaster | AxiStreamMasterType | |
prbsFlowCtrlSlave | AxiStreamSlaveType | |
updated | sl | |
errorDet | sl | |
errLength | sl | |
errDataBus | sl | |
errEofe | sl | |
errWordCnt | slv(31 downto 0) | |
packetLength | slv(31 downto 0) | |
cnt | slv(31 downto 0) | |
ethConfig | EthMacConfigArray(1 downto 0) | |
ethStatus | EthMacStatusArray(1 downto 0) | |
failedVec | slv(15 downto 0) | |
passed | sl | |
failed | sl |
Constants
Name | Type | Value | Description |
---|---|---|---|
CLK_PERIOD_C | time | 10 ns | |
TPD_C | time | CLK_PERIOD_C/4 | |
TX_PACKET_LENGTH_C | slv(31 downto 0) | toSlv((8800/16)-1, 32) |
8800B frames |
PRBS_SEED_SIZE_C | natural | 128 | |
PRBS_TAPS_C | NaturalArray | (0 => 31, 1 => 6, 2 => 2, 3 => 1) |
|
PRBS_FLOW_CTRL_C | boolean | true | |
CLT_MAC_C | slv(47 downto 0) | x"000000560008" | 08:00:56:00:00:00 |
CLT_IP_C | slv(31 downto 0) | x"0A02A8C0" | 192.168.2.10 |
CLT_PORT_C | positive | 8193 | |
SRV_MAC_C | slv(47 downto 0) | x"010000560008" | 08:00:56:00:00:01 |
SRV_IP_C | slv(31 downto 0) | x"0B02A8C0" | 192.168.2.11 |
SRV_PORT_C | positive | 8192 | |
SRV_PORT_SLV_C | slv(15 downto 0) | x"0020" | 8192 in big-Endian configuration |
Processes
- error_checking: ( clk )
Description
--------------- Error Checking ---------------
- results: ( clk )
- unnamed: ( failed, passed )
Instantiations
- U_ClkRst: surf.ClkRst
- U_Tx: surf.SsiPrbsTx
Description
Client: Data Source
- U_CltUdp: work.UdpEngineWrapper
Description
Client: IPv4/ARP/UDP Engine
- U_CltMac: surf.EthMacTop
Description
Client: Ethernet MAC
- U_SrvMac: surf.EthMacTop
Description
Server: Ethernet MAC
- U_SrvUdp: work.UdpEngineWrapper
Description
Server: IPv4/ARP/UDP Engine
- U_Rx: surf.SsiPrbsRx