background image

Chapter 1. Tools Utilized

67

5.5

Modelsim Simulation Program

Modelsim is a software package created by Mentor Graphics designed for simulating HDL

modules. The program includes a text editor, waveform viewer and a RTL generator.

The modelsim PE student edition was used which is freely available.

The main usage of the program was for debugging purposes. The debugging purposes

involve two stages the first was the pre-synthesize debugging. In the pre-synthesize

debugging the HDL modules are tested for proper function and the production of the

expected results. Even if the modules operate as intended , it is not guaranteed that

they will function properly in hardware implementation, as many problems could arise.

After the synthesis some fixes occasionally occurred. As a result a second post-synthesis

simulation was also executed reassuring the module’s proper functionality.

The main debugging feature that was extensively used is the waveform viewer. This

feature displays all the signals used by a component and its respective waveform. The

waveform view provides a clear picture as to how the circuit and the signals evolve with

time, allowing the user to easily point out problems and bugs.