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

VAR

VAR(
t_variableNname 
[ t_dataDir ]
)
=> n_number / nil

Description

Returns the value of the specified design variable.

Arguments

t_variableName

Name of the variable.

t_dataDir

Directory containing the PSF files(results). When specified, this argument will only be used internally and will not alter the currently selected results.The default is the currently selected results directory.

Value Returned

n_number

Returns the value of the specified design variable.

nil

Returns nil if the design variable was not found. Prints an error message if the data-directory does not contain valid PSF data.

Examples

Returns the value of the variable R1.

VAR("R1")
=>  1000.0

Returns the value of the variable temp in the specified directory.

VAR("temp" "./simulation/test/spectre/schematic-save")
=>  27.0

Return to top
 ⠀
X