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

Functional simulation on a module by module basis

Altera_Forum
Honored Contributor II
3,477 Views

I am an established FPGA engineer, having many years of experience with Xilinx ISE and Vivado. I have just started using Quartus II 9.1 SP2 in my new job, an old version is used for various reasons. 

 

For the life of me, I cannot figure out how to perform a behavioral/functional simulation on an individual module (schematic or VHDL) rather than the top level entity. None of the tutorials I have found cover this, is there something silly I am missing here? 

 

Trying to find the child modules pins in the vector waveform editors node finder just results in no matches being found.
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
2,435 Views

The Quartus simulator is rather basic - you would be much better off doing your module simulations in modelsim. Quartus can only simulate a post sysnthesis netlist. With an HDL testbench it would simulate much faster and you would have far more control. 

If you have to use the quartus simulator for some reason, you will have the change the top level design in the project: 

Assignments -> settings -> top level endtity - > select the unit you want to test. 

 

I assume you are using such an old version of quartus (6 years old) for the very old device support?
0 Kudos
Altera_Forum
Honored Contributor II
2,435 Views

I usually just write a test bench for the module of interest and compile and simulate that. (Just calling the required files). 

 

I never use quartus for simulation. I'm always using ModelSim, Riviera, or VCS independently however. 

 

Pete
0 Kudos
Altera_Forum
Honored Contributor II
2,435 Views

Many thanks Tricky, I am having to use 9.1 for now due to old device support and it is what is installed and licensed, but that will be changing soon. Thanks for clarifying on what 9.1's capabilities are. 

 

@Anakha: I usually write VHDL testbenches for each module :). Many thanks!
0 Kudos
Altera_Forum
Honored Contributor II
2,435 Views

Many thanks Tricky and Ankha - I usually write VHDL test benches. We are using 9.1 because it is installed, licensed and ready to go. The latest version should be installed shortly mind.

0 Kudos
Altera_Forum
Honored Contributor II
2,435 Views

If you're writing VHDL testbenches, then you can go directly to modelsim without using quartus at all (other than to convert the schematic files).

0 Kudos
Reply