01.07.2013 Views

Xilinx Constraints Guide

Xilinx Constraints Guide

Xilinx Constraints 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.

Chapter 4: <strong>Xilinx</strong> <strong>Constraints</strong><br />

COLLAPSE (Collapse)<br />

Architecture Support<br />

Applicable Elements<br />

The COLLAPSE (Collapse) constraint:<br />

• Is an advanced fitter constraint.<br />

• Forces a combinatorial node to be collapsed into all of its fanouts.<br />

Applies to CPLD devices only. Does not apply to FPGA devices.<br />

Any internal net.<br />

Propagation Rules<br />

This constraint is a net constraint. Any attachment to a design element is illegal.<br />

Syntax Examples<br />

The following examples show how to use this constraint with particular tools or<br />

methods. If a tool or method is not listed, you cannot use this constraint with it.<br />

Schematic Syntax<br />

• Attach to a logic symbol or its output net<br />

• Attribute Name<br />

COLLAPSE<br />

• Attribute Values<br />

– TRUE<br />

– FALSE<br />

VHDL Syntax<br />

Declare the VHDL constraint as follows:<br />

attribute collapse: string;<br />

Specify the VHDL constraint as follows:<br />

attribute collapse of signal_name: signal is “{YES|NO|TRUE|FALSE}”;<br />

For more information about basic VHDL syntax, see VHDL Attributes.<br />

Verilog Syntax<br />

Place the Verilog constraint immediately before the module or instantiation.<br />

Specify the Verilog constraint as follows:<br />

(* COLLAPSE = “{YES|NO|TRUE|FALSE}” *)<br />

For more information about basic Verilog syntax, see Verilog Attributes.<br />

UCF and NCF Syntax<br />

NET “net_name” COLLAPSE;<br />

The following statement forces net $1N6745 to collapse into all its fanouts.<br />

NET “$1I87/$1N6745” COLLAPSE;<br />

<strong>Constraints</strong> <strong>Guide</strong><br />

84 www.xilinx.com UG625 (v. 13.2) July 6, 2011

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

Saved successfully!

Ooh no, something went wrong!