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

maeLoadStateForTest

maeLoadStateForTest(
t_testName
t_stateName
[ ?session t_session ]
[ ?loadFrom s_loadFrom ]
[ ?statePath s_statePath ]
[ ?libName t_libName ]
[ ?cellName t_cellName ]
[ ?simulator t_simulatorName ]
[ ?component l_componentList ]
)
=> t_sessionName / nil

Description

Loads the saved ADE state for the given test.

Arguments

t_testName

Name of the test in the given maestro setup for which the state is to be loaded.

t_stateName

Name of the state to be loaded for the given test.

?session t_session

Name of the session to which the ADE state is to be loaded.

If not specified, the current session is used.

?loadFrom s_loadFrom

Specifies whether the state is to be loaded from cellview or directory.

  • 'directory: Specifies that the state must be loaded from the given directory.
  • 'cellview: Specifies that the state must be loaded from the given cellview.

If no value is specified for this argument, the saveAsCellview environment variable is checked. If the variable is set to t, state is loaded from the cellview. Otherwise, the state is loaded from the directory.

?statePath t_statePath

State path from where state is to be loaded when ?loadFrom is set to 'directory.

It specifies the path where libName/cellName/simulator/stateName is located. The default path is taken from the saveDir environment variable.

?libName t_libName

Library name for which state is to be loaded. If not specified, the library name from the test session is taken.

?cellName t_cellName

Cell name for which state is to be loaded. If not specified, the given cell name from test session is taken.

?simulator t_simulatorName

Simulator name for which state is to be loaded. If not specified, the simulator name from the test session is taken.

?component l_componentList

List of the components to be loaded from the state. When no value is given, all components are loaded.

Valid Values:

  • analyses
  • variables
  • outputs
  • subckts
  • opPoints for
  • modelSetup
  • simulationFiles
  • environmentOptions
  • simulatorOptions
  • convergence
  • waveformSetup_ws
  • graphicalStimuli
  • conditionsSetup
  • printSetup (Results Display Setup)
  • devCheckingSetup
  • relxOptions
  • cosimOptions
  • turboOptions (Performance/Parasitic Reduction)
  • mdlOptions
  • dpSetup (Distributed Processing)
  • paramSetup
  • all (default)

Value Returned

t_sessionName

The given state is loaded.

nil

The state is not loaded.

Examples

Loads the test test1 to the ADE state spectre_state1.

maeLoadStateForTest("test1" "spectre_state1" ?loadFrom 'cellView ?statePath "/home/TEST/TRAINING/training/ampTest/adexl/test_states" ?libName "training" ?cellName "ampTest" ?simulator "spectre" ?component '(environmentOptions simulationFiles))
=> t

Related Topics

saveAsCellview

saveDir


Return to top
 ⠀
X