Hi,
I tried to compile a compution.cl file with aoc command to generate computation.aocx.
(The command line is aoc -v computation.cl -o computation.aocx)
But It failed to generate .aocx file and only .aoco file was generated.
With the -v , it showed the stage of compiling on the screen and the information is :
------Screen-------
aoc: Environment checks are completed successfully.
You are now compiling the full flow!!
aoc: Selected default target board a10gx
aoc: Running OpenCL parser....
aoc: OpenCL parser completed successfully.
aoc: Compiling....
aoc: Linking with IP library ...
Warning: Kernel 'fullyLayer' has unused argument 'inputDataSize'
aoc: First stage compilation completed successfully.
Error: Compiler Error, not able to generate hardware
---------------------
Then I checked computation.log in the computation floder. It showed no error occured :
-------computation.log---------
Info: Quartus Prime Shell was successful. 0 errors, 0 warnings
Info: Peak virtual memory: 581 megabytes
Info: Processing ended: Fri Jun 16 09:08:55 2017
Info: Elapsed time: 00:00:34
Info: Total CPU time (on all processors): 00:00:00
----------------------------------
Then I checked top.fit.rpt for more information and the usage of resource in this file showed the resource was enough:
+--------------------------------------------------------------------------+
; Fitter Summary ;
+-----------------------------+--------------------------------------------+
; Fitter Status ; Failed - Fri Jun 16 13:32:10 2017 ;
; Quartus Prime Version ; 16.1.1 Build 200 11/30/2016 SJ Pro Edition ;
; Revision Name ; top ;
; Top-level Entity Name ; top ;
; Family ; Arria 10 ;
; Device ; 10AX066N3F40E2SG ;
; Timing Models ; Final ;
; Logic utilization (in ALMs) ; 30,540 / 251,680 ( 12 % ) ;
; Total registers ; 302754 ;
; Total pins ; 290 / 812 ( 36 % ) ;
; Total virtual pins ; 0 ;
; Total block memory bits ; 22,860,776 / 43,642,880 ( 52 % ) ;
; Total RAM Blocks ; 218 / 2,131 ( 10 % ) ;
; Total DSP Blocks ; 234 / 1,687 ( 14 % ) ;
; Total HSSI RX channels ; 8 / 48 ( 17 % ) ;
; Total HSSI TX channels ; 8 / 48 ( 17 % ) ;
; Total PLLs ; 57 / 96 ( 59 % ) ;
+-----------------------------+--------------------------------------------+
But at the end of top.fit.rpt, it reported some errors :
----------top.fit.rpt----------Error (18999): Placement cannot find a legal solution.
Error (18999): Placement cannot find a legal solution.
Error (18999): Placement cannot find a legal solution.
Error (18999): Placement cannot find a legal solution.
Info (170191): Fitter placement operations beginning
Info (170192): Fitter placement operations ending: elapsed time is 00:01:11
Info (11888): Total time spent on timing analysis during Placement is 572.60 seconds.
Error: An error occurred during placement
Info (144001): Generated suppressed messages file c:/Users/xinzhou/Desktop/dnn_1.1.1.1/bin_profile/fully_layer/top.fit.smsg
Error: Quartus Prime Fitter was unsuccessful. 5 errors, 1014 warnings
Error: Peak virtual memory: 24521 megabytes
Error: Processing ended: Fri Jun 16 13:32:25 2017
Error: Elapsed time: 03:02:03
Error: Total CPU time (on all processors): 08:17:02
+----------------------------+
; Fitter Suppressed Messages ;
+----------------------------+
The suppressed messages can be found in c:/Users/...
--------------
What's more, my OS is Windows 10 Professional , Quartus version is 16.1.1, AOC version is 16.1.0, and It generated .aocx file successfully Before with other OpenCL kernel file.
Why it failed to generate .aocx file? And what should I do to shoot this trouble?
I am waiting for your reply. Thank you.