Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase

Model Technology Inc.


Array constants, expressed in any of the following formats

Type
Values
VHDL # notation
<int>#<alphanum>[#]
Example: 16#abc123#
VHDL bitstring
"(U|X|0|1|Z|L|H|W|-)*"
Example: "11010X11"
VLOG notation
[-][<int>]'(b|B|o|O|d|D|h|H) <alphanum>
(where <alphanum> includes 0-9, a-f, A-F and '-')
Example: 12'hc91 (This is the preferred notation because it removes the ambiguity about the number of bits.)
Based notation
0x..., 0X..., 0o..., 0O..., 0b..., OB...
ModelSim automatically zero fills unspecified upper bits.


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