1 entity tb_comparator2 is
5 use ieee.std_logic_1164.all;
7 architecture behav of tb_comparator2 is
8 signal a, b : std_logic_vector(1 downto 0);
11 dut: entity work.comparator2
19 assert r = '1' severity failure;
24 assert r = '0' severity failure;
29 assert r = '0' severity failure;
34 assert r = '1' severity failure;