PlTbUtils  1.3
PlTbUtils is a collection of functions, procedures and components for easily creating stimuli and checking response in automatic self-checking testbenches.
bhv Architecture Reference

Processes

p_clk_cnt  ( clk_cnt_clr , clk )
p_tc1 

Procedures

  check_cnt(
constant C_EXPECT_FAIL: boolean
variable v_checks_cnt: inout integer
variable v_errors_cnt: inout integer
signal checks_cnt: out integer
signal errors_cnt: out integer
)

Constants

C_EXPECTED_SUCCESS  boolean := false
C_EXPECTED_FAIL  boolean := true

Signals

pltbs  pltbs_t := C_PLTBS_INIT
expected_checks_cnt  integer := 0
expected_errors_cnt  integer := 0
clk  std_logic
clk_cnt  integer := 0
clk_cnt_clr  boolean := false
s_i  integer
s_sl  std_logic
s_slv  std_logic_vector ( 7 downto 0 )
s_u  unsigned ( 7 downto 0 )
s_s  unsigned ( 7 downto 0 )
s_b  boolean
s_time  time
s_str_exp  string ( 1 to 44 )
s_str1  string ( 1 to 44 )
s_str2  string ( 1 to 44 )
s_str3  string ( 1 to 43 )
s_str4  string ( 1 to 45 )

Instantiations

clkgen0  pltbutils_clkgen <Entity pltbutils_clkgen>

Detailed Description

Definition at line 95 of file tb_pltbutils.vhd.

Member Function Documentation

◆ check_cnt()

check_cnt ( constant   C_EXPECT_FAIL boolean ,
variable   v_checks_cnt inout integer ,
variable   v_errors_cnt inout integer ,
signal   checks_cnt out integer ,
signal   errors_cnt out integer  
)
Procedure

Definition at line 129 of file tb_pltbutils.vhd.

◆ p_clk_cnt()

p_clk_cnt (   clk_cnt_clr,
  clk 
)

Definition at line 158 of file tb_pltbutils.vhd.

◆ p_tc1()

p_tc1 ( )
Process

Definition at line 170 of file tb_pltbutils.vhd.

Member Data Documentation

◆ C_EXPECTED_FAIL

C_EXPECTED_FAIL boolean := true
Constant

Definition at line 127 of file tb_pltbutils.vhd.

◆ C_EXPECTED_SUCCESS

C_EXPECTED_SUCCESS boolean := false
Constant

Definition at line 126 of file tb_pltbutils.vhd.

◆ clk

clk std_logic
Signal

Definition at line 109 of file tb_pltbutils.vhd.

◆ clk_cnt

clk_cnt integer := 0
Signal

Definition at line 110 of file tb_pltbutils.vhd.

◆ clk_cnt_clr

clk_cnt_clr boolean := false
Signal

Definition at line 111 of file tb_pltbutils.vhd.

◆ clkgen0

clkgen0 pltbutils_clkgen
Instantiation

Definition at line 155 of file tb_pltbutils.vhd.

◆ expected_checks_cnt

expected_checks_cnt integer := 0
Signal

Definition at line 105 of file tb_pltbutils.vhd.

◆ expected_errors_cnt

expected_errors_cnt integer := 0
Signal

Definition at line 106 of file tb_pltbutils.vhd.

◆ pltbs

pltbs pltbs_t := C_PLTBS_INIT
Signal

Definition at line 99 of file tb_pltbutils.vhd.

◆ s_b

s_b boolean
Signal

Definition at line 117 of file tb_pltbutils.vhd.

◆ s_i

s_i integer
Signal

Definition at line 112 of file tb_pltbutils.vhd.

◆ s_s

s_s unsigned ( 7 downto 0 )
Signal

Definition at line 116 of file tb_pltbutils.vhd.

◆ s_sl

s_sl std_logic
Signal

Definition at line 113 of file tb_pltbutils.vhd.

◆ s_slv

s_slv std_logic_vector ( 7 downto 0 )
Signal

Definition at line 114 of file tb_pltbutils.vhd.

◆ s_str1

s_str1 string ( 1 to 44 )
Signal

Definition at line 120 of file tb_pltbutils.vhd.

◆ s_str2

s_str2 string ( 1 to 44 )
Signal

Definition at line 121 of file tb_pltbutils.vhd.

◆ s_str3

s_str3 string ( 1 to 43 )
Signal

Definition at line 122 of file tb_pltbutils.vhd.

◆ s_str4

s_str4 string ( 1 to 45 )
Signal

Definition at line 123 of file tb_pltbutils.vhd.

◆ s_str_exp

s_str_exp string ( 1 to 44 )
Signal

Definition at line 119 of file tb_pltbutils.vhd.

◆ s_time

s_time time
Signal

Definition at line 118 of file tb_pltbutils.vhd.

◆ s_u

s_u unsigned ( 7 downto 0 )
Signal

Definition at line 115 of file tb_pltbutils.vhd.


The documentation for this class was generated from the following file: