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.

VHDL Syntax<br />

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

Before using this constraint, declare it with the following syntax placed after the<br />

architecture declaration but before the begin statement in the top-level VHDL file:<br />

attribute SUSPEND: string;<br />

After the constraint has been declared, specify the VHDL constraint as follows:<br />

attribute SUSPEND of {top_level_port_name} : signal is "value";<br />

Example:<br />

entity top is<br />

port (STATUS: out std_logic);<br />

end top;architecture MY_DESIGN of top is<br />

attribute SUSPEND: string;<br />

attribute SUSPEND of STATUS: signal is "DRIVE_LAST_VALUE";<br />

begin<br />

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

Verilog Syntax<br />

Place the following attribute specification before the port declaration in the top-level<br />

Verilog code:<br />

(* SUSPEND="value" *)<br />

Example:<br />

module top ( (* SUSPEND="DRIVE_LAST_VALUE" *) output STATUS );<br />

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

UCF and NCF Syntax<br />

Placed on an output or bi-directional port:<br />

NET "top_level_port_name" SUSPEND="value";<br />

Example:<br />

NET "STATUS" SUSPEND="DRIVE_LAST_VALUE";<br />

PACE Syntax<br />

To set this constraint from the Pinout and Area <strong>Constraints</strong> Editor (PACE), select the<br />

appropriate pin value from the Design Objects window.<br />

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

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

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

Saved successfully!

Ooh no, something went wrong!