Technical data
ModelSim EE/SE Tutorial 9-81
Lesson 9 - Simulating with Performance Analyzer
This lesson introduces the Performance Analyzer and shows you how the major
Performance Analyzer commands are used. It is designed to demonstrate how the
Performance Analyzer can be used to improve simulation performance. You must
be using ModelSim EE Special Edition for this lesson.
The goals for this lesson will be to:
• Run a simulation with the Performance Analyzer OFF and note the simulation
run time.
• Turn the Performance Analyzer ON and note, again, the simulation run time.
• View the Hierarchical and Ranked Profile displays.
• Use the Performance Analyzer statistics displayed in the Hierarchical Profile
and the Ranked Profile to speed up simulation.
This lesson will use an example design that contains lower level VHDL blocks in
the files control.vhd, retrieve.vhd, and store.vhd; and top level block, test bench
and configuration files – ringrtl.vhd, testring.vhd, and config_rtl.vhd
1 Start by creating a new working directory, making it the current directory, and copying
the files from \modeltech\examples\profiler into it.
2 Use the vlib command to create a work library in the current directory.
vlib work
(MENU: Design > Create a New Library)
3 Use the vmap command to map the work library to a physical directory. A
modelsim.ini file will be written into the work directory.
vmap work work
4 Compile lower level blocks of the design.
vcom control.vhd retrieve.vhd store.vhd
(MENU: Design > Compile)
5 Compile top level block, test bench and configuration files.