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: 
450 Views
Registered: ‎07-10-2018

HLS to SDSOC

Created 3 files in hls.
Test:

Filter_test.cpp

 

Main

Filter.cpp

Filter.h

It runs a filter for a given image.

In possession of zc102 board and sdsoc 2017.4

Is there any way in which I can port the given hls code into the sdsoc? for synthesis(sd card folder)

 

 

0 Kudos
2 Replies
Moderator
Moderator
425 Views
Registered: ‎09-12-2007

Re: HLS to SDSOC

You should be able to use the same c code in SDSoC and the tools will do all this for you. 

Or, you can create a c callable IP from your hls generated IP

 

https://www.xilinx.com/html_docs/xilinx2018_1/sdsoc_doc/zao1517252127820.html

0 Kudos
408 Views
Registered: ‎10-17-2017

Re: HLS to SDSOC

The HLS code should work just fine in SDSoC as well. Depending on the arguments of you HLS function you might have to write a wrapper function though. For example if your HLS code uses hls::streams which are not supported by SDSoC, you would have to write a wrapper that handles the conversion from xf::Mat or from a simple array to hls::streams. 

 

creating a c-callable ip could be an option but would be a bit more complex.