Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

axlSaveSetupState

axlSaveSetupState(
t_session
t_stateName
l_tags
[ ?inReadOnly readOnlyAction ]
) 
=> t / nil 

Description

Saves a setup state for the specified session.

Arguments

t_session

Name of the session.

t_stateName

Name to be used for the saved state.

l_tags

List of tags to be saved with the state. Available tags are:

  • tests: Testbench setups
  • vars: Global variables
  • parameters: Parameters and their values
  • currentMode: Run mode
  • runOptions: Simulation options for different run modes and the run distribute options
  • specs: Parameter specifications
  • corners: Corner details
  • modelGroups: Model groups
  • extensions: Extensions
  • relxanalysis: Reliability analysis setup details
  • All: Details of all tags.

?inReadOnly readOnlyAction

Specifies the action to be performed in read only mode.

  • 'error: Displays an error. This is the default value.
  • 'useSaveDir: Saves the setup state in the save directory.
  • 'useprojectDir: Saves the setup state in the project directory.

Value Returned

t

The setup is saved.

nil

The setup is not saved.

Examples

Saves the corner changes from a session to a saved state.

session = (axlGetWindowSession)
=>"session1"
; returns handle to the current session
x_mainSDB=axlGetMainSetupDB(session) =>1001 ; returns handle to the setup database of the session c1 = axlPutCorner( x_mainSDB "c1" ) =>1235 ; adds a new corner c1 axlPutVar( c1 "VIN_CM" "1.06 1.08" ) =>1237 ; Sets corner variables axlSaveSetupState(session "CornersState1" `("corners" "vars")) =>t ; saves the corner details in a setup state named CornersState1

Saves all the tags from the current session to a state, use the all tag.

session = (axlGetWindowSession)
=>"session1"
x_mainSDB=axlGetMainSetupDB(session)
=>1001
axlSaveSetupState(session "state2" "All")
=>t

Return to top
 ⠀
X