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

maeGetSimOption

maeGetSimOption(
t_testName
[ ?option t_optionName ]
[ ?includeEmpty g_includeEmpty ]
[ ?session t_sessionName ]
)
=> l_options / nil

Description

Returns a list containing name-value pairs for the simulator options for the given test. By default, it returns all the simulator options whose value is not nil. If the includeEmpty argument is set to t, it returns all the simulator options. If a specific option is specified, the function returns the value of only that option.

Arguments

t_testName

Name of the test.

?option t_optionName

Name of the simulator option for which the value is to be returned.

?includeEmpty g_includeEmpty

Specifies whether the options with no given value are to be returned or not.

  • t: Returns the options with no specified value.
  • nil: Does not return the options with no specified value. This is the default.

?session t_sessionName

Name of the session. If not specified, the current session is used.

Value Returned

l_options

List of name-value pairs of simulator options

nil

The simulator options are not returned.

Examples

Returns the values of all the options for test solutions:ampTest:

maeGetSimOption("solutions:ampTest:2" ?includeEmpty t)
=> (label1: "" reltol: "1e-3" residualtol: "" vabstol: "1e-6" iabstol: "1e-12" )

Return to top
 ⠀
X