Lesson-10: Processor organization

Similar documents
ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-12: ARM

Chapter 02: Computer Organization. Lesson 04: Functional units and components in a computer organization Part 3 Bus Structures

Central Processing Unit (CPU)

Chapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

CHAPTER 7: The CPU and Memory

Chapter 2 Logic Gates and Introduction to Computer Architecture

Advanced Computer Architecture-CS501. Computer Systems Design and Architecture 2.1, 2.2, 3.2

LSN 2 Computer Processors

Microprocessor & Assembly Language

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

Chapter 13. PIC Family Microcontroller

Central Processing Unit

CHAPTER 4 MARIE: An Introduction to a Simple Computer

Introduction to RISC Processor. ni logic Pvt. Ltd., Pune

An Introduction to the ARM 7 Architecture

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

PROBLEMS. which was discussed in Section

MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS

(Refer Slide Time: 00:01:16 min)

Exception and Interrupt Handling in ARM

Microprocessor and Microcontroller Architecture

Computer Organization. and Instruction Execution. August 22

MICROPROCESSOR AND MICROCOMPUTER BASICS

An Overview of Stack Architecture and the PSC 1000 Microprocessor

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

CPU Organization and Assembly Language

ARM Microprocessor and ARM-Based Microcontrollers

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

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


Chapter 11: Input/Output Organisation. Lesson 06: Programmed IO

Learning Outcomes. Simple CPU Operation and Buses. Composition of a CPU. A simple CPU design

A Lab Course on Computer Architecture

UNIVERSITY OF CALIFORNIA, DAVIS Department of Electrical and Computer Engineering. EEC180B Lab 7: MISP Processor Design Spring 1995

Processor Architectures

CPU Organisation and Operation

VLIW Processors. VLIW Processors

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?

Computer Architecture TDTS10

Chapter 1 Computer System Overview

VHDL DESIGN OF EDUCATIONAL, MODERN AND OPEN- ARCHITECTURE CPU

Instruction Set Design

PROBLEMS #20,R0,R1 #$3A,R2,R4

Intel StrongARM SA-110 Microprocessor

MACHINE ARCHITECTURE & LANGUAGE

Thread level parallelism

A Survey on ARM Cortex A Processors. Wei Wang Tanima Dey

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

ARM Architecture. ARM history. Why ARM? ARM Ltd developed by Acorn computers. Computer Organization and Assembly Languages Yung-Yu Chuang

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

Lecture: Pipelining Extensions. Topics: control hazards, multi-cycle instructions, pipelining equations

SOC architecture and design

Chapter 4 Lecture 5 The Microarchitecture Level Integer JAVA Virtual Machine

GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT. COURSE CURRICULUM COURSE TITLE: COMPUTER ORGANIZATION AND ARCHITECTURE (Code: )

How It All Works. Other M68000 Updates. Basic Control Signals. Basic Control Signals

Pentium vs. Power PC Computer Architecture and PCI Bus Interface

Chapter 01: Introduction. Lesson 02 Evolution of Computers Part 2 First generation Computers

This Unit: Putting It All Together. CIS 501 Computer Architecture. Sources. What is Computer Architecture?

Computer Organization and Architecture

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

Unit A451: Computer systems and programming. Section 2: Computing Hardware 1/5: Central Processing Unit

picojava TM : A Hardware Implementation of the Java Virtual Machine

Introduction to Cloud Computing

Instruction Set Architecture

StrongARM** SA-110 Microprocessor Instruction Timing

COMPUTER ORGANIZATION AND ARCHITECTURE. Slides Courtesy of Carl Hamacher, Computer Organization, Fifth edition,mcgrawhill

PART B QUESTIONS AND ANSWERS UNIT I

AMD Opteron Quad-Core

Building a computer. Electronic Numerical Integrator and Computer (ENIAC)

CPU Performance Equation

The AVR Microcontroller and C Compiler Co-Design Dr. Gaute Myklebust ATMEL Corporation ATMEL Development Center, Trondheim, Norway

TIMING DIAGRAM O 8085

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

EE482: Advanced Computer Organization Lecture #11 Processor Architecture Stanford University Wednesday, 31 May ILP Execution

ELE 356 Computer Engineering II. Section 1 Foundations Class 6 Architecture

OC By Arsene Fansi T. POLIMI

The Central Processing Unit:

Lecture 11: Multi-Core and GPU. Multithreading. Integration of multiple processor cores on a single chip.

Computer Systems Structure Input/Output

Addressing The problem. When & Where do we encounter Data? The concept of addressing data' in computations. The implications for our machine design(s)

Solution: start more than one instruction in the same clock cycle CPI < 1 (or IPC > 1, Instructions per Cycle) Two approaches:

Architecture of Hitachi SR-8000

Intel 8086 architecture

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

İSTANBUL AYDIN UNIVERSITY

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

Let s put together a Manual Processor

Lesson-16: Real time clock DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK

Switch Fabric Implementation Using Shared Memory

Computer organization

Computer Systems Design and Architecture by V. Heuring and H. Jordan

Chapter 07: Instruction Level Parallelism VLIW, Vector, Array and Multithreaded Processors. Lesson 05: Array Processors

