Lecture 2: 8/29/2002CS170 Fall 20021 CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.

Slides:



Advertisements
Similar presentations
McGraw-Hill/Irwin ©2008 The McGraw-Hill Companies, All Rights Reserved Plug-in B3 HARDWARE & SOFTWARE.
Advertisements

TU/e Processor Design 5Z0321 Processor Design 5Z032 Computer Systems Overview Chapter 1 Henk Corporaal Eindhoven University of Technology 2011.
Introduction to Computer Hardware and Software. Definition of a Computer “A computer is an electronic device, operating under the control of instructions.
CpE442 Intro. To Computer Architecture CpE 442 Introduction To Computer Architecture Lecture 1 Instructor: H. H. Ammar These slides are based on the lecture.
Introduction Digital systems (logic design, digital logic, switching circuits) are employed in: computers data communication control systems many other.
Fall 2001CS 4471 CS 447: Fall 2001 Chapter 1: Computer Abstraction and Technology (Introduction to the course)
EEM 486 EEM 486: Computer Architecture Lecture 1 Course Introduction and the Five Components of a Computer.
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.
Computer Organization and Design David. Paterson and John L. Hennessy
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.
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.
CIS 314 : Computer Organization Lecture 1 – Introduction.
MSIS 110: Introduction to Computers; Instructor: S. Mathiyalakan1 Hardware: Input, Processing, and Output Devices Chapter 3.
August 26 TA: Angela Van Osdol Questions?. What is a computer? Tape drives? Big box with lots of lights? Display with huge letters? Little box with no.
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:
CpE442 Intro. To Computer Architecture CpE 442 Introduction To Computer Architecture Lecture 1 Instructor: H. H. Ammar These slides are based on the lecture.
Computer Organization and Architecture (AT70. 01) Comp. Sc. and Inf
Chapter 1 CSF 2009 Computer Abstractions and Technology.
Digital Systems Design L01 Introduction.1 Digital Systems Design Lecture 01: Introduction Adapted from: Mary Jane Irwin ( )
Introduction Course Overview and Basic understanding of Computer Architecture.
Computer Architecture ECE 4801 Berk Sunar Erkay Savas.
1 Computer Systems. 2 Introduction – What is a Computer? This course is all about how computers work What do computer and computer system mean to you?
Computers Central Processor Unit. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
E0001 Computers in Engineering1 The System Unit & Memory.
Principles of Information Systems, Sixth Edition Hardware: Input, Processing, and Output Devices Chapter 3.
What is a Computer ? Computers are Electronic Machines that process (performs calculation and manipulation) Data under the control of Set of Instructions.
Overview Introduction The Level of Abstraction Organization & Architecture Structure & Function Why study computer organization?
Cs 152 L1 Intro.1 Patterson Fall 97 ©UCB What is “Computer Architecture” Computer Architecture = Instruction Set Architecture + Machine Organization.
Introduction CSE 410, Spring 2008 Computer Systems
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.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
Computer Organization and Design Computer Abstractions and Technology
Computer Architecture And Organization UNIT-II General System Architecture.
Computer Engineering Rabie A. Ramadan Lecture 1. 2 Welcome Back.
Chapter 1 Computer Abstractions and Technology. Chapter 1 — Computer Abstractions and Technology — 2 The Computer Revolution Progress in computer technology.
Lecture 7: 9/17/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
Lecture 11: 10/1/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
순천향대학교 정보기술공학부 이 상 정 1 1. Computer Abstractions and Technology.
CPS 4150 Computer Organization Fall 2006 Ching-Song Don Wei.
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.
Adapted from Computer Organization and Design, Patterson & Hennessy, UCB ECE232: Hardware Organization and Design Part 5: MIPS Instructions I
Chapter 1 — Computer Abstractions and Technology — 1 Below Your Program Application software – Written in high-level language System software – Compiler:
Principles of Information Systems, Sixth Edition Hardware: Input, Processing, and Output Devices Chapter 3.
1  1998 Morgan Kaufmann Publishers Where we are headed Performance issues (Chapter 2) vocabulary and motivation A specific instruction set architecture.
DR. SIMING LIU SPRING 2016 COMPUTER SCIENCE AND ENGINEERING UNIVERSITY OF NEVADA, RENO CS 219 Computer Organization.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
CSIE30300 Computer Architecture Unit 01: Introduction Hsin-Chou Chi [Adapted from material by and
1 CHAPTER 1 COMPUTER ABSTRACTIONS AND TECHNOLOGY Parts of these notes have been adapter from those of Prof. Professor Mike Schulte, Prof. D. Patterson,
CC311 Computer Architecture Chapter 1 Computer Abstraction & Technology.
Introduction CSE 410, Spring 2005 Computer Systems
Computer Organization and Architecture Lecture 1 : Introduction
Morgan Kaufmann Publishers
Computer Architecture & Operations I
CSE 410, Spring 2006 Computer Systems
INTRODUCTION TO MICROPROCESSORS
Basic Computer Organization
INTRODUCTION TO MICROPROCESSORS
EEL 4713/EEL 5764 Computer Architecture
Microprocessor & Assembly Language
T Computer Architecture, Autumn 2005
COMS 361 Computer Organization
Computer Architecture
Presentation transcript:

Lecture 2: 8/29/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture 2: 8/29/2002

CS170 Fall Outline Introduction & software hierarchy Fundamental concepts and abstractions Today we should cover sections

Lecture 2: 8/29/2002CS170 Fall Introduction Computers almost affect every aspect of our modern day society Once considered “science fiction” applications ATMs Computers in cars Laptop computers World Wide Web

Lecture 2: 8/29/2002CS170 Fall Below your Program 1/4 First programmers communicated in Binary Assembler-symbolic notation to binary High Level programming languages-C++, Fortran –Compiler –Assembler COPYRIGHT 1998 MORGAN KAUFMANN PUBLISHERS, INC. ALL RIGHTS RESERVED

Lecture 2: 8/29/2002CS170 Fall Below your Program 2/4 MIPS Million Instructions Per Second, measure for computer performance MIPS processor, MIPS hardware means it is capable of performing in terms of MIPS MIPS RISC architecture RISC (example PowerPC by Apple, IBM, Motorola) Reduced Instruction Set Computer (20% of instructions performed 80% of the work) Smaller number of instructions in instruction set (means simpler hardware to implement instructions) Term coined by Patterson (one of the textbook authors) CISC (example Intel’s Pentium) Complex Instruction Set Computer (Large number of instructions, with complex instructions) RISC replaces a complex instruction with a number of simpler instructions

Lecture 2: 8/29/2002CS170 Fall Below your Program 3/4 Advantages of high level programming languages Think in a more natural language using English words and algebraic notation Languages can be designed according to use FortranScientific computation Lispsymbolic notation Improved programmer productivity (fewer lines) Allow programs to be independent of computer on which they are developed

Lecture 2: 8/29/2002CS170 Fall Below your Program 4/4 Software reuse (subroutine libraries) Operating systems (Programs to manage computer resources) Hierarchical layers: hardware at center to user-centered applications Software categorized by its use COPYRIGHT 1998 MORGAN KAUFMANN PUBLISHERS, INC. ALL RIGHTS RESERVED

Lecture 2: 8/29/2002CS170 Fall Computer Components 1/6 Processor Memory Input Output Five classic components of a computer: Input, Output, Memory, Data path, Control KeyboardMousescanner DisplayPrinter Processor Processor gets instructions and data from memory Control sends signals that determine operation of data path (performs arithmetic operations), memory, input and output

Lecture 2: 8/29/2002CS170 Fall Computer Components 2/6 I/O devices in focus Mouse (invented by Doug Engelbart around 1967) Graphics Display CRT (Cathode ray tube) Scan image one line at a time 30 to 75 times per second (refresh rate) Image composed of matrix of picture elements called pixels (matrix of bits: bit map) 1 bit/pixel black or white, 8 bits/pixel gray-scale, 24 bits/pixel (8 bits for each RGB) LCD (Liquid crystal displays) Thin, low-power display

Lecture 2: 8/29/2002CS170 Fall Computer Components 3/6 Hardware support for graphics Frame buffer (raster refresh buffer) to store bit map Bit pattern per pixel read to display at refresh rate COPYRIGHT 1998 MORGAN KAUFMANN PUBLISHERS, INC. ALL RIGHTS RESERVED

Lecture 2: 8/29/2002CS170 Fall Computer Components 4/6 Processor (CPU Central processor unit) Data pathperforms arithmetic operations Controlinstructs data path, memory and I/O devices of what to do according to program instructions COPYRIGHT 1998 MORGAN KAUFMANN PUBLISHERS, INC. ALL RIGHTS RESERVED Major blocks of a sample processor (Intel Pentium) 3.3 million transistors with almost 1 million for cache

Lecture 2: 8/29/2002CS170 Fall Computer Components 5/6 What is meant by a 400 MHz processor? MHz is Mega Hertz Every computer governed by a clock Set of operations occur every clock cycle (clock period) Clock cycle measured in nanoseconds sec (or picoseconds sec) Frequency of the clock is = 1/clock cycle Frequency measured in Hertz. 1 Hertz = 1 cycle/sec 400 MHz imply the clock cycle is 2.5 nanoseconds? Clock cycle = 1/(400 * 10 6) = 2.5 * sec/cycle = 2.5 nanoseconds

Lecture 2: 8/29/2002CS170 Fall Computer Components 6/6 Memory Primary memory (volatile)  DRAM (Dynamic random access memory) What is sequential access?  Contain instruction and data of a program  memory access takes the same amount of time no matter what portion is accessed  Cache ( Small fast memory, acts as buffer for DRAM) Secondary memory (non volatile)  Magnetic disks (floppy disk, hard disk) (rotating platters on a spindle with read/write head)  CD (Compact disk, optical, cheaper but slower than magnetic)  Disks have slower access time, cheaper per MB than DRAM

Lecture 2: 8/29/2002CS170 Fall Principal of Abstraction Software and Hardware can be viewed as a hierarchy of levels Each lower-level contains additional detail than the higher-level (lower-level details are hidden to offer a simple model at higher levels) Simplest level is topmost level Use of such layers is called Abstraction Examples of abstractions? Instruction Set Architecture of a machine is an abstraction Interface between the hardware and the lowest-level software

Lecture 2: 8/29/2002CS170 Fall Instruction Set Architecture (ISA) Includes anything that programmers need to know to make a binary machine program work correctly, including Instructions (categories, format,..) I/O devices, # of registers, memory access schemes, … Allows focus on “Functions” independently from hardware performing the functions Different architecture implementations can run the same identical software because they have the same architecture abstraction Examples of ISA Intel’s (8086, 80286, 80386, 80486, Pentium, MMX, …) Sun SPARC SGI MIPS Q: What is the impact of changing ISA between implementations? Old programs might not run on the new ISA and vice versa

Lecture 2: 8/29/2002CS170 Fall A Due Q: A Due Q: What is Computer architecture? Computer architecture is Instruction set architecture + machine organization Machine organization Capabilities and performance characteristics of the principal functional units (registers, ALU, logic units,..), the ways in which they are interconnected, how information flows between components and the logic and ways in which the information flow is controlled I/O systemInstr. Set Proc. Compiler Operating System Application Digital Design Circuit Design ISA Firmware Datapath & Control Layout Patterson Fall 97 ©UCB