Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase

Model Technology Inc.


change

The change command modifies the value of a VHDL variable or Verilog register variable. The simulator must be at a breakpoint or paused after a step command to change a VHDL variable.

Syntax

change

<variable> <value>

Arguments

<variable>

Specifies the name of a variable. Required. The variable name must specify a scalar type or a one-dimensional array of character enumeration. You may also specify a record subelement, an indexed array, or a sliced array as long as the type is one of the above.

<value>

Defines a value for the variable. Required. The specified value must be appropriate for the type of the variable.

Examples

change count 16#FFFF

Changes the value of the variable count to the hexadecimal value FFFF.

See also

force


Model Technology Inc.
Model Technology Incorporated
Voice: (503) 641-1340
Fax: (503)526-5410
www.model.com
sales@model.com
Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase