©Brooks/Cole, 2003 Chapter 5 Computer Organization.

Slides:



Advertisements
Similar presentations
COMPUTER ORGANIZATION CHAPTER SUBSYSTEM INTERCONNECTION.
Advertisements

Avishai Wool lecture Introduction to Systems Programming Lecture 8 Input-Output.
Computer Performance & Storage Devices Computer Technology.
MEMORY ORGANIZATION Memory Hierarchy Main Memory Auxiliary Memory
©Brooks/Cole, 2003 Chapter 5 Computer Organization.
©Brooks/Cole, 2003 Chapter 5 Computer Organization.
Input-Output Problems L1 Prof. Sin-Min Lee Department of Mathematics and Computer Science.
©Brooks/Cole, 2003 Chapter 5 Computer Organization.
Computer Hardware In this lecture, we will study:
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Computer Systems CS208. Major Components of a Computer System Processor (CPU) Runs program instructions Main Memory Storage for running programs and current.
CS1104-8Memory1 CS1104: Computer Organisation Lecture 8: Memory
Chapter 5 Computer Organization ( 計算機組織 ). Distinguish between the three components of a computer hardware. List the functionality of each component.
5.1 Chaper 4 Central Processing Unit Foundations of Computer Science  Cengage Learning.
5 Computer Organization
Aug CMSC 104, LECT-021 Machine Architecture and Number Systems Some material in this presentation is borrowed form Adrian Ilie From The UNIVERSITY.
® Microsoft Office 2010 Essential Computer Concepts.
1 HARDWARE INFRASTRUCTURE IS 340 BY CHANDRA S. AMARAVADI.
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
Computers Central Processor Unit. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
Chapter Two Hardware Basics: Inside the Box. ©1999 Addison Wesley Longman2.2 Chapter Outline What Computers Do A Bit About Bits The Computer’s Core: CPU.
Cis303a_chapt06_exam.ppt CIS303A: System Architecture Exam - Chapter 6 Name: __________________ Date: _______________ 1. What connects the CPU with other.
1. Introduction 2. Methods for I/O Operations 3. Buses 4. Liquid Crystal Displays 5. Other Types of Displays 6. Graphics Adapters 7. Optical Discs 10/01/20151Input/Output.
Introduction to Computers
Introduction to Computers
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
COMPUTER HARDWARE TECHNOLOGY GUIDE ONE. TECHNOLOGY GUIDE OUTLINE TG1.1 Introduction TG1.2 Strategic Hardware Issues TG1.3 Innovations in Hardware Utilization.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Getting to know Storage Media 1.Stores information 2.Retrieve information for later use.
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.
Chapter 5 Computing Components Nell Dale John Lewis.
IT Groundwork ICS3UC - Unit 1 Hardware. Overview of Computer System.
Section one revision:1. Computer Systems To be able to Identify and describe computer systems To demonstrate an understanding of the Central Processing.
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.
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
COMPUTER BASICS Computer Technology. WHAT IS A COMPUTER?  Electronic  Accepts data and instructions  Manipulates, processes, and displays the information.
Computer Science 101 Computer Systems Organization.
Chapter 5 Computer Organization. Distinguish between the three components of a computer hardware. List the functionality of each component. Understand.
Input-Output Organization
CSCI-100 Introduction to Computing Hardware Part I.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
General Computer Stuff Hardware: physical parts of a computer: CPU, drives, etc. Software: Programs and Data A computer needs both to be useful.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
Machine Architecture CMSC 104, Section 4 Richard Chang 1.
Computer Organization. The Five Hardware Units General purpose computers use the "Von Neumann" architecture Also referred to as "stored program" architecture.
COMPURT ORGANAZTION CHAPTER 5. Computer Organization We can divide the parts that make up a computer into 3 subsystems : 1. Central processing unit (CPU).
Memory The term memory is referred to computer’s main memory, or RAM (Random Access Memory). RAM is the location where data and programs are stored (temporarily),
Main Memory Main memory – –a collection of storage locations, –each with a unique identifier called the address. Word- –Data are transferred to and from.
CH (5) Computer Organization
Computer Systems I’m ONLY a machine! Ashkarali P Asst. Professor GCM Wayanad Ashkarali, GCM.
Chapter 5 Computer Organization ( 計算機組織 ). Distinguish between the three components of a computer hardware. List the functionality of each component.
CPIT 201 King AbdulAziz University Faculty of Computing & Information Technology Information Technology Department CH (5) Computer Organization CPIT 201.
STORAGE DEVICES Towards the end of this unit you will be able to identify the type of storage devices and their storage capacity.
Computer Hardware Mr. Singh ICS2O.
UNIT 9 Computer architecture
Memory Parts of a computer
Introduction to Computer Architecture
STORAGE DEVICES Towards the end of this unit you will be able to identify the type of storage devices and their storage capacity.
Computer Organization
STORAGE DEVICES Towards the end of this unit you will be able to identify the type of storage devices and their storage capacity.
How do computers work? Storage.
Computer Electronic device Accepts data - input
Computer Organization
Computer Electronic device Accepts data - input
Computer Organization
Chapter 3 Hardware and software 1.
Computer Electronic device Accepts data - input
Chapter 3 Hardware and software 1.
Chapter 5 Computer Organization
Presentation transcript:

©Brooks/Cole, 2003 Chapter 5 Computer Organization

©Brooks/Cole, 2003 Distinguish between the three components of a computer hardware. List the functionality of each component. Understand memory addressing and calculate the number of bytes for a specified purpose. After reading this chapter, the reader should be able to: O BJECTIVES Distinguish between different types of memories. Understand how each input/output device works. Continued on the next slide

