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

asiLoadState

asiLoadState( 
o_session
[ ?name t_name ]
[ ?option s_option ]
[ ?stateDir t_stateDir ]
[ ?lib t_lib ]
[ ?cell t_cell ]
[ ?simulator t_simulator ]
)
=> t / nil

Description

Loads a saved state into the current simulation environment directly from the CIW without displaying the Loading State form.

Arguments

o_session

Simulation session object.

?name t_name

Name of the state.

?option s_option

Option to specify whether the state is to be loaded from 'dir or 'cellview.

?stateDir t_stateDir

Directory in which the state is saved. The complete location of the saved state would be stateDir/lib/cell/simulator.

Specify stateDir only when option is set to 'dir.

?lib t_lib

Library name.

?cell t_cell

Cell name.

?simulator t_simulator

Name of the simulator. Specify this when option is set to 'dir.

Value Returned

t

The call is successful.

nil

The call is unsuccessful.

Examples

Loads MyState directly from the CIW given the directory (~/.artist_state) in which the state is saved and the session (session1) into which the state is to be loaded.

asiLoadState( session1 ?name "MyState" ?option 'dir ?stateDir "~/.artist_state" )

Loads spectre_state1 directly from the CIW given the library/cell path (myLib/myCell) and the session (session2) into which the state is to be loaded.

asiLoadState( session2 ?name "spectre_state1" ?option 'cellview ?lib "myLib" ?cell "myCell" )


Return to top
 ⠀
X