Entity: SsiPrbsTb
- File: SsiPrbsTb.vhd
Diagram
Description
Title : SSI Protocol: https://confluence.slac.stanford.edu/x/0oyfD
Company : SLAC National Accelerator Laboratory
Description: Simulation Testbed for testing the VcPrbsTx and VcPrbsRx modules
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 |
slowClk | sl | Signals |
errMissedPacket | sl | Signals |
errLength | sl | Signals |
errDataBus | sl | Signals |
errEofe | sl | Signals |
passed | sl | Signals |
failed | sl | Signals |
updated | sl | Signals |
fastRst | sl | |
slowRst | sl | |
errWordCnt | slv(31 downto 0) | |
errbitCnt | slv(31 downto 0) | |
cnt | slv(31 downto 0) | |
axisMaster | AxiStreamMasterType | |
axisSlave | AxiStreamSlaveType |
Constants
Name | Type | Value | Description |
---|---|---|---|
SLOW_CLK_PERIOD_C | time | 10 ns | Constants |
FAST_CLK_PERIOD_C | time | SLOW_CLK_PERIOD_C/3 | |
TPD_C | time | FAST_CLK_PERIOD_C/4 | |
STATUS_CNT_WIDTH_C | natural | 32 | |
TX_PACKET_LENGTH_C | slv(31 downto 0) | toSlv(256, 32) |
|
NUMBER_PACKET_C | slv(31 downto 0) | x"00000FFF" | |
MEMORY_TYPE_C | string | "block" | FIFO configurations |
GEN_SYNC_FIFO_C | boolean | false | |
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) |
|
FORCE_EOFE_C | sl | '0' | Forces an error (testing tUser field MUX-ing) |
AXI_STREAM_CONFIG_C | AxiStreamConfigType | PrbsAxiStreamConfig(16, TKEEP_COMP_C) |
AXI Stream Configurations |
AXI_PIPE_STAGES_C | natural | 1 |
Functions
- PrbsAxiStreamConfig ( dataBytes : natural;
tKeepMode : TKeepModeType := TKEEP_COMP_C) return AxiStreamConfigType
Processes
- unnamed: ( slowClk )
- unnamed: ( failed, passed )
Instantiations
- ClkRst_Fast: surf.ClkRst
- ClkRst_Slow: surf.ClkRst
- SsiPrbsTx_Inst: surf.SsiPrbsTx
Description
VcPrbsTx (VHDL module to be tested)
- SsiPrbsRx_Inst: surf.SsiPrbsRx
Description
VcPrbsRx (VHDL module to be tested)