OpenSTA logo OpenSTA SCL Reference
INTEGER Command

INTEGER Command

This command defines a variable which can hold an integer value. Integers variables have a possible value range of -2147483648 to +2147483647.

Arrays of integer variables can be defined, with a maximum of three dimensions.

Command Definition:

INTEGER name [{[dimensions]}|{values}]
	{, options}

name

The name of the variable. This must be a valid OpenSTA Dataname.

dimensions

The dimensions of the array to be allocated for this variable. Up to 3 dimensions can be specified, each separated by comma. If dimensions are specified, values may not be.

If a dimension has only one number, the elements in that dimension range from 1 to the number specified. If two numbers are specified, they must be separated by a colon (:); the elements in this dimension range from the first number to the second.

values

A list or range of integer values to be associated with the variable. If values are specified, dimensions may not be.

options

A list of variable options.

Examples:

INTEGER Loop-Count
INTEGER Fred (1-99), SCRIPT
INTEGER Values [50:100,20]

Related:


<<<
prev page
^^^
section start
>>>
next page