Forum Discussion
Altera_Forum
Honored Contributor
14 years agoFFT Megafunction problem - strange spikes
Hi, I use FFT IP Core (Quartus 9.1 SP2 / Quartus 11.1 SP2). I send sine-signal to sink pins and get fft-signal from source pins of core. Then I plot ABS, real and imag of my fft-signal in Matlab. ...
Altera_Forum
Honored Contributor
14 years agoWhen you compare Matlab fft with fpga fft you should quantise Matlab model in a way similar to fpga.
fft inputs: you need to input into Matlab and fpga the same quantised input and that is what you are doing I believe. fft outputs: Similarly you need to compare like by like i.e. quantised Matlab fft output with fpga fft output. Moreover, you better check real and imaginary outputs rather than abs() since this adds further processing. Then you and we can come to some better idea what the error is. If yoy then have fpga spikes then they should be +/- few integer values for a quantised range. Let us know...