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

maeGetTestOutputs

maeGetTestOutputs(
t_testName
[ ?session t_session ]
)
=> l_outputs / nil

Description

Returns the list of outputs for the specified test in the current session or a specific maestro session.

Arguments

t_testName

Name of the test for which the list of outputs is required.

?session t_session

Name of the session. If not specified, the current session is used.

Value Returned

l_outputs

A list containing the outputs for the specified test is returned.

nil

The list of outputs in not returned for the specified test.

Examples

Returns the list of outputs for the test TRAN.

; Returns the name of the maestro session.
maestroSession = maeOpenSetup("Two_Stage_Opamp" "OpAmp" "maestro_basic")
=> "fnxSession8"
; Returns the name of the tests.
maeGetSetup(?typeName "tests" ?session maestroSession)
=> ("AC" "TRAN" "AC:1" "AC:2")
; Returns the outputs for the test TRAN.
outputList = maeGetTestOutputs("TRAN" ?session maestroSession)
=> (sevOutputStruct@0x220138a8 sevOutputStruct@0x220138c0 sevOutputStruct@0x220138d8 sevOutputStruct@0x220138f0 sevOutputStruct@0x22013908 sevOutputStruct@0x22013920 sevOutputStruct@0x22013938 sevOutputStruct@0x22013950 sevOutputStruct@0x22013968)
; Prints the name, expression or signal name for each output.
foreach( mapcar output outputList or(output->name output->expression output->signal))
=> ("/OUT" "Swing" "SettlingTime" "RelativeSwingPercent" "PhaseMargin"
    "/net06" "/netAVDD" "/IN" "/gnd!"
)

Return to top
 ⠀
X