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

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

Altera_Forum
Honored Contributor II
901 Views

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
0 Kudos
0 Replies
Reply