Chapter 5 Computer Organization ( 計算機組織 ). Distinguish between the three components of a computer hardware. List the functionality of each component.

Slides:



Advertisements
Similar presentations
Introduction to Computers Section 4A. home Decimal Number System Called base 10 because 10 symbols are available.
Advertisements

COMPUTER ORGANIZATION CHAPTER SUBSYSTEM INTERCONNECTION.
MEMORY ORGANIZATION Memory Hierarchy Main Memory Auxiliary Memory
©Brooks/Cole, 2003 Chapter 5 Computer Organization.
©Brooks/Cole, 2003 Chapter 5 Computer Organization.
I/O Subsystem Organization and Interfacing Cs 147 Peter Nguyen
©Brooks/Cole, 2003 Chapter 5 Computer Organization.
Chapter 6 Memory and Programmable Logic Devices
CS1104-8Memory1 CS1104: Computer Organisation Lecture 8: Memory
5.1 Chaper 4 Central Processing Unit Foundations of Computer Science  Cengage Learning.
5 Computer Organization
TEE COURSE GRADE 10 MODULE 7 - PC HARDWARE Memory and Storage Devices
Bits and Data Storage. Basic Hardware Units of a Computer.
Computer Architecture Part III-A: Memory. A Quote on Memory “With 1 MB RAM, we had a memory capacity which will NEVER be fully utilized” - Bill Gates.
® Microsoft Office 2010 Essential Computer Concepts.
2. Memory. Main memory – speed & types Organization of RAM RAM – Random Access Mem Static RAM [SRAM] - In SRAM, a bit of data is stored using the state.
C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill.
Memory Hierarchy.
1 HARDWARE INFRASTRUCTURE IS 340 BY CHANDRA S. AMARAVADI.
 Memory Memory  Types of Memory Types of Memory  Memory Representation Memory Representation  Random Access Memory Random Access Memory  Read Only.
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.
Introduction to Computing: Lecture 4
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
Computer Architecture By Fazal Rehman (Shamil)
Discovering Computers 2012: Chapter2- 4
Discovering Computers 2012: Chapter 4
1 CS503: Operating Systems Spring 2014 Dongyan Xu Department of Computer Science Purdue University.
Copyright Prentice-Hall, Inc Chapter 2.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
The Four Parts of a Computer. Definition of a Computer A computer is an electronic device used to process data, converting the data into information that.
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.
I T Essentials I Chapter 1 JEOPARDY HardwareConnector/CablesMemoryAcronymsPotpourri
CIM101 : Introduction to computer Lecture 3 Memory.
THE MEMORY ELEMENTS. Words in high-speed memory Read-write random-access memory.
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.
+ CS 325: CS Hardware and Software Organization and Architecture Memory Organization.
Computer Science 101 Computer Systems Organization.
Computer Organization & Assembly Language © by DR. M. Amer.
Computer System Internal components - The processor - Main memory - I / O controllers - Buses External components (peripherals). These include: - keyboard.
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 Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
Storage of Data Instructions and data are held in main memory which is divided into millions of addressable storage.
Computer Organization. The Five Hardware Units General purpose computers use the "Von Neumann" architecture Also referred to as "stored program" architecture.
©Brooks/Cole, 2003 Chapter 5 Computer Organization.
COMPURT ORGANAZTION CHAPTER 5. Computer Organization We can divide the parts that make up a computer into 3 subsystems : 1. Central processing unit (CPU).
Computer Based Systems Stage 2 Information Technology Studies Computer & Communication Systems.
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,
Overview von Neumann Architecture Computer component Computer function
Computer operation is of how the different parts of a computer system work together to perform a task.
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
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.
Chapter 2 content Basic organization of computer What is motherboard
STORAGE DEVICES Towards the end of this unit you will be able to identify the type of storage devices and their storage capacity.
Discovering Computers 2011: Living in a Digital World Chapter 4
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.
Computer Organization
Computer Organization
Today’s agenda Hardware architecture and runtime system
Chapter 4 Introduction to Computer Organization
Chapter 5 Computer Organization
Introduction to Computers
Presentation transcript:

Chapter 5 Computer Organization ( 計算機組織 )

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

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.

Figure 5-1 Computer hardware (subsystems)

CENTRALPROCESSING UNIT (CPU) CENTRALPROCESSING 5.1

Figure 5-2 CPU

MAIN MEMORY 5.2

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

Figure 5-3 Main memory

Memory addresses are defined using unsigned binary integers. Note:

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.

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.

Memory Types RAM (Random access memory): –SRAM (Static RAM) (flip-flop gates) –DRAM (Dynamic RAM) ROM (Read only memory) –PROM (programmable) –EPROM (erasable programmable) –EEPROM (electronically erasable programmable)

A simple flip-flop circuit Set Reset

Setting the output of a flip-flop to 1

Setting the output of a flip-flop to 1 (continued)

Setting the output of a flip-flop to 1

Another way of constructing a flip-flop

Figure 5-4 Memory hierarchy

Figure 5-5 Cache

INPUT / OUTPUT 5.3

Figure 5-6 Physical layout of a magnetic disk

Figure 5-7 Surface organization of a disk

Figure 5-8 Mechanical configuration of a tape

Figure 5-9 Surface organization of a tape

Figure 5-10 Creation and use of CD-ROM

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

Figure 5-11 CD-ROM format

Figure 5-12 Making a CD-R

Figure 5-13 Making a CD-RW

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

SUBSYSTEMINTERCONNECTIONSUBSYSTEMINTERCONNECTION 5.4

Figure 5-14 Connecting CPU and memory using three buses

Figure 5-15 Connecting I/O devices to the buses

Figure 5-16 SCSI controller (Small Computer System Interface) Daisy Chain

Figure 5-17 FireWire controller (IEEE 1394)

Figure 5-18 USB controller (Universal Serial Bus)

Figure 5-19 Isolated I/O addressing

Figure 5-20 Memory-mapped I/O addressing

PROGRAMEXECUTIONPROGRAMEXECUTION 5.5

Figure 5-21 Steps of a cycle

Figure 5-22 Contents of memory and register before execution

Figure 5-23.a Contents of memory and registers after each cycle

Figure 5-23.b Contents of memory and registers after each cycle

Figure 5-23.c Contents of memory and registers after each cycle

Figure 5-23.d Contents of memory and registers after each cycle

Figure 5-24 Programmed I/O

Figure 5-25 Interrupt-driven I/O

Figure 5-26 DMA connection to the general bus

Figure 5-27 DMA input/output

TWO DIFFERENT ARCHITECTURES ARCHITECTURES 5.6

Two different architectures CISC (Complex Instruction Set Computer) –Intel RISC (Reduced Instruction Set Computer) –PowerPC