verifCreateSnapshot
verifCreateSnapshot(g_sessionId[t_snapshotName][?namet_name] [?prefixt_prefix] [?commentt_comment] [?visibleg_visible] [?lockedg_locked] ) => t / nil
Description
Creates a new snapshot '*.snapz' that contains the following:
- An archive, stored in .json format, of the current requirements, mappings, and results as shown in Results tab.
- A copy of the settings.v3 setup.
- A copy of the results directory.
Arguments
Value Returned
|
Snapshot is created successfully in the specified Verifier session. |
|
|
Snapshot does not exist or Verifier does not have the permission to create a new snapshot, or the command is not successful. |
Examples
The following example starts a Verifier session with a cellview 'test/snapshots/verifier' and create a new snapshot.
uid = verifOpenCellView("test" "snapshots" "verifier")
=> 0
Creates a snapshot with the default naming format.
verifCreateSnapshot(uid)
=> t
Creates a snapshot with specified name.
verifCreateSnapshot(uid "mySnap")
=> t
Creates a snapshot automatically.
verifRegisterCallback( lambda((sess sig args) when(sig == 'simulationsAdded verifSetSnapshotsEnabled(sess t) verifCreateSnapshot(sess ?prefix "sim" ?comment "Pre-simulation snapshot")
)
)
)
Related Topics
verifCreateSnapshotConfiguration
Return to top