Forum Discussion
Altera_Forum
Honored Contributor
16 years agoOK, I tried it myself and you are right, altpll is not found. I solved the problem by importing the library.
As you can read in the header of the pll it will need altpll from altera_mf. Normally I would think this is already imported, but when I create the PLL as v it does not work here. Same error as you got. So I import the library by: vlib altera_mf_ver vmap altera_mf_ver altera_mf_ver vlog -work altera_mf_ver $env(QUARTUS_ROOTDIR)/eda/sim_lib/altera_mf.v You will then have to run: vsim -L altera_mf_ver -t ps work.<toplevel> Only thing then is, that my results don't look like I would expect them, but I think I messed up with the input or there is something else to consider. I took this idea from an outdated document of the altera Website. Perhaps you like to look into it yourself under http://www.altera.com/support/examples/modelsim/exm-pll-simulation.html There are also some scripting examples under http://www.altera.com/support/examples/tcl/tcl-modelsim.html?gsa_pos=1&wt.oss_r=1&wt.oss=tcl%20modelsim perhaps you have to import more libraries for your design. Yours, Peet!