Microprocessor Architecture Dr. Charles Kim Howard University

Similar documents
Computer Architecture Dr. Charles Kim Howard University

Computer Architecture Dr. Charles Kim Howard University

New Advances in Micro-Processors and computer architectures

Chapter 13 Reduced Instruction Set Computers

Typical Processor Execution Cycle

ELC4438: Embedded System Design Embedded Processor

CSEE 3827: Fundamentals of Computer Systems

Reduced Instruction Set Computer

COMP3221: Microprocessors and. and Embedded Systems. Instruction Set Architecture (ISA) What makes an ISA? #1: Memory Models. What makes an ISA?

Lecture 4: RISC Computers

Von Neumann architecture. The first computers used a single fixed program (like a numeric calculator).

ARSITEKTUR SISTEM KOMPUTER. Wayan Suparta, PhD 17 April 2018

RISC & Superscalar. COMP 212 Computer Organization & Architecture. COMP 212 Fall Lecture 12. Instruction Pipeline no hazard.

Instruction Set And Architectural Features Of A Modern Risc Processor

Architectures & instruction sets R_B_T_C_. von Neumann architecture. Computer architecture taxonomy. Assembly language.

CISC Attributes. E.g. Pentium is considered a modern CISC processor

Chapter 2 Logic Gates and Introduction to Computer Architecture

COMP2121: Microprocessors and Interfacing. Instruction Set Architecture (ISA)

Evolution of ISAs. Instruction set architectures have changed over computer generations with changes in the

Lecture 4: RISC Computers

RISC, CISC, and ISA Variations

Computer Architecture and Data Manipulation. Von Neumann Architecture

CISC / RISC. Complex / Reduced Instruction Set Computers

Instruction Set Principles. (Appendix B)

Chapter 5:: Target Machine Architecture (cont.)

Computer and Hardware Architecture I. Benny Thörnberg Associate Professor in Electronics

EKT 303 WEEK Pearson Education, Inc., Hoboken, NJ. All rights reserved.

CS Computer Architecture

Chapter 1. Introduction To Computer Systems

1DT157 Digitalteknik och datorarkitekt. Digital technology and computer architecture, 5p

Overview of Computer Organization. Outline

The Single Cycle Processor

CPE/EE 421 Microcomputers

Pipelining and Vector Processing

EITF20: Computer Architecture Part2.1.1: Instruction Set Architecture

Real instruction set architectures. Part 2: a representative sample

Figure 1-1. A multilevel machine.

CS Computer Architecture

Evolution of Computers & Microprocessors. Dr. Cahit Karakuş

Overview of Computer Organization. Chapter 1 S. Dandamudi

Chapter 2 Lecture 1 Computer Systems Organization

Case Study : Transmeta s Crusoe

From CISC to RISC. CISC Creates the Anti CISC Revolution. RISC "Philosophy" CISC Limitations

Alternate definition: Instruction Set Architecture (ISA) What is Computer Architecture? Computer Organization. Computer structure: Von Neumann model

Computer Architecture 计算机体系结构. Lecture 2. Instruction Set Architecture 第二讲 指令集架构. Chao Li, PhD. 李超博士

Hakim Weatherspoon CS 3410 Computer Science Cornell University

Review of instruction set architectures

Introduction to Microcontrollers

Alex Milenkovich 1. CPE/EE 421 Microcomputers. CPE/EE 421 Microcomputers U A H U A H U A H. Instructor: Dr Aleksandar Milenkovic Lecture Notes S01

Advanced d Processor Architecture. Computer Systems Laboratory Sungkyunkwan University

ASSEMBLY LANGUAGE MACHINE ORGANIZATION

Computer Architecture

Computer Organization

Lecture 8: RISC & Parallel Computers. Parallel computers

ECE232: Hardware Organization and Design

Advanced Processor Architecture. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

EE 3170 Microcontroller Applications

Lecture 4: Instruction Set Architecture

Chapter 06: Instruction Pipelining and Parallel Processing. Lesson 14: Example of the Pipelined CISC and RISC Processors

ECE 486/586. Computer Architecture. Lecture # 7

EC 413 Computer Organization

ECE 341. Lecture # 15

