Forum Discussion
Altera_Forum
Honored Contributor
9 years agoYou need to compile the relevant Altera libraries before you can simulate one of the megafunctions - including ALTPLL.
Enter the following lines to the Modelsim command line:vlib altera_mf_ver
vmap altera_mf_ver altera_mf_ver
vlog -work altera_mf_ver {QUARTUS_ROOT_DIR}/eda/sim_lib/altera_mf.v
Replacing {QUARTUS_ROOT_DIR} with a route directory or environment variable. This will compile the library, dumping it to disk. So, you only need do this once (per library release). You'll then need to modify your vsim command to make it aware of your newly compiled library.vsim -L altera_mf_ver -t ps work.{top} Where {top} is your top level simulation entity. Cheers, Alex