axlPutModel
axlPutModel(x_cornerHandlet_modelFileName[?testNamet_testName][?blockNamet_blockName]) =>x_modelHandle/ nil
Description
Adds a model file to the specified corner.
Arguments
Value 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
Return to top