Forum Discussion
Altera_Forum
Honored Contributor
15 years agoArbitrary Waveform Generator
Hi, Im trying to build an arbitrary waveform generator using the Stratix-III DSP development kit. I have been successful at outputting a sine wave using the NCO megafunction, but is there a way for m...
Altera_Forum
Honored Contributor
15 years agoYou can find out size of NCO's table from phase resolution or look at synthesis report. However it will be much easier to do your own LUT (power of 2 for example) then insert mif of one cycle worth of your waveform. All you need is then a binary adder outputting address. The lowest frequency would be that of clock/table size. You increment your adder by a word of 1 or more(1 gives lowest frequency).
As for the long pulse on DAC, you might look at dc characteristic of your DAC and hope you don't mix it up with sample and hold issue.