- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
FFT Simulation Results Problem: Incorrect Imaginary Values
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-09-2009 10:24 AM
I am usinf FFT IP core V6.0. When I took the FFT of following data points
1.1 2.2 3.3 4.4 1.1 2.2 3.3 4.4
in floating point format using the transform length of eight, i get the following Result
22 0 -4.4000 - 4.4000i 0 -4.4000 0 -4.4000 + 4.4000i 0
whereas MATLAB gives the following Result
22 0 -4.4000 + 4.4000i 0 -4.4000 0 -4.4000 - 4.4000i 0
The problem is that the signs of imaginary part is inverted. I have check it in both fixed point and floating formats, but problem remains the same, the signs of the imaginary parts are inverted, when we compare the results of MATLAB with that of FFT core.
Regards
Yaasir
Solved! Go to Solution.
Re: FFT Simulation Results Problem: Incorrect Imaginary Values
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-11-2009 01:20 PM
Can you attach your model or testbench?
Cheers,
Jim
Jim
Re: FFT Simulation Results Problem: Incorrect Imaginary Values
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-22-2009 02:39 AM
Hi,
I think you've done an IFFT instead of an FFT.
Check the 'fwd_inv' input; it must be set to 0 for inverse transform and 1 forforward transform
Olivier
Olivier Trémois
DSP Specialist EMEA
Re: FFT Simulation Results Problem: Incorrect Imaginary Values
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-28-2009 05:09 AM
Hello.
FFT datasheet includes waveforms how initialization should be done. This is the first step. Second, you need to add 3 clocks delay between every input. How do you read output?
Vytautas
Re: FFT Simulation Results Problem: Incorrect Imaginary Values
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-28-2009 05:56 AM
thanks everyone, got it right
actually there was some mistake with my initializations
thanks again
Regards
Yasir
Re: FFT Simulation Results Problem: Incorrect Imaginary Values
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-17-2011 06:20 PM
i use the fft ipcore to compute fft and ifft
but both the result are fft data
i have set the fwd_inv both 0 and 1
the result is fft result
can you tell me some reason
thank you
Re: FFT Simulation Results Problem: Incorrect Imaginary Values
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-20-2011 10:52 AM
Re: FFT Simulation Results Problem
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-30-2012 02:59 AM
hello sir,
when im simulating fft core 7.1, im getting unexpected results....
i am not able to understand where i'v done wrong ...
i'v added some simulation results...
if u can plz provide the correct code or help me to get correct output...
thank you...
Re: FFT Simulation Results Problem
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-12-2012 05:33 PM
For completeness, refer to this thread:











