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)

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.
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)
CSE431 L01 Introduction.1Irwin, PSU, 2005 CSE 431 Computer Architecture Fall 2005 Lecture 01: Introduction Mary Jane Irwin ( )
CPSC 321 Computer Architecture Fall 2006 Lecture 1 Introduction and Five Components of a Computer Adapted from CS 152 Spring 2002 UC Berkeley Copyright.
CMSC411/Computer Architecture These slides and all associated material are © 2003 by J. Six and are available only for students enrolled in CMSC411. Introduction.
CPSC 321 Computer Architecture Spring 2005 Lecture 1 Introduction and Five Components of a Computer Adapted from CS 152 Spring 2002 UC Berkeley Adapted.
EEM 486 EEM 486: Computer Architecture Lecture 1 Course Introduction and the Five Components of a Computer.
מבנה מחשבים הרצאה 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.”
Cs 61C L3 Decisions.1 Patterson Spring 99 ©UCB CS61C Machine Structures Lecture 1 January 20, 1999 Dave Patterson (http.cs.berkeley.edu/~patterson)
CS152 / Kubiatowicz Lec1.1 ©UCB Spring 20011/16/01 CS152 Computer Architecture and Engineering Lecture 1 Introduction and Five Components of a Computer.
מבנה מחשבים הרצאה 1 מבנה מחשבים Lecture 1 Course Introduction Yehuda Afek and Yossi Matias Slides from Randy H. Katz, and John Wawrzynek Berkeley.
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.
1  2004 Morgan Kaufmann Publishers Lectures for 3rd Edition Note: these lectures are often supplemented with other materials and also problems from the.
CS152 / Kubiatowicz Lec1.1 ©UCB Fall 20018/29/01 CS152 Computer Architecture and Engineering Lecture 1 Introduction and Five Components of a Computer August.
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.
ELEN 350 Computer Architecture Spring 2005 Introduction and Five Components of a Computer Adapted from CS 152 Spring 2002 UC Berkeley Adapted from CPSC.
CS152 / Kubiatowicz Lec1.1 1/20/99©UCB Spring 1999 CS152 Computer Architecture and Engineering Lecture 1 Introduction and Five Components of a Computer.
CS152 / Kubiatowicz Lec1.1 ©UCB Fall 19998/23/99 CS152 Computer Architecture and Engineering Lecture 1 Introduction and Five Components of a Computer August.
ECE 232 L1 Intro.1 Adapted from Patterson 97 ©UCBCopyright 1998 Morgan Kaufmann Publishers ECE 232 Hardware Organization and Design Lecture 1 Introduction.
CS152 / Spring 2002 Lec1.1 CS152 Computer Architecture and Engineering Lecture 1 Introduction and Five Components of a Computer.
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 152 L1 Intro.1 Patterson Fall 97 ©UCB ECE 366 Computer Architecture Lecture 1-2 Shantanu Dutt ( Adapted from (with adds.
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.
ECE 4436ECE 5367 Introduction to Computer Architecture and Design Ji Chen Section : T TH 1:00PM – 2:30PM Prerequisites: ECE 4436.
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.
International Technology University CEN 951 Computer Architecture Lecture 2 Five Components of a Computer.
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:
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 System Design Lecture 1 Wannarat Suntiamorntut.
Texas A&M University Department of Computer Science CPSC 321 Computer Architecture Introduction to Course and Five Components of a Computer Instructor.
Introduction to Computer Organization
by Computer System Design Lecture 1 Wannarat Suntiamorntut
Computer Architecture CPSC 350
CMCS Computer Architecture Lecture 1 Introduction and Overview January 29, CMSC411.htm Mohamed Younis.
CPSC 321 Computer Architecture Summer 2005 Lecture 1 Introduction and Five Components of a Computer Praveen Bhojwani Adapted from CS 152 Spring 2002 UC.
S.J.Lee 1 컴퓨터 구조 강좌개요 순천향대학교 컴퓨터학부 이 상 정. S.J.Lee 2 교 재교 재 J.L.Hennessy & D.A.Patterson Computer Architecture a Quantitative Approach, Second Edition.
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.
DR. SIMING LIU SPRING 2016 COMPUTER SCIENCE AND ENGINEERING UNIVERSITY OF NEVADA, RENO Session 2 Computer Organization.
CSIE30300 Computer Architecture Unit 01: Introduction Hsin-Chou Chi [Adapted from material by and
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,
CSE431 L01 Introduction.1Irwin, PSU, 2005 CSE 431 Computer Architecture Fall 2005 Lecture 01: Introduction Mary Jane Irwin ( )
By Wannarat Computer System Design Lecture 1 Wannarat Suntiamorntut.
CS4100: 計算機結構 Course Outline 國立清華大學資訊工程學系 九十九年度第二學期.
CS152 / Kubiatowicz Lec1.1 ©UCB Spring 20031/22/03 CS152 Computer Architecture and Engineering Lecture 1 Introduction and Five Components of a Computer.
CpE 442 Introduction To Computer Architecture Lecture 1
Computer Architecture and Organization
Computer Architecture CSCE 350
T Computer Architecture, Autumn 2005
Welcome to Architectures of Digital Systems
CS4100: 計算機結構 Course Outline
Presentation transcript:

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) lecture slides:

cs 152 L1 Intro.2 Patterson Fall 97 ©UCB Overview °Intro to Computer Architecture (30 minutes) °Administrative Matters (5 minutes) °Course Style, Philosophy and Structure (15 min) °Break (5 min) °Organization and Anatomy of a Computer (25) min)

cs 152 L1 Intro.3 Patterson Fall 97 ©UCB What is “Computer Architecture” Computer Architecture = Instruction Set Architecture + Machine Organization

cs 152 L1 Intro.4 Patterson Fall 97 ©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

cs 152 L1 Intro.5 Patterson Fall 97 ©UCB The Instruction Set: a Critical Interface instruction set software hardware

cs 152 L1 Intro.6 Patterson Fall 97 ©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,...)

