Return to previous page Advance to next page

Verilog Meta Comments

XST supports meta comments in Verilog. Meta comments are comments that are understood by the Verilog parser.

Meta comments can be used as follows:

Meta comments can be written using the C-style (/* ... */) or the Verilog style (// ...) for comments. C-style comments can be multiple line. Verilog style comments end at the end of the line.

XST supports the following:

// synthesis translate_on
// synthesis translate_off
// synthesis parallel_case full_case
// synthesis parallel_case
// synthesis full_case
// synthesis attribute AttributeName [of] ObjectName [is] AttributeValue

Examples:

// synthesis attribute RLOC of u123 is R11C1.S0
// synthesis attribute HUSET u1 MY_SET
// synthesis attribute fsm_extract of State2 is "yes"
// synthesis attribute fsm_encoding of State2 is "gray"

For a full list of constraints, refer to Chapter 5, "Design Constraints."

Return to previous page Advance to next page

www.xilinx.com