cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
3,089 Views
Registered: ‎06-28-2009

Problem with FOR loop in EDK

i have written a program to compute 128 FFT in EDK and used it on audio samples. i m using vertex 2 pro board.

i have used the soft core processor.

i have around 17000 sample points , and hence need to run the FFT program for 130 around times.

 

i am using a FOR loop to run the FFT 130 times. The program is able to compute the FFT  for the first 21 cycles, ie (21 X 128 points), after which

all the output values go to zero.

 

i am not able to trace the problem here, and would be very thankful if somebody can provide a solution to this problem.

 

THANKS IN ADVANCE!

0 Kudos
2 Replies
Highlighted
Xilinx Employee
Xilinx Employee
3,080 Views
Registered: ‎08-13-2007

If you developed the source code and can't determine the cause, I'm not sure anyone here will be able to offer much assistance based on a brief description. I also suspect most users don't have time for a detailed review of someone else's code. My friendly suggestion would be to roll up your sleeves and use the xmd debugger to figure out what might be going on here.

 

You might find these a useful reference:

http://www.xilinx.com/support/documentation/application_notes/xapp1036.pdf (Introduction to Software Debugging on Xilinx PowerPC 405 Embedded Platforms)
http://www.xilinx.com/support/documentation/application_notes/xapp1037.pdf (Introduction to Software Debugging on Xilinx MicroBlaze Embedded Platforms)

 

Good luck,

bt

0 Kudos
Highlighted
Explorer
Explorer
3,047 Views
Registered: ‎08-29-2008

Hi,

 

Timpe is right! You should support us as much as you can when you expect a solution for your problem!

Your error description sounds like either stack problems due to recursion or memory overflow!

Both problems cause an undefined behavior.

 

Rgds,

Kai

0 Kudos