Spice3f5

stop

Set a breakpoint

General form

stop [ after n] [ when value cond value ] ...

Set a breakpoint. The argument after n means stop after n iteration number n, and the argument when value cond value means stop when the first value is in the given relation with the second value, the possible relations being

eq   or   =    equal to
ne   or   <>   not equal to
gt   or   >    greater than
lt   or   <    less than
ge   or   >=   greater than or equal to
le   or   <=   less than or equal to

IO redirection is disabled for the stop command, since the relational operations conflict with it (it doesn't produce any output anyway). The values above may be node names in the running circuit, or real values. If more than one condition is given, e.g. stop after 4 when v(1) > 4 when v(2) < 2, the conjunction of the conditions is implied.

All commands