Entity: SsiFifoTb

Diagram

Description


Title : SSI Protocol: https://confluence.slac.stanford.edu/x/0oyfD

Company : SLAC National Accelerator Laboratory

Description: Simulation Testbed for testing the SsiFifo 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
txClk sl
txRst sl
txRstL sl
txTrig sl
txForceEofe sl
txBusy sl
txMaster AxiStreamMasterType
txSlave AxiStreamSlaveType
txCtrl AxiStreamCtrlType
rxClk sl
rxRst sl
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)
trigCnt slv(31 downto 0)
failedVec slv(6 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) x"0000_000F"
PRBS_SEED_SIZE_C natural 32
PRBS_TAPS_C NaturalArray (0 => 31,
1 => 6,
2 => 2,
3 => 1)
PRBS_FLOW_CTRL_C boolean true
NOT_PAUSE_FLOW_CONTROL_C boolean false false for pause flow control
AXI_STREAM_CONFIG_C AxiStreamConfigType ( -- TDEST_INTERLEAVE_C => true,
TSTRB_EN_C => false,
TDATA_BYTES_C => 4,
TDEST_BITS_C => 8,
TID_BITS_C => 0,
TKEEP_MODE_C => TKEEP_COMP_C,
TUSER_BITS_C => 4,
TUSER_MODE_C => TUSER_FIRST_LAST_C)

Processes

Description
--------------- Error Checking ---------------

Instantiations

Description

Data Source

Description

Module to be tested

Description

Data Sink