cs 152 L1 Intro.7 Patterson Fall 97 ©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 Q: How many already familiar with MIPS ISA?

cs 152 L1 Intro.8 Patterson Fall 97 ©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

cs 152 L1 Intro.9 Patterson Fall 97 ©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

cs 152 L1 Intro.10 Patterson Fall 97 ©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

cs 152 L1 Intro.11 Patterson Fall 97 ©UCB Forces on Computer Architecture Computer Architecture Technology Programming Languages Operating Systems History Applications (A = F / M)

cs 152 L1 Intro.12 Patterson Fall 97 ©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

cs 152 L1 Intro.13 Patterson Fall 97 ©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

cs 152 L1 Intro.14 Patterson Fall 97 ©UCB Performance Trends Microprocessors Minicomputers Mainframes Supercomputers 1995 Year Log of Performance

cs 152 L1 Intro.15 Patterson Fall 97 ©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)

cs 152 L1 Intro.16 Patterson Fall 97 ©UCB Applications and Languages °CAD, CAM, CAE,... °Lotus, DOS,... °Multimedia,... °The Web,... °JAVA,... °???

cs 152 L1 Intro.17 Patterson Fall 97 ©UCB Measurement and Evaluation Architecture is an iterative process -- searching the space of possible designs -- at all levels of computer systems Good Ideas Mediocre Ideas Bad Ideas Cost / Performance Analysis Design Analysis Creativity

cs 152 L1 Intro.18 Patterson Fall 97 ©UCB Why do Computer Architecture? °CHANGE °It’s exciting! °It has never been more exciting! °It impacts every other aspect of electrical engineering and computer science

cs 152 L1 Intro.19 Patterson Fall 97 ©UCB CS152: Course Content Computer Architecture and Engineering Instruction Set DesignComputer Organization InterfacesHardware Components Compiler/System ViewLogic Designer’s View ­“Building Architect”­“Construction Engineer”

cs 152 L1 Intro.20 Patterson Fall 97 ©UCB CS152: 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.

cs 152 L1 Intro.21 Patterson Fall 97 ©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

cs 152 L1 Intro.22 Patterson Fall 97 ©UCB Course Structure ° Design Intensive Class to 150 hours per semester per student MIPS Instruction Set ---> Standard-Cell implementation ° Modern CAD System (PowerView): Schematic capture and Simulation Design Description Computer-based "breadboard" Behavior over time Before construction °Lectures: Review: 2 weeks on ISA, arithmetic 1 week on technology & HDL 4 weeks on Proc. Design 3 weeks on Memory and I/O 1 week on fast networks and multiprocessors 2 week by guest lecturers, field trip 2 weeks exams, presentations

cs 152 L1 Intro.23 Patterson Fall 97 ©UCB Typical Lecture Format °20-Minute Lecture °5- Minute Administrative Matters °25-Minute Lecture °5-Minute Break (water, stretch) °25-Minute Lecture °Instructor will come to class early & stay after to answer questions Attention Time 20 min.Break“In Conclusion,...”

