sim.stop() -- The $stop system task causes simulation to be suspended.
sim.finish() -- The $finish system task causes the simulator to exit and pass control back to the host operating system.
sim.exit() -- The $exit control task waits for all program blocks to complete, and then makes an implicit call to $finish. The usage of $exit is presented in 24.7 on program blocks.
Set of proposed APIs similar to SystemVerilog:
sim.stop()
-- The$stop
system task causes simulation to be suspended.sim.finish()
-- The$finish
system task causes the simulator to exit and pass control back to the host operating system.sim.exit()
-- The$exit
control task waits for all program blocks to complete, and then makes an implicit call to$finish
. The usage of$exit
is presented in 24.7 on program blocks.