Lecture 3: Modern GPUs A Hardware Perspective Mohamed Zahran (aka Z) mzahran@cs.nyu.edu

Computer Architecture Lecture 2: Instruction Set Principles (Appendix A) Chih Wei Liu 劉 志 尉 National Chiao Tung University

Overview of the Cortex-M3

Memory Basics. SRAM/DRAM Basics

Intel DPDK Boosts Server Appliance Performance White Paper

Building Blocks for PRU Development

CISC, RISC, and DSP Microprocessors

8086 Microprocessor (cont..)

Transcription:

8051 AND ADVANCED PROCESSOR ARCHITECTURES Lesson-10: Processor organization 1

1. The Structural Units in a Processor: 2

Organisation of various structural units of processor 3

Buses 1) Internal and external buses interconnect the processor internal units with the external system memories, I/O devices and all other system elements 2) Address, data and control buses 4

MDR, MAR, BIU, PC and SP 3) MDR (memory data register) holds tmdr, MAR, BIU, PC and SP A andhe accessed byte or word 4) MAR (memory address register) holds the address 5) BIU (Bus Interface Unit) 6) Program Counter or Instruction Pointer and 7) Stack Pointer 5

Registers 8) ARS (Application Register Set): Set of on-chip registers for use in the application program. Register set also called file and associates an ALU or FLPU. 9) Register window- a subset of registers with each subset storing static variables and status words of a task or program thread. Changing windows help in fast context-switching in a program. 6

10) ALU and FLPU (Arithmetic and Logic operations Unit and Floating Points operations Unit). FLPU associates a FLP register set for operations. ALU, FLPU 7

Caches 12) Instruction, Data and Branch Target Caches and associated PFCU (Prefetch control unit) for pre-fetching the instructions, data and next branch target instructions, respectively. Multi-way Cache Example- 16 kb, 32-way Instruction cache with 32 byte block for data and 16 kb in ARM Cache block Enables simultaneous caching of several memory locations of a set of instructions 8

AOU 13) AOU (Atomic Operations Unit ) An instruction is broken into number of processor-instructions called atomic operations (AOs), AOU finishes the AOs before an interrupt of the process occurs - Prevents problems arising out of incomplete processoroperations on the shared data in the programs 9

Features in most processors Fixed Instruction Cycle Time RISC processor core 32-bit Internal Bus Width to facilitate the availability of arithmetic operations on 32- bit operands in a single cycle. The 32-bit bus a necessity for signal processing and control system instructions. 10

Features in most processor Program-Counter (PC) bits and its reset value Stack-Pointer bits with and its initial reset value 11

Features in advanced architectures Instruction, Branch Target and Data Cache Memory-Management unit (MMU) Floating Point Processing unit System Register Set 12

Features in advanced architectures Floating Point Register Set Pre-fetch Control Unit for data into the I- and D-caches Instruction level parallelism units (i) multistage pipeline (ii) Multi-line superscalar processing 13

RISC architecture Executing most instructions on in a single clock cycle execution per instruction (by hardwired implementation of instructions) Using multiple register-sets or registerwindows or files and Greatly reducing ALU dependency on the external memory accesses for data due to the reduced number of addressing modes provided for the ALU instructions. 14

RISC Load and store architecture Before ALU operations, the operands are loaded into the registers and similarly the write back result is in the register and then stored at the external memory addresses 15

Stages Fetch Decode Read Operands Execute 5- stage pipeline Successive Clock Intervals I1 I2 I3 I4 I5 I6 I1 I2 I3 I4 I5 I1 I2 I3 I4 I1 I2 I3 Write back I1 I2 16

Cycles On cycle 1, the first instruction I0 enters the instruction fetch (IF) stage of the pipeline and stops at pipeline latch (buffer) between instruction fetch and instruction decode (ID) stage of the pipeline. On cycle 2, the second instruction I1 enters the instruction fetch stage, while instruction I proceeds to instruction decode stage. On cycle 3 the instruction I2 enters the register (inputs) read (RR) stage, instruction I1 is in the instruction decode stage, and instruction I2 enters instruction fetch stage. 17

Cycles Instructions proceed through the pipeline at one stage per cycle until they reach the register (result) write-back (WB) stage, at which point execution of the instruction I0 is complete. On cycle 6 in the example, instructions I1 through I5 are in the pipeline, while instruction I0 has completed and is no longer in the pipeline. The pipelined processor is still executing instructions at a rate (throughput) of one instruction per cycle, but the latency of each instruction is now 5 cycles instead of 1. But each cycle period is now 1/5 or less compared to the case without pipelining. Thus processing performance can improve or more times in five stage pipeline. 18

Super scaling Stages Pipeline1 Pipeline 2 Fetch Decode Read Operands Execute Write back I5 I4 I3 I2 I1 I 5 I 4 I 3 I 2 I 1 19

Summary We learnt Structural units in a processor to enable selection of appropriate processor for an embedded System Caches, Register set(s), buses RISC architecture features MMU, Floating Point Processing 20

End of Lesson 10 of Chapter 2 21