cs 152 L1 Intro.24 Patterson Fall 97 ©UCB Course Administration °Instructor:David A. Patterson 635 Soda Hall Office Hours(Tentative): WF 1-2 °TAs:Joe Christoforos Kirby Zhang °Labs:Class Acounts on Soda Machines °Materials: °Newsgroup:ucb.class.cs152 °Text:Computer Organization and Design: The Hardware/Software Interface, Second Edition, Patterson and Hennessy Q: Need 2nd Edition? yes! >> 50% text changed, all exersizes changed all examples modernized, new sections,...

cs 152 L1 Intro.25 Patterson Fall 97 ©UCB Course Exams °Reduce the pressure of taking exams Midterms: (approximately) Wednesday Oct 1 and Wed. Nov 5 3 hrs to take 1.5-hr test (5-8 PM, Sibley Auditorium) Our goal: test knowledge vs. speed writing Review meetings: Sunday before Both mid-terms can bring summary sheets °Students/Staff meet over pizza after exam Goal: change to meet everyone I teach in person 1st time: pay back royalty (1 pizza/book)

cs 152 L1 Intro.26 Patterson Fall 97 ©UCB Course Workload °Reasonable workload (if you have good work habits) No final exam: Only 2 mid-terms Final project has been simplified Every lab feeds into the project Project teams have 4 or 5 members °Spring 1995 HKN workload survey (1 to 5, 5 being hardest) CS CS CS /3.5 CS CS /4.0 CS °Spring 1997 HKN workload survey (1 to 5, 5 being hardest) CS CS CS CS CS CS °Revised Science/Design units: now 3 Science, 2 Design

cs 152 L1 Intro.27 Patterson Fall 97 ©UCB Homework Assignments and Project °Most assignment consists of two parts Individual Effort: Exercises from the text book Team Effort: Lab assignments °Assignments go out on Friday Exercises due on a later Monday 10 AM in 283 Soda box Labs due at beginning of discussion section °Lab Homeworks returned in discussion section To spread computer workload put section time on them homeworks °Discussion sections this week 101Th DAVIS 102Th EVANS 103Th EVANS °Must turn in survey to be considered enrolled

cs 152 L1 Intro.28 Patterson Fall 97 ©UCB My Goal °Show you how to understand modern computer architecture in its rapidly changing form. °Show you how to design by leading you through the process on challenging design problems °NOT to talk at you °so... ask questions come to office hours find me in the lab...

cs 152 L1 Intro.29 Patterson Fall 97 ©UCB Project/Lab Summary °Powerview runs on all HPs, but 349 and 273 Soda machines have local copies °Lab assignments: Lab 0 C -> MIPS, SPIM (1 week) Lab 1 Performance measurement, diagnostics (1 week) Lab 2 Powerview / Fast ALU Design (1 week) Lab 3 Single Cycle Processor Design (2 weeks) Lab 4 Pipelined Processor Design (2 weeks) Lab 5 Cache & DMA Design (2 weeks) Lab 6 Open ended work for final project °2-hour discussion section so that can have project meetings in second hour (attendance required at project meetings); team in same section! °Oral presentation and written report

cs 152 L1 Intro.30 Patterson Fall 97 ©UCB Grading °Grade breakdown Two Midterm Exams: 40% (combined) Design Project:30% Homework Assignments20% Project Group Participation 5% Class Participation: 5% °No late homeworks or labs: our goal grade, return Š 1 week °Grades posted on home page Written/ request for changes to grades Nov 26 deadline to correct scores °CS Division guideline upper division class GPA between 2.7 and 3.1. average 152 grade will be a B or B+; set expectations accordingly

cs 152 L1 Intro.31 Patterson Fall 97 ©UCB Course Problems °Can’t make midterm Tell early us and we will schedule alternate time °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 homeworks 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 (6 Labs + 6 homeworks 20% of grade)

cs 152 L1 Intro.32 Patterson Fall 97 ©UCB Class decides on penalties for cheating; staff enforces °Exercises (book): 0 for problem 0 for homework assignment subtract full value for assignment subtract 2X full value for assignment °Labs leading to project (groups: only penalize individuals?) 0 for problem 0 for homework assignment subtract full value for assignment subtract 2X full value for assignment °Exams 0 for problem 0 for exam

cs 152 L1 Intro.33 Patterson Fall 97 ©UCB Project Simulates Industrial Environment °Project teams have 4 members in same discussion section video lecture by Sun expert on working in groups °Communicate with colleagues (team members) What have you done? What answers you need from others? You must document your work!!! Everyone must keep an on-line notebook °Communicate with supervisor (TAs) How is the team’s plan? Short progress reports are required: -What is the team’s game plan? -What is each member’s responsibility?

