Forum Discussion

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

Complier Error, Quartus Prime Fitter was unsuccessful

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.