Community
cancel
Showing results for 
Search instead for 
Did you mean: 
SMore11
Novice
1,466 Views

Quartus Prime Lite stuck during compilation (analysis & synthesis step)

Hello,

 

I have troubles when I compile a project of mine on Quartus Prime Lite 18.0 with, as target FPGA device, a MAX10 (10M08DAF256C8GES). The compiler is stuck during the elaboration of a component (its architecture consists of ~ 500 lines of VHDL code and it does not use arithmetic multiplicators). The progress of the "Analysis & Synthesis" step reaches 47% and it stays frozen like that for 10 minutes. There is no special message on the log. I decided to stop the compilation. In a previous version of my code (with a little less lines of codes), the full compilation went through OK in 5 minutes (~4000 elements are used and I can upload the .sof to the FPGA and run it). I would like to know which can be the cause of this behavior, if you have already experienced something similar. Thank you for any help.

0 Kudos
9 Replies
JOHI
New Contributor II
669 Views

​Hello,

If you ask this question to Intel the first answer you would likely get:

Does Q18.1 have a similar problem?

This is the standard reply from all software suppliers.

 

If you would like me to test it on my licensed 18.1, feel free to include a .QAR in your reply.

Some of the problems I got with the free version (crashes) were solved with the licensed version.

 

Best Regards,

Johi.

AnandRaj_S_Intel
Employee
669 Views

Hi,

 

If possible try to share projects file, We will try to replicate the scenario. If it is bug we can file a bug report for you.

As johi said use latest version of quartus (Quartus 18.1 lite) and try.

 

Regards

Anand

sstrell
Honored Contributor II
669 Views

Try trashing the db and incremental_db folders and recompile. This fixes most compilation issues.

SMore11
Novice
669 Views

Hello, thank you for your answers. Deleting db and incremental_db didn't help, unfortunately. I am a bit reluctant to upgrade to Quartus Lite 18.1 now. Since I had no problem with compilation of other VHDL sources, I suspect the one for which I have problems is too complex to be synthesized and traps the Quartus compiler into an infinite loop and something like that. I can see that during the compilation the RAM used by Quartus on my PC increases until it reaches the maximum amount (and my PC gets frozen). I will try to optimize my code.

sstrell
Honored Contributor II
669 Views

I seriously doubt that a MAX 10 design would be the cause here. If you were compiling for a top-of-the line Stratix 10 device, then certainly.

 

Can you post your code? What is the difference between the version that successfully compiled and the version that is not compiling?

SMore11
Novice
669 Views

Hello,

 

Thank you for your replies and suggestions. I think the problem comes from my computer: I tried to compile a project that was fine until some days ago, and now it gets frozen at 47% of Analysis & Synthesis. I will fix this computer or get a new one.

CLa_R
Novice
669 Views

Hi,

I have the same problem.

Quartus II 17.0 is stuck for hours (more than 8 hours) on 47% analisys. I am compiling for Cyclone IV E (ep4ce10...).

 

I noticed that, in my design (a MISP type CPU mono clock), if I wired the final MUX selection signal with control signal, the compile is stuck on 47%.

If I fix the select signal of final MUX to a value (eg. VCC), my design compile in few seconds. But...why?

 

I am trying my design also with quartus 19.1 and the problem is the same.

 

 

Hakeen
Beginner
340 Views

Did anybody find a solution? I have the same problem here...

I use the exact code from
https://software.intel.com/content/www/us/en/develop/articles/how-to-program-your-first-fpga-device....

At the bottom, with 8 LEDs.. No single change done to the code..

Compilation gets stuck at 32%...

Hakeen
Beginner
338 Views

here the code:

// create module
module blink(
input wire clk, // 50MHz input clock
output wire [7:0] LED // array of 8 LEDs
);

// create a binary counter
reg [31:0] cnt; //32 bit counter

initial begin

cnt <= 32'h00000000; // start count at zero

end

always @(posedge clk) begin

cnt <= cnt+1; // count up

end

//assign LEDs to bits 28 through 21 of the counter

assign LED = cnt[28:21];

Reply