CENG311 Computer Architecture Kayhan Erciyes. CS231 Assembly language and Digital Circuits Instructor:Kayhan Erciyes Office:

Slides:



Advertisements
Similar presentations
Syllabus Instructor: Dr. Wesam Ashour
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.
Spring 2008, Jan. 14 ELEC / Lecture 2 1 ELEC / Computer Architecture and Design Spring 2007 Introduction Vishwani D. Agrawal.
CMSC411/Computer Architecture These slides and all associated material are © 2003 by J. Six and are available only for students enrolled in CMSC411. Introduction.
מבנה מחשבים הרצאה 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.
August 26 TA: Angela Van Osdol Questions?. What is a computer? Tape drives? Big box with lots of lights? Display with huge letters? Little box with no.
ECE 232 L1 Intro.1 Adapted from Patterson 97 ©UCBCopyright 1998 Morgan Kaufmann Publishers ECE 232 Hardware Organization and Design Lecture 1 Introduction.
CpE442 Intro. To Computer Architecture CpE 442 Introduction To Computer Architecture Lecture 1 Instructor: H. H. Ammar These slides are based on the lecture.
Chapter 1 Introduction. Computer Architecture selecting and interconnecting hardware components to create computers that meet functional, performance.
Summary: Computer System Components Proc Caches Busses Memory I/O Devices: Controllers adapters Disks Displays Keyboards Networks.
Dept. of Computer Science Engineering Islamic Azad University of Mashhad 1 Computer System Architecture Dept. of Computer Science Engineering Islamic Azad.
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.
Computer Architecture ECE 4801 Berk Sunar Erkay Savas.
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.
IT253: Computer Organization Lecture 1: Introduction Tonga Institute of Higher Education.
International Technology University CEN 951 Computer Architecture Lecture 2 Five Components of a Computer.
Computer Systems Organization CS 1428 Foundations of Computer Science.
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
Computer Architecture Mehran Rezaei
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:
Computer Architecture And Organization UNIT-II General System Architecture.
Computer System Design Lecture 1 Wannarat Suntiamorntut.
Computer Organization & Assembly Language © by DR. M. Amer.
Introduction to Computer Organization
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 11: 10/1/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
Computer Architecture 2 nd year (computer and Information Sc.)
 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.
August 27 Books? ? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with.
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.
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.
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.
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
IT253: Computer Organization
Microprocessor Systems Design I
Computer Architecture CSCE 350
Instructions - Type and Format
COSC121: Computer Systems
T Computer Architecture, Autumn 2005
COMS 361 Computer Organization
Overview Prof. Eric Rotenberg
CS4100: 計算機結構 Course Outline
Computer Architecture
Presentation transcript:

CENG311 Computer Architecture Kayhan Erciyes

CS231 Assembly language and Digital Circuits Instructor:Kayhan Erciyes Office: 214 Office Hours: T 16:00-17:00 or by appt. Lab Instructors: Burak Aslan, Ozgur Tutum Office: TBA Office Hours: TBA Text:Computer Organization & Design: The Hardware / Software Interface ( 2nd edition ), Patterson and Hennesy. Web page: Newsgroup: TBA

Course Outline:  1.Introduction to Computer Organization (1-2 weeks)  What is in the box.  Integer and Floating point representation.  Basic data structures.  2.Instruction Set Architecture (3-4 weeks)  The MIPS Processor.  Assembly level programming.  Instructions and data types representations.  Branching and Jumps  Addressing, procedure calls and Exceptions.  Linking & Loading.  3. Review of Digital Logic ( 1 week)  Introduction: Digital Gates and Boolean Algebra.  Arithmetic and Logic circuits,  Other Functional Units  Flip-flops, Registers and Tristate drivers

Course Outline (continue) :  4.Single Cycle Per Instruction Processor (2 weeks)  The Datapath.  Executing Instructions  Control  5. Multiycle processor ( 2 weeks)  6. Pipelining ( 2 weeks)  6. Input/Output and Interrupts. ( 1 week)  7.The Memory Hierarchy ( 1 week)  Cache Memory.  Virtual Memory and Paging.

Grading  Grade breakdown  Midterm Exam: 20%  Final Exam:30%  Homework Assignments15%  Labs35%  Late homework policy:  No “cooperation” on homework (Unless specified in the assignment).  10% reduction for each day late up to 3 days.  No credit after the homework was graded and handed back.

