Forum Discussion
messn036
New Contributor
4 years agoSample project with RTL module library not working
Hello Intel Support,
I am attempting to compile a library of RTL components to use in my HLS project.
The HLS project compiles when testing for x86-64 simulation, but the compiler complains about...
- 4 years ago
The issue is in my expHBU.h file. I put
uint8_t expHBU(uint8_t input);Rather than the CORRECT
extern "C" { uint8_t expHBU(uint8_t input); }This extern is extremely esoteric and should be included in the reference manual.
messn036
New Contributor
4 years agoAdditional information: If I compile the library with just the fpga_crossgen command (exclude the expHBU.a step)
fpga_crossgen exp_wrapper.xml --target hls --emulation_model expHBU.cpp -o expHBU.o
And then attempt a -march=Cyclone10GX compile
i++ component_testbench.cpp expHBU.o -v --dont-error-if-large-area-est -march=Cyclone10GX -o test-fpga
I get the following error
Compiler Error: Cannot find Library file ./test-fpga.prj/spec.xml