UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor madhuri87
Visitor
30,808 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
Scholar austin
Scholar
30,803 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
Explorer
Explorer
30,795 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