Altera_Forum
Honored Contributor
14 years agoVerilog Compilation Problem: All available logic elements used!
Hi all,
I am having a problem compiling my verilog code in Quartus II where all the available logic elements (12'060) are used by the compiler. The code (excerpt) is as follows: begin if (Address[0] == 1 && Address[1] == 0) begin //TimerFlag <= 1'd1; contCount <= 16'd0; end else begin if (TimerFlag == 1) begin if (Address[1] == 1) begin TimerFlag <= 1'd0; //Timings[PtrT] = contCount; //PtrT = PtrT + 8'd1; end //else contCount <= contCount + 16'd1; end[/INDENT] else ; end[/INDENT] end note: If any one of the hashed ( // ) lines are removed, the code compiles normally (only ~1500 of the logic elements are used).