04-25-2014 01:29 AM
Hello every one,
i'm using logicore fft 7.1 in xilinx ISE 13.2 and i'm pretty beginner in it . I have generated 8 point 16 bit fixed point FFT core. But the results of matlab and the core are no way near. Even i am getting the FFT output a bit wired. I consider 8 bit(integer) + 8 bit(fraction) = 16 bit. Output i am getting is of 20 bit.
The settings of this core are selected as bellow:
transform length is 8,
target clock frequency is 250
Pipelined architecture
fixed point
both input data width and phase phactor width are 16
unscaled,Trunction,Bit/digit reversed order
input data timing : No offset , Block Ram, and uses 3 multiplier structure,
I am attaching my project file with this query.
kindly help me out.
04-25-2014 01:30 AM
04-25-2014 01:35 AM - edited 04-25-2014 01:36 AM
Hi,
I think below links give you what thing to look at
http://myfpgablog.blogspot.in/2010/07/fft-results-from-matlab-fft-bit.html
Hope this helps
Regards,
Vanitha
04-26-2014 05:44 AM
Hi,
Thanks for replying but this is not what i looking for.
There that is getting the correct results but had problem with very little variations.
Here i am not getting correct results.
Can you please help me out.
I am attaching my simulation results. To compare with matlab results we need to divide the input and output results by 2^15. because my sample is of fixed point with bitwidth of 16 bits = (1 integer + 15 fraction).
04-26-2014 05:55 AM
This is expected behavior you need to divide the simulation results with 2^15 to compare with matlab
04-26-2014 07:58 AM
When i divide with 2^15 the output which i am getting is
In bit reverse order:-
-0.96093 - 1.96875i
-1.00781 - 0.01562i
-1.99218 + i
-0.00781 + 0.98437i
1.292164 - 0.70709i
2.68823 + 0.70709i
-.71490 + 0.680389i
0.699279 +0.711639i
In natural order :-
-0.96093 - 1.96875i
1.292164 - 0.70709i
-1.99218 + i
-0.71490 + 0.680389i
-1.00781 - 0.01562i
2.68823 + 0.70709i
-0.00781 + 0.98437i
0.699279 +0.711639i
which is completely different from the matlab output