Community
cancel
Showing results for 
Search instead for 
Did you mean: 
aejjeh
Beginner
1,281 Views

Synthesis failing when using AOC compiler

Jump to solution

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
KennyT_Intel
Moderator
80 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
KennyT_Intel
Moderator
81 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

HRZ
Valued Contributor II
80 Views

Please post your full quartus_sh_compile.log file.

Reply