Forum Discussion

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

Problems with FFT Megacore of Variable Streaming Floating Point Architecture

I've already used with success FFT Megacore of Variable Streaming Fixed Point architecture. Now I'm trying to use Floating Point architecture and it seems to me that the Core is not responding properly, although the auto-generated MATLAB model does.

For a real 32-samples input array, the output looks right for some samples and systematically not for others: the situation is represented for both real and imaginary parts of the output in the images I'm attaching. I'm also attaching a file .mat with the input array (fft_in), the output obtained from the core model (fft_out_model), the true FFT evaluated by MATLAB (fft_out_true) and the output produced by the core on the hardware (fft_out). I'm also attaching the SignalTap Logic Analyzer waveforms of the streaming interface: these waveforms are what makes me think the Core is not working properly.

What could be the problem? How can I overcome that?

Thank you in advance for any help you could give me.

Regards,

Lorenzo

16 Replies

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

    Ok I'm about to give up. I was wrong about the byte swap, the problem remains.

    I've tested my FFT core with other input vectors and it seems to me that it doesn't respond well to some input signals depending on their amplitude and harmonic content.

    Is there any condition the input vector of floating point elements must be compliant with for being processed by the FFT core?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Ok I'll take a look at it. Thank you for your help.

    Regards,

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

    Hi, clouds87:

    I'm trying to use Floating Point architecture, and now I have the same problem with you. I already check every transaction on the SignalTap, and I use 50MHz clock rate (I saw the other post said that FFT IP CORE cannot run in high speed), but FFT just can't work properly. I hope you can give me some suggestion if you had solved this problem. Thanks a lot :)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello Piper, I'm sorry I can't help you: I didn't solve the problem and after a week spent on it I chose to use Fixed Point FFT. If you can't get any better help, I suggest you to consider other ways to get your FFT done.

    Regards,

    Lorenzo