OP
OP(
t_instanceName
t_parameterName
[ t_dataDir ]
)
=> n_number / nil
Description
Returns the value of the operating point parameter for the specified instance.
Arguments
|
t_instanceName
|
Instance name
|
|
t_parameterName
|
Parameter name
|
|
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 value of the specified operating point.
|
|
nil
|
Returns nil is the design variable was not found.
|
Examples
OP("R1" "pwr")
=> 0.001
OP("R1" "pwr" "./simulation/test/spectre/schematic-save")
=> 0.002
Return to top