axlSetModelTest
axlSetModelTest(x_modelHandlet_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
Value Returned
|
The handle to the model test element is 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
Return to top