CS61C – Machine Structures Lecture 1 – Introduction

Slides:



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

TU/e Processor Design 5Z0321 Processor Design 5Z032 Computer Systems Overview Chapter 1 Henk Corporaal Eindhoven University of Technology 2011.
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.
Fall 2002EECS150 - Lec02-CMOS Page 1 EECS150 - Digital Design Lecture 2 - CMOS August 27, 2003 by Mustafa Ergen Lecture Notes: John Wawrzynek.
CS 61C L01 Introduction + Numbers (1) A Carle -- Su 2005 © UCB inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture #1 – Introduction & Numbers.
CS61C L23 Synchronous Digital Systems (1) Garcia, Fall 2011 © UCB Lecturer SOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C.
°Instructor: Prof. Ginnie Lo  GTF: Amir Rasti °Prerequisite: CIS212, MATH231 Note: These slides are heavily based.
CS 61C L01 Introduction + Numbers (1) A Carle -- Su 2006 © UCB inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture #1 – Introduction & Numbers.
CS61C L01 Introduction (1) Garcia, Spring 2005 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine.
Cs 61C L3 Decisions.1 Patterson Spring 99 ©UCB CS61C Machine Structures Lecture 1 January 20, 1999 Dave Patterson (http.cs.berkeley.edu/~patterson)
CIS 314 Introduction (1) Fall 2005  Lectures: Juan Flores  GTF: Dayi Zhou CIS 314 : Computer Organization Lecture 1.
Chapter 1. Introduction This course is all about how computers work But what do we mean by a computer? –Different types: desktop, servers, embedded devices.
Spring 2002EECS150 - Lec02-CMOS Page 1 EECS150 - Digital Design Lecture 2 - CMOS January 24, 2002 John Wawrzynek.
Computer Organization: Introduction Spring 2006 Jen-Chang Liu ( )
Computer Architecture Instructor: Wen-Hung Liao Office: 大仁樓三樓 Office hours: TBA Course web page:
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.
CS61C L01 Introduction (1) Garcia, Spring 2007 © UCB Lecturer SOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine.
CS 61C L01 Introduction (1) Garcia, Spring 2004 © UCB Lecturer PSOE Dan Garcia CS61C www page www-inst.eecs.berkeley.edu/~cs61c/
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.
CS61C L01 Introduction (1) Garcia, Spring 2008 © UCB Lecturer SOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine.
CIS 314 : Computer Organization Lecture 1 – Introduction.
CIS 314 Introduction (1) Fall 2007 CIS 314: Computer Organization Lectures: Ginnie Lo Discussions: Han Qin
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 1 Dr. “Peter” Weiping Shi Dept. of Electrical and Computer Engineering.
1 Lecture 1: CS/ECE 3810 Introduction Today’s topics:  logistics  why computer organization is important  modern trends.
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.
CENG311 Computer Architecture Kayhan Erciyes. CS231 Assembly language and Digital Circuits Instructor:Kayhan Erciyes Office:
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/
1 CS37: Computer Architecture Spring Term, 2004 Instructor: Kate Forbes Riley Teaching Assistant:
Fall 2015, Aug 17 ELEC / Lecture 1 1 ELEC / Computer Architecture and Design Fall 2015 Introduction Vishwani D. Agrawal.
1 Computer System Organization I/O systemProcessor Compiler Operating System (Windows 98) Application (Netscape) Digital Design Circuit Design Instruction.
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.
Computer Organization & Assembly Language © by DR. M. Amer.
by Computer System Design Lecture 1 Wannarat Suntiamorntut
Computer Architecture CPSC 350
1 ECE3055 Computer Architecture and Operating Systems Lecture 1 Introduction Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia.
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.
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
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
ENG3380 Computer Organization
Stateless Combinational Logic and State Circuits
COSC 3406: Computer Organization
Architecture & Organization 1
Computer Architecture CSCE 350
CS775: Computer Architecture
COSC 3406: Computer Organization
EEL 4713/EEL 5764 Computer Architecture
Architecture & Organization 1
COSC121: Computer Systems
T Computer Architecture, Autumn 2005
ENG3380 Computer Organization
INTRODUCTION TO COMPUTER ARCHITECTURE
Welcome to Architectures of Digital Systems
COMS 361 Computer Organization
CS4100: 計算機結構 Course Outline
ELEC / Computer Architecture and Design Fall 2014 Introduction
Presentation transcript:

