Entity: UdpEngineTb
- File: UdpEngineTb.vhd
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 | |
txMaster | AxiStreamMasterType | |
txSlave | AxiStreamSlaveType | |
obMacMasters | AxiStreamMasterArray(1 downto 0) | |
obMacSlaves | AxiStreamSlaveArray(1 downto 0) | |
ibMacMasters | AxiStreamMasterArray(1 downto 0) | |
ibMacSlaves | AxiStreamSlaveArray(1 downto 0) | |
ethConfig | EthMacConfigArray(1 downto 0) | |
phyD | Slv64Array(1 downto 0) | |
phyC | Slv8Array(1 downto 0) | |
rxMaster | AxiStreamMasterType | |
rxSlave | AxiStreamSlaveType | |
phyReady | sl | |
updatedResults | sl | |
errorDet | sl | |
rxBusy | sl | |
txBusy | sl |
Constants
Name | Type | Value | Description |
---|---|---|---|
CLK_PERIOD_C | time | 6.4 ns | |
TPD_G | time | (CLK_PERIOD_C/4) | |
MAC_ADDR_C | Slv48Array(1 downto 0) | ( 0 => x"010300564400", --00:44:56:00:03:01 1 => x"020300564400") |
|
IP_ADDR_C | Slv32Array(1 downto 0) | ( 0 => x"0A02A8C0", -- 192.168.2.10 1 => x"0B02A8C0") |
00:44:56:00:03:02 |
REG_INIT_C | RegType | ( packetLength => toSlv(0, 32), trig => '0', txBusy => '0', errorDet => '0') |
Types
Name | Type | Description |
---|---|---|
RegType | 192.168.2.11 |
Processes
- comb: ( errorDet, r, rst, txBusy )
- seq: ( clk )
Instantiations
- ClkRst_Inst: surf.ClkRst
- U_TX: surf.SsiPrbsTx
Description
PRBS TX
- U_UDP_Client: surf.UdpEngineWrapper
Description
IPv4/ARP/UDP Engine
- U_MAC0: surf.EthMacTop
Description
Ethernet MAC core
- U_MAC1: surf.EthMacTop
- U_UDP_Server: surf.UdpEngineWrapper
Description
IPv4/ARP/UDP Engine
- U_RX: surf.SsiPrbsRx