02-06-2020 04:40 PM
When I use Vivado HLS 2018.3, I got a problem. Please tell me how to solve the following.
I used sc_vector. C simulation was passed. However, when C Synthesis, Vivado HLS says,
WARNING: [HLS 200-40] In file included from project/test.cpp:3:project/test.h:7:10: fatal error: 'sysc/utils/sc_vector.h' file not found#include <sysc/utils/sc_vector.h> ^
Vivado's explorer represents sc_vector.h is C:\Xilinx\Vivado\2018.3\win64\tools\systemc\include\sysc\utlis .
I confirmed the location, the file exists.
What should I do to remove this error?
02-10-2020 05:12 AM
Go to project setting and under synthesis tab select the module and edit CFLAG. There, add this line:
Yes, this folder is already included but still it strangely works for some reason.
This alone may not solve all your issues, but atleast it'll get rid of "file not found" issue".
02-12-2020 04:47 PM
Thank you for your answer, himalayan_fpga!
Though I did your advice(added CFLAGS), Vivado still says "file not found".