Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15461 Discussions

Synthesis failing when using AOC compiler

aejjeh
Beginner
1,384 Views

I am trying to synthesize an OpenCL kernel. Building for emulation succeeds. When I try to compile for FPGA, the process fails with an error (16045): Instance "X" instantiates undefined entity "Y", along with multiple "Can't elaborate user hierarchy" errors. However, the entity it is looking for is actually defined in a subfolder of the build directory that AOC created. Any ideas what might be happening?

 

Update: I solved the issue, it turned out to be an issue with the kernel name's format as @KennyT_Intel​ suggested in his answer bellow.

0 Kudos
1 Solution
Kenny_Tan
Moderator
183 Views

You can refer to below to see if it resolve.

 

OpenCL kernels with names longer than 61 characters might fail in the Quartus compiler with an error similar to the following error:

Error (16045): Instance "...|<long_kernel_name>_cra_slave_inst" instantiates

undefined entity "<long_kernel_name>_function_cra_slave" File: <filename> Line:

<linenumber>

 

https://www.intel.cn/content/www/cn/zh/programmable/documentation/bhg1517418195706.html

View solution in original post

2 Replies
Kenny_Tan
Moderator
184 Views

You can refer to below to see if it resolve.

 

OpenCL kernels with names longer than 61 characters might fail in the Quartus compiler with an error similar to the following error:

Error (16045): Instance "...|<long_kernel_name>_cra_slave_inst" instantiates

undefined entity "<long_kernel_name>_function_cra_slave" File: <filename> Line:

<linenumber>

 

https://www.intel.cn/content/www/cn/zh/programmable/documentation/bhg1517418195706.html

HRZ
Valued Contributor II
183 Views

Please post your full quartus_sh_compile.log file.

Reply