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

Modelsim Doesnt include submodules

saadche
Beginner
836 Views

Hey everyone,

 

I have an issue where When I compile to generate waveforms, modelsim launches but doesnt compile or carry over any of my submodules. 

 

Is there a setting that ive missed? I didn't play with any custom configurations, everything is for the most part plug and play. 

 

I didn't generate a new QSYS file using the platform designer yet, could that be the reason? I'm eager to learn so feel free to go into the weeds.

 

Steps I do to compile:

1. Set the top module in project to "Top-level Entity'

2. instantiate my test bench in assignments -> settings -> EDA tool settings -> Native link settings -> Compile testbench

3. Start analysis and synthesis

4. Compile

 

Tool names:

Quartus prime lite edition 18.1

 

Ive attatched screenshots of the hierarchy that I see in Quartus and ModelSim below:

Quartus:

Quartus_Hier.png

 

 

 

 

 

ModelSim:

 

ModelSIM_Hier.png

Labels (1)
0 Kudos
4 Replies
saadche
Beginner
815 Views

for those who may read this in the future, I found two methods to solve it. 

 

A. (manual and incorrect way IMO)

  1. In Quartus toolbar, Processing -> Start -> "Start analysis and synthesis"
  2. In Quartus toolbar, Processing -> Start ->"compile"
  3. Once Modelsim launches, manually add/compile each submodule you need
    • In the toolbar compile -> compile the files in this order: submodules -> top module -> testbench
  4. In Modelsim toolbar, simulate -> start simulation -> select your desired testbench file
  5. In Modelsim toolbar, simulate -> Run -> Run-all

 

B. (correct and fast way)

  1. in Quartus, click "Start analysis and synthesis"
  2. in Quartus toolbar, Tools -> Run Simulation Tools -> RTL Simulation
  3. Modelsim **should** now launch with all the files 

Honestly I cant explain why just clicking "Compile" doesn't  launch Modelsim with the included submodules

 

I'm open to hearing any feedback and if anyone has any other suggestions.

0 Kudos
sstrell
Honored Contributor III
791 Views

Compilation options in Quartus are for synthesizing the design into hardware, not simulating the design in a simulation tool.  There's a difference between compiling in Quartus (for synthesizing into hardware) vs. a simulation tool (for simulating the design).

0 Kudos
SyafieqS
Employee
779 Views

Compile button is for synthesizing flow meanwhile simulation is under simulation tool e.g. typically modelsim.

Compile button does not include simulation which is expected.


0 Kudos
SyafieqS
Employee
722 Views

I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, Please login to https://supporttickets.intel.com/, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


p/s: If any answer from community or Intel support are helpful, please feel free to mark as solution, give Kudos and rate 5/5 survey


0 Kudos
Reply