**UPGRADE YOUR BROWSER**

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community Forums
- :
- Forums
- :
- Intellectual Property
- :
- DSP IP and Tools
- :
- fft output v9.0

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

nagender_patel

Observer

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-21-2017 01:49 AM

2,346 Views

Registered:
03-21-2017

fft output v9.0

hello

i have used fft ip core in vivado . i have generated a sine wave from dds compiler. the generated sine wave i have feed to fft core. so i got the result shown in the pic.

i have generated 10mhz sine wave

fft transform length i have choosen is 1024, radix-4 burst i/o,output ordering bit reversal..ect

so my dought is im getting the output but how to predict it frequency domail.

if i apply a signal with frequency F and amplitude A then fft output will be at F the amplitude will be A in frequency domain

plz help how to know the frequency of my fft output

8 Replies

balkris

Xilinx Employee

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-21-2017 01:53 AM

2,344 Views

Registered:
08-01-2008

Re: fft output v9.0

Thanks and Regards

Balkrishan

--------------------------------------------------------------------------------------------

Please mark the post as an answer "Accept as solution" in case it helped resolve your query.

Give kudos in case a post in case it guided to the solution.

Balkrishan

--------------------------------------------------------------------------------------------

Please mark the post as an answer "Accept as solution" in case it helped resolve your query.

Give kudos in case a post in case it guided to the solution.

nagender_patel

Observer

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-21-2017 10:30 PM

2,309 Views

Registered:
03-21-2017

Re: fft output v9.0

thanks for reply sir

i got it ,but can u please say somewhat clearly

with following data

fft spike amplitude is 574412538467282136 (signed decimal)

at the spike my index value is 853

at point 23507.4nsec i got that spike

my input sine wave frequency 20mhz

how to find output freqency, for my input frequency, please help

balkris

Xilinx Employee

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-22-2017 03:18 AM

2,300 Views

Registered:
08-01-2008

Re: fft output v9.0

what is sampling frequency . you will get two frequency , N= 853 and put Fs in this formula

5*Fs/N - Fs/2N., 5*Fs/N + Fs/2N.

Thanks and Regards

Balkrishan

--------------------------------------------------------------------------------------------

Please mark the post as an answer "Accept as solution" in case it helped resolve your query.

Give kudos in case a post in case it guided to the solution.

Balkrishan

--------------------------------------------------------------------------------------------

Please mark the post as an answer "Accept as solution" in case it helped resolve your query.

Give kudos in case a post in case it guided to the solution.

nagender_patel

Observer

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-24-2017 04:58 AM

2,271 Views

Registered:
03-21-2017

Re: fft output v9.0

hello sir

sir im applying my input as sine wave to fft

sine wave frequency = 20Mhz; sampling frequency = 200Mhz;

with the same sine values in matlab i got a spike at 20mhz.

in xilinx i got spike at at index 745

form your formula N= 745; fz =200Mhz

so, 5*Fs/N - Fs/2N., 5*Fs/N + Fs/2N.

((5*200M /745) - (200M / (2*745)) =1208053

((5*200M /745) -+(200M / (2*745))= 1476510

this are the calculations

at spike it should be 20Mhz na.

please help

nagender_patel

Observer

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-24-2017 05:31 AM

2,267 Views

Registered:
03-21-2017

Re: fft output v9.0

my main dought is,

how to find the output frequecy of FFT at my spike in xilinx simulation

eiwave

Observer

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

12-28-2017 02:57 AM

1,306 Views

Registered:
12-28-2017

Re: fft output v9.0

hiii,

I am working on FFT core 9.0 , facing the problem of input signal of FFT , ...I have read your comment you did this with dds compiler .... Can you help me how to generate a sine wave signal from dds compiler .......

thanks in advance,

mail id ---- shubhamgwl04@gmail.com

tamer_samy

Newbie

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-10-2019 11:18 AM

78 Views

Registered:
02-10-2019

Re: fft output v9.0

Am facing same problem hope you solved it

dgisselq

Explorer

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-11-2019 05:00 AM

47 Views

Registered:
05-21-2015

Re: fft output v9.0

Yes, staring at traces can be quite confusing. Manipulating the same traces within something like MATLAB or Octave can be simpler--and might really help you understand what's going on.

When I tested my own FFT implementation, I recorded the input to the FFT, Fourier transformed it using FFTW, and then compared it against the output. The comparison wasn't simple: all kinds of truncation errors accumulate, and the scaling through the system might surprise you. Internal overflow can really be annoying, and even difficult to track down. Further, you have to be careful to properly synchronize to the FFT coming out of your logic. My approach was to record the data going into the FFT, FFT it via FFTW, and then compare that to the data coming out of the FFT.

You can read about it here. You can also find the test bench code I used to verify it here. You might also find this approach to DSP-based debugging valuable.

Dan