CEG3420 L1 Intro.1 Copyright (C) 1998 UCB CEG3420 Computer Design Lecture 1 Philip Leong.

Slides:



Advertisements
Similar presentations
Syllabus Instructor: Dr. Wesam Ashour
Advertisements

COMP3221 lec23-decode.1 Saeid Nooshabadi COMP 3221 Microprocessors and Embedded Systems Lectures 23: Instruction Representation; Assembly and Decoding.
CpE442 Intro. To Computer Architecture CpE 442 Introduction To Computer Architecture Lecture 1 Instructor: H. H. Ammar These slides are based on the lecture.
Cs 61C L1 Intro.1 Patterson Fall00 ©UCB CS61C Machine Structures Lecture 1 August 30,2000 Dave Patterson (http.cs.berkeley.edu/~patterson)
ECE 15B Computer Organization Spring 2010 Dmitri Strukov Lecture 2: Overview of Computer Organization Partially adapted from Computer Organization and.
Spring 2008, Jan. 14 ELEC / Lecture 2 1 ELEC / Computer Architecture and Design Spring 2007 Introduction Vishwani D. Agrawal.
EEM 486 EEM 486: Computer Architecture Lecture 1 Course Introduction and the Five Components of a Computer.
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE Computer Organization Lecture 23 - Course.
Fall 2004 WWW IS112 Prof. Dwyer Intro1: Overview and Syllabus Professor Catherine Dwyer.
Cs 61C L3 Decisions.1 Patterson Spring 99 ©UCB CS61C Machine Structures Lecture 1 January 20, 1999 Dave Patterson (http.cs.berkeley.edu/~patterson)
Computer Organization: Introduction Spring 2006 Jen-Chang Liu ( )
1  1998 Morgan Kaufmann Publishers Lectures for 2nd Edition Note: these lectures are often supplemented with other materials and also problems from the.
ECE 232 L2 Basics.1 Adapted from Patterson 97 ©UCBCopyright 1998 Morgan Kaufmann Publishers ECE 232 Hardware Organization and Design Lecture 2 Computer.
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.
CIS 314 : Computer Organization Lecture 1 – Introduction.
CS 61C L20 Introduction to Synchronous Digital Systems (1) Garcia, Fall 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c.
ECE200 – Computer Organization Course Introduction.
Slide 1 Instructor: Dr. Hong Jiang Teaching Assistant: Mr. Sheng Zhang Department of Computer Science & Engineering University of Nebraska-Lincoln Classroom:
ECE 232 L1 Intro.1 Adapted from Patterson 97 ©UCBCopyright 1998 Morgan Kaufmann Publishers ECE 232 Hardware Organization and Design Lecture 1 Introduction.
Introduction to Computer Architecture SCHOOL OF ELECTRICAL AND COMPUTER ENGINEERING SUMMER 2015 RAMYAR SAEEDI.
COM181 Computer Hardware Ian McCrumRoom 5B18,
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.
CS-2710 Computer Organization Dr. Mark L. Hornick web: faculty-web.msoe.edu/hornick – CS-2710 info syllabus, homework, labs… –
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.
Computer Architecture. “The design of a computer system. It sets the standard for all devices that connect to it and all the software that runs on it.
Fall 2015, Aug 17 ELEC / Lecture 1 1 ELEC / Computer Architecture and Design Fall 2015 Introduction Vishwani D. Agrawal.
CS/ECE 3330 Computer Architecture Kim Hazelwood Fall 2009.
(1) ECE 3056: Architecture, Concurrency and Energy in Computation Lecture Notes by MKP and Sudhakar Yalamanchili Sudhakar Yalamanchili (Some small modifications.
CS1104 – Computer Organization PART 2: Computer Architecture Lecture 12 Overview and Concluding Remarks.
Computer Architecture Mehran Rezaei
Cps-104 Intro.1 ©GK Spring 1999 CPS104 Computer Organization Lecture 1 January 14, 1999 Gershon Kedem Slides available on:
Computer System Design Lecture 1 Wannarat Suntiamorntut.
by Computer System Design Lecture 1 Wannarat Suntiamorntut
Computer Architecture CPSC 350
Ted Pedersen – CS 3011 – Chapter 10 1 A brief history of computer architectures CISC – complex instruction set computing –Intel x86, VAX –Evolved from.
Computer Architecture Souad MEDDEB
Lecture 11: 10/1/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
CPSC 321 Computer Architecture Summer 2005 Lecture 1 Introduction and Five Components of a Computer Praveen Bhojwani Adapted from CS 152 Spring 2002 UC.
12/13/ _01 1 Computer Organization EEC-213 Computer Organization Electrical and Computer Engineering.
Computer Organization Instructors Course By: Lecturer: Shimaa Ibrahim Hassan TA: Eng: Moufeda Hussien Lecture: 9:45 Address:
1 chapter 1 Computer Architecture and Design ECE4480/5480 Computer Architecture and Design Department of Electrical and Computer Engineering University.
CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon Grading Policy: Project 25%
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.
9/20/6Lecture 2 - Prog Model1 MicroBaby A simple micro-controller encompassing all the basics Start this class by organizing into groups.
Spring 2016, Jan 13 ELEC / Lecture 1 1 ELEC / Computer Architecture and Design Spring 2016 Introduction Vishwani D. Agrawal.
Computer Organization Yasser F. O. Mohammad 1. 2 Lecture 1: Introduction Today’s topics:  Why computer organization is important  Logistics  Modern.
Introduction Computer Organization Spring 1436/37H (2015/16G) Dr. Mohammed Sinky Computer Architecture
Computer Architecture Opening Yu-Lun Kuo 郭育倫 Department of Computer Science and Information Engineering Tunghai University Taichung, 40704, Taiwan R.O.C.
New-School Machine Structures Parallel Requests Assigned to computer e.g., Search “Katz” Parallel Threads Assigned to core e.g., Lookup, Ads Parallel Instructions.
By Wannarat Computer System Design Lecture 1 Wannarat Suntiamorntut.
CS4100: 計算機結構 Course Outline 國立清華大學資訊工程學系 九十九年度第二學期.
ENCM 369 Computer Organization
IT253: Computer Organization
CSE 3322 Computer Architecture
Stateless Combinational Logic and State Circuits
课程名 编译原理 Compiling Techniques
COSC 3406: Computer Organization
CSE 410: Computer Systems Instructor: David Ely
Computer Architecture CSCE 350
EEL 4713/EEL 5764 Computer Architecture
T Computer Architecture, Autumn 2005
Guest Lecturer TA: Shreyas Chand
CS4100: 計算機結構 Course Outline
Lecture 1 Class Overview
ELEC / Computer Architecture and Design Fall 2014 Introduction
Presentation transcript:

CEG3420 L1 Intro.1 Copyright (C) 1998 UCB CEG3420 Computer Design Lecture 1 Philip Leong

CEG3420 L1 Intro.2 Copyright (C) 1998 UCB Overview °Course Style, Philosophy and Structure °Intro to Computer Architecture

CEG3420 L1 Intro.3 Copyright (C) 1998 UCB Course Administration °Instructor:Philip Leong(phwl) °TA: Hiu Yung Wong(hywong2) Norris Leong(mpleong) °Tuts:W5 (MMW703) °WWW: °Text:Computer Organization and Design: The Hardware/Software Interface, Second Edition, Patterson and Hennessy Q: Need 2nd Edition? yes! >> 50% text changed, all exercises changed all examples modernized, new sections,...

CEG3420 L1 Intro.4 Copyright (C) 1998 UCB Lecture notes °Available on CEG3420 Page °Courtesy of University of California at Berkeley’s CS152 Course (

CEG3420 L1 Intro.5 Copyright (C) 1998 UCB Objectives °This is a course in Computer Design and at the end of the course, students should understand  how modern computer systems work  how to design a computer & how design decisions affect cost and performance.  how to measure performance

CEG3420 L1 Intro.6 Copyright (C) 1998 UCB Tutorials °These will be posted on the CEG3420 WWW site each week. °Tutorial solutions must be handed to the tutor in the tutorial session of the week following the tutorial unless otherwise specified

CEG3420 L1 Intro.7 Copyright (C) 1998 UCB Grading °Grade breakdown Final exam: 50% (combined) Midterm :25% Assignments :20% Tutorials:5% °Anything late: -20% per day

CEG3420 L1 Intro.8 Copyright (C) 1998 UCB Cheating °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, … °Any cases, (however small or large) will be forwarded to CS&E disciplinary committee

CEG3420 L1 Intro.9 Copyright (C) 1998 UCB Project °Two projects will be completed in this course Software simulator for a subset of the MIPS instruction set -after completing this project you should really understand how the instruction set works logically Design of a RISC microprocessor -after completing this project you should understand how to implement it in hardware -you can be creative and develop as simple/complex processor as you like °Done in groups of two

CEG3420 L1 Intro.10 Copyright (C) 1998 UCB Things We Hope You Will Learn from CEG3420 °Keep it simple and make it work Fully test everything individually and then together Retest everything whenever you make any changes Last minute changes are big “no-nos” °Planning is very important: Promise what you can deliver; deliver more than you promise Murphy’s Law: things DO break at the last minute -Don’t make your plan based on the best case scenarios -Freeze you design and don’t make last minute changes °Never give up! It is not over until you give up.

CEG3420 L1 Intro.11 Copyright (C) 1998 UCB Assumed knowledge °Basic machine structure processor, memory, I/O °Read and write basic C programs °Read and write in an assembly language not necessarily MIPs which will be covered in the course °Logic design logical equations, schematic diagrams, FSMs, components

CEG3420 L1 Intro.12 Copyright (C) 1998 UCB Levels of Representation (Review) 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) °°°° ALUOP[0:3] <= InstReg[9:11] & MASK

CEG3420 L1 Intro.13 Copyright (C) 1998 UCB What is “Computer Architecture” Computer Architecture = Instruction Set Architecture + Machine Organization

CEG3420 L1 Intro.14 Copyright (C) 1998 UCB Instruction Set Architecture (subset of Computer Arch.)... 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

CEG3420 L1 Intro.15 Copyright (C) 1998 UCB The Instruction Set: a Critical Interface instruction set software hardware

CEG3420 L1 Intro.16 Copyright (C) 1998 UCB Example ISAs (Instruction Set Architectures) °Digital Alpha(v1, v3) °HP PA-RISC(v1.1, v2.0) °Sun Sparc(v8, v9) °SGI MIPS(MIPS I, II, III, IV, V) °Intel(8086,80286,80386, ,Pentium, MMX,...)

CEG3420 L1 Intro.17 Copyright (C) 1998 UCB MIPS R3000 Instruction Set Architecture (Summary) °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

CEG3420 L1 Intro.18 Copyright (C) 1998 UCB 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 °Information flows between components °Logic and means by which such information flow is controlled. °Choreography of FUs to realize the ISA °Register Transfer Level (RTL) Description

CEG3420 L1 Intro.19 Copyright (C) 1998 UCB Example Organization °TI SuperSPARC tm TMS390Z50 in Sun SPARCstation20 Floating-point Unit Integer Unit Inst Cache Ref MMU Data Cache Store Buffer Bus Interface SuperSPARC L2 $ CC MBus Module MBus L64852 MBus control M-S Adapter SBus DRAM Controller SBus DMA SCSI Ethernet STDIO serial kbd mouse audio RTC Boot PROM Floppy SBus Cards

CEG3420 L1 Intro.20 Copyright (C) 1998 UCB What is “Computer Architecture”? I/O systemInstr. Set Proc. Compiler Operating System Application Digital Design Circuit Design Instruction Set Architecture Firmware °Coordination of many levels of abstraction °Under a rapidly changing set of forces °Design, Measurement, and Evaluation Datapath & Control Layout

CEG3420 L1 Intro.21 Copyright (C) 1998 UCB Forces on Computer Architecture Computer Architecture Technology Programming Languages Operating Systems History Applications (A = F / M) Constraints e.g. cost, energy

CEG3420 L1 Intro.22 Copyright (C) 1998 UCB Technology => dramatic change °Processor logic capacity: about 30% per year clock rate: about 20% per year °Memory DRAM capacity: about 60% per year (4x every 3 years) Memory speed: about 10% per year Cost per bit: improves about 25% per year °Disk capacity: about 60% per year

CEG3420 L1 Intro.23 Copyright (C) 1998 UCB VLSI commercial IC technology extrapolations

CEG3420 L1 Intro.24 Copyright (C) 1998 UCB Technology °In ~1985 the single-chip processor (32-bit) and the single-board computer emerged => workstations, personal computers, multiprocessors have been riding this wave since °In the timeframe, these may well look like mainframes compared single-chip computer (maybe 2 chips) DRAM YearSize Kb Kb Mb Mb Mb Mb Mb Gb Microprocessor Logic DensityDRAM chip capacity

CEG3420 L1 Intro.25 Copyright (C) 1998 UCB Performance Trends Microprocessors Minicomputers Mainframes Supercomputers 1995 Year Log of Performance

CEG3420 L1 Intro.26 Copyright (C) 1998 UCB Processor Performance (SPEC) RISC introduction Did RISC win the technology battle and lose the market war? performance now improves ­ 50% per year (2x every 1.5 years)

CEG3420 L1 Intro.27 Copyright (C) 1998 UCB Measurement and Evaluation Architecture is an iterative process -- searching the space of possible designs -- at all levels of computer systems -- constraints of energy, cost (=area) and performance Good Ideas Mediocre Ideas Bad Ideas Cost / Performance Analysis Design Analysis Creativity

CEG3420 L1 Intro.28 Copyright (C) 1998 UCB CEG3420: Course Content Computer Architecture and Engineering Instruction Set DesignComputer Organization InterfacesHardware Components Compiler/System ViewLogic Designer’s View ­“Building Architect”­“Construction Engineer”

CEG3420 L1 Intro.29 Copyright (C) 1998 UCB CEG3420: So what's in it for me? °In-depth understanding of the inner-workings of modern computers, their evolution, and trade-offs present at the hardware/software boundary. Insight into fast/slow operations that are easy/hard to implementation hardware °Experience with the design process in the context of a large complex (hardware) design. Functional Spec --> Control & Datapath --> Physical implementation Modern CAD tools °Designer's "Conceptual" toolbox.

CEG3420 L1 Intro.30 Copyright (C) 1998 UCB Conceptual tool box? °Evaluation Techniques °Levels of translation (e.g., Compilation) °Levels of Interpretation (e.g., Microprogramming) °Hierarchy (e.g, registers, cache, mem,disk,tape) °Pipelining and Parallelism °Static / Dynamic Scheduling °Indirection and Address Translation °Synchronous and Asynchronous Control Transfer °Timing, Clocking, and Latching °CAD Programs, Hardware Description Languages, Simulation °Physical Building Blocks (e.g., CLA) °Understanding Technology Trends

Summary °All computers consist of five components Processor: (1) datapath and (2) control (3) Memory (4) Input devices and (5) Output devices °Not all “memory” are created equally Cache: fast (expensive) memory are placed closer to the processor Main memory: less expensive memory--we can have more °Interfaces are where the problems are - between functional units and between the computer and the outside world °Need to design against constraints of performance, power, area and cost

CEG3420 L1 Intro.32 Copyright (C) 1998 UCB Summary: Computer System Components Proc Caches Busses Memory I/O Devices: Controllers adapters Disks Displays Keyboards Networks °All have interfaces & organizations