Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
15996 Discussions

Compiling and Linking Your Kernels or Object Files without Building Hardware (-rtl) which don't work !

caron
Beginner
884 Views

when I use " aoc -rtl <your_kernel_filename1>.cl". it issue an error :

 

aoc: Running OpenCL parser....

error: unknown argument: '-rtl'

Error: OpenCL parser FAILED.

Refer to hello_world/hello_world.log for details.

 

 

0 Kudos
6 Replies
HRZ
Valued Contributor III
426 Views

I would guess you are using an older version of the compiler in which the -rtl switch was not available. This switch was added in v18.0 or 18.1 (don't remember exactly).

KhaiChein_Y_Intel
426 Views

Hi Caron,

 

May I know what version you are using?

 

Thanks.

 

caron
Beginner
426 Views

Hi , thank you for your response !

my version is :

 

Intel(R) FPGA SDK for OpenCL(TM), 64-Bit Offline Compiler

Version 17.1.1 Build 273

Copyright (C) 2017 Intel Corporation

 

Maybe it is the version's problem.. How can I update the version ?? thank you .

HRZ
Valued Contributor III
426 Views

Indeed the -rtl switch is not available on Quartus v17.1.x. You can download all versions of Quartus from here:

 

https://www.intel.com/content/www/us/en/programmable/downloads/download-center.html

 

However, you should make sure to use a version of Quartus that is compatible with the OpenCL BSP of your board. Consult the documents from your board manufacturer to determine what version of Quartus to use.

MMATT35
Beginner
426 Views

Hello KhaiY_Intel,

 

I have the same issue with this version :

 

Intel(R) FPGA SDK for OpenCL(TM), 64-Bit Offline Compiler

Version 19.1.0 Build 670 Standard Edition

Copyright (C) 2019 Intel Corporation

 

I downloaded this version : https://fpgasoftware.intel.com/opencl/19.1/?edition=standard&download_manager=direct

 

and the associated documentation explain howt to use -rtl : https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/opencl-sdk/aocl_programming_guide.pdf

 

Do you knouw why have this error ?

 

Thank you

 

KhaiChein_Y_Intel
426 Views

Hi MMATT35,

 

This forum thread has been transitioned to community support. Can you open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.

 

 

Best regards,

KhaiY

Reply