axlSetModelBlock
axlSetModelBlock(x_modelHandlet_blockName) =>x_modelBlock/ nil
Description
Sets the name of the block for the specified model. By default, a model is associated with all the design blocks and is set as Global. In the MTS mode, a model is associated with a specific MTS block, so you need to use this function to specify the name of that block.
Alternatively, you can use the function to set the block name while associating a model to a corner.
Arguments
Value 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 the design block, design_45 inv, for
;the test MTS_test:testbench:1
axlSetModelTest(modelHandle "MTS_test:testbench:1")
=> 1117
axlSetModelBlock(modelHandle "design_45 inv")
=> 1118
axlSetEnabled(modelHandle t)
Related Topics
Return to top