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.

XST <strong>User</strong> <strong>Guide</strong><br />

Verilog Limitations in XST<br />

This section describes Verilog limitations in XST support for case<br />

sensitivity, and blocking and nonblocking assignments.<br />

Case Sensitivity<br />

XST supports case sensitivity as follows:<br />

• Designs can use case equivalent names for I/O ports, nets, regs<br />

and memories.<br />

• Equivalent names are renamed using a postfix ("rnm").<br />

• A rename construct is generated in the NGC file.<br />

• Designs can use Verilog identifiers that differ only in case. XST<br />

will rename them using a postfix as with equivalent names.<br />

Following is an example.<br />

module upperlower4 (input1, INPUT1, output1,<br />

output2);<br />

input input1;<br />

input INPUT1;<br />

For the above example, INPUT1 will be renamed to<br />

INPUT1_rnm0.<br />

The following restrictions apply for Verilog within XST:<br />

• Designs using equivalent names (named blocks, tasks, and<br />

functions) are rejected.<br />

Example:<br />

...<br />

always @(clk)<br />

begin: fir_main5<br />

reg [4:0] fir_main5_w1;<br />

reg [4:0] fir_main5_W1;<br />

This code generates the following error message:<br />

ERROR:Xst:863 - "design.v", line 6: Name<br />

conflict ( and<br />

)<br />

7-32 <strong>Xilinx</strong> Development System

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

Saved successfully!

Ooh no, something went wrong!