Académique Documents
Professionnel Documents
Culture Documents
Welcome
If you are new to Embedded design with Xilinx FPGAs, this module will
explain why you may want to use the MicroBlaze soft processor core in
any of our FPGA families
Understanding the basics of MicroBlaze is important if you are going to
take full advantage of its features
The Embedded Developers Kit software (EDK) is designed to make
building a fast embedded design easy
2009
2007 Xilinx, Inc. All Rights Reserved
2009
2007 Xilinx, Inc. All Rights Reserved
Lessons
Hardware Overview
MicroBlaze
Base System Builder
Summary
2009
2007 Xilinx, Inc. All Rights Reserved
Performance
Integration
Flexibility
Features
46
PLB
32-bit
32-bitRISC
RISC
Processor
Processor
Soft
SoftCore
Core
2000
ded
d
e
mb
elop
v
e
D
Kit
t
n
me
PowerPC
PowerPC405
405
Hard
HardCore
Core
ininVirtex-4
Virtex-4FX
FX
FPGA
FPGA
PowerPC
PowerPC405
405
Hard
HardCore
Core
ininVirtex-II
Virtex-II
PRO
PROFPGA
FPGA
2002
PowerPC
PowerPC440
440
Embedded
EmbeddedBlock
Blockwith
with
Integrated
Integrated
Interconnect
Interconnect
IP
2004
2009
2007 Xilinx, Inc. All Rights Reserved
2006
2008
Supported FPGAs
FPGA families
Spartan-3/3A/3AN/3A DSP/3E FPGA (MicroBlaze processor)
Spartan-6 (MicroBlaze Processor)
Virtex-4 FX (MicroBlaze and PowerPC 405 processors) and LX/SX FPGA
(MicroBlaze processor)
Virtex-5 FXT (MicroBlaze and PowerPC 440 processor) LX/LXT FPGA
(MicroBlaze)
Virtex-6 (MicroBlaze processor)
2009
2007 Xilinx, Inc. All Rights Reserved
2009
2007 Xilinx, Inc. All Rights Reserved
Block
RAM
Local Memory
MicroBlaze
Bus
Fast Simplex
Link
0,1.15
I-Cache
Block
RAM
D-Cache
Block
RAM
Dedicated Hard IP
Off-Chip
DDR2
Possible in
Virtex-5 FPGA FXT
PowerPC
440 Core
405
SPLB
PLB v46
MPLB
PLB v46
Custom
Functions
Custom
Functions
Hi-Speed
Peripheral
UART
Memory
Controller
CacheLink
FLASH/SRAM/ Off-Chip
DDR2
Memory
FPGA and ASIC Technology
Comparison - 8
2009
2007 Xilinx, Inc. All Rights Reserved
EMAC
IP Peripherals
2009
2007 Xilinx, Inc. All Rights Reserved
Lessons
Hardware Overview
MicroBlaze
Base System Builder
Summary
2009
2007 Xilinx, Inc. All Rights Reserved
2009
2007 Xilinx, Inc. All Rights Reserved
Buses
2009
2007 Xilinx, Inc. All Rights Reserved
Program counter
Instruction decode
Instruction cache
Direct mapped
Configurable caching with CacheLink
Configurable size: 2 kB, 4 kB, 8 kB, 16 kB, 32 kB, 64 kB
FPGA and ASIC Technology
Comparison - 13
2009
2007 Xilinx, Inc. All Rights Reserved
2009
2007 Xilinx, Inc. All Rights Reserved
Processing improvements
New float-integer conversion and float-square root instructions
Speeds up
FP > Int conversion
Int > FP conversion
FP square root
FPGA and ASIC Technology
Comparison - 15
2009
2007 Xilinx, Inc. All Rights Reserved
Buses 101
Bus masters have the ability to initiate a bus transaction
Bus slaves can only respond to a request
Bus arbitration is a three-step process
A device requesting to become a bus master asserts a bus request signal
The arbiter continuously monitors the request and outputs an individual grant
signal to each master according to the masters priority scheme and the state of
the other master requests at that time
The requesting master samples its grant line until granted access. When the
current bus master releases the bus, the master then drives the address and
control lines to initiate a data transaction to a slave bus agent.
Arbitration mechanisms
Fixed priority, round-robin, or hybrid
FPGA and ASIC Technology
Comparison - 16
2009
2007 Xilinx, Inc. All Rights Reserved
Instruction CacheLink
IPLB Bus
IIC
ILMB Bus
UART
IXCL
ILMB
IPLB
MicroBlaze
BRAM
DLMB
Ext Mem
Controller
GPIO
Ext Mem
Ethernet
DPLB
DXCL
DLMB Bus
Data CacheLink
LCD
DPLB Bus
BRAM
INTC
PLBv46
ARB
2009
2007 Xilinx, Inc. All Rights Reserved
2009
2007 Xilinx, Inc. All Rights Reserved
LMB Timing
Rules for generating an LMB clock
The MB, LMB, PLBv46 clock must be the same clock
Use a timing period constraint on the processor clock line to insure place and
route timing closure
This is done for you in Base System Builder
If the period constraint is placed on an external FPGA clock pin it will be pushed
through any DCMs and global buffers that drive the MicroBlaze processor clock
line
2009
2007 Xilinx, Inc. All Rights Reserved
Bus Summary
CoreConnect Buses
Other Buses
PLB v46
DCR
OCM
LMB
PPC440, MicroBlaze
PPC405
PPC405
MicroBlaze
32
32
32
32
10
32
32
100
125
375
125
Masters (max/typical)
16/2-8
1/1
1/1
1/1
Slaves (max/typical)
8/2-8
1/1
1/1
1/1
1600 MB/s
500 MB/s
500 MB/s
500 MB/s
533 MB/s4
100 MB/s5
333 MB/s6,7
333 MB/s
Concurrent read/write
Yes
No
No
No
Address pipelining
Yes
No
No
No
Bus locking
Yes
No
No
No
Retry
Yes
No
No
No
Timeout
Yes
No
No
No
Fixed/Variable Burst
Yes
No
No
No
Cache Fill
Yes
No
No
No
Yes
No
No
No
High
Low
Low
Low
Feature
Processor family
Data bus width
2009
2007 Xilinx, Inc. All Rights Reserved
BRAM
Local Memory
MicroBlaze
Bus
Fast Simplex
Link
0,1.15
I-Cache
BRAM
D-Cache
BRAM
Dedicated Hard IP
Off-Chip
DDR2
PowerPC
PowerPC
440
405 Core
Core
Possible in
Virtex-5 FXT
SPLB
PLB v46
MPLB
PLB v46
Custom
Functions
Custom
Functions
UART
FSL Channels
FPGA and ASIC Technology
Comparison - 21
Memory
Controller
Hi-Speed
Peripheral
CacheLink
FLASH/SRAM/ Off-Chip
DDR2
Memory
2009
2007 Xilinx, Inc. All Rights Reserved
EMAC
FSL_S_Clk
FSL_S_Data [0:31]
FSL_M_Data [0:31]
FSL_M_Control
FIFO
FSL_M_Write
FSL_M_Full
FPGA and ASIC Technology
Comparison - 22
32-bit data
FSL_M_Clk
FSL_S_Control
FSL_S_Read
FSL_S_Exists
FIFO Depth
2009
2007 Xilinx, Inc. All Rights Reserved
FSL Advantages
Simple, fast, and easy to use
Clock speed is not slowed down by new hardware
FSL is faster than a bus interface
Saves clock cycles
2009
2007 Xilinx, Inc. All Rights Reserved
Lessons
Hardware Overview
PPC 440
Base System Builder
Summary
2009
2007 Xilinx, Inc. All Rights Reserved
Xilinx
Avnet
NuHorizons
Digilent
2009
2007 Xilinx, Inc. All Rights Reserved
Selecting a Board
Xilinx and its distribution
partners sell demo boards
with a wide range of added
components
This dialog box allows you
to quickly learn more about
all available demo boards
It also allows you to install
the necessary BSB files if
you want to target a demo
from another vendor
Note that you can also
create your own BSB file for
a custom board
FPGA and ASIC Technology
Comparison - 28
2009
2007 Xilinx, Inc. All Rights Reserved
Selecting a Processor
2009
2007 Xilinx, Inc. All Rights Reserved
2009
2007 Xilinx, Inc. All Rights Reserved
2009
2007 Xilinx, Inc. All Rights Reserved
Basic
MicroBlaze
processor
system
FPGA and ASIC Technology
Comparison - 32
2009
2007 Xilinx, Inc. All Rights Reserved
Lessons
Hardware Overview
MicroBlaze
Base System Builder
Summary
2009
2007 Xilinx, Inc. All Rights Reserved
Summary
The MicroBlaze processor balances execution performance against implementation
size
The MicroBlaze processor v7 supports the PLB v46 bus standard
Being a soft core processor, many features are implemented on demand
The MicroBlaze processor supports two buses
LMB for block RAM only
PLB v46 for bus peripheral components; same as the PowerPC 440 processor
Typically the ILMB and DLMB buses share the same block RAM via the dual ports
Support of up to 16 channels FSL
Simplex; up to 16 in and 16 out
FIFO interface on fabric side
2009
2007 Xilinx, Inc. All Rights Reserved
For all docs, select Help EDK Online Documentation from the EDK tools
2009
2007 Xilinx, Inc. All Rights Reserved
2009
2007 Xilinx, Inc. All Rights Reserved
Whats Next?
2009
2007 Xilinx, Inc. All Rights Reserved
Trademark Information
Xilinx is disclosing this Document and Intellectual Propery (hereinafter the Design) to you for use in the development of designs to operate on, or interface
with Xilinx FPGAs. Except as stated herein, none of the Design may be copied, reproduced, distributed, republished, downloaded, displayed, posted, or
transmitted in any form or by any means including, but not limited to, electronic, mechanical, photocopying, recording, or otherwise, without the prior written
consent of Xilinx. Any unauthorized use of the Design may violate copyright laws, trademark laws, the laws of privacy and publicity, and communications
regulations and statutes.
Xilinx does not assume any liability arising out of the application or use of the Design; nor does Xilinx convey any license under its patents, copyrights, or any
rights of others. You are responsible for obtaining any rights you may require for your use or implementation of the Design. Xilinx reserves the right to make
changes, at any time, to the Design as deemed desirable in the sole discretion of Xilinx. Xilinx assumes no obligation to correct any errors contained herein or
to advise you of any correction if such be made. Xilinx will not assume any liability for the accuracy or correctness of any engineering or technical support or
assistance provided to you in connection with the Design.
THE DESIGN IS PROVIDED AS IS" WITH ALL FAULTS, AND THE ENTIRE RISK AS TO ITS FUNCTION AND IMPLEMENTATION IS WITH YOU.
YOU ACKNOWLEDGE AND AGREE THAT YOU HAVE NOT RELIED ON ANY ORAL OR WRITTEN INFORMATION OR ADVICE, WHETHER
GIVEN BY XILINX, OR ITS AGENTS OR EMPLOYEES. XILINX MAKES NO OTHER WARRANTIES, WHETHER EXPRESS, IMPLIED, OR
STATUTORY, REGARDING THE DESIGN, INCLUDING ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
TITLE, AND NONINFRINGEMENT OF THIRD-PARTY RIGHTS.
IN NO EVENT WILL XILINX BE LIABLE FOR ANY CONSEQUENTIAL, INDIRECT, EXEMPLARY, SPECIAL, OR INCIDENTAL DAMAGES,
INCLUDING ANY LOST DATA AND LOST PROFITS, ARISING FROM OR RELATING TO YOUR USE OF THE DESIGN, EVEN IF YOU HAVE BEEN
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THE TOTAL CUMULATIVE LIABILITY OF XILINX IN CONNECTION WITH YOUR USE
OF THE DESIGN, WHETHER IN CONTRACT OR TORT OR OTHERWISE, WILL IN NO EVENT EXCEED THE AMOUNT OF FEES PAID BY YOU
TO XILINX HEREUNDER FOR USE OF THE DESIGN. YOU ACKNOWLEDGE THAT THE FEES, IF ANY, REFLECT THE ALLOCATION OF RISK
SET FORTH IN THIS AGREEMENT AND THAT XILINX WOULD NOT MAKE AVAILABLE THE DESIGN TO YOU WITHOUT THESE LIMITATIONS
OF LIABILITY.
The Design is not designed or intended for use in the development of on-line control equipment in hazardous environments requiring fail-safe controls, such
as in the operation of nuclear facilities, aircraft navigation or communications systems, air traffic control, life support, or weapons systems (High-Risk
Applications). Xilinx specifically disclaims any express or implied warranties of fitness for such High-Risk Applications. You represent that use of the Design
in such High-Risk Applications is fully at your risk.
2009 Xilinx, Inc. All rights reserved. XILINX, the Xilinx logo, and other designated brands included herein are trademarks of Xilinx, Inc.
All other trademarks are the property of their respective owners.
FPGA and ASIC Technology
Comparison - 39
2009
2007 Xilinx, Inc. All Rights Reserved