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

relxGetReliabilityOptionChoices

relxGetReliabilityOptionChoices(
t_sessionName 
s_optionName
)
=>  t_optionValues / nil

Description

Returns the possible values for the specified Reliability option in the given analog session. This function works for fields that are of type radio, cyclic, and toggle.

It is a unit function used for netlist and control flow. It is recommended not to rewrite this function.

Arguments

t_sessionName

Name of the Spectre session. You can also use the asiGetCurrentSession function to specify the current session.

s_optionName

Name of the option whose possible values you want to return. Ensure that you specify the same option name as defined in your session. The name should be in symbol format.

Value Returned

t_optionValues

Returns possible values for the specified Reliability option in the given session.

nil

For any other session, returns nil.

Examples

Consider the example given below, in which you create an ADE L session using Spectre. The current session name is returned as shown:

session = asiGetCurrentSession()

Now, if you run the relxGetReliabilityOptionChoices function for the current session and variable name is AnalysisType, the function returns the all possible types for analysis, such as tran, AC, DC.

relxGetReliabilityOptionChoices(session ’AnalysisType)
)

Return to top
 ⠀
X