Introduction to EDK

Download Report

Transcript Introduction to EDK

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
•
EDK Overview - 1 - 3
RTOS versus Main + ISR
© 2004 Xilinx, Inc. All Rights Reserved
For Academic Use Only
PowerPC-based Embedded Design
RocketIO
DSOCM
BRAM
Dedicated Hard IP
PowerPC
405 Core
Off-Chip
Memory
EDK Overview - 1 - 4
OPB
Processor Local Bus
Hi-Speed
Peripheral
e.g.
Memory
Controller
ZBT SSRAM
DCR Bus
Data
PLB
Flexible Soft IP
GB
E-Net
DDR SDRAM
IBM CoreConnect™
on-chip bus standard
PLB, OPB, and DCR
Bus
On-Chip Peripheral Bus
Bridge
UART
SDRAM
© 2004 Xilinx, Inc. All Rights Reserved
GPIO
Arbiter
Arbiter
Instruction
ISOCM
BRAM
On-Chip
Peripheral
Full system customization to meet
performance, functionality, and
cost goals
For Academic Use Only
MicroBlaze-based Embedded Design
Local Memory
MicroBlaze
Bus
32-Bit RISC Core
LocalLink™
FIFO Channels
0,1…….32
Custom
Functions
Arbiter
D-Cache
BRAM
Instruction
Bus
Processor Local Bus
Bridge
Hi-Speed
Peripheral
10/100
E-Net
Data
PLB
On-Chip Peripheral Bus
UART
EDK Overview - 1 - 5
Configurable
Sizes
Possible in Dedicated Hard IP
PowerPC
Virtex-II Pro
405 Core
OPB
Custom
Functions
Off-Chip
Memory
Flexible Soft IP
e.g.
Memory
Controller
GB
E-Net
On-Chip
Peripheral
FLASH/SRAM
© 2004 Xilinx, Inc. All Rights Reserved
For Academic Use Only
Arbiter
BRAM
I-Cache
BRAM
Embedded Development
Tool Flow Overview
Standard Embedded SW
Development Flow
Standard FPGA HW
Development Flow
C Code
VHDL/Verilog
Compiler/Linker
Synthesizer
(Simulator)
Simulator
Object Code
Place & Route
?
?
CPU code in
off-chip
memory
CPU code in
on-chip
memory
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
EDK Overview - 1 - 7
© 2004 Xilinx, Inc. All Rights Reserved
For Academic Use Only
Xilinx Platform Studio
System
Details
View
System
Diagram
View
Source
Code
Editor
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
–
–
•
•
MHS or MSS file
XMP file
Platform management
–
–
Software application
management
–
–
Tool flow settings
Software platform settings
Tool invocation
Debug and simulation
HW/SW
Simulation
Hardware
Design
XPS
HW/SW
Debug
Software
Design
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)
OPB
Bus
PLB
Bus
PPC
UART
INTC
PLB2OPB
PLB BRAM
Cntlr
PLB BRAM
Cntlr
PLB BRAM
Timer
GPIO
PLB BRAM
GPIO
•
We will start with
Project  Add/Edit Cores … (Dialog)
EDK Overview - 1 - 10
© 2004 Xilinx, Inc. All Rights Reserved
MY IP
GPIO
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
FPGA families
–
–
–
–
–
–
–
EDK Overview - 1 - 11
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
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
EDK Overview - 1 - 12
© 2004 Xilinx, Inc. All Rights Reserved
For Academic Use Only