1entity foo is 2end foo; 3 4use std.textio.all; 5 6architecture only of foo is 7begin -- only 8 process 9 variable x : integer := 0; 10 begin -- process 11 x := 1 + 2; 12 assert x = 3 report "TEST FAILED - x does not equal 1" severity failure; 13 assert x /= 3 report "TEST PASSED" severity NOTE; 14 wait; 15 end process; 16end only; 17