Technical data
8 - Table of Contents Getting Started with ModelSim PE
Variables window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
Variables window status bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
Variables window mouse actions . . . . . . . . . . . . . . . . . . . . . . . . . . .60
Wave window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61
Wave window menu bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62
Wave window status bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63
Wave window mouse actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63
Adding HDL items to the Wave window . . . . . . . . . . . . . . . . . . . . . . . .65
Editing HDL items in the Wave window . . . . . . . . . . . . . . . . . . . . . . . .65
Formatting the Wave window . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
Analog formatting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68
Literal formatting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68
Logic Formatting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69
Zooming the Wave window . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69
Using the Wave window cursors . . . . . . . . . . . . . . . . . . . . . . . . . . .70
Writing a PostScript file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71
Saving the Wave window configuration . . . . . . . . . . . . . . . . . . . . . . . .72
Customizing ModelSim windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
Changing window colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
Changing window fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
Saving your window settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Keyboard shortcuts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
4 - Tutorial: Using Model
Sim
PE (p77)
Assumptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77
Tutorial setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
Basic VHDL simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
Debugging a VHDL design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93
Basic Verilog simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Mixed VHDL/Verilog simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Learning more about ModelSim’s windows . . . . . . . . . . . . . . . . . . . . . . . . 127
Continuing with ModelSim PE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
A - Help, Updates, and Licensing (p131)
Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131