11-10-2012 10:26 PM
I want to test xilinx fft core7.1,but i can not get the right answer even for simplest signals,
I attach an image,Tell me if you can guess my mistake.
11-12-2012 08:32 AM
How are you concluding that it is incorrect? What is the expected response?
How are you configuring the FFT? What is your simulink system period (set in the SysGen token)? What data type/rate are you setting in the gateway in for your data?
11-12-2012 09:04 AM
I attached my matlab simulink file.
My input signal is just a sine wave,so i have only one frequency(but i find diffrent values in fft result)
the configuration is 8k point pipelined fft with 64MGHz Simulation frequency,13 bti phase factor width,unscaled,and natural order.
gateway_in data type is fixed point 14 bit with 13 binary point.
thanks for your answer.
11-27-2012 06:38 AM - edited 11-27-2012 06:40 AM
First, your FFT is only 512 long. Thus, looking at your 8K deep ROM with 1 period of a sine wave in it, keep in mind that you are only sending in 1/16 of a period for each FFT.
Secondly, you need to use xk_index (and rdy) to qualify your data. If you look at the image below, you see only one spike per FFT frame.
11-27-2012 06:52 AM - edited 11-27-2012 06:53 AM
11-27-2012 02:28 PM
Thanks for your answer my friend.
I can't see ur images,and i want to know what exactly tells me checking the value & its index?
also my result is sth like image below.
but i could not verify my result yet,because i can't run the
11-27-2012 02:37 PM
You are just about there. Now just zoom in on one full period of the ramp in the x-direction and zoom in on the data a bunch in the y-direction. I've attached the picture this time so you can download it.