Entity: FifoFwftTb

Diagram

Description


Company : SLAC National Accelerator Laboratory

Description: Simulation Testbed for testing the FifoFwft 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
wrClk sl Signals
rst sl Signals
rdClk sl Signals
failed slv(0 to CONFIG_TEST_SIZE_C)
passed slv(0 to CONFIG_TEST_SIZE_C)
subRdClk slv(0 to CONFIG_TEST_SIZE_C)

Constants

Name Type Value Description
TPD_C time 1 ns
WRITE_CLK_PERIOD_C time 5 ns
READ_CLK_PERIOD_C time 4 ns
CONFIG_TEST_SIZE_C natural 15
SIM_CONFIG_C SimConfigArray(0 to 15) ( 0 => ( PIPE_STAGES_G => 0,
GEN_SYNC_FIFO_G => false,
MEMORY_TYPE_G => "distributed"),
1 => ( PIPE_STAGES_G => 0,
GEN_SYNC_FIFO_G => false,
MEMORY_TYPE_G => "distributed"),
2 => ( PIPE_STAGES_G => 0,
GEN_SYNC_FIFO_G => false,
MEMORY_TYPE_G => "block"),
3 => ( PIPE_STAGES_G => 0,
GEN_SYNC_FIFO_G => false,
MEMORY_TYPE_G => "block"),
4 => ( PIPE_STAGES_G => 0,
GEN_SYNC_FIFO_G => true,
MEMORY_TYPE_G => "distributed"),
5 => ( PIPE_STAGES_G => 0,
GEN_SYNC_FIFO_G => true,
MEMORY_TYPE_G => "distributed"),
6 => ( PIPE_STAGES_G => 0,
GEN_SYNC_FIFO_G => true,
MEMORY_TYPE_G => "block"),
7 => ( PIPE_STAGES_G => 0,
GEN_SYNC_FIFO_G => true,
MEMORY_TYPE_G => "block"),
8 => ( PIPE_STAGES_G => 1,
GEN_SYNC_FIFO_G => false,
MEMORY_TYPE_G => "distributed"),
9 => ( PIPE_STAGES_G => 1,
GEN_SYNC_FIFO_G => false,
MEMORY_TYPE_G => "distributed"),
10 => ( PIPE_STAGES_G => 1,
GEN_SYNC_FIFO_G => false,
MEMORY_TYPE_G => "block"),
11 => ( PIPE_STAGES_G => 1,
GEN_SYNC_FIFO_G => false,
MEMORY_TYPE_G => "block"),
12 => ( PIPE_STAGES_G => 1,
GEN_SYNC_FIFO_G => true,
MEMORY_TYPE_G => "distributed"),
13 => ( PIPE_STAGES_G => 1,
GEN_SYNC_FIFO_G => true,
MEMORY_TYPE_G => "distributed"),
14 => ( PIPE_STAGES_G => 1,
GEN_SYNC_FIFO_G => true,
MEMORY_TYPE_G => "block"),
15 => ( PIPE_STAGES_G => 1,
GEN_SYNC_FIFO_G => true,
MEMORY_TYPE_G => "block"))

Types

Name Type Description
SimConfigType
SimConfigArray array (natural range <>) of SimConfigType

Processes

Instantiations

Description
Generate clocks and resets