Is there a way to stop a simulation after a certain condition have been met? - ( VerilogA maybe? )
I setup a transient simulation to run for 50m secons.
The circuit oscillates for an unknown frequency, can be too high or too low.
In an alter, when the frequency is too high, the simulation time gets too long
and the results are not anymore necessary.
I only need to complete 20 cycles to analyze the results,
so I want to force stop/kill the simulation after completing 20 cycles on the output.