axlGetVars
axlGetVars(x_element) =>l_vars/nil
Description
Returns a list containing a handle to all variables associated with the given database element (the setup database, a corner, or a history checkpoint) and a list of all variable names.
Arguments
|
Handle to the database element, which can be the setup database, a corner, or a history checkpoint. |
Value Returned
|
List containing a handle to all global variables for the database element and a list of all global variable names. |
|
Examples
The following example shows how to get the handle of the current setup database and use it to get the list of all the global variables associated with that setup database.
s1 = axlGetWindowSession() => "session0" x_mainSDB=axlGetMainSetupDB(s1) => 1001 axlGetVars(x_mainSDB) =>(1862 ("IREF" "SIDDQ" "VDD" "VIN_CM"))
The following example shows how to get the list of variables associated with the given corner, C1.
s1 = axlGetWindowSession() => "session0" x_mainSDB=axlGetMainSetupDB( s1 ) => 1001 axlGetCorners(x_mainSDB) => (1003 ("C0_VDD_1.6_Temp" "C1_VDD_2.0_Temp" "C1_VDD_2.2_Temp" ) ) c1 = axlGetCorner(x_mainSDB "C0_VDD_1.6_Temp") => 1984 axlGetVars(c1) => (2157 ("temperature" "VDD")
)
The following example shows how to get the list of global variables that were used in a history checkpoint.
s1 = axlGetWindowSession() => "session0" x_mainSDB=axlGetMainSetupDB( s1 ) => 1001 h1 = axlGetHistoryCheckpoint( axlGetHistoryEntry(x_mainSDB "Interactive.2")) => 4745 axlGetVars(h1) => (4788 ("IREF" "VDD" "VIN_CM")
)
Related Topics
Return to top