Download ModelSim User's Manual

Transcript
UM-9
10 - Value Change Dump (VCD) Files (UM-303)
ModelSim VCD commands and VCD tasks . . . . . . . . . . . . . . . . . . . . UM-304
Creating a VCD file . . . . .
Flow for four-state VCD file
Flow for extended VCD file
Case sensitivity . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
Resimulating a design from a VCD file
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
UM-306
UM-306
UM-306
UM-306
. . . . . . . . . . . . . . . . . . . . . UM-307
A VCD file from source to output . . . . . . . . . . . . . . . . . . . . . . . . UM-309
VCD simulator commands . . . . . . . . . . . . . . . . . . . . . . . . . UM-309
VCD output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-310
Capturing port driver data . . . . . . . . .
Supported TSSI states . . . . . . . . .
Strength values . . . . . . . . . . .
Port identifier code . . . . . . . . . .
Example VCD output from vcd dumpports
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
UM-312
UM-312
UM-313
UM-313
UM-314
11 - Tcl and macros (DO files) (UM-315)
Tcl features within ModelSim . . . . . . . . . . . . . . . . . . . . . . . . . UM-316
Tcl References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-316
Tcl commands
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-317
Tcl command syntax . . . . . . . .
if command syntax . . . . . . .
set command syntax . . . . . .
Command substitution . . . . .
Command separator . . . . . .
Multiple-line commands . . . . .
Evaluation order . . . . . . . .
Tcl relational expression evaluation
Variable substitution . . . . . .
System commands . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
UM-318
UM-320
UM-321
UM-321
UM-322
UM-322
UM-322
UM-322
UM-323
UM-323
List processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-324
ModelSim Tcl commands . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-324
ModelSim Tcl time commands
Conversions . . . . .
Relations . . . . . . .
Arithmetic . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
UM-325
UM-325
UM-325
UM-326
Tcl examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-327
Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UM-328
Macros (DO files) . . . . . . . . . . . . . . . .
Using Parameters with DO files . . . . . . . . .
Making macro parameters optional . . . . . . .
Useful commands for handling breakpoints and errors
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
UM-331
UM-331
UM-332
UM-333
ModelSim User’s Manual