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.

LOCK_PINS (Lock Pins)<br />

Architecture Support<br />

Applicable Elements<br />

Propagation Rules<br />

The LOCK_PINS (Lock Pins) constraint:<br />

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

• Instructs the implementation tools to not swap the pins of the LUT symbol to which<br />

it is attached.<br />

• Is distinct from the Lock Pins process in ISE® Design Suite, which is used to preserve<br />

the existing pinout of a CPLD design.<br />

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

Applies only to specific instances of LUT symbols.<br />

Applies only to a single LUT instance.<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 />

VHDL Syntax<br />

Declare the VHDL constraint as follows:<br />

attribute lock_pins: string;<br />

Specify the VHDL constraint as follows:<br />

attribute lock_pins of {component_name|label_name} : {component|label} is “all”;<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 />

(* LOCK_PINS = “all” *)<br />

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

UCF and NCF Syntax<br />

• Using No Designator<br />

INST “XSYM1” LOCK_PINS;<br />

• Using the ALL Attribute<br />

INST “XSYM1” LOCK_PINS=’ALL’;<br />

• Using a PIN Assignment List<br />

INST I_589 LOCK_PINS=I0:A2;<br />

INST I_894 LOCK_PINS=I3:A1,I2:A4;<br />

INST tvAgy LOCK_PINS=I0:A4,I1:A3,I2:A2,I3:A1;<br />

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

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

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

Saved successfully!

Ooh no, something went wrong!