Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Regular Visitor
yasirmahmoodqureshi
Posts: 29
Registered: ‎09-03-2009
0
Accepted Solution

FFT Simulation Results Problem: Incorrect Imaginary Values

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

Xilinx Employee
Xilinx Employee
ywu
Posts: 2,873
Registered: ‎11-28-2007
0

Re: FFT Simulation Results Problem: Incorrect Imaginary Values

Can you attach your model or testbench?

 

Cheers,

Jim

Cheers,
Jim
Xilinx Employee
tremois
Posts: 23
Registered: ‎01-09-2008
0

Re: FFT Simulation Results Problem: Incorrect Imaginary Values

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
Super Contributor
vytautas
Posts: 148
Registered: ‎10-01-2007
0

Re: FFT Simulation Results Problem: Incorrect Imaginary Values

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?

Best Regards,
Vytautas
Regular Visitor
yasirmahmoodqureshi
Posts: 29
Registered: ‎09-03-2009
0

Re: FFT Simulation Results Problem: Incorrect Imaginary Values

thanks everyone, got it right

actually there was some mistake with my initializations

 

thanks again

 

Regards

Yasir

Newbie
mofa77
Posts: 3
Registered: ‎10-17-2011
0

Re: FFT Simulation Results Problem: Incorrect Imaginary Values

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 

Super Contributor
technovlsi
Posts: 117
Registered: ‎01-30-2011
0

Re: FFT Simulation Results Problem: Incorrect Imaginary Values

@ vytautas sir, i have set the clk frq 250 Mhz. .then how do i insert 3 clk cycle delay in testbenvh. plz help.
Visitor
vinodlk123
Posts: 7
Registered: ‎01-27-2012
0

Re: FFT Simulation Results Problem

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...

 

 

input-8 FFT.JPG

 

output- 8 FFT.JPG

 

 

Xilinx Employee
bwiec
Posts: 1,068
Registered: ‎08-02-2011
0

Re: FFT Simulation Results Problem