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

axlGetSpecData

axlGetSpecData( 
x_hsdb
t_resultName
t_testName
[ t_cornerName ]
) 
=> l_specDetails / nil 

Description

Returns the specification for the given result, test, and corner combination in the given setup database.

Arguments

x_hsdb

Handle to the setup database.

t_resultName

Name of the measure.

t_testName

Name of the test.

t_cornerName

Name of the corner.

Value Returned

l_specDetails

Details of the specification.

nil

No specification exists for the given result.

Examples

The following examples show how you can get the specification details for a given result:

session = (axlGetWindowSession)
x_mainSDB = (axlGetMainSetupDB session)
axlGetSpecData(x_mainSDB "pw" "opamplib:ampTest:1" "C0")
=>("gt" "10") 
axlGetSpecData(x_mainSDB "pw" "opamplib:ampTest:2")
=> ("range" "10" "20")
axlGetSpecData(x_mainSDB "pw" "opamplib:ampTest:3")
=> nil

The following example displays specification details for all the results in the active setup database.

session = (axlGetWindowSession)
x_mainSDB = (axlGetMainSetupDB session)
(
foreach spec (cadr (axlGetSpecs x_mainSDB))
specname=parseString(spec ".")
test=car(specname)
result=cadr(specname)
specval=axlGetSpecData(1001 result test)
printf("test=%s, result=%s, specValue=%L \n" test result specval)
)

The above code displays all the specification details, as shown below.

=>     test=Two_Stage_Opamp:OpAmp_AC_top:1, result=Current, specValue=("lt" "1m")
 test=Two_Stage_Opamp:OpAmp_AC_top:1, result=Gain, specValue=("max" "45")
 test=Two_Stage_Opamp:OpAmp_AC_top:1, result=UGF, specValue=("gt" "250M")
 test=Two_Stage_Opamp:OpAmp_TRAN_top:1, result=SettlingTime, specValue=("lt"  "9n")
 test=Two_Stage_Opamp:OpAmp_TRAN_top:1, result=Swing, specValue=("gt" "1")
 test=Two_Stage_Opamp:OpAmp_AC_top:1:1, result=Current, specValue=("lt"  "1e-3")
 test=Two_Stage_Opamp:OpAmp_AC_top:1:1, result=Gain, specValue=("max" "45.0")
 test=Two_Stage_Opamp:OpAmp_AC_top:1:1, result=UGF, specValue=("gt" "250e6")

Related Topics

axlAddSpecToOutput

axlGetSpecs

axlGetSpec

axlGetSpecWeight


Return to top
 ⠀
X