FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6356 Discussions

FFT Megafunction v12.0 issues

Altera_Forum
Honored Contributor II
1,761 Views

Hi, 

 

I was using a FFT Megafunction v12.0 to calculate 512-point FFT, and evaluating it on a DE2-115 board, which has a Cyclone IV E FPGA. The issue I have with this Megafunction is that it always gives incorrect results in the first two run, and gives the correct results in the third run and after, given that I feed the same data into the FFT core. Have any of you met the same problem? I don't understand why this is the case? Is it something to do with the Megafunction itself or it is related to my FFT controller design. Any input is welcome. 

 

Thanks, 

 

-Roger
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
285 Views

 

--- Quote Start ---  

Hi, 

 

I was using a FFT Megafunction v12.0 to calculate 512-point FFT, and evaluating it on a DE2-115 board, which has a Cyclone IV E FPGA. The issue I have with this Megafunction is that it always gives incorrect results in the first two run, and gives the correct results in the third run and after, given that I feed the same data into the FFT core. Have any of you met the same problem? I don't understand why this is the case? Is it something to do with the Megafunction itself or it is related to my FFT controller design. Any input is welcome. 

 

Thanks, 

 

-Roger 

--- Quote End ---  

 

 

I have across same problem. I use reset per each frame and from start and it sorted out
0 Kudos
Altera_Forum
Honored Contributor II
285 Views

Thank you for the reply. Can you be more specific how you reset the core? Are you reset it multiple times before you feed the data in? Would you be able to share more in this regard?

0 Kudos
Altera_Forum
Honored Contributor II
285 Views

 

--- Quote Start ---  

Thank you for the reply. Can you be more specific how you reset the core? Are you reset it multiple times before you feed the data in? Would you be able to share more in this regard? 

--- Quote End ---  

 

 

In my case the first set of outputs was wrong (I used streaming block floating arch.) .  

Processing was continuous for some hundreds of frames but with some gaps at available input. So I put one pulse of reset at start and in the gaps. I mean fft was only allowed to work after a reset release. 

Check first your own logic of SOP,EOP,Vld, and any fft error output. if you are applying reset at start then my reply doesn't apply to you really
0 Kudos
Altera_Forum
Honored Contributor II
285 Views

Thank you for the details. I think I didn't apply the reset_n before the start, after I apply it, it looks good. Thanks for the tips.

0 Kudos
Reply