Entity: RssiInterleaveTb

Diagram

Description


Title : RSSI Protocol: https://confluence.slac.stanford.edu/x/1IyfD

Company : SLAC National Accelerator Laboratory

Description: Simulation Testbed for testing the RssiCore

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
rst sl
linkUp slv(1 downto 0)
tspMasters AxiStreamMasterArray(1 downto 0)
tspSlaves AxiStreamSlaveArray(1 downto 0)
srvIbMasters AxiStreamMasterArray(APP_STREAMS_C-1 downto 0)
srvIbSlaves AxiStreamSlaveArray(APP_STREAMS_C-1 downto 0)
srvObMasters AxiStreamMasterArray(APP_STREAMS_C-1 downto 0)
srvObSlaves AxiStreamSlaveArray(APP_STREAMS_C-1 downto 0)
srvUpdateDet slv(APP_STREAMS_C-1 downto 0)
srvErrorDet slv(APP_STREAMS_C-1 downto 0)
cltIbMasters AxiStreamMasterArray(APP_STREAMS_C-1 downto 0)
cltIbSlaves AxiStreamSlaveArray(APP_STREAMS_C-1 downto 0)
cltObMasters AxiStreamMasterArray(APP_STREAMS_C-1 downto 0)
cltObSlaves AxiStreamSlaveArray(APP_STREAMS_C-1 downto 0)
cltUpdateDet slv(APP_STREAMS_C-1 downto 0)
cltErrorDet slv(APP_STREAMS_C-1 downto 0)
passed sl
failed sl

Constants

Name Type Value Description
CLK_PERIOD_C time 10 ns 1 us makes it easy to count clock cycles in sim GUI
TPD_G time CLK_PERIOD_C/4
PRBS_SEED_SIZE_C positive 128
SRV_PKT_LEN_C slv(31 downto 0) x"00000007" PRBS TX packet length
SRV_WINDOW_ADDR_SIZE_C positive 4 RSSI config
SRV_MAX_SEG_SIZE_C positive 8192 RSSI config
CLT_PKT_LEN_C slv(31 downto 0) x"00000003" PRBS TX packet length
CLT_WINDOW_ADDR_SIZE_C positive 3 RSSI config
CLT_MAX_SEG_SIZE_C positive 1024 RSSI config
APP_STREAMS_C positive 5
SRV_AXIS_CONFIG_C AxiStreamConfigArray(APP_STREAMS_C-1 downto 0) ( 0 => ssiAxiStreamConfig(1),
1 => ssiAxiStreamConfig(2),
2 => ssiAxiStreamConfig(4),
3 => ssiAxiStreamConfig(8),
4 => ssiAxiStreamConfig(16))
CLT_AXIS_CONFIG_C AxiStreamConfigArray(APP_STREAMS_C-1 downto 0) ( 0 => ssiAxiStreamConfig(16),
1 => ssiAxiStreamConfig(8),
2 => ssiAxiStreamConfig(4),
3 => ssiAxiStreamConfig(2),
4 => ssiAxiStreamConfig(1))

Processes

Instantiations

Description

RSSI Server

Description

RSSI Client