CS61C – Machine Structures Lecture 1 – Introduction 8/25/2003  Brian Harvey (www.cs.berkeley.edu/~bh) John Wawrzynek  (Warznek) (www.cs.berkeley.edu/~johnw) www-inst.eecs.berkeley.edu/~cs61c/ Greet class

What are “Machine Structures”? Application (ex: browser) 61C Operating Compiler System (Windows 2K) Software Assembler Instruction Set Architecture Hardware Processor Memory I/O system Datapath & Control Digital Design Circuit Design transistors Coordination of many levels (layers) of abstraction

61C Levels of Representation temp = v[k]; v[k] = v[k+1]; v[k+1] = temp; High Level Language Program (e.g., C) Compiler lw $t0, 0($2) lw $t1, 4($2) sw $t1, 0($2) sw $t0, 4($2) Assembly Language Program (e.g.,MIPS) Assembler Machine Language Program (MIPS) 0000 1001 1100 0110 1010 1111 0101 1000 1010 1111 0101 1000 0000 1001 1100 0110 1100 0110 1010 1111 0101 1000 0000 1001 0101 1000 0000 1001 1100 0110 1010 1111 Machine Interpretation wire [31:0] dataBus; regFile registers (databus); ALU ALUBlock (inA, inB, databus); Hardware Architecture Description (e.g., Verilog Language) Architecture Implementation wire w0; XOR (w0, a, b); AND (s, w0, a); Logic Circuit Description (Verilog Language)

Anatomy: 5 components of any Computer Personal Computer Keyboard, Mouse Computer Processor Memory (where programs, data live when running) Devices Disk (where programs, data live when not running) Control (“brain”) Input That is, any computer, no matter how primitive or advance, can be divided into five parts: 1. The input devices bring the data from the outside world into the computer. 2. These data are kept in the computer’s memory until ... 3. The datapath request and process them. 4. The operation of the datapath is controlled by the computer’s controller. All the work done by the computer will NOT do us any good unless we can get the data back to the outside world. 5. Getting the data back to the outside world is the job of the output devices. The most COMMON way to connect these 5 components together is to use a network of busses. Datapath (“brawn”) Output Display, Printer

Overview of Physical Implementations The hardware out of which we make systems. Integrated Circuits (ICs) Combinational logic circuits, memory elements, analog interfaces. Printed Circuits (PC) boards substrate for ICs and interconnection, distribution of CLK, Vdd, and GND signals, heat dissipation. Power Supplies Converts line AC voltage to regulated DC low voltage levels. Chassis (rack, card case, ...) holds boards, power supply, provides physical interface to user or other systems. Connectors and Cables.

