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 />

Syntax<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 valid instance<br />

• Attribute Name<br />

HBLKNM<br />

• Attribute Values<br />

block_name<br />

VHDL Syntax<br />

Declare the VHDL constraint as follows:<br />

attribute hblknm: string;<br />

Specify the VHDL constraint as follows:<br />

attribute hblknm of {entity_name|component_name|signal_name|label_name}:<br />

{entity|component|signal|label} is “block_name”;<br />

where<br />

block_name is a valid block name for that type of symbol<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 />

(* HBLKNM = “block_name” *)<br />

block_name is a valid block name for that type of symbol<br />

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

UCF and NCF Syntax<br />

NET “net_name” HBLKNM=property_value;<br />

INST “instance_name” HBLKNM=block_name;<br />

block_name is a valid block name for that type of symbol<br />

The following statement specifies that the element this_fmap is put into the block named<br />

group1.<br />

INST “$I13245/this_fmap” HBLKNM=group1;<br />

The following statement attaches HBLKNM to the pad connected to net1.<br />

NET “net1” HBLKNM=$COMP_0;<br />

Elements with the same HBLKNM are placed in the same logic block if possible.<br />

Otherwise an error occurs. Conversely, elements with different block names are not<br />

put into the same block.<br />

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

126 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!