PicoBlaze & MicroBlaze

Slides:



Advertisements
Similar presentations
Numbers Treasure Hunt Following each question, click on the answer. If correct, the next page will load with a graphic first – these can be used to check.
Advertisements

P.Rajasekar & C.M.T.Karthigeyan Asst.Professor SRM University, Kattankulathur 8/22/2011 School of Computing, Department of IT 1.
AP STUDY SESSION 2.
1
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 4 Computing Platforms.
Processes and Operating Systems
Copyright © 2013 Elsevier Inc. All rights reserved.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 1 Embedded Computing.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 3 CPUs.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
Objectives: Generate and describe sequences. Vocabulary:
UNITED NATIONS Shipment Details Report – January 2006.
1 RA I Sub-Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Casablanca, Morocco, 20 – 22 December 2005 Status of observing programmes in RA I.
Properties of Real Numbers CommutativeAssociativeDistributive Identity + × Inverse + ×
Custom Statutory Programs Chapter 3. Customary Statutory Programs and Titles 3-2 Objectives Add Local Statutory Programs Create Customer Application For.
CALENDAR.
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Chapter 5 Input/Output 5.1 Principles of I/O hardware
Around the World AdditionSubtraction MultiplicationDivision AdditionSubtraction MultiplicationDivision.
Rhesy S.ppt proRheo GmbH
1 Click here to End Presentation Software: Installation and Updates Internet Download CD release NACIS Updates.
REVIEW: Arthropod ID. 1. Name the subphylum. 2. Name the subphylum. 3. Name the order.
Break Time Remaining 10:00.
Figure 12–1 Basic computer block diagram.
Microprocessor Architecture Pipelined Architecture
Table 12.1: Cash Flows to a Cash and Carry Trading Strategy.
Advance Nano Device Lab. Fundamentals of Modern VLSI Devices 2 nd Edition Yuan Taur and Tak H.Ning 0 Ch9. Memory Devices.
PP Test Review Sections 6-1 to 6-6
Bright Futures Guidelines Priorities and Screening Tables
Discrete Mathematical Structures: Theory and Applications
Chapter 3 Logic Gates.
CS 6143 COMPUTER ARCHITECTURE II SPRING 2014 ACM Principles and Practice of Parallel Programming, PPoPP, 2006 Panel Presentations Parallel Processing is.
Operating Systems Operating Systems - Winter 2010 Chapter 3 – Input/Output Vrije Universiteit Amsterdam.
Exarte Bezoek aan de Mediacampus Bachelor in de grafische en digitale media April 2014.
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
© 2012 National Heart Foundation of Australia. Slide 2.
Adding Up In Chunks.
MaK_Full ahead loaded 1 Alarm Page Directory (F11)
Block Diagram of Intel 8086 Engr.M.Zakir Shaikh
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Synthetic.
Model and Relationships 6 M 1 M M M M M M M M M M M M M M M M
Subtraction: Adding UP
Datorteknik TopologicalSort bild 1 To verify the structure Easy to hook together combinationals and flip-flops Harder to make it do what you want.
Gursharan Singh Tatla PIN DIAGRAM OF 8086 Gursharan Singh Tatla Gursharan Singh Tatla
1 hi at no doifpi me be go we of at be do go hi if me no of pi we Inorder Traversal Inorder traversal. n Visit the left subtree. n Visit the node. n Visit.
Analyzing Genes and Genomes
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Essential Cell Biology
Clock will move after 1 minute
Intracellular Compartments and Transport
PSSA Preparation.
Essential Cell Biology
Datorteknik TopologicalSort bild 1 To verify the structure Easy to hook together combinationals and flip-flops Harder to make it do what you want.
Immunobiology: The Immune System in Health & Disease Sixth Edition
Physics for Scientists & Engineers, 3rd Edition
Energy Generation in Mitochondria and Chlorplasts
Select a time to count down from the clock above
Murach’s OS/390 and z/OS JCLChapter 16, Slide 1 © 2002, Mike Murach & Associates, Inc.
Creating and Adding Custom IP
Princess Sumaya University
Configurable System-on-Chip: Xilinx EDK
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Presentation transcript:

PicoBlaze & MicroBlaze Ernest Jamro Dep. Of Electronics AGH – University of Science and Technology

MicroBlaze 32 bit soft-processor 32 bit instructions 32 registers Independent data and instruction buses Different bus standards: - PLB (Processor Local Bus) - AXI (Advanced eXtensible Interface) - LMB (Local Memory Bus) - FSL (Fast Simplex Link)

