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

Quartus II - compile problem?

Altera_Forum
榮譽貢獻者 II
3,883 檢視

When I analyze and synthesis my Quartus project, I receive the following message  

 

 

 

*** Fatal Error: Uncaught C++ Exception 

Module: quartus_map.exe 

Lock in use: 9 

Stack Trace: 

0x9616: RaiseException + 0x53 (KERNELBASE) 

0x5df5f: _CxxThrowException + 0x47 (MSVCR90) 

0x179b: operator_new + 0x3b (tbbmalloc_proxy) 

0x2979: mem_new_array_wrapper + 0x49 (ccl_mem) 

 

 

 

 

0x13b2: rml::internal::ThreadId::own + 0x12 (tbbmalloc) 

0x1006: mem_native_array_delete + 0x6 (ccl_mem_native) 

 

 

 

 

End-trace 

 

 

Quartus II 32-bit Version 12.0 Build 178 05/31/2012 SJ Web Edition 

 

I also searched on the forum, but there is no suitable answer for this case. Is there anybody who has met this problem? If yes, please tell me the cause and the solution.
0 積分
10 回應
Altera_Forum
榮譽貢獻者 II
2,562 檢視

First of all, I would close Quartus and then delete the folders "db" and "incremental_db". Sometimes this "method" works for strange Errors or behaviours within Quartus.

Altera_Forum
榮譽貢獻者 II
2,561 檢視

Thank you for your reply! 

 

I have tried as you said for several times, however this error also appears again. 

 

According to the Altera website, a problem " Fatal Error: Uncaught C++ Exception Module: quartus_fit.exe" comes from the memory of the computer running the Quartus. I doubt that my problem is the same.
Altera_Forum
榮譽貢獻者 II
2,562 檢視

 

--- Quote Start ---  

Workaround / Fix 

 

To avoid this error, ensure your computer has enough memory to compile your design based on the guidelines in the Device Support Release Notes. 

--- Quote End ---  

 

 

Are you sure you have enough memory for the design? How much RAM and free space (hard disc) do you? 

 

What kind of an Fpga family is it?
Altera_Forum
榮譽貢獻者 II
2,562 檢視

It indeed looks like a lack of memory on your computer. The new C++ operator can't raise a lot of different exceptions.

Altera_Forum
榮譽貢獻者 II
2,562 檢視

@vhdl_world, 

 

I am sure that the free space is sufficient. However, my computer just has 2G RAM (I don't know it is sufficient or not), an FPGA DE2-board: with the family of Cyclone II. 

 

@Daixiwen, 

 

I also thought so. Maybe the cause comes from memory. When I comment some sections of my design, the Quartus compile successfully. It can be evidence that the memory of my computer is not sufficient to compile. 

 

If you can guess any cause of the problem, please tell me. Thank you for all your reply!
Altera_Forum
榮譽貢獻者 II
2,562 檢視

According to this document (http://www.altera.com/literature/rn/rn_qts_dev_support.pdf), page 3, the recommended amount of RAM to compile your project is 1Gb, so it should be enough. 

It's possible that some parts of your design generate too much logic for Quartus to compile (big loops generating some hardware at each iteration, for example).
Altera_Forum
榮譽貢獻者 II
2,562 檢視

I reviewed my code and saw that there were several sections like the example you mentioned. It can be the main cause for the Quartus software not be able to compile successfully. I am trying solving that problem. Thank you very much for your reply!

Altera_Forum
榮譽貢獻者 II
2,562 檢視

We have a similar problem in subscription Version (same release). Did you found a soloution?

Altera_Forum
榮譽貢獻者 II
2,562 檢視

My cause is mentioned by Daixiwen (big loops generating some hardware at each iteration). I solve it by doing my function in each clock. For example, I want to do my function 1000 times. Instead of waiting for 1000 clocks and then using "for" loop to do my function (in one clock, 1000 functions are done), I do my function in each clock and count until 1000 clock to stop it (in one clock, 1 function is done, do it for 1000 clocks).

Altera_Forum
榮譽貢獻者 II
2,562 檢視

Soloution for us was to upgrade to Win7 so that we are able now to use 8 GB RAM on host. That we needed more than 4 GB RAM to compile our project was visible in flow report.

回覆