Article ID: 000080810 Content Type: Error Messages Last Reviewed: 04/04/2018

Error (13224): Verilog HDL or VHDL error at <kernel_filename>.v: ansi port p_avm_printf_addrhello_world_enable cannot be redeclared

Environment

  • Intel® Quartus® Prime Pro Edition
  • Intel® FPGA SDK for OpenCL™ Pro Edition
  • BUILT IN - ARTICLE INTRO SECOND COMPONENT
    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

     

    Related Products

    This article applies to 1 products

    Intel® Programmable Devices