blob: 356b01d7c214cb9fcff6f95d634ecace6fe6fb5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
entity tb_bnot is
end tb_bnot;
architecture behav of tb_bnot is
signal i : bit;
signal o : bit;
begin
dut: entity work.bnot
port map (i, o);
process
begin
i <= '0';
wait for 1 ns;
assert o = '1' severity failure;
i <= '1';
wait for 1 ns;
assert o = '0' severity failure;
wait;
end process;
end behav;
|