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.

♦ smallcntr.vhd<br />

Command Line Mode<br />

♦ hex2led.vhd<br />

3. Copy and paste the contents of the files into a single file called<br />

'watchvhd.vhd'. Make sure the contents of 'stopwatch.vhd'<br />

appear last in the file.<br />

4. To synthesize this design for Speed with optimization effort 1<br />

(Low), execute the following command:<br />

run -ifn watchvhd.vhd -ifmt VHDL -ofn watchvhd.ngc<br />

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

-opt_level 1<br />

Please note that all options in this command except the<br />

-opt_mode and -opt_level ones are mandatory. Default values for<br />

all other options are used.<br />

This command can be launched in two ways:<br />

• Directly from an XST shell<br />

• Script mode<br />

XST Shell<br />

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

1. In the tcsh or other shell, type "xst". XST will start and prompt<br />

you 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 watchvhd.vhd -ifmt VHDL -ofn watchvhd.ngc<br />

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

-opt_level 1<br />

3. When the synthesis is complete, XST shows the prompt -->, you<br />

can type quit to exit the XST shell.<br />

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

file ready for the implementation tools.<br />

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

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

Saved successfully!

Ooh no, something went wrong!