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

axlPutVar

axlPutVar( 
x_element 
t_varName 
t_value 
) 
=> x_varHandle / nil 

Description

Creates or finds a variable by the given name for the specified database element and sets its value.

Arguments

x_element

Handle to the database element, which can be the setup database, a corner, or a history checkpoint.

t_varName

Variable name.

t_value

Variable value.

Value Returned

x_varHandle

Handle to the variable added or modified.

nil

The command was unsuccessful.

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

axlGetWindowSession

axlGetMainSetupDB

axlGetCorner


Return to top
 ⠀
X