04-14-2019 12:46 PM
Hello,
I'm an IP designer, and I've been diving back recently into SystemC. Truth be told, my level in SystemC is very low.
I know C and VHDL, but I've come across some problems using SystemC in Vivado HLS. Although they seem very simple, I'm unable to find an answer in Xilinx forums.
I've build a simple AXIS Bypass IP, that copies data from the input to the output. For the funsies, and see it reflected in the results, I've put a wait() statement in a loop into its main function: I've been able to see that during synthesis, as it calculates a Latency of 15 cycles. So far, so good.
From here on, I would love to run the Co-Simulation, but it doesn't even start. The error I get is as follows:
In file included from tb.cpp:2:0:
tb_driver.h:107:19: fatal error: param.h: No such file or directory
#include "param.h"
^
compilation terminated.
make: *** [obj/tb.o] Error 1
ERROR: [COSIM 212-317] C++ compile error.
ERROR: [COSIM 212-321] EXE file generate failed.
7
while executing
"source C:/Users/Julian/AppData/Roaming/Xilinx/Vivado/n1/702/cosim.tcl"
invoked from within
"hls::main C:/Users/Julian/AppData/Roaming/Xilinx/Vivado/n1/702/cosim.tcl"
("uplevel" body line 1)
invoked from within
"uplevel 1 hls::main {*}$args"
(procedure "hls_proc" line 5)
invoked from within
"hls_proc $argv"
Finished C/RTL cosimulation.
param.h is not much more than a common parameters or macro filled header file. I'm rather puzzled as to why Co-Sim wouldn't start after this.
Vivado HLS SystemC examples work just fine.
Any ideas what it could be? What am I overlooking?
Thank you very much in advance,
Julian
04-16-2019 03:11 AM
Bump.
Haven't found the error yet. Any ideas are welcome.
Thanks in advance.
Julian