The$finishtask is used to terminate the simulation entirely. When this task is encountered, it stops all simulation processes and returns control to the operating system. This task is typically used when the simulation completes successfully or when an unrecoverable error occurs. moduletb;initialbegin...
report"simulation run time = "&time'image(now); 24 else 25 wait; 26 endif; 27 endprocessclkk; 28 29 uut:dffportmap( 30 direction,reset,clk,load,din,dout); 31 32 stim:process 33 begin 34 reset<='0'; 35 waitfor1us; ...
Halts a simulationandenters an interactivedebugmode. $stop : Undesired termination of the simulation. All the system activities are suspended. $finish : Used to relieve the compiler. $finishexits the simulation and gives control back to the operating system. $stopsuspends the simulation and put in...