| |||
| Home > Model Shell Commands > Stopping Model Shell > Automatic shutdown of Model Shell | |||
To cause an automatic shutdown of Model Shell, specify stop conditions in the command line. Conditions can typically be combined so that the first fulfilled condition breaks the execution.
Not all stop conditions are available in CADI server mode.
The following conditions are supported for automatic shutdown of Model Shell:
the simulation stops.
This if the default condition if no CADI server was started.
If a CADI server was started with the --cadi-server option, this condition is ignored.
the simulation hits a breakpoint. Use the --break option to specify the breakpoint.
If a CADI server was started with the --cadi-server option, this condition is ignored.
This option cannot be combined with the --cyclelimit option.
the number of cycles is exceeded. Use the --cyclelimit option to specify the cycle limit.
This option cannot be combined with the --cadi-server option.
Using this option might slow down execution speed.
Breakpoints are ignored.
the time limit is exceeded. Use the --timelimit option to specify the running time limit in wall-clock seconds.
the cpu limit is exceeded. Use the --timelimit option to specify the running time limit in CPU seconds.
A time granularity of 0.1 second is used to test against the specified time to avoid performance loss.
Both user and kernel time are included in the measurement of elapsed CPU time.