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

calcValForRel

calcValForRel(
t_outputName
[ ?relxName t_relxName ]
[ ?ageValue t_ageValue ]
[ ?ageUnit t_ageUnit ]
[ ?she g_she ]
[ ?cornerName t_cornerName ]
[ ?historyName t_historyName ]
[ ?run t_runName]
)
=> g_output / nil

Description

Retrieves the value of an output expression used in a reliability setup. You can use the value returned by this function in another output expression. When using the function calcValForRel in an output expression, you must specify different tests for stress and aged tests to avoid cyclic dependencies. You can create this expression in the Outputs Setup tab by using the Expression Builder too.

You can watch a video demonstration on how to use the calcValForRel function at Using the calcValForRel Function in Reliability Analysis. You can also read the related blog at Virtuoso Video Diary: Enhancements in Reliability Analysis.

Arguments

t_outputName

Name of the output to be used. The output can return a scalar value or waveform.

?relxName t_relxName

Name of the reliability setup to be used.

?ageValue t_ageValue

Specifies one of the following values:

  • Fresh: For the fresh stage
  • Stress: For stress stage
  • age_number: For aged stage (Aging simulation)
"age_number" specifies the age points at which the device degradation is calculated.

?ageUnit t_ageUnit

Specifies the unit for the age points.

Valid Values: yr, year, years, d, day, days, h, hour, hours, min, minute, minutes, sec, second, seconds.

Default Value: year

?she g_she

Boolean value to specify whether the self-heating effect is enabled.

Valid Values:

  • t: Self-heating effect is enabled
  • nil: Self-heating effect is disabled

Default Value: nil

?cornerName t_cornerName

Name of the corner. When specified, the value of the given output for this corner is used.

Default Value: nil

?historyName t_historyName

Name of the history from which the results are to be retrieved. When specified, the scalar or waveform result of the output from the given history is used. Otherwise, the value of the output from the current simulation run is used.

The history must exist for the calcValForRel to return the expected result. To retrieve the value of an output of type 'signal', the simulation waveform results must be saved.

Default Value: nil

?run t_runName

Name of the run in the run plan from which the value of the given output is to be returned. This argument is useful only when the setup has a run plan.

Use this argument to get the value of an output from the results of one run (in the run plan) and use it in a variable or expression for another run in the same run plan or history. It cannot be used to refer to the results of another history. When both ?run and ?historyName are specified, ?historyName is ignored by calcValForRel.

Default Value: nil

Value Returned

g_output

Returns the value of the specified output used in the given reliability setup.

nil

There is an error.

Examples

Retrieves the value of output yMax from "Stress" stage of the reliability setup "rel_0":

calcValForRel("yMax" ?relxName "rel_0" ?ageValue "stress")

Retrieves the value of output yMax from C2 corner for the age point 10 year in the reliability setup "rel_0":

calcValForRel("yMax" ?relxName "rel_0" ?ageValue "10" ?cornerName "C2")

Retrieves the value of output yMax from the reliability setup "rel_0" with the self-heating effect enabled.

calcValForRel("yMax" ?relxName "rel_0" ?she t)

Retrieves the value of output yMax from the history "Interactive.3". The history contains the simulation results of fresh stage in the reliability setup "rel_0":

calcValForRel("yMax" ?relxName "rel_0" ?ageValue "fresh" ?historyName "Interactive.3")

Retrieves the value of output yMax for the age point 20 days of gradual aging (10, 20, 30) in the reliability setup "rel_0":

calcValForRel("yMax" ?relxName "rel_0" ?ageValue "20" ?ageUnit "day")

Retrieves the value of output yMax from the reliability setup "rel_0" used in the run "Run.0":

calcValForRel("yMax" ?relxName "rel_0" ?run "Run.0")

Return to top
 ⠀
X