blob: d1d0e34e1d27ad813fcb5872bed8201054b279ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
entity repro is
port (a : bit := '0';
o : out bit);
end;
architecture behav of repro is
signal s : bit;
begin
s <= a;
o <= not s;
process
begin
wait for 1 ns;
assert a = '0' and s = '0' severity failure;
s <= force '1';
assert s = '0' severity failure;
wait for 0 ns;
assert s'active severity failure;
assert a = '0' and s = '1' severity failure;
wait for 1 ns;
s <= release;
wait for 0 ns;
assert s'active severity failure;
assert a = '0' and s = '0' severity failure;
wait;
end process;
end;
|