blob: c233fdf4b362c2ea769cee35720351db10ad1a70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
entity test_bench is
end test_bench;
architecture only of test_bench is
signal sig : integer := 0;
begin -- only
p: process
begin -- process p
sig <= 1;
wait for 1 fs;
assert sig = 1 report "TEST FAILED" severity FAILURE;
report "TEST PASSED" severity NOTE;
wait;
end process p;
end only;
|