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
Value Returned
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
Return to top