MicroBlaze Block Diagram

Different Bus Configurations LMB: AXI / PLB Complexity simply complex Local/glonal local global # Master 1 >=1

MB bus configurations: only LMB This configuration cannot communicat with external modules, thus should not be employed

LMB: Instructions, PLB:Data

EDK Print Screen

Instructions:LMB; Data: PLB + LMB MB employs LMB for instructions and memory access and PLB/AXI for peripheral module access

Only one PLB/AXI bus

Two PLB/AXI buses Warning: plb_ddr memory cannot be written (how to initialise instruction memory)

Two PLBs, single memory

Without Data Cache Manual (in C program) handling of data memory transfer

Example (6) The MB is booted from BRAM

Fast Simplex Link (FSL) 32-bit single direction bus – one master one slave

Registers R0-R31 32x32-bit –general purpose registers R0- always equal to 0 PC – Program counter – initial value = 0 MSR (Machine State Register)

MSR

Instruction Format Typu A Instruction Typu B instruction Example: instruction ADD

Example of Instructions

Pipeline Architecture Delay Slot Instructions

(Hard)Procesor (e.g. PowerPC in Virtex 2Pro) Implemented directly in silicon (ASIC technology) Employs ASIC technology (not FPGA technology) so this silicon area cannot be reused for other purposes Parameters are defined (ASIC) and cannot be changed Is relatively fast and consumes relatively small silicon area and power

Soft-procesor (e.g. MicroBlaze) Employs standard FPGA logic resources thus the logic resources can be freed when not required Parameters can be freely defined by a user In comparison to the hard-processor is slower, consumes more silicon area and power

MicroBlaze parameters Different types of buses (PLB/AXI, LMB) (Implement or not) cache memory, define its size Barrel-Shifter fast multiplier: define the bit-width of the multiplier: 32-bit, 64-bit divider debugger (and its parameters) Floating-point unit (and its parameters) MMU – Memory Management Unit

EDK - Ports

EDK Addresses

Adding IP-Cores

IP-Core Options

Microprocessor Hardware Specification

8-bit soft-processor PicoBlaze • Optimized for Xilinx Spartan-3 architecture—just 96 slices (0.3% of an XC3S5000 device) and 0.5 to 1 block RAM 16 byte-wide general-purpose data registers • 1K instructions of programmable on-chip program store, automatically loaded during FPGA configuration • Byte-wide Arithmetic Logic Unit (ALU) with CARRY and ZERO indicator flags • 64-byte internal scratchpad RAM • 256 input and 256 output ports for easy expansion and enhancement • Automatic 31-location CALL/RETURN stack • Predictable performance, always two clock cycles per instruction, up to 200 MHz or 100 MIPS in a Virtex-II Pro FPGA • Fast interrupt response; worst-case 5 clock cycles • Support in Spartan-6, and Virtex-6 FPGA architectures • Assembler, instruction-set simulator support

Block diagram

Example, external multiplier

PicoBlaze, in VHDL processor: kcpsm port map( address => address_signal, instruction => instruction_signal, port_id => port_id_signal, write_strobe => write_strobe_signal, out_port => out_port_signal, read_strobe => read_strobe_signal, in_port => in_port_signal, interrupt => interrupt_signal, reset => reset_signal, clk => clk_signal);

PB, assembler

PB, data moving

MicroBlaze – cache memory Small cache memory is much quicker than external memory For the MB it is better to use internal BRAM memory (in the case when data moving is easily determined) than cache as BRAM as quick as cache memory but consumes less recourses

cache block structure This structure is for tutorial-pupose only (not used in real applications)

Real Application

The End

Uproszczony przykład działania Linie adresowe: a30-a31 – ignorowane – dane są 4 bajtowe a24-a29 – linie adresowe pamięci tag i danych (instrukcji) a0-a23 – linie adresowe zapisywane w pamięci tag i wykorzystywane podczas porównywania Pamięć Tag CacheL. DanaTag Cache adr 0 0x00 0x0000 1 0x00 0x0004 2 0x00 0x0008 3 0x03 0x030C 4 0x03 0x0310 5 0x05 0x0514 6 0x06 0x0618 7 0x07 0x071C ...

LMB (Local Memory Bus) Sygnały

LMB (odczyt i zapis)

LMB szybki odczyt