maeMigrateADELStateToMaestro
maeMigrateADELStateToMaestro(
t_stateLib
t_stateCell
t_stateName
[ ?maestroLib t_maestroLib ]
[ ?maestroCell t_maestroCell ]
[ ?maestroView t_maestroView ]
[ ?migrateFrom s_migrateFrom ]
[ ?statePath t_statePath ]
[ ?simulator t_simulator ]
[ ?overwrite g_overwrite ]
)
=> l_cellviewDetails / nil
Description
Migrates the given ADE L state to a maestro cellview that can be opened in ADE Explorer.
Arguments
|
t_stateLib
|
Name of the library for which the ADE L state is available.
|
|
t_stateCell
|
Name of the cell for which the ADE L state is available.
|
|
t_stateName
|
Name of the view or state file for which the ADE L state is available.
|
|
?maestroLib t_maestroLib
|
|
|
Name of the library in which the maestro cellview is to be saved.
If not specified, the value given for t_stateLib is used. You can specify any other library name. If the given library does not exist, a library is created with that name.
|
|
?maestroCell t_maestroCell
|
|
|
|
Name of the cell in which the maestro cellview is to be saved.
If not specified, the value specified for t_stateCell is used.
|
|
?maestroView t_maestroView
|
|
|
|
Name for the maestro cellview to be saved.
The default value is "maestro".
|
|
?migrateFrom s_migrateFrom
|
|
|
|
Specifies if the state is to be migrate from the cellview or directory.
The possible values are 'cellview or 'directory.
The default value is 'cellview.
|
|
?statePath t_statePath
|
|
|
|
Path to the directory if s_migrateFrom is set to 'directory.
|
|
?simulator t_simulator
|
|
|
|
Specifies the simulator name. This value is used when s_migrateFrom is set to 'directory.
The default value is "spectre".
|
|
?overwrite g_overwrite
|
|
|
|
Specifies whether to overwrite the cellview, if already exists.
|
Value Returned
|
l_cellviewDetails
|
A list containing the names of library, cell and view of the maestro cellview to which the state is successfully migrated.
|
|
nil
|
Unable to migrate the given ADE L state to a maestro cellview.
|
Examples
Migrates the ADE L state spectre_state1 to a maestro state maestro1.
maeMigrateADELStateToMaestro("Two_Stage_Opamp" "OpAmp_AC_top" "spectre_state1" )
=> ("Two_Stage_Opamp" "OpAmp_AC_top" "maestro1")
Migrates an ADE L state from a state file saved in a directory.
maeMigrateADELStateToMaestro("Two_Stage_Opamp" "OpAmp_AC_top" "AC_active" ?migrateFrom 'directory ?statePath "./artist_states")
=> ("Two_Stage_Opamp" "OpAmp_AC_top" "maestro1")
; the maestro cellview is created from the following state file:
; ./artist_states/Two_Stage_Opamp/OpAmp_AC_top/spectre/AC_active
Return to top