cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
30,875 Views
Registered: ‎02-12-2013

recursive function not supported in vivado hls synthesis

Hello

 

I am woring on Fast Fourier Transform algorithm and my C code has recursive function. 

 

When I am trying to do synthesize its showing error of not supported recursive functions. Can I change it to while loop and stack. If I change my code then is synthesize works?

 

 

Thanks,

Madhuri 

0 Kudos
2 Replies
Highlighted
Scholar
Scholar
30,870 Views
Registered: ‎02-27-2008

Re: recursive function not supported in vivado hls synthesis

m,

 

There is no such thing as recursive hardware.

 

 

Austin Lesea
Principal Engineer
Xilinx San Jose
Highlighted
Explorer
Explorer
30,862 Views
Registered: ‎12-31-2012

Re: recursive function not supported in vivado hls synthesis

Need to unroll the recursion. You don't have to implement a stack. There are several non-recursive FFT's available just google search: "fft c code non recursive"

---------------------------------------------------------------------------------
I like these books:
Free Range VHDL (free), http://www.freerangefactory.org/site/pmwiki.php/Main/Books
VHDL for Logic Synthesis, Andrew Rushton
FPGA Prototyping by VHDL Examples, Pong P Chu