Forum Discussion
Hi Anand,
thanks for your reply.
I solved my Problem: I added the command "hls_avalon_slave_component", so I got a further slave component with registers where I can start and control my component.
Now I tried to get a component which always runs, therefore I use the command "hls_always_run_component", but then it is not possible to me to compile the component:
error message shows: Compilation failed because component is always run and it is not possible to create a testbench.
Can anybody tell me what compile command to use to compile the component? I use the following command: i++ -ghdl -march=CycloneV myComponent.cpp -o myCompFPGA
In my opinion I have to tell the compiler not to create a testbench for this component.
Thanks for your help.
Regards,
Roya
Hi Roya,
Test bench will not be generated, if we dont have main function in .cpp file
just run >> i++ -ghdl -march=CycloneV myComponent.cpp
Regards
Anand