Knowledge Base Article

Why does the provided v11.0 Qsys Simulation for AN431 fail to compile correctly?

Description

The v11.0 Stratix® IV Qsys simulation provided with AN431 fails to compile if the instructions are followed on page 27 of the application note, as the provided msim_setup.tcl file does not match the required path locations if installed to the default location.

To workaround the issue, follow the instructions below:

Open the provided Quartus® II project, default location is:
C:\altera\11.0\examples\qsys_pcie_ddr3\hip_gen2_x4_ddr3\s4gx_qsys_pcie_ddr3_64bit_533MHz\s4gx_qsys_pcie_ddr3.qpf

Launch Qsys, then open the provided Qsys project, default location is:
C:\altera\11.0\examples\qsys_pcie_ddr3\hip_gen2_x4_ddr3\s4gx_qsys_pcie_ddr3_64bit_533MHz\q_sys.qsys

Switch to the "Generation" Tab, don't change anything, and simply click "Generate".

This will regenerate the required files, specifically it will create a msim_setup.tcl file specific for your own library locations.

When Qsys generation is completed, close Qsys and Quartus® II.

Launch ModelSim®
Change Directory to the \q_sys\testbench\ folder
At the ModelSim command prompt, type do msim_setup.tcl
For ModelSim SE 6.6d, type ld, then run -all
For ModelSim AE 6.6d, type ld_debug, then run -all
The simulation should then run correctly.

Resolution
Updated 3 months ago
Version 3.0
No CommentsBe the first to comment