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

axlPutModel

axlPutModel( 
x_cornerHandle 
t_modelFileName 
[ ?testName t_testName ] 
[ ?blockName t_blockName ] 
) 
=> x_modelHandle / nil 

Description

Adds a model file to the specified corner.

Arguments

x_cornerHandle

Handle to the corner for which the model file is to be added.

t_modelFileName

Name of the model file

You must specify a unique name for the model file. For example, if gpdk090.scs is already present, you can specify gpdk090.scs:1.

?testName t_testName

Name of the test with which the model is to be associated.

Default value: All

By default, a model file is associated with all the tests. In the Multi-Technology Simulation (MTS) mode, use this argument to specify the test with which the model is to be associated.

?blockName t_blockName

Name of the design block.

Default value: Global

By default, a model file is used for the complete design. In the MTS mode, use this argument to specify the design block for which the model is to be used.

Value Returned

x_modelHandle

The handle to the model file is returned.

nil

The handle to the model file is not returned.

Examples

Adds two models from different model files for the hightemp corner. These models are applied to all the tests and blocks in the setup database.

x_mainSDB=axlGetMainSetupDB(axlGetWindowSession())
cornerHandle=axlGetCorner(x_mainSDB "C0")
; adding model
modelHandle=axlPutModel(cornerHandle "gpdk090.scs")
;adding file for the model axlSetModelFile(modelHandle "../models/gpdk090.scs") ; specify a section to be used for the corner axlSetModelSection(modelHandle "ff") ; enable the model for the corner axlSetEnabled(modelHandle t)

Lets you use the axlPutModel function in MTS mode to add a model gpdk045.scs for the hightemp corner, and apply it to the given test and block.

x_mainSDB=axlGetMainSetupDB(axlGetWindowSession())
cornerHandle=axlGetCorner(x_mainSDB "hightemp")
modelHandle=axlPutModel(cornerHandle "gpdk045" ?testName "MTS_test:testbench:1" ?blockName "design_45 inv")
=>1319 axlSetModelFile(modelHandle "../models/gpdk045.scs") ; specifies path to the model file axlSetModelSection(modelHandle "ff") axlSetEnabled(modelHandle t)

Related Topics

axlGetMainSetupDB

axlGetWindowSession

axlSetModelFile

axlSetModelSection


Return to top
 ⠀
X