Entity: AxiStreamMuxTb

Diagram

Description


Company : SLAC National Accelerator Laboratory

Description: Simulation Testbed for testing the AxiStreamMux 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
fastClk sl Signals
fastRst sl
slowClk sl
slowRst sl
dropWrite sl
dropFrame sl
passedSlow slv(MUX_SIZE_C-1 downto 0)
failedSlow sl
failedFast sl
updated slv(MUX_SIZE_C-1 downto 0)
errorDet slv(MUX_SIZE_C-1 downto 0)
errLength sl
errDataBus sl
errEofe sl
errWordCnt slv(31 downto 0)
errbitCnt slv(31 downto 0)
cnt Slv32Array(MUX_SIZE_C-1 downto 0)
packetLengths Slv32Array(MUX_SIZE_C-1 downto 0)
ibMaster AxiStreamMasterType
ibSlave AxiStreamSlaveType
ibMasters AxiStreamMasterArray(MUX_SIZE_C-1 downto 0)
ibSlaves AxiStreamSlaveArray(MUX_SIZE_C-1 downto 0)
obMaster AxiStreamMasterType
obSlave AxiStreamSlaveType
obMasters AxiStreamMasterArray(MUX_SIZE_C-1 downto 0)
obSlaves AxiStreamSlaveArray(MUX_SIZE_C-1 downto 0)
rearbitrate sl
rearbCount integer

Constants

Name Type Value Description
SLOW_CLK_PERIOD_C time 10 ns
FAST_CLK_PERIOD_C time SLOW_CLK_PERIOD_C/3.14159
TPD_C time FAST_CLK_PERIOD_C/4
STATUS_CNT_WIDTH_C natural 32
TX_PACKET_LENGTH_C slv(31 downto 0) toSlv(32,
32)
NUMBER_PACKET_C slv(31 downto 0) toSlv(4096,
32)
MUX_SIZE_C natural 4
MEMORY_TYPE_G string "block" FIFO configurations
CASCADE_SIZE_C natural 1
FIFO_ADDR_WIDTH_C natural 9
FIFO_PAUSE_THRESH_C natural 2**8
PRBS_SEED_SIZE_C natural 32 PRBS Configuration
PRBS_TAPS_C NaturalArray (0 => 31,
1 => 6,
2 => 2,
3 => 1)
AXI_STREAM_CONFIG_C AxiStreamConfigType ssiAxiStreamConfig(4) AXI Stream Configurations
AXI_PIPE_STAGES_C natural 1

Processes

Instantiations

Description
Module to be tested