05.07.2013 Views

Xilinx Synthesis Technology User Guide

Xilinx Synthesis Technology User Guide

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

XST Shell<br />

Command Line Mode<br />

To use the XST shell, perform the following steps.<br />

1. In the tcsh or other shell, enter xst. XST starts and prompts you<br />

with the following message:<br />

Release 5.1i - XST F.23<br />

Copyright (c) 1995-2002 <strong>Xilinx</strong>, Inc. All rights<br />

reserved.<br />

--><br />

2. Enter the following command at the - -> prompt to start<br />

synthesis:<br />

run -ifn watchver.v -ifmt Verilog -ofn<br />

watchver.ngc -ofmt NGC -p xcv50-bg256-6<br />

-opt_mode Speed -opt_level 1<br />

3. When the synthesis is complete and XST displays the - -> prompt.<br />

Enter quit to exit the XST shell.<br />

During this run, XST creates the watchver.ngc file. This is an NGC file<br />

ready for the implementation tools.<br />

Note All messages issued by XST are displayed on the screen only. If<br />

you want to save your messages in a separate log file, then the best<br />

way is to use script mode to launch XST.<br />

In the previous run, XST synthesized the module stopwatch, as the<br />

top level module of the design. XST automatically recognizes the<br />

hierarchy and detects the top level module. If you would like to<br />

synthesize just HEX2LED and check its performance independently<br />

of the other blocks, you can specify the top level module to synthesize<br />

in the command line, using the -top option (please refer to Table 8-3)<br />

run -ifn watchver.v -ifmt Verilog -ofn watchver.ngc<br />

-ofmt NGC -p xcv50-bg256-6 -opt_mode Speed<br />

-opt_level 1 -top HEX2LED<br />

XST <strong>User</strong> <strong>Guide</strong> 8-21

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

Saved successfully!

Ooh no, something went wrong!