for better control 为了防止仿真进入不必要的死循环,可通过触发某事件结束仿真。例如: event terminate-sim; initial begin @(terminate-sim) #5 $finish; end 这是很好的仿真风格。