Integrated Circuits (2003 state-of-the-art) Primarily Crystalline Silicon 1mm - 25mm on a side 2003 - feature size ~ 0.13um = 0.13 x 10-6 m 100 - 400M transistors (25 - 100M “logic gates") 3 - 10 conductive layers “CMOS” (complementary metal oxide semiconductor) - most common. Bare Die Chip in Package Package provides: spreading of chip-level signal paths to board-level heat dissipation. Ceramic or plastic with gold wires.

Printed Circuit Boards fiberglass or ceramic 1-20 conductive layers 1-20in on a side IC packages are soldered down.

Technology Trends: Memory Capacity (Single-Chip DRAM) year size (Mbit) 1980 0.0625 1983 0.25 1986 1 1989 4 1992 16 1996 64 1998 128 2000 256 2002 512 Now 1.4X/yr, or 2X every 2 years. 8000X since 1980!

Technology Trends: Microprocessor Complexity Itanium 2: 410 Million Athlon (K7): 22 Million 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 2X transistors/Chip Every 1.5 years Called “Moore’s Law”

Technology Trends: Processor Performance Intel P4 2000 MHz (Fall 2001) 1.54X/yr

Computer Technology - Dramatic Change! Processor 2X in speed every 1.5 years (since ‘85); 100X performance in last decade. Memory DRAM capacity: 2x / 2 years (since ‘96); 64x size improvement in last decade. Disk Capacity: 2X / 1 year (since ‘97) 250X size in last decade.

Computer Technology - Dramatic Change! State-of-the-art PC when you graduate (at least): Processor clock speed: 5000 MegaHertz (5.0 GigaHertz) Memory capacity: 4000 MegaBytes (4.0 GigaBytes) Disk capacity: 2000 GigaBytes (2.0 TeraBytes) New units! Mega => Giga, Giga => Tera

CS61C: So what's in it for me? Learn some of the big ideas in CS & 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 just data Principle of Locality, exploited via a memory hierarchy (cache) Greater performance by exploiting parallelism Principle of abstraction, used to build systems as layers Compilation v. interpretation thru system layers Principles/Pitfalls of Performance Measurement We will take a break and talk about class philosophy.

Others Skills learned in 61C 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

Course Lecture Outline Number representations C-Language (basics + pointers) Storage management Assembly Programming Floating Point Performance I/O Interrupts Disks, Networks Caches Virtual Memory CPU organization Introduction to Verilog (HDL) Pipelining Logic Design Advanced Topics Brian and I will take turns covering these topics.

Reading assignments on handout, in reader, and on web page Texts Required: Computer Organization and Design: The Hardware/Software Interface, Second Edition, Patterson and Hennessy (COD) Required: The C Programming Language, Kernighan and Ritchie (K&R), 2nd edition Reading assignments on handout, in reader, and on web page Read P&H Chapter 1 and sections 4.1 & 4.2, and K&R Chapters 1-4 as soon as possible this week.

Tried-and-True Technique: Peer Instruction Increase real-time learning in lecture, test understanding of concepts vs. details As complete a “segment” ask multiple choice question 1-2 minutes to decide yourself 3 minutes in pairs/triples to reach consensus. Teach others! 5-7 minute discussion of answers, questions, clarifications

Class Meetings Monday Lecture Discussion Session (1 hour), Mon. or Tue. Wednesday Lecture Lab Session (2 hours), Wed. or Thur. Friday Lecture There IS discussion and lab this week…

Homework, Labs and Projects Lab exercises (every week) Homework exercises (every week) Due Monday Mornings. HW1 is included in the handout, and posted on the webpage (Due Wednesday next week only.) Projects (every 2 to 3 weeks) All exercises, reading, homeworks, projects in course reader and on course web page.

Midterm 1: Tu 7pm Oct 7th, room TBA 3 Course Exams Midterm 1: Tu 7pm Oct 7th, room TBA Give 2 hours for 1 hour exam Open Book / Notes Review sessions TBA Midterm 2: Th 7pm Nov 13th, room TBA Final: Wed Dec 10, 8-11am First week after final class. You’ll be done with 61C early. This is the 1st slide of the “Course Structure and Course Philosophy” section of the lecture. Need to emphasis that for exams, our goal is the test your knowledge. It is not our goal to test how well your perform under time pressure.

Your final grade Grading 15 Homeworks 15 x 2 30pts. 6 Projects 6 x 10 60 2 Midterms 2 x 30 60 Final exam 50 TOTAL 200 Grade distributions. Absolute scale – no curve. > 180 A+ 175 A 170 A- 165 B+ . 125 D-

Course Problems…Cheating What is cheating? Studying together in groups is encouraged. Turned in 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, … Cheating on homeworks; -4 points for that assignment Cheating on projects / exams; At least, 0 points for that project / exam. In most cases, F in the course. For serious and repeated instances will refer you to Office of Student Judicial Affairs.

We will not be enforcing the CS61B prerequisite this semester. Enrollment We will not be enforcing the CS61B prerequisite this semester. Our goal is to accommodate everyone on the wait list. Two new sections have been added: 018 LAB W 12-2P, 271 SODA 118 DIS M 1-2P, 3102 ETCHEVERRY 019 LAB W 6-8P, 271 SODA 119 DIS M 6-7P, 3 EVANS

Teaching Assistants Dan Adkins (also Head TA) Paul Burstein Michael Hamler Benjamin Huang Alexandre Joly

Processor Summary Continued rapid improvement in Computing 2X every 1.5 years in processor speed; every 2.0 years in memory size; every 1.0 year in disk capacity; Moore’s Law enables processor (2X transistors/chip ~1.5 yrs) 5 classic components of all computers Control Datapath Memory Input Output Processor