Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15396 Discussions

OpenCL compile error for high resource utilization

Honored Contributor II



I encounter compile error (Error (23031): Evaluation of Tcl script import_compile.tcl unsuccessful) when my resource utilization is huge. My estimated resource usage is : 



; Estimated Resource Usage Summary ; 


; Resource + Usage ; 


; Logic utilization ; 65% ; 

; ALUTs ; 39% ; 

; Dedicated logic registers ; 29% ; 

; Memory blocks ; 59% ; 

; DSP blocks ; 79% ; 



I have attached the compile log. I have seen previous threads in the forum and this error might be because of less RAM. I have allocated 20GB of RAM and 60GB of swap for this compilation. Do you think my error is still because of less RAM? 


My log file ends with the following error 

Error: Quartus Prime Compiler Database Interface was unsuccessful. 1 error, 0 warnings 

Error: Peak virtual memory: 693 megabytes 

Error: Processing ended: Mon Jun 4 20:49:47 2018 

Error: Elapsed time: 13:00:32 

Error: Total CPU time (on all processors): 01:54:02
0 Kudos
4 Replies
Honored Contributor II

Well, the error message is far from informative and the process is failing pretty early in the chain before even reaching placement and routing. 20 GB of memory is certainly not enough for large Arria 10 designs; however, this might not necessarily be the source of your problem right now. Can you clarify what board and what BSP you are using?

Honored Contributor II

I am using Arria 10 GX FPGA dev board.  


I am using BSP which is a10gx (Arria 10 ref BSP from altera) BSP which is obtained by installing quartus pro.  


My AOC version is 17.1.2 Build 304 

Quartus version 17.1.2 Build 304 


Compilation crashes only in high resource utilization designs.
Honored Contributor II


--- Quote Start ---  

Compilation crashes only in high resource utilization designs. 

--- Quote End ---  



Then I am afraid the source of your problem is likely the size of the memory on your compilation machine.
New Contributor I

64GB memory at least (for A10 and S10 device)