Forum Discussion
Altera_Forum
Honored Contributor
19 years agoNCO Megacore Phase Adjust
Hello I am using the Altera Megacore NCO Compiler and need to dinamically adjust the phase of the generated sine wave. The core has an input called phase_mod_i[] which is used for this purpos...
Altera_Forum
Honored Contributor
19 years agothat wasn't exactly what I meant. You should also put phi_inc_i=0. This removes the time dependence of the phase in the accumulator (integrator part if you prefer). In that way you will see exactly what is the contribution to the output for a given phase_mod value.
My investigation seems to confirm the Pi=1000...0. Dont be fooled by the delay through the core when reading the output value which is the result of the input. And do remember to switch the dither off! Good luck.