5.4. Simulating the example SOPC system design

Ensure that ModelSim-Altera Web Edition is installed and that the HDL Simulator path is set correctly, as explained in the Cortex-M1 FPGA Development Kit v1.1 Installation Guide.

Before generating the system ensure that the option Simulation. Create project simulator files is enabled in the System Generation tab of the SOPC Builder window, as shown in Figure 5.1. Generate the system by pressing the Generate button after enabling this option.

From SOPC Builder, click on the Run Simulator button to launch ModelSim-Altera.

Figure 5.1. Run Simulator option and button

Run Simulator option and button

The following sections describe how to run the provided simulation scripts and ModelSim commands to compile the design, view an example wave file, and then begin the simulation:

Copyright © 2008 ARM Limited. All rights reserved.ARM DUI 0430A