Forum Discussion

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

Distorted sine wave, NCO v11.1

Hi,

I have NCO v11.1, Stratix II, EP2S180F1020C3, Quartus II 32-bit Full Version 11.1.

The shape of the generated sine wave (viewed on the oscilloscope)

is distorted more or less, depending on the compilation.

About every ten compilation sine wave looks correct.

The differences in design between the builds are not associated with the NCO.

Generated by the NCO waveform has the desired period.

large rom or cordic Generation Algorithm used, 100MHz clock rate, global.

The new value given to phi_inc_i at a rate of at 2us.

The only remedy is an upgrade?

FPGA_user3

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    When you generated the Code from NCO.. How did you tested the Code ?. Do you have a DAC on your Board. How did you saw the result on Oscillioscope ? Can you please clarify.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Are you sure that all signals fed to the NCO, e.g. phi_inc_i are keeping timing constraints? Ho do you generate the timing of all input signals?