07-12-2018 04:01 AM
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)
07-12-2018 05:56 AM
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
07-12-2018 01:29 PM
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.