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

attribute XBLKNM: string;<br />

Specify the VHDL constraint as follows:<br />

attribute XBLKNM of {component_name|label_name}: {component|label} is block_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 />

(* XBLKNM = "block_name" *)<br />

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

UCF and NCF Syntax<br />

INST "instance_name" XBLKNM=block_name;<br />

The following statement assigns an instantiation of an element named flip_flop2 to a<br />

block named U1358.<br />

INST "$1I87/flip_flop2" XBLKNM=U1358;<br />

XCF Syntax<br />

BEGIN MODEL "entity_name"<br />

INST "instance_name" xblknm=xblknm_name;<br />

END;<br />

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

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