Académique Documents
Professionnel Documents
Culture Documents
Agenda
Why Embedded Design The Advantages of FPGA Embedded Design FPGA-Specific Embedded Design Tools and
Methodology Xilinx Embedded Processing Design Solutions How To Accelerate Performance Beyond The Core Summary
System Requirements
2@ UART TIMER I2C SPI GPIO FLASH DDR SDRAM
Must decide between inventory impact of multiple configurations or device cost of comprehensive IP
Xilinx Fast and Flexible Embedded Processing 3 EDN Asia - Embedded Systems & Software Seminar
Changing Requirements
2
Microcontroller
FLASH FLASH DDR DDR GPIO GPIO I2C I2C UART UART UART UART SPI SPI Timer Timer
Changing processor cores to accommodate new requirements consumes valuable design resources
Xilinx Fast and Flexible Embedded Processing 4 EDN Asia - Embedded Systems & Software Seminar
Microcontroller Variant #1 - High Volume Automotive Microcontroller Variant #2 - Moderate Volume Consumer Microcontroller Variant #3 - Lower Volume Niche
GPIO RAM FLASH GPIO RAM FLASH GPIO RAM GPIO RAM GPIO GPIO
SPI UART I2C SPI UART I2C Timer SPI UART Timer SPI UART Timer SPI Timer SPI Timer Timer
The sheer number of C configurations can lead to obsolescence of lower volume configurations/variants
Xilinx Fast and Flexible Embedded Processing 5 EDN Asia - Embedded Systems & Software Seminar
Chipset Solutions
4
An external, pre-defined interface between a P and its support device limits overall system performance
Xilinx Fast and Flexible Embedded Processing 6 EDN Asia - Embedded Systems & Software Seminar
Agenda
Why Embedded Design The Advantages of FPGA Embedded Design FPGA-Specific Embedded Design Tools and
Methodology Xilinx Embedded Processing Design Solutions How To Accelerate Performance Beyond The Core Summary
Mix of Peripherals and System Infrastructure 2 New System Requirements can be Supported without Changing the Processor Core 3 Longevity of FPGAs Approaches the Longest Available Microcontrollers in the Market 4 FPGAs are Used to Augment P Functionality Absorbing the Core is the Next Natural Step
Xilinx Fast and Flexible Embedded Processing 8 EDN Asia - Embedded Systems & Software Seminar
Design dependent peripherals Each board is unique and custom Need efficient custom BSP creation
Enables optimum system partitioning between HW and SW Customers Embed it their way or Build your own MCU
Performing SW tasks in HW is Expensive Performing HW tasks in SW is Slow
Agenda
Why Embedded Design The Advantages of FPGA Embedded Design FPGA-Specific Embedded Design Tools and
Methodology Xilinx Embedded Processing Design Solutions How To Accelerate Performance Beyond The Core Summary
11
Necessary Tools
A Full Complement of Tools are Required to
Design an Embedded Processor System
Processor System Generation Hardware Implementation & Software Compilation Hardware & Software Debug
System Generation
clock interrupts reset
Tools are needed to create the system infrastructure, connect peripherals and configure the peripherals as desired
Core Core
Arbiter Arbiter
Bridge Bridge
Arbiter Arbiter
FLASH FLASH
?
SRAM SRAM
Timer Timer
UART UART
Once the system is defined, the hardware can be implemented and software compiled
13
Hardware Implementation
Source Code Synthesis Synthesis
VHDL or Verilog
System Netlist
Constraints
Merged & Mapped Design Memory Map for Internal Code Storage
Configuration File
Configuration File
14
Software Compilation
C Code
Compiler Compiler
Source Code
Assembly Code
Assembler Assembler
Source Code
Machine Code
Linker Linker
Machine Code
15
HW & SW Debug
JTAG Port Debug Port clock interrupts reset Integrated Integrated Bus Analyzer Bus Analyzer
Internal & external logic analysis is used to determine where problems reside
Core Core
Arbiter Arbiter
Bridge Bridge
Arbiter Arbiter
SW debug typically consists of JTAG based runtime control of the target processor core
FLASH FLASH
SRAM SRAM
Timer Timer
UART UART
External Connection
16
Code Entry Include the BSP C/C++ Cross Compiler and Compile the Software Image Linker
HDL Entry System Netlist Instantiate the Simulation/Synthesis System Netlist and Implement Implementation the FPGA
?
Load Software Into FLASH Debugger
Compiled ELF
Compiled BIT
18
Agenda
Why Embedded Design The Advantages of FPGA Embedded Design FPGA-Specific Embedded Design Tools and
Methodology Xilinx Embedded Processing Design Solutions How To Accelerate Performance Beyond The Core Summary
19
Robust selection of standard peripherals (IP) Complete Development and Debug environment for integrated HW and SW flows
Award Winning Platform StudioTM
Rich ecosystem of partner support Xilinx FPGA is a platform for Custom Processing
Xilinx Fast and Flexible Embedded Processing 20 EDN Asia - Embedded Systems & Software Seminar
Features
Highest Performance 32-bit General Purpose Architecture With Acceleration Only Dual PowerPC Core Architecture 700+ DMIPS 32-bit General Purpose Architecture Soft Core with Acceleration 166 DMIPS Lowest Cost 8-bit Architecture Soft Core 100 MIPS
Performance
Plus: Broad Range of Common Peripherals and IP
Xilinx Fast and Flexible Embedded Processing 21 EDN Asia - Embedded Systems & Software Seminar
State Machine
Microcontroller
Custom Embedded Highest Integration, Extensive Peripherals, RTOS & Bus Structures Networking & Wireless High Performance
Lowest Cost, No Peripherals, No RTOS & No Bus Structures Vast range of applications (Programmable
State Machine)
Low/High Performance
Medium Cost, Some Peripherals, Possible RTOS & Bus Structures Control & Instrumentation Moderate Performance Range of Use Models
22
ISOCM ISOCM
Instruction
Data
PLB Arbiter
PLB/OPB Bridge
OPB Arbiter
GE MAC GE MAC
GPIO GPIO
UART UART
Memory Memory
Embedded System
Instruction-Side Local Memory Bus
FSL
OPB Arbiter
UART UART
GPIO GPIO
FPGA Fabric
General Purpose
CORE Generator CORE Generator
Building Blocks Building Blocks Memory Generators Memory Generators IOB Configurations IOB Configurations Arithmetic and Shifters Arithmetic and Shifters Registers Registers Buffers Buffers Many More Many More
Serial
1 GE MAC+PHY 1 GE MAC+PHY XAUI XAUI PCI Express PCI Express Aurora Aurora Many more Many more
Peripherals Infrastructure
Processor
Interrupt Controller CoreConnect Bus UARTs Arbiter ATM Utopia L2 Bridge Timer Memory controllers GPIO Soft processors SPI Software IP 10/100/1000 Many more EMAC
Math
Multipliers MAC Divider Filters CORDIC Many more
25
Developers spend most of their project development time doing TEST & DEBUG
ChipScope Pro
Platform Studio
EDN Asia - Embedded Systems & Software Seminar
RTOS
Middleware
IDE/Debug Tools
ESL Tools
Co-Verification
27
Agenda
Why Embedded Design The Advantages of FPGA Embedded Design FPGA-Specific Embedded Design Tools and
Methodology Xilinx Embedded Processing Design Solutions How To Accelerate Performance Beyond The Core Summary
28
300 MHz
APU or FSL
CPU
C C
FPGA FPGA
HW Accele rator
Brute Force
Xilinx Fast and Flexible Embedded Processing 29
Intelligent
EDN Asia - Embedded Systems & Software Seminar
C
Bus Interface
MicroBlaze
PowerPC
Xilinx Solutions
FSL
Co-Processor / Peripheral
APU
Co-Processor / Peripheral
Spartan-3
Virtex-4 FX
Reduce number of bus cycles by factor of 10X Increase performance by over 20X
31
11 x 34 x 20 x
32
Agenda
Why Embedded Design The Advantages of FPGA Embedded Design FPGA-Specific Embedded Design Tools and
Methodology Xilinx Embedded Processing Design Solutions How To Accelerate Performance Beyond The Core Summary
33
34
35