06-25-2020 07:27 AM
I'm trying to follow tutorials to integration Vitis Libraries (specifically Vision) into my project.
I am using the FAST example from the Xilinx git repository.
However, when I go to add in my accelerated functions, there are no functions that appear under Add Hardware Function
The xf_fast_accel.cpp has a function called fast that I am expecting to be able to accelerate, and should see this in the pop up.
I have followed the linked tutorial above to a T.
Additionally (possibly related?), every #pragma HLS XXXXX call like HLS DATAFLOW or HLS INTERFACE, is generating a warning when I build that says :
"warning: ignoring #pragma HLS INTERFACE [-Wunknown-pragmas]
Any suggestions ?
07-03-2020 07:10 AM
You get these warnings when you compile HLS code by a C compiler (such as gcc, clang) that doesn't know the HLS pragmas.
If you are compiling an HLS code by a C compiler just to check functionality you are safe.
Unknown pragmas are ignored by compilers.
However, beware that you are not compiling the code for HLS when you get these warnings.
I guess you have to check your compilation flow and see what is going on.