永恒的等待

最简单的 wait 语句形式很简单:

wait;

每当进程执行此操作时,它将永久挂起。模拟调度程序永远不会再次恢复它。例:

signal end_of_simulation: boolean := false;
...
process
begin
  clock <= '0';
  wait for 500 ps;
  clock <= '1';
  wait for 500 ps;
  if end_of_simulation then
    wait;
  end if;
end process;