You are on page 1of 11

EDK Overview

2004 Xilinx, Inc. All Rights Reserved

Embedded Design in an FPGA

Embedded design in an FPGA consists of the following:


FPGA hardware design C drivers for hardware Software design

RTOS versus Main + ISR

EDK Overview - 1 - 3

2004 Xilinx, Inc. All Rights Reserved

For Academic Use Only

PowerPC-based Embedded Design


RocketIO
DSOCM BRAM

Dedicated Hard IP

PowerPC 405 Core


Data

ISOCM BRAM

Flexible Soft IP
IBM CoreConnect on-chip bus standard PLB, OPB, and DCR

Instruction

DCR Bus OPB

Arbiter

PLB
Processor Local Bus

Arbiter

Bus On-Chip Peripheral Bus Bridge

Hi-Speed Peripheral

e.g. Memory Controller

GB E-Net

UART

GPIO

On-Chip Peripheral

Off-Chip Memory

ZBT SSRAM

DDR SDRAM

SDRAM

Full system customization to meet performance, functionality, and cost goals

EDK Overview - 1 - 4

2004 Xilinx, Inc. All Rights Reserved

For Academic Use Only

MicroBlaze-based Embedded Design


Local Memory Bus

BRAM

MicroBlaze
32-Bit RISC Core

I-Cache BRAM

Flexible Soft IP
Configurable Sizes Possible in Dedicated Hard IP PowerPC Virtex-II Pro 405 Core
Instruction Data

D-Cache BRAM

Arbiter

LocalLink FIFO Channels 0,1.32


Custom Functions Custom Functions

On-Chip Peripheral Bus

Bus Processor Local Bus Bridge


e.g. Memory Controller

PLB

Hi-Speed Peripheral

GB E-Net

UART

10/100 E-Net

On-Chip Peripheral

Off-Chip Memory
EDK Overview - 1 - 5

FLASH/SRAM

2004 Xilinx, Inc. All Rights Reserved

For Academic Use Only

Arbiter

OPB

Embedded Development
Tool Flow Overview
Standard Embedded SW Development Flow Standard FPGA HW Development Flow

C Code Compiler/Linker (Simulator) Object Code ?


CPU code in off-chip memory CPU code in on-chip memory

VHDL/Verilog Synthesizer Simulator

Place & Route


? Download to FPGA

Download to Board & FPGA

Debugger

EDK Overview - 1 - 6

2004 Xilinx, Inc. All Rights Reserved

For Academic Use Only

EDK

The Embedded Development Kit (EDK) consists of the following:


Xilinx Platform Studio XPS Base System Builder BSB Creating/Importing IP Wizard Hardware generation tool PlatGen Library generation tool LibGen Simulation generation tool SimGen GNU software development tools System verification tool XMD Processor IP Drivers for IP Documentation

Use the GUI or the shell command tool to run the EDK tool
2004 Xilinx, Inc. All Rights Reserved

EDK Overview - 1 - 7

For Academic Use Only

Xilinx Platform Studio


System Diagram View
Source Code Editor

System Details View

Integrated Hardware and Software System Development Tools


EDK Overview - 1 - 8
2004 Xilinx, Inc. All Rights Reserved

For Academic Use Only

XPS Functions

Project management

Platform management

MHS or MSS file XMP file

Software application management


Hardware Design

Tool flow settings Software platform settings Tool invocation Debug and simulation
HW/SW Simulation

XPS
Software Design
HW/SW Debug

EDK Overview - 1 - 9

2004 Xilinx, Inc. All Rights Reserved

For Academic Use Only

Hardware Design Example

We will build the following system from scratch (while no components are present in the system)
PLB Bus OPB Bus UART PLB2OPB PLB BRAM Cntlr PLB BRAM Cntlr PLB BRAM INTC Timer GPIO

PPC

PLB BRAM
GPIO

We will start with Project Add/Edit Cores (Dialog)

MY IP
GPIO

EDK Overview - 1 - 10

2004 Xilinx, Inc. All Rights Reserved

For Academic Use Only

Supported Platforms

Operating systems

Windows 2000 (SP2, SP3, SP4) Windows XP SP1 Solaris 2.8/5.8, 2.9/5.9 Linux Red Hat Enterprise 3.0 Spartan-II (MicroBlaze) Spartan-IIE (MicroBlaze) Spartan III (MicroBlaze) Virtex and Virtex E (MicroBlaze) Virtex-II (MicroBlaze) Virtex-II Pro (MicroBlaze and PowerPC) Virtex-4 (MicroBlaze and PowerPC)
2004 Xilinx, Inc. All Rights Reserved

FPGA families

EDK Overview - 1 - 11

For Academic Use Only

BSB Supported Platforms

Some of the Hardware boards


Avnet Virtex-II Pro Development Board Avnet Spartan -III Evaluation Board Memec design Spartan -IIE Development Boards Memec design Virtex-II MicroBlaze Development Board Memec design Virtex-II Pro Development Boards Xilinx Spartan -III Starter Board Xilinx ML300 board Xilinx ML310 board Xilinx XUP Virtex-II Pro Development System Xilinx ML401, 403, 405 Virtex-4 boards

Others available from the Board Vendor


2004 Xilinx, Inc. All Rights Reserved

EDK Overview - 1 - 12

For Academic Use Only