cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
julian.spahr
Participant
Participant
1,079 Views
Registered: ‎06-28-2018

SystemC "param.h: No such file or directory"

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

Tags (2)
0 Kudos
1 Reply
julian.spahr
Participant
Participant
1,011 Views
Registered: ‎06-28-2018

Bump.

Haven't found the error yet. Any ideas are welcome.

 

Thanks in advance.

Julian

0 Kudos