07-13-2009 09:45 PM
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!
07-13-2009 10:26 PM
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
07-15-2009 12:46 AM
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