05.07.2013 Views

Xilinx Synthesis Technology User Guide

Xilinx Synthesis Technology User Guide

Xilinx Synthesis Technology User Guide

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.

XST <strong>User</strong> <strong>Guide</strong><br />

constraints specified in the XCF file will be applied ONLY to the<br />

module listed, and not to any submodules below it.<br />

To apply a constraint to the entire entity/module use the following<br />

syntax:<br />

MODEL entityname constraintname =<br />

constraintvalue;<br />

Examples:<br />

MODEL top mux_extract = false;<br />

MODEL my_design max_fanout = 256;<br />

Note If the entity my_design is instantiated several times in the<br />

design, the max_fanout=256 constraint will be applied to the each<br />

instance of my_design.<br />

To apply constraints to specific instances or signals within an entity/<br />

module, use the INST or NET keywords:<br />

BEGIN MODEL entityname<br />

INST instancename constraintname =<br />

constraintvalue ;<br />

NET signalname constraintname =<br />

constraintvalue ;<br />

END;<br />

Examples:<br />

BEGIN MODEL crc32<br />

INST stopwatch opt_mode = area ;<br />

INST U2 ram_style = block ;<br />

NET myclock clock_buffer = true;<br />

NET data_in iob = true;<br />

END;<br />

See the “Constraints Summary” section for the complete list of<br />

synthesis constraints that can be applied for XST.<br />

5-12 <strong>Xilinx</strong> Development System

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

Saved successfully!

Ooh no, something went wrong!