the compiler gets crazy.
The functions inside the file were named completely different from "kernel".
I tried :
- aoc --report kernel.cl -o kernel.aocx
I got :
- Error: Compiler Error, not able to generate hardware
and in the log :
- kernel/quartus_sh_compile.log:Error (16169): Instance "" has an ambiguous entity binding
- kernel/quartus_sh_compile.log: Error (16170): Could be "kernel_system.kernel_system"
- kernel/quartus_sh_compile.log: Error (16170): Could be "kernel_system_140.kernel_system"
- kernel/quartus_sh_compile.log:Error: Quartus Prime Spectra-Q Synthesis was unsuccessful. 3 errors, 1236 warnings
- kernel/quartus_sh_compile.log: Error: Peak virtual memory: 3626 megabytes
- kernel/quartus_sh_compile.log: Error: Processing ended: Mon Oct 17 16:21:45 2016
- kernel/quartus_sh_compile.log: Error: Elapsed time: 00:02:39
- kernel/quartus_sh_compile.log: Error: Total CPU time (on all processors): 00:08:02
- kernel/quartus_sh_compile.log:Error (23031): Evaluation of Tcl script import_compile.tcl unsuccessful
- kernel/quartus_sh_compile.log:Error: Quartus Prime Compiler Database Interface was unsuccessful. 1 error, 0 warnings
I renamed the file :
- cp kernel.cl tohuwabohu.cl
- aoc --report tohuwabohu.cl -o tohuwabohu.aocx
and everything worked