|Home > Introduction > Checkpoints|
Checkpointing allows you to save the state of components in a simulation, and restore the state when you start a new simulation. Saved states are called checkpoints.
Processor components that support checkpointing are:
Checkpointing limitations are:
These peripheral components pass checkpointing support tests, some with limits to their support:
Model Shell supports checkpointing with the
--restore command-line options:
--restore to restore a checkpoint on
simulation startup and save a checkpoint on exit. For example:
model_shell -m $MODEL --restore checkpoint_dir --save checkpoint_dir
You can control checkpointing from a custom CADI client, from a SystemC application, with PyCADIShell, and with LISA+ components.
See $PVLIB_HOME/examples/CADI/checkpointing/ for an example of how to save and restore a checkpoint using CADI.
See $PVLIB_HOME/examples/SystemCExport/EVS_Platforms/EVS_Checkpointing/ for a SystemC example.
See $PVLIB_HOME/examples/python/checkpointing.py for an example of how to perform checkpointing with PyCADIShell.
The checkpointing feature is under development. It has limitations: