17 use ieee.std_logic_1164.
all;
41 signal pltbs : pltbs_t := C_PLTBS_INIT;
44 signal clk : std_logic;
45 signal rst : std_logic;
50 dut0 :
entity work.template
66 stop_sim_i => pltbs.stop_sim
71 variable pltbv : pltbv_t := C_PLTBV_INIT;
77 starttest
(1, "Reset test", pltbv,
pltbs);
78 if is_test_active
(pltbv
) then
80 check
("template_signal during reset", template_signal,
0, pltbv,
pltbs);
84 endtest
(pltbv,
pltbs);
86 starttest
(2, "Template test", pltbv,
pltbs);
87 if is_test_active
(pltbv
) then
92 endtest
(pltbv,
pltbs);
96 endsim
(pltbv,
pltbs, true
);
100 end architecture bhv;
See pltbutils_comp.vhd for a description of the components.
This package defines fuctions and procedures for controlling stimuli to a DUT and checking response.
pltbutils_clkgen clkgen0clkgen0
pltbs_t := C_PLTBS_INIT pltbs
G_SKIPTESTS std_logic_vector :=( '0', '0', '0')
G_CLK_PERIOD time := 10 ns
Defines useful functions an procedures for text handling text in VHDL.