- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to use the FFT IP on Quartus Prime Pro 18.1 to do an inverse fft. When I input an fft of a signal I created in Matlab that has a frequency of 23, I do not get the expected output signal. When taking the fft, with Matlab, of the output signal, I get a frequency of 86.
Before I input the signal to the inverse FFT IP, I make sure to convert the signal to Radix-4 digit reverse order with the Matlab code provided in the FFT IP data sheet.
I tried doing an fftshift and inverse fftshift on both the input and the output to see if one was shifted, and this not fix the issue.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is the input data compliance with the single floating-point format? Does it work well with FFT before proceeding with iFFT? How about if change the input order to natural?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The input data is in single floating-point format. When I change the input setting of the IP to natural input and input the signal in it's normal order, I get a very noisy output that is not at the desired frequency. When I use this natural input setting and input the data in radix-4 digit reverse order, I get a frequency spike at 86 instead of 23.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I use a testbench with just an FFT IP instead of an inverse FFT, I get the expected output of a spike at 23 after using Matlab code on the output to rearrange the radix-4 digit reverse order. However, when I hook up the FFT IP to the inverse FFT IP through Avalon streaming, the fft produces a different output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you able to get the expected result if running in the RTL simulation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If further support is needed in this thread, please post a response within 15 days. After 15 days, this thread will be transitioned to community support. The community users will be able to help you with your follow-up questions.
![](/skins/images/7FC17B7B85029576C25F1E43CE255B51/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page