SAVE Command
Creates a checkpoint file of circuit states.
| Command | SAVE |
|---|---|
| Abbreviation | SA |
| Category | Session Management |
Function
The SAVE command is used to create a checkpoint file. Only stable circuit states are saved. Saved states can be reloaded with the RESTORE command.
Usage
The SAVE command can be restricted to a specified interval of tests, for patterns, or time, for waveforms, with the PRANGE keyword option:
SAVE PRANGE=<prange spec>
By default, the checkpoint file has the default file name and the default extension sav. This file can be explicitly named with the FILE keyword:
SAVE FILE=<file name>
The PSTEP keyword option initiates saving circuit states. This command specifies an interval (count) of stable states over which saves should occur:
SAVE PSTEP=<integer>
For example:
SAVE PSTEP=250
causes every 250-th stable state to be saved in the checkpoint file. For pattern stimuli, this corresponds to saving the circuit state every 250 tests. This interval may be greater for waveform and timing generator stimulus modes, since the circuit state may not stabilize by the end of every stimulus state.
The special zero value:
SAVE PSTEP=0
causes the current state to be saved in the checkpoint file, if it is stable.
The command:
NO SAVE PSTEP:
disables saving states in the checkpoint file.
See the Section Replaying Portions of the Simulation in History Files for more information on the SAVE command.