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

OpenCL compile error for high resource utilization

Altera_Forum
Honored Contributor II
2,148 Views

Hello, 

 

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
Altera_Forum
Honored Contributor II
889 Views

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?

0 Kudos
Altera_Forum
Honored Contributor II
889 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
889 Views

 

--- 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.
0 Kudos
DongWang-BJTU
New Contributor I
889 Views

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

0 Kudos
Reply