Course Problems  Forgot to turn in homework/ Dog ate the computer, network down…..  We cannot accept phony excuses  If you have a legitimate problem. Talk to me early, me a reminder.  What is cheating?  Studying together in groups is encouraged  All written work must be your own. Programs that are substantially the same as others will receive a grade of 0

What You Will Learn  The basic operation of a computer  primitive operations (instructions)  arithmetic  instruction sequencing and processing  memory  input/output  etc.  Understand the relationship between abstractions  interface design  high-level program to control signals (SW -> HW)  Software performance depends on understanding underlying HW

CS 231: Course Overview Computer Design Instruction Set Design ° Machine Language ° Compiler View ° "Computer Architecture" ° "Instruction Set Processor" "Building Architect" Computer Hardware Design ° Machine Implementation\ ° Logic Designer's View ° "Processor Architecture" ° "Computer Organization" “Construction Engineer” Few people design computers! Very few design instruction sets! Many people design computer components. Very many people are concerned with computer function, in detail.

The Big Picture  What is inside a computer?  How does it execute my program? ?

The Big Picture Control Datapath Memory Processor/CPU Input Output  The Five Classic Components of a Computer

I/O Bus Memory Bus Processor Cache Main Memory Disk Controller Disk Graphics Controller Network Interface Graphics Network interrupts System Organization I/O Bridge Core Chip Set

What is Computer Architecture? Coordination of levels of abstraction I/O systemCPU Compiler Operating System Application Digital Design Circuit Design Under a set of rapidly changing Forces Instruction Set Architecture, Memory, I/O Firmware Memory Software Hardware Interface Between HW and SW

Levels of Representation High Level Language Program Assembly Language Program Machine Language Program Control Signal Specification Compiler Assembler Machine Interpretation 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)

Forces on Computer Architecture Computer Architecture Technology Programming Languages Operating Systems History Applications (A = F / M)

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, 1964 SOFTWARE -- Organization of Programmable Storage -- Data Types & Data Structures: Encoding & Representations -- Instruction Formats -- Instruction (or Operation Code) Set -- Modes of Addressing and Accessing Data Items and Instructions -- Exceptional Conditions

instruction set software hardware Instruction Set Interface Interface imp 1 imp 2 imp 3 use time

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

Organization Logic Designer's View ISA Level FUs & Interconnect -- Capabilities & Performance Characteristics of Principal Functional Units (e.g., Registers, ALU, Shifters, Logic Units,...) -- Ways in which these components are interconnected -- nature of information flows between components -- logic and means by which such information flow is controlled. Choreography of FUs to realize the ISA Register Transfer Level Description

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

Processor Performance Copyright 1998 Morgan Kaufmann Publishers, Inc. All Rights Reserved

Performance Trends Year Performance Microprocessors Minicomputers Mainframes Supercomputers

Memory: 4x every 3 years Technology: Microprocessor Logic Density

Processor Module External Cache DatapathRegisters Internal Cache Control Processor Processor and Caches To main memory

Memory Controller Memory Bus SIMM Slot 0SIMM Slot 1SIMM Slot 2SIMM Slot 3 SIMM Slot 4 SIMM Slot 5SIMM Slot 6SIMM Slot 7 DRAM SIMM DRAM Memory

Summary Goal  Understand basic operation of a computer Why?  Software performance is affected/determined by HW capabilities  Future Computer Architects (Processor or System)

Summary (Continued) Agenda  Map “high-level” software to instructions  Instructions are composed of hardware primitives  how to use them  how to implement them  why a particular primitive  Memory for storing instructions and data  Main memory  Caches  interaction with operating system  Input/Output

Summary (Continued)  All computers consist of five components  Processor: (1) datapath and (2) control  (3) Memory  (4) Input devices and (5) Output devices  Not all “memory” created equally  Cache: fast (expensive, small) memory close to the processor  Main memory: slower, cheaper, larger memory farther from processor  Input and output (I/O) devices has the messiest organization  Wide range of speed: graphics vs. keyboard  Wide range of requirements: speed, standard, cost... etc.

Next Time  Data Representations Reading:  Chapter , 4.8 pages  Read Chapter 1, Skim 2  (In your spare time ;) start reading Chapter 3