5 use ieee.std_logic_1164.all;
7 architecture behav of tb_cnt04 is
8 signal clk : std_logic;
9 signal rst : std_logic;
10 signal counter : std_logic_vector (7 downto 0);
12 dut: entity work.cnt04
13 port map (clk => clk, rst => rst, counter => counter);
25 assert counter = x"01" severity failure;
29 assert counter = x"02" severity failure;
32 assert counter = x"03" severity failure;