Cs 61C L3 Decisions.1 Patterson Spring 99 ©UCB CS61C Machine Structures Lecture 1 January 20, 1999 Dave Patterson (http.cs.berkeley.edu/~patterson)

Slides:



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

Cs 61C L1 Intro.1 Patterson Fall00 ©UCB CS61C Machine Structures Lecture 1 August 30,2000 Dave Patterson (http.cs.berkeley.edu/~patterson)
Spring 2008, Jan. 14 ELEC / Lecture 2 1 ELEC / Computer Architecture and Design Spring 2007 Introduction Vishwani D. Agrawal.
CS 61C L20 Caches I (1) Garcia, Spring 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine.
CS 161 Design and Architecture of Computer Systems Lecture 1 Instructor: L.N. Bhuyan ( Adapted from notes by Dave Patterson.
CS61C L01 Introduction (1) Garcia, Spring 2005 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine.
CIS 314 Introduction (1) Fall 2005  Lectures: Juan Flores  GTF: Dayi Zhou CIS 314 : Computer Organization Lecture 1.
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.
CPEN Digital System Design Chapter 10 – Instruction SET Architecture (ISA) © Logic and Computer Design Fundamentals, 4 rd Ed., Mano Prentice Hall.
CS 61C L01 Introduction (1) Garcia, Spring 2004 © UCB Lecturer PSOE Dan Garcia CS61C www page www-inst.eecs.berkeley.edu/~cs61c/
CS1104 Assembly Language: Part 1
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.
CIS 314 Introduction (1) Fall 2007 CIS 314: Computer Organization Lectures: Ginnie Lo Discussions: Han Qin
CSCE 312 Computer Organization Lecture 0: Course Administration EJ Kim Department of Computer Science and Engineering 338B Bright
ECE200 – Computer Organization Course Introduction.
CS 61C L01 Introduction (1) Garcia, Fall 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine.
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.
CENG311 Computer Architecture Kayhan Erciyes. CS231 Assembly language and Digital Circuits Instructor:Kayhan Erciyes Office:
Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI CSCI.
Computer Organization and Architecture (AT70. 01) Comp. Sc. and Inf
CS 61C L01 Introduction (1) Garcia, Spring 2004 © UCB Lecturer PSOE Dan Garcia CS61C www page www-inst.eecs.berkeley.edu/~cs61c/
Introduction Course Overview and Basic understanding of Computer Architecture.
CPE232 Introduction1 CPE 335 Computer Organization Introduction Dr. Gheith Abandah [Adapted from the slides of Professor Mary Irwin (
1 CS37: Computer Architecture Spring Term, 2004 Instructor: Kate Forbes Riley Teaching Assistant:
IT253: Computer Organization Lecture 1: Introduction Tonga Institute of Higher Education.
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
1 Computer System Organization I/O systemProcessor Compiler Operating System (Windows 98) Application (Netscape) Digital Design Circuit Design Instruction.
1 CPRE210: Introduction to Digital Design Instructor –Arun K. Somani –Tel: – –Office Hours: MWF 10:00-11:00 Teaching Assistant.
Computer Organization and Design Computer Abstractions and Technology
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.
CSCE 312 Computer Organization Course Administration Dr. Rabi N Mahapatra Department of Computer Science & Engineering, 520B HR Bright,
Computer Organization & Assembly Language © by DR. M. Amer.
by Computer System Design Lecture 1 Wannarat Suntiamorntut
1 ECE3055 Computer Architecture and Operating Systems Lecture 1 Introduction Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia.
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.
Xiuzhen Cheng Xiuzhen Cheng Csci136 Computer Architecture II – Introduction.
DR. SIMING LIU SPRING 2016 COMPUTER SCIENCE AND ENGINEERING UNIVERSITY OF NEVADA, RENO CS 219 Computer Organization.
Spring 2016, Jan 13 ELEC / Lecture 1 1 ELEC / Computer Architecture and Design Spring 2016 Introduction Vishwani D. Agrawal.
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.
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,
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 國立清華大學資訊工程學系 九十九年度第二學期.
Introduction CSE 410, Spring 2005 Computer Systems
Introduction to Computers - Hardware
ENCM 369 Computer Organization
IT253: Computer Organization
Computational Science - Computer Science
Microprocessor Systems Design I
COSC 3406: Computer Organization
CSE 410: Computer Systems Instructor: David Ely
EEL 4713/EEL 5764 Computer Architecture
COSC121: Computer Systems
T Computer Architecture, Autumn 2005
CS61C – Machine Structures Lecture 1 – Introduction
Welcome to Architectures of Digital Systems
COMS 361 Computer Organization
CS4100: 計算機結構 Course Outline
ELEC / Computer Architecture and Design Fall 2014 Introduction
CS201 – Course Expectations
Presentation transcript:

cs 61C L3 Decisions.1 Patterson Spring 99 ©UCB CS61C Machine Structures Lecture 1 January 20, 1999 Dave Patterson (http.cs.berkeley.edu/~patterson)

cs 61C L3 Decisions.2 Patterson Spring 99 ©UCB Overview °Intro to Machine Structures (5 minutes) °Organization and Anatomy of a Computer (10 min) °Rapid Technological Change (5 min) °Course Style, Philosophy and Structure (20 min) °Conclusion (1 min)

cs 61C L3 Decisions.3 Patterson Spring 99 ©UCB What are “Machine Structures”? I/O systemProcessor Compiler Operating System (Windows 98) Application (Netscape) Digital Design Circuit Design Instruction Set Architecture °Coordination of many levels of abstraction Datapath & Control transistors Memory Hardware Software Assembler 61C

cs 61C L3 Decisions.4 Patterson Spring 99 ©UCB Levels of Representation High Level Language Program (e.g., C) Assembly Language Program (e.g.,MIPS) Machine Language Program (MIPS) Control Signal Specification Compiler Assembler Machine Interpretation temp = v[k]; v[k] = v[k+1]; v[k+1] = temp; lw$to,0($2) lw$t1,4($2) sw$t1,0($2) sw$t0,4($2) °°°° 61C

cs 61C L3 Decisions.5 Patterson Spring 99 ©UCB Anatomy: 5 components of any Computer Personal Computer Processor (active) Computer Control (“brain”) Datapath (“brawn”) Memory (passive) (where programs, data live when running) Devices Input Output Keyboard, Mouse Display, Printer Disk (where programs, data live when not running)

cs 61C L3 Decisions.6 Patterson Spring 99 ©UCB Technology Trends: Memory Capacity (1 Chip DRAM) year size(Megabit) X/yr, or doubling every 1.6 years:

cs 61C L3 Decisions.7 Patterson Spring 99 ©UCB Technology Trends: Microprocessor Capacity 2X transistors/Chip Every 1.5 years Called “Moore’s Law”: Alpha 21264: 15 million Pentium Pro: 5.5 million PowerPC 620: 6.9 million Alpha 21164: 9.3 million Sparc Ultra: 5.2 million Moore’s Law

cs 61C L3 Decisions.8 Patterson Spring 99 ©UCB Technology Trends: Processor Performance 1.54X/yr Processor performance increase/yr mistakenly referred to as Moore’s Law (transistors/chip)

cs 61C L3 Decisions.9 Patterson Spring 99 ©UCB Computer Technology => Dramatic Change °Processor 2X in speed every 1.5 years; 1000X performance in last decade °Memory DRAM capacity: 2x / 1.5 years; 1000X size in last decade Cost per bit: improves about 25% per year °Disk capacity: > 2X in size every 1.5 years Cost per bit: improves about 60% per year 120X size in last decade °State-of-the-art PC when you graduate: Processor clock speed: 1500 MegaHertz (1.5 GigaHertz) Memory capacity: 500 MegaByte(0.5 GigaBytes) Disk capacity: 100 GigaBytes (0.1 TeraBytes) New units! Mega => Giga, Giga => Tera

cs 61C L3 Decisions.10 Patterson Spring 99 ©UCB Why Study Machine Structures? °CHANGE; It’s exciting!; It has never been more exciting! °It impacts every other aspect of electrical engineering and computer science Bionics: Sensors in latex fingers instantly register hot and cold, and an electronic interface in his artificial limb stimulates the nerve endings in his upper arm, which then pass the information to his brain. The $3,000 system allows his hand to feel pressure and weight, so for the first time since losing his arms in a 1986 accident, he can pick up a can of soda without crushing it or having it slip through his fingers. One Digital Day

cs 61C L3 Decisions.11 Patterson Spring 99 ©UCB CS61C: So what's in it for me? °Machine structures from a programmer's view What the programmer writes How it is converted to something the computer understands How the computer interprets the program What makes programs go slow °Learn big ideas in computer science and engineering 5 Classic components of a Computer Data can be anything (integers, floating point, characters): a program determines what it is Stored program concept: instructions are just data Principle of Locality, exploited via a memory hierarchy (cache) Greater performance by exploiting parallelism (pipeline) Principle of abstraction, used to build systems as layers Compilation v. interpretation to move down layers of system Principles/Pitfalls of Performance Measurement

cs 61C L3 Decisions.12 Patterson Spring 99 ©UCB What 61C is not °Learning C If you know one, you should be able to learn another programming language largely on your own Given that you know C++ or Java, should be easy to pick up their ancestor, C °Assembly Language Programming This is a skill you will pick up, as a side effect of understanding the Big Ideas °Hardware design We think of hardware at the abstract level, with only a little bit of physical logic to give things perspective CS 150, 152 teach this C C++ Java

cs 61C L3 Decisions.13 Patterson Spring 99 ©UCB Course Lecture Outline 1 week on Computer Anatomy (COD Ch. 1) 4 weeks on C v. ASM languages (COD Ch. 3) 1.5 weeks on C v. ASM numbers (COD Ch. 4) 1.5 weeks on I/O and interrupts (COD Ch. 8) 1 week on Cache (COD Ch. 7) 1 week on Virtual Memory (COD Ch. 7) 2 weeks Processor Datapath, Pipelining (COD 5.1,6.1) 2 weeks on review of traditionally difficult topics (pointers, caches, interrupts)

cs 61C L3 Decisions.14 Patterson Spring 99 ©UCB Course Exams °Reduce the pressure of taking exams Midterm: Wednesday March 17 3 hrs to take 1.5-hr test (5-8 PM, 1 Pimentel) Our goal: test knowledge vs. speed writing Review meetings: Sunday before Can bring 1 page summary sheet °Final: Wednesday May 12 (5-8 PM, 1 Pimentel)

cs 61C L3 Decisions.15 Patterson Spring 99 ©UCB Homework Assignments, Labs and Projects °Lab exercises are to be done every week in lab section, and checked off by your lab TA the first part of following lab °Homework exercises are to be handed in either online or to homework boxes in 283 Soda, due on Wednesday at 7PM (last call Thursday 8AM); teams 2-3 with 2nd exercise 1st assignment: COD Exercises , 1.18, , 1.25, , , , 1.56; Due Wednesday 1/27 7PM °Projects are larger programming assignments; team °Homeworks, Projects returned in discussion section °Classrooms for new discussion sections this week 123Fri Soda 124Fri Soda °Must turn in survey, login and attend lab/discussion sections to be considered enrolled Go to old and new sections to ask TA’s to switch sections (sections 23/123 and 24/124 have lowest enrollments)

cs 61C L3 Decisions.16 Patterson Spring 99 ©UCB Grading °Grade breakdown Midterm Exam: 25% Final Exam:35% Homework Assignments11% Lab Exercises 11% Projects 18% °Scores posted on home page Written/ request for changes to grades; work first with TA May 3 deadline to correct online scores

cs 61C L3 Decisions.17 Patterson Spring 99 ©UCB Course Problems °Can’t make midterm, final Tell early us and we will schedule alternate time before exam °Forgot to turn in homework/ Dog ate computer As a result of feedback, going to grade almost immediately so that can give results back quickly => late a hassle °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 (12 homeworks, 12 labs, 6 projects 40% of grade; how much can one assignment mean?)

cs 61C L3 Decisions.18 Patterson Spring 99 ©UCB Class decides on penalties for cheating; staff enforces °Exercises (book): 0 for problem 0 for assignment subtract full value for assignment °Labs (groups: only penalize individuals?) 0 for problem 0 for assignment subtract full value for assignment °Projects (groups: only penalize individuals?) 0 for problem 0 for assignment subtract full value for assignment °Exams 0 for problem 0 for exam

cs 61C L3 Decisions.19 Patterson Spring 99 ©UCB Course Administration °Instructor:David A. Patterson Soda Hall Office Hours:Wed 2-3 °TAs: Josh Cantrell, Michael Chu, Brendan Ferguson, Nemanja Isailovic, Gek Siong Low, Kelvin Lwin, Dmitiry Portnov, Mark Spiller, Tai Ping Yu °Labs:Class Accounts for 271 Soda °Materials: °Newsgroup:ucb.class.cs61c °Text:Computer Organization and Design: The Hardware/Software Interface, Second Edition, Patterson and Hennessy Q: Need 2nd Edition? yes! >> 50% text changed,

cs 61C L3 Decisions.20 Patterson Spring 99 ©UCB Typical Lecture Format °20-Minute Lecture ° 5-Minute Administrative Matters °25-Minute Lecture °Instructor will come to class early & stay after to answer questions Attention Time 20 min.Break“In Conclusion,...”

cs 61C L3 Decisions.21 Patterson Spring 99 ©UCB And in Conclusion... °15 weeks to learn big ideas in CS&E Principle of abstraction, used to build systems as layers Pliable Data: a program determines what it is Stored program concept: instructions are just data Principle of Locality, exploited via a memory hierarchy (cache) Greater performance by exploiting parallelism (pipeline) Compilation v. interpretation to move down layers of system Principles/Pitfalls of Performance Measurement °Continued rapid improvement in Computing 2X in speed every 1.5 years; processor speed, memory size, disk capacity; Moore’s Law enables it (2X transistors/chip/1.5 yrs) °5 classic components of all computers 1. Control; 2. Datapath; 3. Memory; 4. Input; 5. Output } Processor