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

Simulating mixed project blocks in Quartus/ModelSim

Altera_Forum
Honored Contributor II
1,791 Views

Good morning everyone, 

 

I am new to Altera Quartus tool. 

I have started a project using Quartus 15.1 and Cyclone IV for a target. 

I have written some Verilog code which I successfully simulate in ModelSim and I am satisfied with the results. 

 

At some points in my project I would like to include some of the hardware resources provided by the chip (such as hardware multiplier or pll). 

To begin with, I have tried to use an internal PLL to increase the internal clock frequency, which should be quite straightforward to generate and simulate. 

 

At this point I'm not sure how to proceed. 

The documentation I have found mentions using megawizard configurator to include a PLL in the design. This will generate a file with the extension ".bdf" 

I haven't been able to find out how to generate links between such a bdf file and the other hand-written Verilog files of my project. 

I am equally unsure how I can get to simulate the whole thing in ModelSim. 

 

An alternative would be to get a Verilog file to configure the PLL but the documentation I've seen so far doesn't really explain how to proceed. 

 

Please forgive me if those questions are dumb or basic, if there is a section of the manual which explains all this, then I've failed to detect it, please just point it out and i'll study it. 

Thanks in advance, 

 

Henri.
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
861 Views

It should also have generated a verilog file file for you to use. you dont need to use bdf files at all (and it is an option when you generate the files whether or not bdf should be generated).

0 Kudos
Altera_Forum
Honored Contributor II
861 Views

TO_BE_DONE

0 Kudos
Altera_Forum
Honored Contributor II
861 Views

Hi all, 

 

Please note that MegaWizard tool has been replaced with new GUI called as IP Catalog. The basic operation should be almost same as MegaWizard.
0 Kudos
Altera_Forum
Honored Contributor II
861 Views

Good morning everyone, 

 

Thanks for pointing me in the right direction. Alex, your detailed explanations are much appreciated! 

I'll do my homework on this topic and let you know how it goes, 

 

Henri
0 Kudos
Altera_Forum
Honored Contributor II
861 Views

Good morning, 

 

I finally got it sorted out.  

I even got the simulation to include the faster pll clock although some fiddling was required with the library setup script (had to use the tcl script from Alex's link above and configure it to cycloneIV to get the thing working). 

Thanks again for your help, 

 

Henri
0 Kudos
Reply