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

Trying to Simulate PLL MegaFunction In ModelSim

Altera_Forum
Honored Contributor II
1,401 Views

I'm pretty new to using modelsim. I have a really simple design with just a PLL, and I wanted to test it using modelsim. However, when I try to run the simulation I get an error stating the following: 

 

Error: (vsim-3033) D:/altera/11.0/testproject/testpll_syn.v(141): Instantiation of 'testpll_altpll' failed. The design unit was not found. 

 

I guess I'm missing something in my library? I'm pretty lost so if someone could point me in the right direction I'd really appreciate it.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
573 Views

I assume that you're simulatin using Modelsim and a testbench. 

 

Are you sure the you instantiate design to be simulated using the verilog name otf the file that contains the PLL? 

 

Do you have in you design directory the files: 

altpll0.v altpllo.qip etcetera?
0 Kudos
Altera_Forum
Honored Contributor II
573 Views

Yes, I have all those files in my design directory. And I'm pretty sure its being instantiated correctly.

0 Kudos
Altera_Forum
Honored Contributor II
573 Views

Should be something simple. 

 

Can you devise what testpll_altpll is? 

Is it the top level entity of your design? 

 

Can you upload your testbench and the files that describe your design?
0 Kudos
Reply