12/13/2015445_01 1 Computer Organization EEC-213 Computer Organization Electrical and Computer Engineering.

Slides:



Advertisements
Similar presentations
The CPU The Central Presentation Unit What is the CPU?
Advertisements

Stored Program Architecture
Microprocessors. Von Neumann architecture Data and instructions in single read/write memory Contents of memory addressable by location, independent of.
1.21 Introduction to microprocessors KUEU 2135 / KBEB 2193 Mikropemproses dan Sistemnya.
CHAPTER 4 COMPUTER SYSTEM – Von Neumann Model
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Chapter 01 Introduction Chapter 0 Introduction. Chapter 02 History of Computing - Early Computers Abacus (ancient orient, still in use) Slide rule (17C,
Chapter 5: Computer Systems Organization Invitation to Computer Science, C++ Version, Third Edition Added to by S. Steinfadt - Spring 2005 Additional source.
Data Manipulation Computer System consists of the following parts:
Stored Program Concept: The Hardware View
Elements of the Computer (How a processor works)
1-1 ICS102: Introduction To Computing I King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science.
1 Introduction to computers Overview l · Grading Policy »Cheating Rules (serious concern) »Examinations and Fixation of Timings »Quizzes »Homework Assignments.
Computer Organization and Assembly language
Computers Central Processor Unit. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
The von Neumann Model – Chapter 4 COMP 2620 Dr. James Money COMP
Computer Architecture Lecture 01 Fasih ur Rehman.
Dept. of Computer Science Engineering Islamic Azad University of Mashhad 1 Computer System Architecture Dept. of Computer Science Engineering Islamic Azad.
Intro to CS Chapt 2 Data Manipualtion 1 Data Manipulation How is data manipulated inside a computer? –How is data input? –How is it stored? –How is it.
Computers Central Processor Unit. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
3 1 3 C H A P T E R Hardware: Input, Processing, and Output Devices.
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
Invitation to Computer Science 5th Edition
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
Chapter 1 Basic Structure of Computers. Chapter Outline computer types, structure, and operation instructions and programs numbers, arithmetic operations,
Levels of Architecture & Language CHAPTER 1 © copyright Bobby Hoggard / material may not be redistributed without permission.
Computer Fundamentals ELEC 330 Digital Systems Engineering Dr. Ron Hayne.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Computer Systems Organization CS 1428 Foundations of Computer Science.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
CPS120: Introduction to Computer Science Introduction to Computers.
Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
Chap. 0 Introd. to Computer1 0. Introduction to Computer 0.1 Binary Number System
Computer Architecture And Organization UNIT-II Structured Organization.
5-1 Computer Components Consider the following ad.
Von Neumann Machine Objectives: Explain Von Neumann architecture:  Memory –Organization –Decoding memory addresses, MAR & MDR  ALU and Control Unit –Executing.
Cis303a_chapt04.ppt Chapter 4 Processor Technology and Architecture Internal Components CPU Operation (internal components) Control Unit Move data and.
Invitation to Computer Science 6th Edition Chapter 5 Computer Systems Organization.
Ch. 2 Data Manipulation 4 The central processing unit. 4 The stored-program concept. 4 Program execution. 4 Other architectures. 4 Arithmetic/logic instructions.
General Concepts of Computer Organization Overview of Microcomputer.
Computer Architecture And Organization UNIT-II General System Architecture.
CHAPTER 4 The Central Processing Unit. Chapter Overview Microprocessors Replacing and Upgrading a CPU.
1 Computer Organization and Architecture By Dr. Ramesh Babu DR Professor Dept. of Computer Science & Engineering PES Institute of Technology.
Dr. ClincyLecture1 Chapter 1 Basic Structure of Computers Basic structure of a computer Intro to Machine instructions and their execution Intro to system.
I/O Memory Reg File ALU Program Counter Instruction Register Control Interconnect Control 1)PC contains mem address of Instruction, 2)From memory, instr.
Department of Industrial Engineering Sharif University of Technology Session# 6.
Computer Architecture 2 nd year (computer and Information Sc.)
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:
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Computer Systems. Bits Computers represent information as patterns of bits A bit (binary digit) is either 0 or 1 –binary  “two states” true and false,
Introduction ELEC 330 Digital Systems Engineering Dr. Ron Hayne.
Overview von Neumann Architecture Computer component Computer function
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
Computer Organization Authors: Carl Hamacher, Zvonko Vranesic, Safwat Zaky By Prof R.R.Karwa.
Architecture Background
CS1251 Computer Architecture
Introduction to Microprocessors
Computer Organization
Functional Units.
Computer Structure S.Abinash 11/29/ _02.
Introduction to Computer Architecture
Chapter 5: Computer Systems Organization
Course Outline for Computer Architecture
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Chapter 0 Introduction Introduction Chapter 0.
A451 GCSE Computing | Hardware| Required knowledge
Presentation transcript:

12/13/ _01 1 Computer Organization EEC-213 Computer Organization Electrical and Computer Engineering

12/13/ _012 Grading  Homework10%  Midterm Exam 10%  Oral Exam 20%  Final Exam60%

12/13/ _013 Honor Code  You are encouraged to discuss homework problems with other students and/or obtain the assistance of the instructor. Nevertheless, homework submissions should be the work of you and your partner.  Exams are closed book, closed notes, no use of calculators, and the normal honor code applies to all exams.

