Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

Design Unit Not Found

Hello all,

I'm still trying to get my *first* simulation running with ModelSim, and my progress is quite limited. I think I have my license issues worked out finally, after talking directly to Altera support.

Currently, I am trying to run simulations on my project, but am getting errors. whenever I try to simulate anything (right click on module in my work dir and select simulate), I get the following:

ModelSim> vsim work.TX_PLL# vsim work.TX_PLL #  Start time: 17:52:30 on Mar 09,2016#  Loading work.TX_PLL#  ** Error: (vsim-3033) D:/Users/Nicholai/Desktop/Research/QuartusII/March2016/DACSimulation/TX_PLL.v(75): Instantiation of 'altpll' failed. The design unit was not found.#     Time: 0 ps  Iteration: 0  Instance: /TX_PLL File: D:/Users/Nicholai/Desktop/Research/QuartusII/March2016/DACSimulation/TX_PLL.v#          Searched libraries:#              D:/Users/Nicholai/Desktop/Research/QuartusII/March2016/DACSimulation/simulation/modelsim/rtl_work#  Error loading design#  End time: 17:52:31 on Mar 09,2016, Elapsed time: 0:00:01#  Errors: 1, Warnings: 0

I found a lot of threads with similar problems, but haven't figure out the solution. I am not sure where the library for 'altpll' is. I do have a huge list of libraries in the library pane. Is there an easy way to know what library my cores are from? Once I figure out what library altpll is in, when do I use the include directory command? Should that go in my .do file? Not a single one of my modules will simulate- I am using:

ROM: 1-Port

LPM_COUNTER

ALTDIDO_OUT

ALTPLL

I am using a Stratix IV device.

Sorry if this is a very easy question to answer, I have never used this tool (or hardly any Altera tools) before. Right now, I have nothing set up and working. I'd like to get to the point where I have a testbench.

Thank you,

FrenchyRaoul

14 Replies