05.07.2013 Views

Xilinx Synthesis Technology User Guide

Xilinx Synthesis Technology User Guide

Xilinx Synthesis Technology User 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.

Verilog Meta Comments<br />

Verilog Language Support<br />

XST supports meta comments in Verilog. Meta comments are<br />

comments that are understood by the Verilog parser.<br />

Meta comments can be used as follows:<br />

• Set constraints on individual objects (for example, module,<br />

instance, net)<br />

• Set directives on synthesis<br />

♦ parallel_case and full_case directives<br />

♦ translate_on translate_off directives<br />

♦ all tool specific directives (for example, syn_sharing), refer to<br />

the “Design Constraints” chapter for details.<br />

Meta comments can be written using the C-style (/* ... */) or the<br />

Verilog style (// ...) for comments. C-style comments can be multiple<br />

line. Verilog style comments end at the end of the line.<br />

XST supports the following:<br />

• Both C-style and Verilog style meta comments<br />

• translate_on translate_off directives<br />

// synthesis translate_on<br />

// synthesis translate_off<br />

• parallel_case, full_case directives<br />

// synthesis parallel_case full_case<br />

// synthesis parallel_case<br />

// synthesis full_case<br />

• Constraints on individual objects<br />

The general syntax is:<br />

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

[is] AttributeValue<br />

XST <strong>User</strong> <strong>Guide</strong> 7-35

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

Saved successfully!

Ooh no, something went wrong!