°Instructor: Prof. Ginnie Lo  GTF: Amir Rasti °Prerequisite: CIS212, MATH231 www.cs.uoregon.edu/classes/10F/cis314 Note: These slides are heavily based.

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.
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.
Fall 2002EECS150 - Lec02-CMOS Page 1 EECS150 - Digital Design Lecture 2 - CMOS August 27, 2003 by Mustafa Ergen Lecture Notes: John Wawrzynek.
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.
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.
RISC By Don Nichols. Contents Introduction History Problems with CISC RISC Philosophy Early RISC Modern RISC.
CIS 314: Introduction to MIPS Assembly Language: Arithmetic Fall 2005 I´ve been getting this a lot lately So, what are you teaching this term? Computer.
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 ( )
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.
CS 61C L08 Introduction to MIPS Assembly Language: Arithmetic (1) Garcia, Spring 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c.
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:
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 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.
CPE232 Introduction1 CPE 335 Computer Organization Introduction Dr. Gheith Abandah [Adapted from the slides of Professor Mary Irwin (
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.
1 (Based on text: David A. Patterson & John L. Hennessy, Computer Organization and Design: The Hardware/Software Interface, 3 rd Ed., Morgan Kaufmann,
Computer Organization and Design Computer Abstractions and Technology
Computer Architecture Mehran Rezaei
Computer System Design Lecture 1 Wannarat Suntiamorntut.
Chapter 2 Instructions: Language of the Computer Part I.
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.
Lecture 11: 10/1/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
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.
Review of the numeration systems The hardware/software representation of the computer and the coverage of that representation by this course. What is the.
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
CHAPTER 2 Instruction Set Architecture 3/21/
1 CHAPTER 1 COMPUTER ABSTRACTIONS AND TECHNOLOGY Parts of these notes have been adapter from those of Prof. Professor Mike Schulte, Prof. D. Patterson,
By Wannarat Computer System Design Lecture 1 Wannarat Suntiamorntut.
CS4100: 計算機結構 Course Outline 國立清華大學資訊工程學系 九十九年度第二學期.
William Stallings Computer Organization and Architecture 6th Edition
COSC 3406: Computer Organization
INTRODUCTION TO MICROPROCESSORS
Architecture & Organization 1
INTRODUCTION TO MICROPROCESSORS
CSE 410: Computer Systems Instructor: David Ely
COSC 3406: Computer Organization
EEL 4713/EEL 5764 Computer Architecture
Architecture & Organization 1
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
Presentation transcript:

°Instructor: Prof. Ginnie Lo  GTF: Amir Rasti °Prerequisite: CIS212, MATH231 Note: These slides are heavily based on the slides used in previous years. However, we have made changes, deletion, and additions to them. CIS 314 : Computer Organization Lecture 1 – Introduction

What is this course all about? Fundamental concepts about how a computer works – The five basic components of a computer – How everything boils down to 1’s and 0’s – How a computer program is executed by the hardware – Machine language: the basic language that a computer ‘understands’ – How the basic instructions in a machine language are carried out by the computer hardware 2CIS314 - Fall 2010

What is this course all about? (cont.) Fundamental concepts about how a computer works – A little about how a program in a high level language like C gets translated into machine language (More “what” than “how”. The how is really the topic of our compilers course) – How to measure computer performance – How the computer architecture is designed to maximize performance: CPU design: Pipelining Memory design: Caching 3CIS314 - Fall 2010

What technical skills in 314? Assembly Language Programming in MIPS – A side effect of understanding the key ideas (not the goal of this course) Logic Design – A little about how to design computer components from logic gates Unix Basics – Basic commands and tools 4CIS314 - Fall 2010

Textbook Required: Computer Organization and Design: The Hardware/Software Interface, Fourth Edition, Patterson and Hennessy (P&H). The third edition is far inferior, and is not suggested. The book should be available in the bookstore We’ll use both the textbook and the CD included with it Keep reading the relevant chapter as we cover each topic 5CIS314 - Fall 2010

Weekly Schedule Lectures - Principles and concepts – MWF 10-10: Deady – Prof. Lo Office Hrs: Mon, Thurs 2-3:30 and by appt – Amir Rasti Office Hrs: Tue 2-3:30, Thu 11-12:30 Discussion Sessions – Assignments – F 11:00 – 11: Klamath – F 13:00 – 13: Klamath Please come to class on time Class schedule is available online Check “announcement” part of the class web page Grades on Blackboard (blackboard.uoregon.edu) 6CIS314 - Fall 2010

Course Assignments Homework assignments; due in lectures, returned in discussions NO LATE ASSIGNMENT IS ACCEPTED! But you can drop lowest HW score. Programming assignments – You will use the SPIM simulator. Grading is based on how your program runs on the department machines. – Get CS UNIX accounts ASAP ( In-class Quizzes (you can drop lowest quiz score) 7CIS314 - Fall 2009

Two Course Exams – Midterm: Monday Nov 3rd in class One sheet of notes allowed Review session TBD – Final: Wednesday Dec 10:15 AM One sheet of notes allowed Review session TBD 8CIS314 - Fall 2010

GRADING 15% Homework Assignments 10% Quizzes 15% Programming assignments 30% Midterm 30% Final 9CIS314 - Fall 2010

Course Problems…Cheating What is cheating? – Studying together in groups is encouraged. – Turned-in work must be completely your own. – Common examples of cheating: saving somebody else’s work to drive/remote site, 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 homework/projects: negative points for that assignment (e.g., if it’s worth 10 pts, you get -10) Cheating on exams: F in the course. Every offense will be referred to the Office of Student Judicial Affairs ( 10CIS314 - Fall 2010

What is Computer Organization? Where is the HW/SW Interface? *Coordination of many levels (layers) of abstraction I/O systemProcessor Compiler Operating System (Unix) Application (C program) Digital Design Circuit Design Instruction Set Architecture Datapath & Control Transistors Memory Hardware Software Assembler 11CIS314 - Fall 2010

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

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) 13CIS314 - Fall 2010

Overview of Physical Implementations 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. The hardware out of which we make systems. 14CIS314 - Fall 2010

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 15CIS314 - Fall 2010

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

Technology Trends: Memory Capacity (Single-Chip DRAM) year size (Mbit) Now 1.4X/yr, or 2X every 2 years. 8000X since 1980! 17CIS314 - Fall 2010

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 18CIS314 - Fall 2010

Moore’s Law Gordon Moore - co-founder of Intel observed and predicted a trend: Density of data on a chip would double every year (Specifically density of transistors on an integrated circuit) True for 4 decades. Has slowed a little to double every 18 months. Expected to continue for at least two more decades. Implications: increased performance, decreased cost 19CIS314 - Fall 2010

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. 21CIS314 - Fall 2010

Computer Technology - Dramatic Change! State-of-the-art PC when you graduate: (at least…) – Processor clock speed: 3-4 GHz – Number of cores: 2-4 – Memory capacity: 4.0 GB – Disk capacity: 2000 GB (2.0 TB = TeraBytes) – New units needed for the future! (Kilo, Mega, Giga, Tera, Peta, Exa, Zetta, Yotta = ) 22CIS314 - Fall 2010

Summary of HW Changes 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 }} I/O 23CIS314 - Fall 2010

Instruction Set Architectures Different CPUs implement different sets of instructions. The set of instructions a particular CPU implements is an Instruction Set Architecture (ISA). – Examples: Intel 80x86 (Pentium 4), IBM/Motorola PowerPC (Macintosh), MIPS, Intel IA64,...

Instruction Set Architectures - History Accumulator ISA – One register in the CPU for arithmetic called the accumulator LOAD ACC, X ADD ACC, Y STORE ACC, Z Stack ISA – A stack is used for arithmetic PUSH X PUSH Y ADD POP Z

Instruction Set Architectures General Purpose Register ISA Three types based on where operands for arithmetic operations can come from. – Memory-memory – Register-memory – Register-register (Load/Store) MIPS has a Load/Store ISA

Instruction Set Architectures Early trend was to add more and more instructions to new CPUs to do elaborate operations – VAX architecture had an instruction to multiply polynomials! RISC philosophy: Reduced Instruction Set Computing – Keep the instruction set small and simple, makes it easier to build fast hardware. – Let software do complicated operations by composing simpler ones.

RISC Architectures Fixed instruction lengths Load/store instruction sets Limited addressing modes (ways to access variables in memory) Limited operations Sun SPARC, IBM PowerPC, MIPS

A Few Famous Computer Hardware Designers: CIS314 - Fall John Hennessy, President Stanford University RISC Architecture David Patterson, Prof. UC Berkeley RISC Architecture Stored program architecture RISC and pipelining

MIPS Architecture MIPS – semiconductor company that built one of the first commercial RISC architectures We will study the MIPS architecture in some detail in this class (also used in CIS 429 Computer Architecture) Why MIPS instead of Intel 80x86? – MIPS is simple, elegant. Don’t want to get bogged down in gritty details. – MIPS widely used in embedded apps, x86 little used in embedded; mostly PCs.

A few of my favorite computers CIS314 - Fall

Powerpoint Lecture Slides Credit to – Visiting professor Juan Flores, and former GTF Dayi Zhou – Dan Garcia, UC Berkeley Computer Science department, for many of the slides for this course – Ginnie Lo and Reza Rejaie, UO Computer Science department Slides will be available on-line in.ppt and.pdf formats 32CIS314 - Fall 2010

Mystery Photo Can you identify 3 people in this photo?? CIS314 - Fall