blob: d3809c57d2e3f61f5cb6e4e17db907ade7aa44b8 (
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 : bit_vector( 3 downto 0 );
begin -- only
p: process
begin -- process p
sig <= "1001";
wait for 1 fs;
assert sig = "1001" report "TEST FAILED" severity FAILURE;
report "TEST PASSED" severity NOTE;
wait;
end process p;
end only;
|