02.11.2014 Views

User Manual

User Manual

User Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

INTRODUCTION TO THE SOFTWARE TOOLS<br />

1.3 Compiling the Reference Design<br />

This section deals with the source code to the Reference Design, which can be found<br />

on the CD-ROM. All file references are with respect to the root directory of the<br />

Reference Design source code (/source/FPGA). Files that are specific to the<br />

DN6000K10PCI design are found in the DN6000K10PCI subdirectory, whereas<br />

general application code is found in the common subdirectory.<br />

1.3.1 The Xilinx Embedded Development Kit (EDK)<br />

The Reference Design uses the Xilinx EDK to instantiate an embedded PowerPC<br />

Processor. The EDK project can be found at ‘DN6000K10/PPC/system.xmp’ and<br />

can be opened and modified with the Xilinx Embedded Development Kit software.<br />

1.3.2 Synplicity Synplify<br />

The Dini Group uses Synplicity’s Synplify software to for design synthesis. The<br />

Synp licity projects for each of the 6 FPGA’s on the DN6000K10PCI can be found at<br />

‘DN6000K10/synthesis/*.prj’. These projects have been compiled using Synplify Pro<br />

version 7.3.<br />

1.3.3 Xilinx ISE<br />

A sample Project Navigator project is located at ‘DN6000K10/implement/fpga.npl’.<br />

For information on using Xilinx ISE, see the section Foundation ISE 6.1i in Chapter 3.<br />

1.3.4 The Build Utility: Make.bat<br />

The Build Utility is found at ‘DN6000K10/build/make.bat’. This batch file is used to<br />

set system parameters to the desired configuration (i.e. VP70 vs. VP100, DDR2 stuffed<br />

or not stuffed, etc.), and to invoke all of the above tools from the command line.<br />

Instructions for invoking the batch file can be found by viewing the batch file with a<br />

text editor. Additional information about using the batch file to build the reference<br />

design is found below. Taking the reference design through all of the various tools for<br />

several FPGA’s can be very tedious and time consuming- this batch file can do it all in<br />

one command!<br />

The command line utility “Make.bat” is an MS-DOS batch file compatible with<br />

Windows 2000 and later operating systems. Make.bat should be run from the<br />

command l ine, with command line parameters. It should not be double clicked from<br />

the windows environment. A command prompt shortcut is provided in the same<br />

directory as Make.bat, and can be double clicked to open a command prompt window<br />

with the proper working directory.<br />

Four main steps are involved in building the reference design. First the PowerPC<br />

netlist must be built using the EDK. The first time this is done it must be done from<br />

the EDK GUI, not from the command line. Open the EDK project (in<br />

PPC/system.xmp), and select Tools->make netlist. Once this has been done once, the<br />

Make.bat script can be used to build the netlist with the command Make ppc_netlist.<br />

The second step is to synthesize the design with Synplicity’s Synplify Pro. The third<br />

DN6000K10PCI <strong>User</strong> Guide www.dinigroup.com 38

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

Saved successfully!

Ooh no, something went wrong!