Computer Architecture Mehran Rezaei

Slides:



Advertisements
Similar presentations
Slide 1Michael Flynn EE382 Winter/99 EE382 Processor Design Stanford University Winter Quarter Instructor: Michael Flynn Teaching Assistant:
Advertisements

CEG3420 L1 Intro.1 Copyright (C) 1998 UCB CEG3420 Computer Design Lecture 1 Philip Leong.
CSE 340 Computer Architecture Spring 2014 MIPS ISA Review
CpE442 Intro. To Computer Architecture CpE 442 Introduction To Computer Architecture Lecture 1 Instructor: H. H. Ammar These slides are based on the lecture.
CSE431 L01 Introduction.1Irwin, PSU, 2005 CSE 431 Computer Architecture Fall 2005 Lecture 01: Introduction Mary Jane Irwin ( )
Spring 2008, Jan. 14 ELEC / Lecture 2 1 ELEC / Computer Architecture and Design Spring 2007 Introduction Vishwani D. Agrawal.
מבנה מחשבים הרצאה 1 מבנה מחשבים Lecture 1 Course Introduction Eytan Ruppin and Alon Schclar Slides from Randy H. Katz, John Wawrzynek and Dan Garcia Berkeley.
ENEE350 Spring07 1 Ankur Srivastava University of Maryland, College Park Adapted from Computer Organization and Design, Patterson & Hennessy, © 2005.”
Computer Organization: Introduction Spring 2006 Jen-Chang Liu ( )
ECE 232 L2 Basics.1 Adapted from Patterson 97 ©UCBCopyright 1998 Morgan Kaufmann Publishers ECE 232 Hardware Organization and Design Lecture 2 Computer.
CS472 COMPUTER ARCHITECTURE AND ASSEMBLY LANGUAGE –Bruce D’Ambrosio Dearborn, –Text: Computer Organization and Design.
CPEN Digital System Design Chapter 10 – Instruction SET Architecture (ISA) © Logic and Computer Design Fundamentals, 4 rd Ed., Mano Prentice Hall.
CS / Schlesinger Lec1.1 1/20/99©UCB Spring 1999 Computer Architecture Lecture 1 Introduction and Five Components of a Computer Spring, 1999 Arie Schlesinger.
1 CSE SUNY New Paltz Chapter 1 Introduction CSE-45432Introduction to Computer Architecture Dr. Izadi.
CIS 314 : Computer Organization Lecture 1 – Introduction.
ECE 232 L1 Intro.1 Adapted from Patterson 97 ©UCBCopyright 1998 Morgan Kaufmann Publishers ECE 232 Hardware Organization and Design Lecture 1 Introduction.
CENG311 Computer Architecture Kayhan Erciyes. CS231 Assembly language and Digital Circuits Instructor:Kayhan Erciyes Office:
CpE442 Intro. To Computer Architecture CpE 442 Introduction To Computer Architecture Lecture 1 Instructor: H. H. Ammar These slides are based on the lecture.
Computer Architecture Lecture – 1.  Computer Organization and Design (third edition)  David A. Patterson  John L. Hennessy  Computer Organization.
Summary: Computer System Components Proc Caches Busses Memory I/O Devices: Controllers adapters Disks Displays Keyboards Networks.
Digital Systems Design L01 Introduction.1 Digital Systems Design Lecture 01: Introduction Adapted from: Mary Jane Irwin ( )
Compsci Today’s topics l Binary Numbers  Brookshear l Computer Architecture  Notes from David A. Patterson and John L. Hennessy, Computer.
An Introduction Chapter Chapter 1 Introduction2 Computer Systems  Programmable machines  Hardware + Software (program) HardwareProgram.
CPE232 Introduction1 CPE 335 Computer Organization Introduction Dr. Gheith Abandah [Adapted from the slides of Professor Mary Irwin (
Cs 152 L1 Intro.1 Patterson Fall 97 ©UCB What is “Computer Architecture” Computer Architecture = Instruction Set Architecture + Machine Organization.
Patterson Fall 97 ©UCB CS/EE 362 Hardware Fundamentals Lecture 8 (Chapter 1: Hennessy and Patterson) Winter Quarter 1998 Chris Myers.
Fall 2015, Aug 17 ELEC / Lecture 1 1 ELEC / Computer Architecture and Design Fall 2015 Introduction Vishwani D. Agrawal.
COMP3221 lec04--prog-model.1 Saeid Nooshabadi COMP 3221 Microprocessors and Embedded Systems Lecture 4: Programmer’s Model of Microprocessors
Computer Organization and Design Computer Abstractions and Technology
EECS 362 Computer Architecture Projects Lecture 1 Instructor: Alok Choudhary Co-instructor: Avery Ching.
CS35101 Computer Architecture Spring 2006 Week 1 Slides adapted from: Mary Jane Irwin ( Course url:
Cps-104 Intro.1 ©GK Spring 1999 CPS104 Computer Organization Lecture 1 January 14, 1999 Gershon Kedem Slides available on:
CS152 / Fall 2002 Lec 1.1 Computer Organization Lecture 1 Course Introduction and the Five Components of a Computer Modified From the Lectures of Randy.
Computer Architecture And Organization UNIT-II General System Architecture.
Computer System Design Lecture 1 Wannarat Suntiamorntut.
Lec 15Systems Architecture1 Systems Architecture Lecture 15: A Simple Implementation of MIPS Jeremy R. Johnson Anatole D. Ruslanov William M. Mongan Some.
by Computer System Design Lecture 1 Wannarat Suntiamorntut
Computer Organization CS224 Fall 2012 Lesson 22. The Big Picture  The Five Classic Components of a Computer  Chapter 4 Topic: Processor Design Control.
Computer Architecture CPSC 350
 Lecture 2 Processor Organization  Control needs to have the  Ability to fetch instructions from memory  Logic and means to control instruction sequencing.
CPSC 321 Computer Architecture Summer 2005 Lecture 1 Introduction and Five Components of a Computer Praveen Bhojwani Adapted from CS 152 Spring 2002 UC.
1 chapter 1 Computer Architecture and Design ECE4480/5480 Computer Architecture and Design Department of Electrical and Computer Engineering University.
Lecture 1: Computer Architecture and Technology Professor Mike Schulte Computer Architecture ECE 201.
DR. SIMING LIU SPRING 2016 COMPUTER SCIENCE AND ENGINEERING UNIVERSITY OF NEVADA, RENO CS 219 Computer Organization.
EEL5708/Bölöni Lec 3.1 Fall 2006 Sept 1, 2006 Lotzi Bölöni EEL 5708 High Performance Computer Architecture Lecture 3 Review: Instruction Sets.
DR. SIMING LIU SPRING 2016 COMPUTER SCIENCE AND ENGINEERING UNIVERSITY OF NEVADA, RENO Session 2 Computer Organization.
Spring 2016, Jan 13 ELEC / Lecture 1 1 ELEC / Computer Architecture and Design Spring 2016 Introduction Vishwani D. Agrawal.
CSIE30300 Computer Architecture Unit 01: Introduction Hsin-Chou Chi [Adapted from material by and
Lecture 2: Instruction Set Architecture part 1 (Introduction) Mehran Rezaei.
Compsci Today’s topics l Operating Systems  Brookshear, Chapter 3  Great Ideas, Chapter 10  Slides from Kevin Wayne’s COS 126 course l Performance.
EEL5708/Bölöni Lec 3.1 Fall 2004 Sept 1, 2004 Lotzi Bölöni Fall 2004 EEL 5708 High Performance Computer Architecture Lecture 3 Review: Instruction Sets.
Cs 152 L1 Intro.1 Patterson Fall 97 ©UCB CS152 Computer Architecture and Engineering Lecture 1 August 27, 1997 Dave Patterson (http.cs.berkeley.edu/~patterson)
1 TM 1 Embedded Systems Lab./Honam University ARM Microprocessor Programming Model.
May 22, 2000Systems Architecture I1 Systems Architecture I (CS ) Lecture 14: A Simple Implementation of MIPS * Jeremy R. Johnson Mon. May 17, 2000.
1 CHAPTER 1 COMPUTER ABSTRACTIONS AND TECHNOLOGY Parts of these notes have been adapter from those of Prof. Professor Mike Schulte, Prof. D. Patterson,
By Wannarat Computer System Design Lecture 1 Wannarat Suntiamorntut.
CS4100: 計算機結構 Course Outline 國立清華大學資訊工程學系 九十九年度第二學期.
Computer Organization and Architecture Lecture 1 : Introduction
Morgan Kaufmann Publishers
Computer Architecture CSCE 350
Instructions - Type and Format
T Computer Architecture, Autumn 2005
Rocky K. C. Chang 6 November 2017
A primer on Computers and Programs
Systems Architecture I
COMS 361 Computer Organization
Overview Prof. Eric Rotenberg
CS4100: 計算機結構 Course Outline
Lecture 1 Class Overview
ELEC / Computer Architecture and Design Fall 2014 Introduction
Presentation transcript:

Computer Architecture Mehran Rezaei

2 Welcome

3 Text book Computer Organization & Design: The Hardware/Software Interface David A. Patterson and John E. Hennessy 4 th Edition, Morgan Kaufmann panions/ /

4 Overview Intro to Computer Architecture Administrative Matters Course Style, Philosophy and Structure High Level, Assembly, and Machine Language

5 What is “Computer Architecture” Computer Architecture = ?

6 What is “Computer Architecture” Computer Architecture = Instruction Set Architecture + Machine Organization

7 Instruction Set Architecture... the attributes of a [computing] system as seen by the programmer, i.e. the conceptual structure and functional behavior, as distinct from the organization of the data flows and controls the logic design, and the physical implementation. Amdahl, Blaaw, and Brooks, 1964SOFTWARE -- Organization of Programmable Storage -- Data Types & Data Structures: Encodings & Representations -- Instruction Set -- Instruction Formats -- Modes of Addressing and Accessing Data Items and Instructions -- Exceptional Conditions

8 The Instruction Set: a Critical Interface instruction set software hardware

9 MIPS R3000 Instruction Set Architecture Instruction Categories –Load/Store –Computational –Jump and Branch –Floating Point coprocessor –Memory Management –Special R0 - R31 PC HI LO OP rs rt rdsafunct rs rt immediate jump target 3 Instruction Formats: all 32 bits wide Registers

10 Organization Capabilities & Performance Characteristics of Principal Functional Units (e.g., Registers, ALU, Shifters, Logic Units,...) Ways in which these components are interconnected Information flows between components Data path Logic and means by which such information flow is controlled. Control unit Choreography of FUs to realize the ISA

11 What is “Computer Architecture”? Coordination of many levels of abstraction Under a rapidly changing set of forces Design, Measurement, and Evaluation I/O systemInstr. Set Proc. Compiler Operating System Application Digital Design Circuit Design Instruction Set Architecture Firmware Datapath & Control Layout

12 Forces on Computer Architecture Computer Architecture Technology Programming Languages Operating Systems History Applications

13 Administrative Stuff

14 Course Style (overview handout) Grade breakdown –Midterm Exam: 20% –Final Exam:30% –Project:30% –Homework Assignments:20% No late homework Passing Grade –Project + Homework : necessary requirements –Reasonable grades on exams (50% above)

15 Course Problems Can’t make midterm –Tell me early and we will schedule alternate time Forgot to turn in homework or any other problem –Zero for that assignment What is cheating? –Studying together in groups is encouraged –Work must be your own –Common examples of cheating: running out of time on a assignment and then pick up output, take homework from box and copy, person asks to borrow solution “just to take a look”, copying an exam question,... –Better off to skip assignment

16 Reading Assignments For the first half of the course, every week, you will have reading assignments. –Every lecture, 5 minutes, about the reading assignment –Time to time, break out from the text book

17 Course Materials (Systematically) Instruction Set Architecture Computer Arithmetic, ALU Measuring the performance of computer system CPU design, single cycle and pipelined CPU Memory Systems I/Os

18 Where are we? Intro to Computer Architecture Administrative Matters Course Style, Philosophy and Structure High Level, Assembly, Machine Language

19 High Level Language Program Assembly Language Program Machine Language Program Control Signal Specification Compiler Assembler Machine Interpretation °°°° ALUOP[0:3] <= InstReg[9:11] & MASK High Level, Assembly, Machine language, and control signals temp = v[k]; v[k] = v[k+1]; v[k+1] = temp; lw$15,0($2) lw$16,4($2) sw$16,0($2) sw$15,4($2)

20 Levels of Organization (computer Anatomy) SPARCstation 20 Processor Computer Control Datapath MemoryDevices Input Output Workstation Design Target: 25% of cost on Processor 25% of cost on Memory (minimum memory size) Rest on I/O devices, power supplies, box

21 Execution Cycle Instruction Fetch Instruction Decode Operand Fetch Execute Result Store Next Instruction Obtain instruction from program storage Determine required actions and instruction size Locate and obtain operand data Compute result value or status Deposit results in storage for later use Determine successor instruction

22 A Prediction by Gordon Moore Courtesy of the graph – Cramming more components onto integrated circuits, Electronics, 38(8), April 1965

23 The Growth in CPU Speed (lately) J. S. Emer Sources: J. S. Emer. “Simultaneous Multithreading: Multiplying Alpha's Performance”, 12 th Microprocessor Forum, October R. E. Kessler R. E. Kessler. “The Alpha Microprocessor”, IEEE Micro, 19(2), pp. 24­36, March/April V. A. Klauser V. A. Klauser. “Trends in High­Performance Microprocessor Design”, Telematik, 7(1), pp. 12­21, April 2001.

24 Pace In Memory Speed J. L. Hennessy and D. A. Patterson Courtesy of the table:J. L. Hennessy and D. A. Patterson. ``Computer Architecture A Quantitative Approach'', Morgan Kaufmann Publishers, Third Edition 2003.

25 CPU-Memory Speed Gap J. L. Hennessy and D. A. Patterson Courtesy of the Graph:J. L. Hennessy and D. A. Patterson. ``Computer Architecture A Quantitative Approach'', Morgan Kaufmann Publishers, Third Edition Ever-increasing CPU-Mem S-Gap