Altera_Forum
Honored Contributor
8 years agoHow to simulate NCO using Modelsim
hello,
i want to implement a pipeline ADC and I need to use a sine input, i just learned that i can use NCO to generate the waveform, when i compiled in quartus ii, there are errors like "Error (204009): Can't generate netlist output files because the license for encrypted file "***/nco-library/asj_nco_madx_cen.v" is not available", and someone told me i should compile and simulate directly in Modelsim. So i tried Modelsim and i have some questions on simulation: Altera guidebook suggests that i should add .vo file to the compile directory, and i compiled it with my top-level verilog file and testbench, but there are errors when simulating like "Error: (vsim-3033) Instantiation of 'altmult_add' failed. The design unit was not found.", i dont know how to deal with that. furthermore, do i need to specify the precompiled libraries? just as the page suggests(http://quartushelp.altera.com/15.0/mergedprojects/eda/simulation/modelsim/eda_pro_msim_func_sim.htm) thanks in advance~