A
Appendix A - Preset to Snapshot Batch Migration
To convert several preset files generated by Pegasus Interactive in older version to its snapshot equivalents, you can run pegasusGenSnapshot with -preset argument.
pegasusGenSnapshot -name Default -dir . -log default.log -preset Default.OldVersion.pegasusint.preset
pegasusGenSnapshot will perform conversion of batch preset file Default.OldVersion.pegasusint.preset to Default snapshot.
Since the Pegasus Interactive Snapshot Creator form can be invoked outside of Virtuoso, you as an alternative to pegasusGenSnapshot can invoke it either in graphic or non-graphic mode to perform snapshot creation.
To simply invoke the Pegasus Interactive Snapshot Creator form, run the following command in your terminal:
pegasusgui -pegasusintSnapshot
Or invoke this form with a specific preset file loaded:
pegasusgui-pegasusintSnapshot -preset <inputPresetFilePath>
To convert several old preset files generated by Pegasus Interactive to its snapshot equivalents, you can run pegasusgui command in non-graphic mode to perform a batch preset file to snapshot conversion. Before doing a batch preset to snapshot run, following steps needs to be performed:
- Declare SnapshotName inside of the preset file
-
Declare final snapshot directory via
PegasusInt_SnapshotsDirs
Then, you can run batch preset to snapshot conversion as following:
pegasusgui -pegasusintSnapshot -preset <PresetPath> -any_flow -nograph
Following example shows batch snapshot creation using three presets created using older snapshot versions:
Step1: Decalare SnapshotName in all of preset files:
% grep SnapshotName ./PRESETS/*preset
./PRESET/ColorlessRules.preset: SnapshotName ColorlessRules"
./PRESET/FDRY1ColorChk_Mx.preset: SnapshotName "FDRY1ColorChk_Mx_1"
./PRESET/Mx_DecompRules.preset: SnapshotName "Mx_DecompRules"
Step2: Execute the run script contains:
-
Destined snapshot directory declared through
PegasusInt_SnapshotsDirs -
pegasusgui -pegasusintSnapshot -nographexecution commands% cat runBatchPrep2Snp
setenv PegasusInt_SnapshotsDirs $PWD/CAD_PRS2SNP_BatchDir
pegasusgui -pegasusintSnapshot -preset ./PRESETS/ColorlessRules.preset -any_flow -nograph
pegasusgui -pegasusintSnapshot -preset ./PRESETS/FDRY1ColorChk_Mx.preset -any_flow -nograph
pegasusgui -pegasusintSnapshot -preset ./PRESETS/Mx_DecompRules.preset -any_flow -nograph
Return to top