axlPutVar
axlPutVar(x_elementt_varNamet_value) =>x_varHandle/nil
Description
Creates or finds a variable by the given name for the specified database element and sets its value.
Arguments
|
Handle to the database element, which can be the setup database, a corner, or a history checkpoint. |
|
Value Returned
Examples
The following example shows how to add a new variable VDD to a corner and set its sweep values.
x_mainSDB=axlGetMainSetupDB(axlGetWindowSession())
=>1001
c1 = axlGetCorner(x_mainSDB "C0_Temp")
=>1984
axlPutVar(c1 "VDD" "2.2 1.8")
=>2159
The following example shows how to change the value of a global variable IREF.
s1 = axlGetWindowSession()
=>"session0"
x_mainSDB=axlGetMainSetupDB(s1)
=>1001
axlPutVar(x_mainSDB "IREF" "55u")
=>1863
The following example shows how to add a configuration sweep variable.
s1 = axlGetWindowSession()
=>"session0"
x_mainSDB=axlGetMainSetupDB(s1)
=>1001
axlPutVar(x_mainSDB "CONFIG/myLib/myCell" "schematic extracted")
=>1863
Related Topics
Return to top