Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

Synthesis failing when using AOC compiler

aejjeh
Beginner
2,150 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
KennyTan_Altera
Moderator
949 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

0 Kudos
2 Replies
KennyTan_Altera
Moderator
950 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

0 Kudos
HRZ
Valued Contributor III
949 Views

Please post your full quartus_sh_compile.log file.

0 Kudos
Reply