10.12.2012 Views

Quartus II Settings File Reference Manual - Altera

Quartus II Settings File Reference Manual - Altera

Quartus II Settings File Reference Manual - Altera

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 4: Analysis & Synthesis Assignments 4–193<br />

VERILOG_CONSTANT_LOOP_LIMIT<br />

VERILOG_CONSTANT_LOOP_LIMIT<br />

Type<br />

Defines the iteration limit for Verilog loops with loop conditions that evaluate to<br />

compile-time constants on each loop iteration. For example, such loops would have<br />

loop conditions that depend only on loop variables and constant expressions. If a loop<br />

condition refers to an input to the current module or to another variable other than a<br />

loop-variable, then the loop condition is most likely a non-constant loop condition,<br />

which has a separate limit in the <strong>Quartus</strong> <strong>II</strong> software. This logic option exists<br />

primarily to catch potential infinite loops before they exhaust memory or trap the<br />

software in an actual infinite loop. In general, you should only increase the value of<br />

this option, unless you are trying to identify a loop that requires excessive amounts of<br />

logic and therefore exhausts the memory available to the <strong>Quartus</strong> <strong>II</strong> software. If you<br />

decrease the value of this logic option, you may receive errors for loops that<br />

previously passed synthesis.<br />

This option can be used as a project-wide option, or assigned to a design entity.<br />

This option defaults to 5000.<br />

Integer<br />

Device Support<br />

This setting can be used in projects targeting any <strong>Altera</strong> device family.<br />

Notes<br />

This assignment is included in the Analysis & Synthesis report.<br />

Syntax<br />

set_global_assignment -name VERILOG_CONSTANT_LOOP_LIMIT <br />

set_global_assignment -name VERILOG_CONSTANT_LOOP_LIMIT -entity <br />

set_instance_assignment -name VERILOG_CONSTANT_LOOP_LIMIT -to -entity<br />

<br />

Example<br />

set_global_assignment -name verilog_constant_loop_limit 3000<br />

Default Value<br />

5000<br />

June 2012 <strong>Altera</strong> Corporation <strong>Quartus</strong> <strong>Settings</strong> <strong>File</strong><br />

<strong>Reference</strong> <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!