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

maeSensGetModels

maeSensGetModels(
[ ?session t_sessionName ] 
)
=> l_modelNames / nil

Description

Returns a list containing the names of all enabled models on the Sensitivity form for sensitivity analysis in the current or the specified maestro session.

Arguments

?session t_sessionName

Name of the maestro session.

If not specified, the current session is used.

Value Returned

l_modelNames

A list with the names of all enabled models.

nil

Indicates an error.

Examples

Returns a list of names of enabled models on the Sensitivity form.

maeSensGetModels()
=> ("gpdk045.scs" "gpdk045_resistor.scs")

Deletes the existing models from the Sensitivity form, adds two new models, uses the maeSensGetModels function to get all enabled models, and then prints their details.

;models
models = (maeSensGetModels) ;returns the model display names not paths
(foreach m models
(maeSensDeleteModel m)
)
(maeSensSetModel "spectre/gpdk045.scs" "ss tt ff" ?nominalValue "tt")  
;path is absolute or relative to include path 
(maeSensSetModel "models.scs" "mc" ?nominalValue "mc")    
;path is absolute or relative to include path 
models = (maeSensGetModels)  ;returns the model display names not paths
=> ("cds_ff.scs" "cds_ff_res.scs")
(printf "Sensitivity models = %L\n" models)
(foreach m models modelval = (maeSensGetModel m) (printf "Model %s value = %s, nominal value = %s\n" m (car modelval) (cadr modelval)) => Model cds_ff.scs value = ff ss fs, nominal value = ff Model cds_ff_res.scs value = ff_res1 ss_res, nominal value = ss_res

Return to top
 ⠀
X