PowerPC 405 GP Overview



Similar documents
Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai Jens Onno Krah

Von der Hardware zur Software in FPGAs mit Embedded Prozessoren. Alexander Hahn Senior Field Application Engineer Lattice Semiconductor

Chapter 13. PIC Family Microcontroller

Getting Started with Embedded System Development using MicroBlaze processor & Spartan-3A FPGAs. MicroBlaze

7a. System-on-chip design and prototyping platforms

System Considerations

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory

Microtronics technologies Mobile:

DS1104 R&D Controller Board

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

Lecture N -1- PHYS Microcontrollers

Architekturen und Einsatz von FPGAs mit integrierten Prozessor Kernen. Hans-Joachim Gelke Institute of Embedded Systems Professur für Mikroelektronik

Adapting the PowerPC 403 ROM Monitor Software for a 512Kb Flash Device

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

ARM Microprocessor and ARM-Based Microcontrollers

All Programmable Logic. Hans-Joachim Gelke Institute of Embedded Systems. Zürcher Fachhochschule

Software engineering for real-time systems

OpenSPARC T1 Processor

Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview

CHAPTER 7: The CPU and Memory

CPU Organization and Assembly Language

Basic Computer Organization

ROM Monitor. Entering the ROM Monitor APPENDIX

13. Publishing Component Information to Embedded Software

Network connectivity controllers

Going Linux on Massive Multicore

What is a System on a Chip?

Am186ER/Am188ER AMD Continues 16-bit Innovation

Simplifying Embedded Hardware and Software Development with Targeted Reference Designs

Bringing PowerPC Book E to Linux

Chapter 4 System Unit Components. Discovering Computers Your Interactive Guide to the Digital World

Instruction Set Architecture. or How to talk to computers if you aren t in Star Trek

IBM CELL CELL INTRODUCTION. Project made by: Origgi Alessandro matr Teruzzi Roberto matr IBM CELL. Politecnico di Milano Como Campus

Chapter 1 Lesson 3 Hardware Elements in the Embedded Systems Chapter-1L03: "Embedded Systems - ", Raj Kamal, Publs.: McGraw-Hill Education

Chapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance

Keil C51 Cross Compiler

Accelerate Cloud Computing with the Xilinx Zynq SoC

MACHINE ARCHITECTURE & LANGUAGE

Migrating Application Code from ARM Cortex-M4 to Cortex-M7 Processors

Instruction Set Architecture (ISA)

Chapter 2 Logic Gates and Introduction to Computer Architecture

Discovering Computers Living in a Digital World

System Design Issues in Embedded Processing

Porting Plan 9 to the PowerPC Architecture. Ian Friedman Ajay Surie Adam Wolbach

Display Message on Notice Board using GSM

Microprocessor and Microcontroller Architecture

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC Microprocessor & Microcontroller Year/Sem : II/IV

Products. CM-i586 Highlights. Página Web 1 de 5. file://c:\documents and Settings\Daniel\Os meus documentos\humanoid\material_o...

Computer Organization and Architecture

UMBC. ISA is the oldest of all these and today s computers still have a ISA bus interface. in form of an ISA slot (connection) on the main board.

ARM. Architecture and Assembly. Modest Goal: Turn on an LED

A Design of Video Acquisition and Transmission Based on ARM. Ziqiang Hao a, Hongzuo Li b

Chapter 2 Features of Embedded System

AN 223: PCI-to-DDR SDRAM Reference Design

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-12: ARM

VxWorks Guest OS Programmer's Guide for Hypervisor 1.1, 6.8. VxWorks GUEST OS PROGRAMMER'S GUIDE FOR HYPERVISOR

Kirchhoff Institute for Physics Heidelberg

CHAPTER 4 MARIE: An Introduction to a Simple Computer

Software based Finite State Machine (FSM) with general purpose processors

Agilent Technologies Truevolt Series Digital Multimeters

