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 := 4/2; 12 assert x = 2 report "TEST FAILED - x does not equal 2" severity failure; 13 assert x /= 2 report "TEST PASSED" severity note; 14 wait; 15 end process; 16end only; 17