Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16612 Discussions

Synthesis failing when using AOC compiler

aejjeh
Beginner
1,687 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
486 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
Kenny_Tan
Moderator
487 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
486 Views

Please post your full quartus_sh_compile.log file.

0 Kudos
Reply