Xiuzhen Cheng Xiuzhen Cheng Csci136 Computer Architecture II – Introduction.

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.
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.
°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.
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.
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.
Chapter 1 Sections 1.1 – 1.3 Dr. Iyad F. Jafar Introduction.
CENG311 Computer Architecture Kayhan Erciyes. CS231 Assembly language and Digital Circuits Instructor:Kayhan Erciyes Office:
CS 61C L01 Introduction (1) Garcia, Spring 2004 © UCB Lecturer PSOE Dan Garcia CS61C www page www-inst.eecs.berkeley.edu/~cs61c/
1 CS/COE0447 Computer Organization & Assembly Language CHAPTER 1 Part 1.
Introduction Course Overview and Basic understanding of Computer Architecture.
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.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
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 System Design Lecture 1 Wannarat Suntiamorntut.
Chapter 1 Computer Abstractions and Technology. Chapter 1 — Computer Abstractions and Technology — 2 The Computer Revolution Progress in computer technology.
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.
Morgan Kaufmann Publishers
1 chapter 1 Computer Architecture and Design ECE4480/5480 Computer Architecture and Design Department of Electrical and Computer Engineering University.
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.
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
CC311 Computer Architecture Chapter 1 Computer Abstraction & Technology.
Microprocessors CSE- 341 Dr. Jia Uddin Assistant Professor, CSE, BRAC University.
By Wannarat Computer System Design Lecture 1 Wannarat Suntiamorntut.
CS4100: 計算機結構 Course Outline 國立清華大學資訊工程學系 九十九年度第二學期.
Introduction CSE 410, Spring 2005 Computer Systems
William Stallings Computer Organization and Architecture 6th Edition
COSC 3406: Computer Organization
INTRODUCTION TO MICROPROCESSORS
Components of Computer
INTRODUCTION TO MICROPROCESSORS
CSE 410: Computer Systems Instructor: David Ely
CS775: Computer Architecture
EEL 4713/EEL 5764 Computer Architecture
T Computer Architecture, Autumn 2005
INTRODUCTION TO COMPUTER ARCHITECTURE
CS61C – Machine Structures Lecture 1 – Introduction
Welcome to Architectures of Digital Systems
What is Computer Architecture?
COMS 361 Computer Organization
What is Computer Architecture?
CS4100: 計算機結構 Course Outline
Lecture 1 Class Overview
ELEC / Computer Architecture and Design Fall 2014 Introduction
CSE378 Introduction to Machine Organization
Presentation transcript:

Xiuzhen Cheng Xiuzhen Cheng Csci136 Computer Architecture II – Introduction

Lecture Outline Administrivia – syllabus Introduction, Technology Trend

Administrivia – syllabus Course Information 3 credits; CRN: :10AM – 12:25PM, Tuesday & Thursday; PHIL Instructor Information Xiuzhen Cheng, Academic Center, Room 716 Tel: Fax: Office hour: 1:00PM-3:00PM, Tue. & Thur.; or by appointment

Syllabus (Cont.) Lab Sections Section 30: Tomp 405, Wed. 4:10PM – 6:00PM Section 31: Tomp 405, Wed. 10:00AM – 12:00PM Discussion on homework problems, projects, lectures, etc. Must attend one of them. TA Information Fanchun Jin: Office: Academic Center, Room 730 Office hours:Mon, Thur. 4 – 6PM Fang Liu: Office: Academic Center, Room 710 Office hours:???

Syllabus (Cont.) Textbook “Computer Organization & Design: the hardware/software interface”, 3 rd edition, by D.A. Patterson & J.L. Hennessy, ISBN , required “Introduction to RISC Assembly Language Programming”, by J. Waldron, 1999, ISBN , optional Prerequisite Csci 135 or equivalent knowledge Programming ability in a higher-level language Course Plan

Syllabus (Cont.) No midterm; 1 final. Final will cover all material. 5 quizes, among which 4 will be counted in your final grades. Open book, open notes Graded by Instructors More than 10 homework assignments. 3 projects. Will be graded by TA 1: Merge Sort (7%); 2: Simple Calculator (6%); 3: Single Precision Floating Point Addition and Subtraction (7%). Method of instruction: lecture and in-class discussion

Syllabus (Cont.) Grading Policy Based on curve. You must pass final to pass the course Homework assignments:20% Projects:20% quizes30% Final:30% Make-up policy:NO

Syllabus (Cont.) Lab plan: Announcement Page Please visit routinely Useful link page SPIM related pages Questions?

