Forum Discussion
Synthesis failing when using AOC compiler
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.
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
2 Replies
- KennyT_altera
Super Contributor
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
Frequent Contributor
Please post your full quartus_sh_compile.log file.