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

axlSetModelBlock

axlSetModelBlock( 
x_modelHandle 
t_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 axlPutModel function to set the block name while associating a model to a corner.

Arguments

x_modelHandle

Handle to a model

t_blockName

Block name

Value Returned

x_modelBlock

The handle to the model block element is returned.

nil

The handle to the model block 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 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

axlGetModel

axlGetModelBlock

axlSetModelTest

axlPutModel


Return to top
 ⠀
X