Download ModelSim SE Tutorial

Transcript
T-100
Lesson 9 - Viewing and initializing memories
Introduction
In this lesson you will learn how to view and initialize memories in ModelSim.
ModelSim defines and lists as memories any of the following:
•
reg, wire, and std_logic arrays
•
Integer arrays
•
Single dimensional arrays of VHDL enumerated types other than
std_logic
Design files for this lesson
The ModelSim installation comes with Verilog and VHDL versions of the
example design. The files are located in the following directories:
Verilog – <install_dir>/modeltech/examples/memory/verilog
VHDL – <install_dir>/modeltech/examples/memory/vhdl
This lesson uses the Verilog version for the exercises. If you have a VHDL
license, use the VHDL version instead.
Related reading
ModelSim GUI Reference – "Memory windows" (GR-174)
ModelSim Command Reference – mem display (CR-198), mem load (CR-201),
mem save (CR-204), radix (CR-243) commands
ModelSim SE Tutorial