cs 152 L1 Intro.34 Patterson Fall 97 ©UCB Things We Hope You Will Learn from 152 °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” °Group dynamics. Communication is the key to success: Be open with others of your expectations and your problems Everybody should be there on design meetings when key decisions are made and jobs are assigned °Planning is very important: Promise what you can deliver; deliver more 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.

cs 152 L1 Intro.35 Patterson Fall 97 ©UCB What you should know from 61C, 150 °Basic machine structure processor, memory, I/O °Read and write basic C programs °Read and write in an assembly language MIPS preferred °Understand the steps in a make file and what they do compile, link, load & execute °Understand the concept of virtual memory °Logic design logical equations, schematic diagrams, FSMs, components

cs 152 L1 Intro.36 Patterson Fall 97 ©UCB Getting into CS 152 °If not preenrolled, Fill out petition form °Fill out survey and return Friday °Know the prerequsistes CS 61C - assembly language and simple computer organization CS Logic design °Prerequisite quiz on Friday Sept 5; Pass/Fail UC doesn’t always enfore prerequisites TA’s will hold review sessions tomorrow+1 week Need to pass prerequisite quiz to take CS 152

cs 152 L1 Intro.37 Patterson Fall 97 ©UCB Levels of Representation (61C 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

cs 152 L1 Intro.38 Patterson Fall 97 ©UCB Levels of Organization 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

cs 152 L1 Intro.39 Patterson Fall 97 ©UCB 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

cs 152 L1 Intro.40 Patterson Fall 97 ©UCB The SPARCstation 20 Memory Controller SIMM Bus Memory SIMMs Slot 1MBu s Slot 0MBu s MSBI Slot 1SBusSlot 0SBusSlot 3SBusSlot 2SBus MBus SECMACIO Disk Tape SCSI Bus SBus Keyboard & Mouse Floppy Disk External Bus SPARCstation 20

cs 152 L1 Intro.41 Patterson Fall 97 ©UCB The Underlying Interconnect SPARCstation 20 Memory Controller SIMM Bus MSBI Processor/Mem Bus: MBus SECMACIO Standard I/O Bus: Sun’s High Speed I/O Bus: SBus Low Speed I/O Bus: External Bus SCSI Bus

cs 152 L1 Intro.42 Patterson Fall 97 ©UCB Processor and Caches SPARCstation 20 Slot 1MBu s Slot 0MBu s MBus Module External Cache DatapathRegisters Internal Cache Control Processor

cs 152 L1 Intro.43 Patterson Fall 97 ©UCB Memory SPARCstation 20 Memory Controller Memory SIMM Bus SIMM Slot 0SIMM Slot 1SIMM Slot 2SIMM Slot 3SIMM Slot 4SIMM Slot 5SIMM Slot 6SIMM Slot 7 DRAM SIMM DRAM

cs 152 L1 Intro.44 Patterson Fall 97 ©UCB Input and Output (I/O) Devices SPARCstation 20 Slot 1SBusSlot 0SBusSlot 3SBusSlot 2SBus SECMACIO Disk Tape SCSI Bus SBus Keyboard & Mouse Floppy Disk External Bus °SCSI Bus: Standard I/O Devices °SBus: High Speed I/O Devices °External Bus: Low Speed I/O Device

cs 152 L1 Intro.45 Patterson Fall 97 ©UCB Standard I/O Devices SPARCstation 20 Disk Tape SCSI Bus °SCSI = Small Computer Systems Interface °A standard interface (IBM, Apple, HP, Sun... etc.) °Computers and I/O devices communicate with each other °The hard disk is one I/O device resides on the SCSI Bus

cs 152 L1 Intro.46 Patterson Fall 97 ©UCB High Speed I/O Devices SPARCstation 20 Slot 1SBusSlot 0SBusSlot 3SBusSlot 2SBus °SBus is SUN’s own high speed I/O bus °SS20 has four SBus slots where we can plug in I/O devices °Example: graphics accelerator, video adaptor,... etc. °High speed and low speed are relative terms

cs 152 L1 Intro.47 Patterson Fall 97 ©UCB Slow Speed I/O Devices SPARCstation 20 Keyboard & Mouse Floppy Disk External Bus °The are only four SBus slots in SS20--”seats” are expensive °The speed of some I/O devices is limited by human reaction time--very very slow by computer standard °Examples: Keyboard and mouse °No reason to use up one of the expensive SBus slot