Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16688 Discussions

Testbench file for modelsim

Altera_Forum
Honored Contributor II
1,449 Views

When a simulation model is created for modelsim with generation of the system in sopc-builder, it seems that the HDL source file of the user created component is 'forgotten'. The entity and architecture are not embedded in the simulation-file. 

 

Is this a known problem, does the HDL-file have a prescribed location, or ? 

 

Koos
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
750 Views

I do also have a slight problem with hdl-files generated for modelsim in SOPC-builder 7.1. I don't know if it's exactly the same as you have. 

 

Normally when components are included in the system, wrapper hdl files are created in the project directory. When interfacing to external modules outside the sopc-system you create components without hdl-source, and manually map the avalon signals to an interface. In that case no wrapper hdl's are generated.  

 

When creating project simulator files for modelsim, the setup_sim do-script is assuming that wrapper files are created for all components, including external modules.  

Executing this script in modelsim will generate file errors. 

 

One solution for this is to manually delete the compile command for the external modules.
0 Kudos
Reply