Reconfigurable System-on-Chip Design

21152 PCI-to-PCI Bridge

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)

Building Blocks for PRU Development

MICROPROCESSOR AND MICROCOMPUTER BASICS

Chapter Introduction. Storage and Other I/O Topics. p. 570( 頁 585) Fig I/O devices can be characterized by. I/O bus connections

The Freescale Embedded Hypervisor

USB 3.0 Connectivity using the Cypress EZ-USB FX3 Controller

C8051F020 Utilization in an Embedded Digital Design Project Course. Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia

Real-time Java Processor for Monitoring and Test

AN LPC1700 timer triggered memory to GPIO data transfer. Document information. LPC1700, GPIO, DMA, Timer0, Sleep Mode

The ARM Architecture. With a focus on v7a and Cortex-A8

PART B QUESTIONS AND ANSWERS UNIT I

PCI-SIG ENGINEERING CHANGE REQUEST

Virtualization in Linux KVM + QEMU

HXRHPPC Processor Rad Hard Microprocessor

Avalon Interface Specifications

Rapid System Prototyping with FPGAs

Byte Ordering of Multibyte Data Items

SBC6245 Single Board Computer

Advanced x86: BIOS and System Management Mode Internals SPI Flash. Xeno Kovah && Corey Kallenberg LegbaCore, LLC

Andreas Läng. Hilscher Gesellschaft für Systemautomation mbh Intelligent solutions for industrial communication.

Overview. CISC Developments. RISC Designs. CISC Designs. VAX: Addressing Modes. Digital VAX

Booting from NAND Flash Memory

PMC-XM-DIFF & EADIN/MODBUS Virtex Design

Serial port interface for microcontroller embedded into integrated power meter

Architectures and Platforms

Caching Mechanisms for Mobile and IOT Devices

Configuring CoreNet Platform Cache (CPC) as SRAM For Use by Linux Applications

EECS 427 RISC PROCESSOR

Production Flash Programming Best Practices for Kinetis K- and L-series MCUs

I/O. Input/Output. Types of devices. Interface. Computer hardware

High-Performance, Highly Secure Networking for Industrial and IoT Applications

Computer Systems Structure Input/Output

SmartFusion csoc: Basic Bootloader and Field Upgrade envm Through IAP Interface

Introduction to the Altera Nios II Soft Processor. 1 Introduction. For Quartus II 11.1

Transcription:

PowerPC 405 GP Overview Marcelo T Pereira LISHA/UFSC trier@lisha.ufsc.br http://www.lisha.ufsc.br/~trier October 1, 2002 October 1, 2002 Marcelo T Pereira (http://www lisha ufsc br) 1

