DVM - Design Verification Module

GlobalVar()

In both SIMetrix and SIMPLIS mode, the GlobalVar() function allows you change parameter values. When you place a GlobalVar() function in a testplan, the variable statement is automatically written to the simulator command (F11) window.

IMPORTANT! The GlobalVar() function parametrizes at all levels of the hierarchy. While this feature of the function is convenient, it can be dangerous. Global variables take precedence over any variables defined locally at the hierarchical component level. If you use the GlobalVar() function, make certain the variables being defined are not overwriting any local variables.

In this Topic Hide

GlobalVar() Syntax

The GlobalVar() function has the following syntax:
GLOBALVAR(variable_name, value)

▲ back to top

Inline vs. Header Row Function Behavior

The Var(), GlobalVar(), Change() and Temp() functions behave differently depending on whether they are used inline or in a header row.

▲ back to top

© 2015 simplistechnologies.com | All Rights Reserved