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

maeSetMTSBlock

maeSetMTSBlock(
t_testName
[ ?lib t_lib ]
[ ?cell t_cell ]
[ ?inst t_instName ]
[ ?enable g_enable ]
[ ?modelFiles l_modelFiles ]
[ ?simOptions l_simOptions ]
[ ?session t_sessionName ]
[ ?mode t_mode ]
)
=> t / nil

Description

Enables local scoping for the specified library cell (block) or instance and sets the specified MTS options. This includes the models files to be scoped locally and the process parameters, such as scale and temp to be included in the simulation locally.

Arguments

t_testName

Name of the test.

?lib t_lib

Name of the library.

?cell t_cell

Name of the cell.

?inst t_instName

Name of the instance.

?enable g_enable

Boolean flag to specify whether to enable local scoping for the specified block or instance.

The default value is t.

?modelFiles l_modelFiles

List specifying the model files that will be locally scoped for the specified block or instance.

?simOptions l_simOptions

List specifying the values of the process parameters that will be included in the simulation for the specified block or instance locally.

?session t_sessionName

Name of the session.

If you do not specify this argument, the currently active session is used.

?mode t_mode

Specifies whether to merge or overwrite the existing MTS settings.

  • merge: Merges the specified MTS settings with the existing settings. This is the default.
  • overwrite: Removes and overwrites the existing MTS settings, including simulation options and model files.

Value Returned

t

Local scoping is enabled for the specified library, cell (block), or instance and the specified MTS options are set.

nil

Indicates an error.

Examples

Enables local scoping for the library cell, design_45 inv in the test_MTS test. Additionally, it specifies that the gpdk045.scs model file is locally scoped for the specified library cell and the values of the process parameters, temp and scale are set to 30 and 5, respectively. These parameters will be included in the simulation for the cell locally.

maeSetMTSBlock("test_MTS" ?lib "design_45" ?cell "inv" ?enable t ?modelFiles list(list("gpdk045.scs" "tt")) ?simOptions list(list("temp" "30") list("scale" "5")))
=> t

Enables local scoping for the instance, I8 in the test_MTS test. Additionally, it specifies that the gpdk045.scs model file is locally scoped for the specified instance and the values of the process parameters, temp and scale are set to 30 and 5, respectively. These parameters will be included in the simulation for the instance locally.

maeSetMTSBlock("test_MTS" ?inst "I8" ?enable t ?modelFiles list(list("gpdk045.scs" "tt")) ?simOptions list(list("temp" "30") list("scale" "5")))
=> t

If you have another instance, I0, under the I8 instance in your test_MTS test, the following example enables local scoping for the instance, I0.

maeSetMTSBlock("test_MTS" ?inst "I8/I0" ?enable t ?modelFiles list(list("gpdk045.scs" "tt")) ?simOptions list(list("temp" "30") list("scale" "5")))
=> t

The following example disables local scoping for the library cell, design_45 inv in the test_MTS test.

maeSetMTSBlock("test_MTS" ?lib "design_45" ?cell "inv" ?enable nil )
=> t

Enables local scoping at instance I11 in the test test_MTS and adds model files gpdk045_mos.scs and gpdk045.scs.

models='(("./gpdk045_mos.scs" "ff") ("./gpdk045.scs" "tt"))
maeSetMTSBlock("test_MTS" ?inst "I11" ?enable t ?modelFiles models)

Enables local scoping at instance I11 in the test test_MTS and adds model files gpdk045_mos.scs and gpdk045.scs. Note that the existing MTS setup for instance I11 is overwritten.

models='(("./gpdk045_mos.scs" "ff") ("./gpdk045.scs" "tt"))
maeSetMTSBlock("test_MTS" ?inst "I11" ?enable t ?modelFiles models ?mode "overwrite")

Disables local scoping and removes the existing MTS setup, including simulation options  and model files for instance I11 in the test test_MTS.

maeSetMTSBlock("test_MTS" ?inst "I11" ?enable nil ?mode "overwrite")


Return to top
 ⠀
X