1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
entity wait2 is end; architecture behav of wait2 is signal t : natural; begin process begin report "hello"; wait until t = 2; report "SUCCESS"; wait; end process; t <= 1 after 2 ns, 2 after 4 ns; end behav;