01.07.2013 Views

Xilinx Constraints Guide

Xilinx Constraints Guide

Xilinx Constraints Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Schematic Syntax<br />

• Attach to a valid instance<br />

• Attribute Name<br />

HU_SET<br />

• Attribute Values<br />

set_name<br />

VHDL Syntax<br />

Declare the VHDL constraint as follows:<br />

attribute HU_SET: string;<br />

Specify the VHDL constraint as follows:<br />

attribute HU_SET of {component_name | entity_name | label_name} : {component | entity<br />

| label} is "set_name";<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 />

(* HU_SET = "set_name" *)<br />

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

UCF and NCF Syntax<br />

INST "instance_name" HU_SET=set_name ;<br />

where<br />

• set_name is the identifier for the set<br />

• set_name must be unique among all the sets in the design<br />

The following statement assigns an instance of the register FF_1 to a set named<br />

heavy_set.<br />

INST "$1I3245/FF_1" HU_SET=heavy_set;<br />

XCF Syntax<br />

MODEL "entity_name" hu_set={yes | no};<br />

BEGIN MODEL "entity_name"<br />

INST "instance_name" hu_set=yes;<br />

END;<br />

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

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