Focus of the Course Focuses of this course: How computers work MIPS instruction set architecture, Assembly Programming The implementation of MIPS instruction set architecture ( a subset) – MIPS processor design Issues affecting modern processors (caches, pipelines) Pipelining – processor performance improvement. Memory system, I/O systems

Course Objective Objective of the course: Help you become a better programmer! Learn tools to solve problems Study the interaction between hardware/software Learn the design trade-offs that drive the performance of computer systems By the end of this semester, you will be able to understand… How is high-level language translated to machine code? How does the hardware execute the program? What is the interface between hardware and software? How does software instruct the hardware to perform the job? What determines the performance and how to improve it? …

Course Problems…Cheating What is cheating? Studying together in groups is encouraged. Turned-in work must be completely 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, … Both “giver” and “receiver” are equally culpable Cheating on homeworks: negative points for that assignment (e.g., if it’s worth 10 pts, you get -10) Cheating on projects / exams; At least, negative points for that project / exam. In most cases, F in the course.

What is Computer Organization Computer Organization: the high-level aspects of a computer’s design CPU (datapath and control), memory system, I/O system … Datapath: performs arithmetic operation Control: guides the operation of other components based on the user instructions

Anatomy: 5 components of any Computer Personal Computer Processor Computer Control (“brain”) Datapath (“brawn”) Memory (where programs, data live when running) Devices Input Output Keyboard, Mouse Display, Printer Disk (where programs, data live when not running)

What is Computer Architecture Programmer’s view: a pleasant environment Operating system’s view: a set of resources (hw & sw) System architecture view: a set of components Compiler’s view: an instruction set architecture with OS help Microprocessor architecture view: a set of functional units VLSI designer’s view: a set of transistors implementing logic Mechanical engineer’s view: a heater! For this course, computer architecture mainly refers to Instruction Set Architecture Programmer-visible. Serves as the boundary between the software and hardware.

Example Computer Architectures Accumulator architecture 1 general purpose register called accumulator. Hold one source and the destination. The 2 nd source is in memory Eg. EDSAC (1949), Motorola 6800 (1974) Stack architecture: HP handheld calculator Load-store register architecture – since 1980 Load data from memory to register, register-register operation MIPS, SPARC, PowerPC, DEC Alpha Others: Register-memory architecture: DEC VAX, Motorola 6800, etc Memory-memory architecture: DEC VAX

Why Register Architecture Dominates? Mainly refers to General Purpose Register Architecture A general purpose register can hold an address, an integer, an instruction, a floating point number, an integer, … Why General Purpose Register? Registers are faster than memory Registers are more efficient for a compiler to use than other forms of internal storage Registers can be used to hold variables How many registers are sufficient? Compiler requires at least 16 The more, the better? No! Why? MIPS R3000 has bit general purpose register

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 feature size ~ 0.13µm = 0.13 x m M transistors ( M “logic gates") conductive layers “CMOS” (complementary metal oxide semiconductor) - most common. Package provides: spreading of chip-level signal paths to board-level heat dissipation. Ceramic or plastic with gold wires. Chip in Package Bare Die

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) Now 1.4X/yr, or 2X every 2 years. 8000X since 1980!

Technology Trends: Microprocessor Complexity 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 Athlon (K7): 22 Million Itanium 2: 410 Million

Technology Trends: Processor Performance 1.54X/yr Intel P MHz (Fall 2001) We’ll talk about processor performance later on… year Performance measure

Computer Technology - Dramatic Change! Memory DRAM capacity: 2x / 2 years (since ‘96); 64x size improvement in last decade. Processor Speed 2x / 1.5 years (since ‘85); 100X performance 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 (Kilo, Mega, Giga, Tera, Peta, Exa, Zetta, Yotta = ) Come up with a clever mnemonic, fame!

Technology in the News BIG LaCie the first to offer consumer-level 1.6 Terabyte disk! $2,200 Weighs 11 pounds! 5 1/4” form-factor SMALL Pretec is soon offering a 12GB CompactFlash card Size of a silver dollar Cost? > New Honda! Fast Samsung 256 Mbit XDR DRAM

So What You Will Learn? 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 Assembly Language Programming This is a skill you will pick up Hardware design We think of hardware at the abstract level, with only a little bit of physical logic to give things perspective

Summary Continued rapid improvement in computing 2Xevery 2.0 years in memory size; every 1.5 years in processor speed; 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 }

Homework and Questions Homework #1: Readings: Chapter 1 Problems: , , 1.46, , Questions?