maeSetVar
maeSetVar(t_varname g_valValue[?typeNamet_typeName] [?typeValuel_typeValue] [ ?runt_runName] [?sessiont_sessionName] ) => t / nil
Description
Adds a variable to the given test or corner in the given ADE Explorer or ADE Assembler session. If the variable already exists, its value is updated.
Arguments
Value Returned
|
The specified variable is added to the given test or corner. |
||
|
The specified variable is not added to the given test or corner. |
||
Examples
Sets the value for the global variable, Cap to 5p.
maeSetVar("Cap" "5p")
Set value for variable Cap to 5p in test AC.
maeSetVar("Cap" "5p" ?typeName "test" ?typeValue '("AC"))
Set value for variable Cap to 5p in corners C1, C2, and C3:
maeSetVar("Cap" "5p" ?typeName "corner" ?typeValue '("C1" "C2" "C3"))
Returns the value of a variable from a previous run and update it for the next run.
Res=maeOpenResults(?run "vco_char")
kvco_val=maeGetOutputValue("kvo" "vco_char" ?cornerName "nominal")
maeCloseResults(Res)
maeSetVar("KVCO" kvco_val)
;; This example script can be helpful in run plans.
Related Topics
Return to top