Turn on suggestions

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

Showing results for

- Intel Community
- FPGAs and Programmable Solutions
- FPGA Intellectual Property
- How to use FFT Core with non-complex data?

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

Altera_Forum

Honored Contributor I

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

07-07-2011
05:53 PM

1,602 Views

How to use FFT Core with non-complex data?

Hello,

I need to involve the FIR function but the FFT core has real and imaginary data I/O Should i connect my input to the REAL input and IMAGINARY input drive to zero vilue? And what's about the output? Should i use only the REAL data out bus? Or do i need to involve both of them and calculate FFT_OUT=SQWRT(REAL^2 + IMAGINARY^2) ?Link Copied

6 Replies

Altera_Forum

Honored Contributor I

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

07-07-2011
07:54 PM

49 Views

The fft splits up signal information into two components (Re,Im) in the frequency domain as you have noticed. The amplitude and phase of signal components can only be derived from both Re/Im. But you can process the signal as a pair or may discard one of them depending on requirements.

I am not sure what you want to do, can you explain in more detail what input you are receiving and what you should output and where is that FIR going to fit?
Altera_Forum

Honored Contributor I

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

07-07-2011
08:36 PM

49 Views

Hi,

All i want is to feed A2D readings and get the amplitudes in frequency domain. I don't need any phase information, only the amplitudes.
Altera_Forum

Honored Contributor I

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

07-07-2011
08:42 PM

49 Views

In that case you already know what to do: A = sqrt(Re^2 + Im^2).

sqrt is a bit demanding in fpga but there are ips. You may just use A^2 then convert it in software.
Altera_Forum

Honored Contributor I

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

07-07-2011
09:38 PM

49 Views

Thanx.

And what's about the inputs? Should i connect the input to Re and zero value to the Im?
Altera_Forum

Honored Contributor I

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

07-08-2011
07:18 AM

49 Views

Altera_Forum

Honored Contributor I

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

07-08-2011
07:46 AM

49 Views

Thanx,

I checked the results with Re^2 + Im^2 (no sqwr yet). I had entered sqware wave and expecting to see hign value at the fundamental frequency and its harmonics but still it seems strange...Topic Options

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

For more complete information about compiler optimizations, see our Optimization Notice.