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 2: Entry Strategies for <strong>Xilinx</strong> <strong>Constraints</strong><br />

Verilog Limitations<br />

Verilog Attributes Syntax Example Four<br />

(* mult_style = "pipe_lut" *) MULT my_mult (a, b, c);<br />

Verilog attributes are not supported for:<br />

• Signal declarations<br />

• Statements<br />

• Port connections<br />

• Expression operators<br />

Verilog Meta Comments<br />

<strong>Constraints</strong> can also be specified in Verilog code using meta comments. The Verilog<br />

format is the preferred syntax, but the meta comment style is still supported. Use the<br />

following syntax:<br />

// synthesis attribute AttributeName [of] ObjectName [is] AttributeValue<br />

Verilog Meta Comments Examples<br />

// synthesis attribute RLOC of u123 is R11C1.S0<br />

// synthesis attribute HU_SET u1 MY_SET<br />

// synthesis attribute bufg of my_clock is "clk"<br />

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

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