Technical data

16
-
Table of Contents ModelSim EE/PLUS Reference Manual
Project file variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415
[Library] section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415
[vcom] section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416
[vlog] section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 418
[vsim] section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419
[lmc] section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
Variable functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
Environment variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
Hierarchical library mapping . . . . . . . . . . . . . . . . . . . . . . . . . . 422
Creating a transcript file . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422
Using a startup file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
Turning off assertion messages . . . . . . . . . . . . . . . . . . . . . . . . . 423
Turning off warnings from arithmetic packages . . . . . . . . . . . . . . . . . . 423
Force command defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
VHDL93 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
Opening VHDL files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
9 - The TextIO Package (p425)
Using the TextIO package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425
Syntax for file declaration . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
Using STD_INPUT and STD_OUTPUT within ModelSim
. . . . . . . . . . . . . . 426
TextIO implementation issues . . . . . . . . . . . . . . . . . . . . . . . . . . . 427
Writing strings and aggregates . . . . . . . . . . . . . . . . . . . . . . . . . 427
Reading and writing hexadecimal numbers . . . . . . . . . . . . . . . . . . . . 428
Dangling pointers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
The ENDLINE function . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
The ENDFILE function . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
Using alternative input/output files . . . . . . . . . . . . . . . . . . . . . . . 429
Providing stimulus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
10 - ModelSim and VITAL (p431)
Obtaining the VITAL specification and source code . . . . . . . . . . . . . . . . . . 432
VITAL packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432
ModelSim VITAL compliance . . . . . . . . . . . . . . . . . . . . . . . . . . . 432
Compiling and Simulating with accelerated VITAL packages . . . . . . . . . . . . . . . 434