Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

!! DONT'T USE FILENAME kernel.cl !!

the compiler gets crazy.

The functions inside the file were named completely different from "kernel".

I tried :

  1. aoc --report kernel.cl -o kernel.aocx

I got :

  1. Error: Compiler Error, not able to generate hardware

and in the log :

  1. kernel/quartus_sh_compile.log:Error (16169): Instance "" has an ambiguous entity binding

  2. kernel/quartus_sh_compile.log: Error (16170): Could be "kernel_system.kernel_system"

  3. kernel/quartus_sh_compile.log: Error (16170): Could be "kernel_system_140.kernel_system"

  4. kernel/quartus_sh_compile.log:Error: Quartus Prime Spectra-Q Synthesis was unsuccessful. 3 errors, 1236 warnings

  5. kernel/quartus_sh_compile.log: Error: Peak virtual memory: 3626 megabytes

  6. kernel/quartus_sh_compile.log: Error: Processing ended: Mon Oct 17 16:21:45 2016

  7. kernel/quartus_sh_compile.log: Error: Elapsed time: 00:02:39

  8. kernel/quartus_sh_compile.log: Error: Total CPU time (on all processors): 00:08:02

  9. kernel/quartus_sh_compile.log:Error (23031): Evaluation of Tcl script import_compile.tcl unsuccessful

  10. kernel/quartus_sh_compile.log:Error: Quartus Prime Compiler Database Interface was unsuccessful. 1 error, 0 warnings

I renamed the file :

  1. cp kernel.cl tohuwabohu.cl

  2. aoc --report tohuwabohu.cl -o tohuwabohu.aocx

and everything worked
No RepliesBe the first to reply