cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
753 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
Highlighted
Moderator
Moderator
728 Views
Registered: ‎09-12-2007

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
711 Views
Registered: ‎10-17-2017

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.