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

relxSetReliabilityOptionVal

relxSetReliabilityOptionVal(
t_sessionName
s_optionName
t_value
)
=> g_value / nil

Description

Sets the value of the specified Reliability option variable in the given session.

It is a unit function 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 Reliability option whose value you want to set. Ensure that you use the same option name as defined in your analog session. The option name should be in symbol format.

t_value

The value that you want to assign to the specified Reliability option. The value depends on the variable type.

Value Returned

g_value

For Spectre session, returns the value of the Reliability option variable.

nil

For any other sessions, returns nil.Also, There is an error.

Examples

Consider the example given below, in which the ADE L session is created using Spectre. You can use the following function to set the value of the specified reliability option variable as STRESS.

session = asiGetCurrentSession()
relxSetReliabilityOptionVal(session 'variable_name "STRESS")

Now, return the specified value using the following function:

relxGetReliabilityOptionVal(session 'variable_name)
=> STRESS

Return to top
 ⠀
X