Entity: DspComparatorTb

Diagram

Description


Company : SLAC National Accelerator Laboratory

Description: Simulation Testbed for the DspComparator 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
r RegType
rin RegType
clk sl
rst sl
obValid sl
eqDsp sl
gtDsp sl
gtEqDsp sl
lsDsp sl
lsEqDsp sl
passed sl
failed sl

Constants

Name Type Value Description
CLK_PERIOD_C time 4 ns
TPD_C time CLK_PERIOD_C/4
WIDTH_C positive 8
REG_INIT_C RegType ( passed => '0',
failed => '0',
failedVec => (others => '0'),
ibValid => '0',
ain => (others => '0'),
bin => (others => '0'),
state => TX_VALUES_S)

Types

Name Type Description
StateType ( TX_VALUES_S,
RX_RESULTS_S,
FAILED_S,
PASSED_S)
RegType

Processes

Description
less than or equal to (a <= b) ----------------------------------------------- FSM to sweep through all possible combination ----------------------------------------------

Instantiations

Description

Module to be testing