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

axlSetModelTest

axlSetModelTest( 
x_modelHandle 
t_testName 
) 
=> x_modelTest / nil 

Description

Sets the name of the test to be associated with the specified model. By default, a model is associated with all the tests. In case of MTS mode, you need to associate the model with a specific test. Alternatively, you can use the axlPutModel function to specify the test name while adding a model.

Arguments

x_modelHandle

Handle to a model.

t_testName

Name of the test associated with the specified model.

Value Returned

x_modelTest

The handle to the model test element is returned.

nil

The handle to the model test element is not returned.

Examples

Sets the test name and a block name for a model to be associated with an MTS block.

x_mainSDB=axlGetMainSetupDB(axlGetWindowSession())
=> 1001
sdb_corner=axlGetCorner(x_mainSDB "C2")
=> 1098
modelHandle=axlPutModel(sdb_corner "fastModel")
=> 1115
axlSetModelFile(modelHandle "../gpdk045/models/spectre/gpdk045.scs")
=> 1116
axlSetModelSection(modelHandle "ff")
=> 1119
;
;setting test name and block name for an MTS block, design_45 inv
;
axlSetModelTest(modelHandle "MTS_test:testbench:1")
=> 1117
axlSetModelBlock(modelHandle "design_45 inv")
=> 1118
axlSetEnabled(modelHandle t)

Related Topics

axlGetModel

axlGetModelTest

axlSetModelBlock

axlGetCorner

axlPutModel


Return to top
 ⠀
X