Knowledge Base Article
Error (13224): Verilog HDL or VHDL error at <kernel_filename>.v: ansi port p_avm_printf_addrhello_world_enable cannot be redeclared
Description
In the Intel® FPGA SDK for OpenCL™ version 17.1, you may see this error while calling a printf () inside a kernel with attribute num_compute_units().
Resolution
To avoid this error, perform either of the following actions:
- manually replicate printf calls inside the kernel
- replace printf with channel calls that send data to a non-compute-id kernel which in turn performs the printfs.
This is fixed in the Intel FPGA SDK for OpenCL version 18.0
Updated 5 days ago
Version 3.0No CommentsBe the first to comment