Khomp Plataform Software/Hardware Integration UART UART ENERGY ETHERNET PCI CPLD FLASH PPC405GP GENERIC BUS - ROM Boot GENERIC BUS - E1 16bdata- 23b address- jtag - serial bus - 96pin DSP Serial BUS FPGA I/O - E1 SDRAM SDRAM FPGA DSP October 1, 2002 Marcelo T Pereira (http://www lisha ufsc br) 2

PPC405GP - Logical Architecture October 1, 2002 Marcelo T Pereira (http://www lisha ufsc br) 3

PPC405P - Overview 2 Cache types 16KB Instruction Cache transfer 1 or 2 instructions 8KB Data Cache transfer 1,2,3,4 or 8 bytes/cicle 5-stage pipeline 3 timers Programmable Interval Timer PIT Fixed Interval Timer FIT Watchdog Timer MMU - 4GB address space Translation of logical into physical address On-Chip Memory - 4KB Device Control Register Bus - DRC Bus Access and Status of peripheral registers October 1, 2002 Marcelo T Pereira (http://www lisha ufsc br) 4

PPC405GP - Registers Grouped by categories: General Purpose Registers - GPRs Special Purpose Registers - SPRs Time Base Registers - TBRs Machine Status Register - MSR Condition Register - CR Device Control Registers - DCRs Memmory Management Input/Output - MMIO Access to register could has different instructions October 1, 2002 Marcelo T Pereira (http://www lisha ufsc br) 5

PPC405GP - Registers General Purpose Registers - GPRs - 32 bits Special Purpose Registers - SPRs - 32 bits Special commands ex: mtspr, mfspr Count Register - CTR - decrement in loops Link Register - LR - return address Fixed Point Exception Register - XER - overflow/carry SPR General[0-7] - SPRGn - temporary data for context Processor Version Register - PVR - read only October 1, 2002 Marcelo T Pereira (http://www lisha ufsc br) 6

PPC405GP - Registers Condition Register - CR[0-7] - 8 fields of 4bits LT, GT, EQ, SO - bits 0, 1, 2, 3 respectively Time Base - 64 bits - TBL/TBU TB Lower (32b) / TB Upper (32b) - mftb, mtspr Machine State Register - MSR - 32 bits mtmsr, mfmsr - control interrupts, debug, etc Device Control Registers - DCRs - 32 bits mtdcr, mfdcr - on-chip buses, peripherals Access: Direct (ex DMA) or Indirect (ex EBC, SDRAM) October 1, 2002 Marcelo T Pereira (http://www lisha ufsc br) 7

Device Control Register Defined architecturally outsite the processor core The IBM PowerPC Embedded Environment defines the existence of DCRs address space and functions But it doesn t define any DCR (physically) Indirect Access 1 Write an offset to an address DCR 2 Read data from or write data to a data DCR Example: 1 EBC Config Address - r/w - DCR number = 0x010: 0x00 = Bank Configuration 0 0x01 = Bank Configuration 1 2 EBC Config Data - r/w October 1, 2002 Marcelo T Pereira (http://www lisha ufsc br) 8

Memory-Mapped Input/Output Registers Accessed using load/store instructions Mapped in Address Space Access: Direct (UART) or Indirect (PCI) Ex1: Direct access UART 0-0xEF600302 - Interrupt Identification Register Ex2: Indirect access PCI - PCI Config Address - r/w - 0xEEC00000 0x01 - PCI Vendor ID 0x03 - PCI Device ID PCI Config Data - r/w - 0xEEC00004 October 1, 2002 Marcelo T Pereira (http://www lisha ufsc br) 9

4 data types: Data Types and Alignment Bytes - 8bits Halfwords - 16bits Words - 32 bits Strings - 1 to 128 bytes Data represention is independent of alignment issues Instruction is always word-alignment Byte Ordering - special command: byte-reverse word Big Endian MSB LSB Litlle Endian LSB MSB October 1, 2002 Marcelo T Pereira (http://www lisha ufsc br) 10

Instruction Set Storage Reference (load, store) Arithmetic (add, subtract, negate, multiply, divide, etc) Logical (and, or, xor, not, nand, etc) Comparison (compare, compare immediate, etc) Branch (branch, branch to LR, etc) Condition Register Logical (cand, cror, etc) Rotate (rotate, shift left, etc) October 1, 2002 Marcelo T Pereira (http://www lisha ufsc br) 11

Instruction Set Shift (shift left, shift right) Cache Management (invalidate, flush, store, etc) Interrupt Control (move from/to MSR, return from interrupt) Process Management (system call, move from/to DCR, etc) October 1, 2002 Marcelo T Pereira (http://www lisha ufsc br) 12

Instruction Set - Example (branch) Uncondicional Branch (b) b[l][a] <addr> = b, bl, ba, bla b = branch: PC=PC+<addr> l = link register: LR=PC a = absolute: PC=<addr> <addr> = signed address: 26bits - max (+/-)32MB Condicional Branch (bc) - 16 bits - max (+/-)32KB October 1, 2002 Marcelo T Pereira (http://www lisha ufsc br) 13