12/13/ _014 Textbooks  Computer Organization, 5th ed. Carl Hamacher, et al., ISBN

12/13/ _015 Questions?

Basic structure of Computers 12/13/ _026

12/13/ _017 Processor Computer Functional Units Memory Arithmetic & Logic Control I/O Input Output

12/13/ _018 Course Organization  Computer Structure (Ch 1)  Instruction Sets & Addressing Modes (Ch 2)  Example Computer: Motorola (Ch 3)  Control Unit Design (Ch 7)  Computer Arithmetic (Ch 6)  Memory (Ch 5)  Input/Output (Ch 4)  Pipelining (Ch 8)

12/13/ _019 Computer Information (Binary)  (Machine) Instructions (Machine Language) Programs  Data 2's complement BCD ASCII

12/13/ _0110  Output Display Printer Speakers I/O  Input Keyboard Mouse Microphone Camera Scanner  Serial Communications Network Modem

12/13/ _0111 Memory  Primary Random Access Memory (RAM) Read Only Memory (ROM)  Organization Word Address Read/Write  Secondary Magnetic Disks Tape Optical Disks  Hierarchy Cache Main Virtual

12/13/ _0112 ALU  Arithmetic Addition Subtraction Multiplication Division Comparison  Logic AND OR NOT XOR  Registers Store Shift

12/13/ _0113 Control Unit  Coordinates/Directs other Units  Computer Operation Input Program/Data stored in Memory Processing Information fetched into Registers Processed by ALU Output

12/13/ _0214 Computer Instructions  Assembly Language MOVE NUM1,R1 MOVE #1,R2 ADD #1,R1 ADD R1,R2  Register Transfer Notation R1  [NUM1] R2  1 R1  1 + [R1] R2  [R1] + [R2]

12/13/ _0215 Processor and Memory ALU IR MAR MEM PC MDR R0R0 R1R R n-1 Control Processor MAR - Memory Address Register MDR - Memory Data Register PC - Program Counter IR - Instruction Register

12/13/ _0216 Example Instruction  Fetch MAR  [PC] PC  [PC] + 1 MDR  [MEM(MAR)] IR  [MDR]  Execute MAR  NUM1 MDR  [MEM(MAR)] R1  [MDR] MOVE NUM1,R1

12/13/ _0217 Another Example  Fetch MAR  [PC] PC  [PC] + 1 MDR  [MEM(MAR)] IR  [MDR]  Execute R1  1 + R1 ADD #1,R1

12/13/ _02 18 Single-Bus Structure The computer parts must be connected in some way A group of lines that serves as a connecting path for several devices is called bus Only one transfer at a time can occurs between 2 units Devices includes a buffer register to hold information during transfer MemoryProcessorInputOutput

12/13/ _0219 Single-Bus Architecture (HW1) AB R ALU MDR MAR MEM BUS A Y Z

12/13/ _0220 System Software  Compiler High-level Language  Machine Language  Assembler Assembly Language  Machine Language  Text Editor Keyboard Input  File  Operating System Control Sharing & Interaction Assign & Manage Resources Memory Disk Space Handle I/O

Memory Performance  Programs and data are stored in memory  Instruction are fetched one by one over the bus to the processor, and a copy is placed in the cache.  When a data is executed by an instruction a copy is placed in the cache  Later if the same instruction or data item is needed a second time, it’s red directly from the cache.  Execution of instruction and data from the cache is faster than the main memory 12/13/ _0221 Main Memory Processor Cache Memory

12/13/ _0222 Processor Clock  Period (P)  Rate (R) CLK  R = 1/P  1 GHz = 1/1ns

12/13/ _0223 Performance Equation  Processor Execution Time (T)  Number of Machine Language Instructions (N)  Average Steps per Machine Instruction (S)  Clock Rate (R)  Performance of a processor of 2.4 GHz & a processor of 2.8 GHz of another type.

12/13/ _0224 Pipelining F1F1 E1E1 I1I1 F2F2 E2E2 I2I2 F3F3 E3E3 I3I3 Sequential Execution F1F1 E1E1 I1I1 F2F2 E2E2 I2I2 F3F3 E3E3 I3I3 Pipelined Execution

12/13/ _0225 Parallel Processing  Parallel Execution Superscalar ( execution of several instructions in every clock cycle)  Multiprocessors Shared-Memory  Multicomputers Message-Passing

12/13/ _0226 CISC vs RISC  Complex Instruction Set Computers (CISC) Smaller N Larger S  Reduced Instruction Set Computers (RISC) Larger N Smaller S Easier to Pipeline

12/13/ _0127 History  First Generation (miliseconds) von Neumann (stored program) Vacuum Tubes Magnetic Core Memory Teletypes/Magnetic Tapes  Second Generation (microseconds) Transistor High-level Languages (C++, Pascal, Fortran) Compilers (translate HHL to M/C instruction) I/O Processors

12/13/ _0128 History  Third Generation Integrated Circuits Microprogramming Parallelism/Pipelining Operating Systems (sharing) Cache/VM  Fourth Generation (nanoseconds) VLSI (Single Chip Microprocessor) Personal Computers Networks

Problem 1-3 Load A,R0 Load B,R1 Add R0,R1 Store R1,C (b) Yes; Move B,C Add A,C 12/13/ _0229

12/13/ _0230 Review  Binary  Hex  2's-complement  Overflow