Announcement. Computer Architecture (CSC-3501) Lecture 25 (24 April 2008) Chapter 9 Objectives. 9.2 RISC Machines

Computer Architecture

omputer Design Concept adao Nakamura

COMPUTER STRUCTURE AND ORGANIZATION

Advanced processor designs

Alex Milenkovich 1 CPE 323. CPE 323 Introduction to Embedded Computer Systems: Introduction. Instructor: Dr Aleksandar Milenkovic Lecture Notes

CHAPTER 5 A Closer Look at Instruction Set Architectures

CHAPTER 5 A Closer Look at Instruction Set Architectures

Latches. IT 3123 Hardware and Software Concepts. Registers. The Little Man has Registers. Data Registers. Program Counter

CISC 360. Computer Architecture. Seth Morecraft Course Web Site:

Like scalar processor Processes individual data items Item may be single integer or floating point number. - 1 of 15 - Superscalar Architectures

Lecture 4: ISA Tradeoffs (Continued) and Single-Cycle Microarchitectures

Introduction to Microprocessor

Computer Systems Architecture

RISC Processors and Parallel Processing. Section and 3.3.6

William Stallings Computer Organization and Architecture 8 th Edition. Chapter 14 Instruction Level Parallelism and Superscalar Processors

Instruction Set Architecture (ISA)

Computer System architectures

Chapter 2: Data Manipulation

Typical DSP application

William Stallings Computer Organization and Architecture. Chapter 12 Reduced Instruction Set Computers

C 1. Last Time. CSE 490/590 Computer Architecture. ISAs and MIPS. Instruction Set Architecture (ISA) ISA to Microarchitecture Mapping

Cycles Per Instruction For This Microprocessor

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Chapter 2: Data Manipulation

Computer Architecture

Chapter 2 Data Manipulation

Historical Perspective and Further Reading 3.10

General Purpose Processors

Processing Unit CS206T

Advanced Processor Architecture

Advanced Parallel Architecture Lesson 3. Annalisa Massini /2015

EITF20: Computer Architecture Part2.1.1: Instruction Set Architecture

Cache Justification for Digital Signal Processors

4.16. Historical Perspective and Further Reading. supercomputer: Any machine still on the drawing board.

SYLLABUS. osmania university CHAPTER - 1 : REGISTER TRANSFER LANGUAGE AND MICRO OPERATION CHAPTER - 2 : BASIC COMPUTER

SAE5C Computer Organization and Architecture. Unit : I - V

Computer Systems Laboratory Sungkyunkwan University

Transcription:

EECE416 Microcomputer Fundamentals Microprocessor Architecture Dr. Charles Kim Howard University 1

Computer Architecture Computer System CPU (with PC, Register, SR) + Memory 2

Computer Architecture ALU (Arithmetic Logic Unit) Binary Full Adder 3

Microprocessor Bus 4

Architecture by CPU+MEM organization Princeton (or von Neumann) Architecture MEM contains both Instruction and Data Harvard Architecture Data MEM and Instruction MEM Higher Performance Better for DSP Higher MEM Bandwidth 5

