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

maeSetEnvOption

maeSetEnvOption(
t_testName
[ ?options l_options ]
[ ?session t_sessionName ]
)
=> t / nil

Description

Sets values for one or more environment options for the given test.

Arguments

t_testName

Name of the test

?options l_options

List of environment options and the values to be set for them. You can use maeGetEnvOption to get the list of environment options, as shown below.

maeGetEnvOption(t_testName ?includeEmpty t)
This function does not validate the values specified for the environment options. Therefore, you must ensure that the names of options and their respective values are in correct format.

?session t_sessionName

Name of the session

If not specified, the current session is used.

Value Returned

t

The values for the environment options are set successfully.

nil

The values for the environment options are not set.

Examples

Sets values for multiple environment options.

sess= maeOpenSetup("solutions" "ampTest" "maestro")
=> "session0"
maeSetEnvOption("AC" ?options '(("stopViewList" ("spectre")) ("modelFiles" (("./models.scs" "FF")))))
;; Sets the stopViewList as ("spectre") and modelFiles as (("./models.scs" "FF")

Sets multiple model files by specifying a list of model file paths.

sess= maeOpenSetup("solutions" "ampTest" "maestro")
=> "session0"
maeSetEnvOption("AC" ?options '(("modelFiles" (("./models.scs" "FF") ("./TECH/GPDK045/gpdk045/models/spectre/gpdk045.scs" "mc")  ("./DESIGNS/GPDK045/FRACNPLL/models/inductor.scs")))))

Related Topics

maeGetEnvOption


Return to top
 ⠀
X