2 use ieee.std_logic_1164.all;
7 architecture behav of tb_and6 is
8 signal i0, i1, i2, i3, i4, i5 : std_logic;
12 dut : entity work.and6
13 port map (i0 => i0, i1 => i1, i2 => i2, i3 => i4, i4 => i4,
17 constant v0 : std_logic_vector := b"1011";
18 constant v1 : std_logic_vector := b"1111";
19 constant v2 : std_logic_vector := b"1111";
20 constant v3 : std_logic_vector := b"1111";
21 constant v4 : std_logic_vector := b"1111";
22 constant v5 : std_logic_vector := b"1101";
23 constant ov : std_logic_vector := b"1001";
25 for i in ov'range loop
33 assert o = ov(i) severity failure;