1.Step (A): The address for the instruction to be next executed is applied (Step (B): The controller "decodes" the instruction 3.Step (C): Following completion of the instruction, the controller provides the address, to the memory unit, at which the data result generated by the operation will be stored. Princeton Architecture 6

Harvard Architecture 7

Internal Memory ( register ) External memory access is Very slow For quicker retrieval and storage Internal registers 8

Architecture by Instructions and their Executions CISC (Complex Instruction Set Computer) Variety of instructions for complex tasks Instructions of varying length RISC (Reduced Instruction Set Computer) Fewer and simpler instructions High performance microprocessors Pipelined instruction execution (several instructions are executed in parallel) 9

CISC Architecture of prior to mid-1980 s IBM390, Motorola 680x0, Intel80x86 Basic Fetch-Execute sequence to support a large number of complex instructions Complex decoding procedures Complex control unit One instruction achieves a complex task 10

RISC Architecture after mid-1980 s IBM801, Sun Sparc, Mips, HP, IBM RS/6000 PowerPC Small set of simple instructions Pipelined architecture Overlapping many concurrent operations 11

Characteristics of RISC Favorable changes for RISC Caches to speed instruction fetches Dramatic memory size increases/cost decreases Better pipelining Advanced optimizing compilers Characteristics of RISC Instructions are of a uniform length Increased number of registers to hold frequently used variables (16-64 Registers) Central to High Performance Computing 12

Side Bar: Cache A small amount of fast memory (RAM) holds recently accessed data or instructions supplies them faster. Cache memory Organization lines Sets separate group of memory addresses 2 and 64 lines per set. Cache Memory Levels level 1 cache Small and Faster level 2 cache Large and Slower Level 3 caches in some cases. 13

Characteristics of RISC Memory Issues (Speed and Size) RISC processors get faster and faster, they eat memory faster Memory costs money Finding memory locations - a slow process Speed CPU speeds increase steadily, while memory speeds a fraction of the speed of CPU's Use of memory caches. Size A method that increases the maximum size for a program is virtual memory Actual location is translated into a different physical address By separated into pages, programs are easier to fit together in memory Pipelining 14

Pipelining A method of increasing the number of concurrent operations Two types Arithmetic pipeline Ex: floating point multiplication Instruction pipeline Partitions the fetch-execution into several stages 15

Pipeline-based Architectural techniques Basic Model: 4 stages IF (Instruction Fetch) ID(Instruction Decode) EX(Execute) WB(Write Back) 16

Pipelining Techniques Superpipeline architecture : Fine grained partitioning of the stages 17

Pipelining Techniques Superscalar pipeline architecture: More than one instruction in one clock cycle 18

Pipelining Techniques VLIW(Very Long Instruction Word) architecture: Several instructions are packed into one long instruction word Vector pipelines: Vector operations are implemented with single instruction 19

Differences CISC RISC Instruction Type Many Few Addressing Mode Many Few Instruction Format Variable Fixed Pipelining Difficult Efficient Control Method Instruction Access Optimization Dependency for high performance Micro-programmed control Most access memory Less on optimizing compiler Hardwired control Mostly load-store architecture Highly on optimizing compiler 20

History of RISC RISC Roots: CDC 6600 (1965).. Control Data Corporation CDC 6600 'Supercomputer' Designed by Seymour Cray Emphasized a small (74 op codes) load/store and registerregister instruction as a means to greater performance. The CDC 6600 itself has roots in the UNIVAC 1100, which many CDC 6600 engineers worked on. 21

History of RISC RISC Formalized: IBM 801 (1975)... The first system to formalize these principles was the IBM 801 project (1975) The design goal was to speed up frequently used instructions while discarding complex instructions that slowed the overall implementation. Like the CDC 6600, memory access was limited to load/store operations Execution was pipelined, allowing 1 instruction per cycle. 22

History of RISC RISC Refined: Berkeley RISC Some time after the 801, around 1981, projects at Berkeley (RISC I and II) further developed these concepts. The term RISC came from Berkeley's project, which was the basis for the fast Pyramid minicomputers and SPARC processor. Execute in a 3 stage pipeline. 23

RISC Refined: Stanford MIPS.. Some time after the 801, around 1981, Stanford University (MIPS) further developed these concepts. The Stanford MIPS project was the basis for the MIPS. MIPS stood for Microprocessor without Interlocked Pipeline Stages, using the compiler to eliminate register conflicts. 24

SPARC & ARM SPARC Scalable (originally Sun) Processor ARChitecture Designed by Sun Microsystems for their own. Standard 68000-based CPUs and a standard operating system, Unix. ARM Advanced RISC Machine, originally Acorn RISC Machine One of the most elegant modern processors in existence. Simple, with a short 3-stage pipeline, and it can operate in big- or little-endian mode. 25

Processor Classification 26

Assignment 1 Pick a topic from below and write a short report (4 5 page long) and Presentation file Your audience CEO, President, and CTO of your company Weekly Technical Education Briefing Topics to Choose ARM processor and its varieties A specific ARM professor which is best for Cell phones Pipelining Intel Pentium 4 Pipelining: Strength and Drawback Current Practice of Cache in PC and Its Layout in Motherboard Report Due: R September 20 Presentation File Due: M September 24 Presentation: T September 25 27