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 <strong>User</strong> <strong>Guide</strong><br />

• hex2led.v<br />

This design contains seven modules:<br />

• stopwatch<br />

• statmach<br />

• tenths (a CORE Generator core)<br />

• decode<br />

• cnt60<br />

• smallcntr<br />

• HEX2LED<br />

Case 1: All Design Blocks in a Single File<br />

All design blocks will be located in a single Verilog file.<br />

1. Create a new directory called vlg_s.<br />

2. Copy the following files from the ISEexamples\watchver<br />

directory of the ISE installation directory to the newly created<br />

vlg_s directory.<br />

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

'watchver.ver'. Make sure the contents of 'stopwatch.v' appear<br />

last in the file.<br />

To synthesize this design for Speed with optimization effort 1 (Low),<br />

execute the following command:<br />

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

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

-opt_level 1<br />

Note All options in this command except -opt_mode and -opt_level<br />

are mandatory. Default values are used for all other options.<br />

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

• Directly from the XST shell<br />

• Script mode<br />

8-20 <strong>Xilinx</strong> Development System

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

Saved successfully!

Ooh no, something went wrong!