©Brooks/Cole, 2003 Understand the systems used to connect different components together. Understand the addressing system for input/output devices. Understand the program execution and machine cycles. O BJECTIVES (continued) Distinguish between programmed I/O, interrupt-driven I/O and direct memory access (DMA). Understand the two major architectures used to define the instruction sets of a computer: CISC and RISC.

©Brooks/Cole, 2003 Figure 5-1 Computer hardware (subsystems)

©Brooks/Cole, 2003 CENTRALPROCESSING UNIT (CPU) CENTRALPROCESSING 5.1

©Brooks/Cole, 2003 Figure 5-2 CPU

©Brooks/Cole, 2003 MAIN MEMORY 5.2

©Brooks/Cole, 2003 Table 5.1 Memory units Unit Unit kilobyte megabyte gigabyte terabyte petabyte exabyte Exact Number of bytes Exact Number of bytes bytes 2 20 bytes 2 30 bytes 2 40 bytes 2 50 bytes 2 60 bytes Approximation Approximation bytes 10 6 bytes 10 9 bytes bytes bytes bytes

©Brooks/Cole, 2003 Figure 5-3 Main memory

©Brooks/Cole, 2003 Memory addresses are defined using unsigned binary integers. Note:

©Brooks/Cole, 2003 Example 1 A computer has 32 MB (megabytes) of memory. How many bits are needed to address any single byte in memory? Solution The memory address space is 32 MB, or 2 25 (2 5 x 2 20 ). This means you need log or 25 bits, to address each byte.

©Brooks/Cole, 2003 Example 2 A computer has 128 MB of memory. Each word in this computer is 8 bytes. How many bits are needed to address any single word in memory? Solution The memory address space is 128 MB, which means However, each word is 8 (2 3 ) bytes, which means that you have 2 24 words. This means you need log or 24 bits, to address each word.

©Brooks/Cole, 2003 Figure 5-4 Memory hierarchy

©Brooks/Cole, 2003 Figure 5-5 Cache

©Brooks/Cole, 2003 INPUT / OUTPUT 5.3

©Brooks/Cole, 2003 Figure 5-6 Physical layout of a magnetic disk

©Brooks/Cole, 2003 Figure 5-7 Surface organization of a disk

©Brooks/Cole, 2003 Figure 5-8 Mechanical configuration of a tape

©Brooks/Cole, 2003 Figure 5-9 Surface organization of a tape

©Brooks/Cole, 2003 Figure 5-10 Creation and use of CD-ROM

©Brooks/Cole, 2003 Table 5.2 CD-ROM speeds Speed x 2x 4x 6x 8x 12x 16x 24x 32x 40x Data Rate Data Rate ,600 bytes per second 307,200 bytes per second 614,400 bytes per second 921,600 bytes per second 1,228,800 bytes per second 1,843,200 bytes per second 2,457,600 bytes per second 3,688,400 bytes per second 4,915,200 bytes per second 6,144,000 bytes per second Approximation Approximation KB/s 300 KB/s 600 KB/s 900 KB/s 1.2 MB/s 1.8 MB/s 2.4 MB/s 3.6 MB/s 4.8 MB/s 6 MB/s

©Brooks/Cole, 2003 Figure 5-11 CD-ROM format

©Brooks/Cole, 2003 Figure 5-12 Making a CD-R

©Brooks/Cole, 2003 Figure 5-13 Making a CD-RW

©Brooks/Cole, 2003 Table 5.3 DVD capacities Feature Feature single-sided, single-layer single-sided, dual-layer double-sided, single-layer double-sided, dual-layer Capacity Capacity GB 8.5 GB 9.4 GB 17 GB

©Brooks/Cole, 2003 SUBSYSTEMINTERCONNECTIONSUBSYSTEMINTERCONNECTION 5.4

Figure 5-14 Connecting CPU and memory using three buses

©Brooks/Cole, 2003 Figure 5-15 Connecting I/O devices to the buses

©Brooks/Cole, 2003 Figure 5-16 SCSI controller

©Brooks/Cole, 2003 Figure 5-17 FireWire controller

©Brooks/Cole, 2003 Figure 5-18 USB controller

©Brooks/Cole, 2003 Figure 5-19 Isolated I/O addressing

©Brooks/Cole, 2003 Figure 5-20 Memory-mapped I/O addressing

©Brooks/Cole, 2003 PROGRAMEXECUTIONPROGRAMEXECUTION 5.5

Figure 5-21 Steps of a cycle

©Brooks/Cole, 2003 Figure 5-22 Contents of memory and register before execution

©Brooks/Cole, 2003 Figure 5-23.a Contents of memory and registers after each cycle

©Brooks/Cole, 2003 Figure 5-23.b Contents of memory and registers after each cycle

©Brooks/Cole, 2003 Figure 5-23.c Contents of memory and registers after each cycle

©Brooks/Cole, 2003 Figure 5-23.d Contents of memory and registers after each cycle

©Brooks/Cole, 2003 Figure 5-24 Programmed I/O

©Brooks/Cole, 2003 Figure 5-25 Interrupt-driven I/O

©Brooks/Cole, 2003 Figure 5-26 DMA connection to the general bus

©Brooks/Cole, 2003 Figure 5-27 DMA input/output

©Brooks/Cole, 2003 TWO DIFFERENT ARCHITECTURES ARCHITECTURES 5.6