COMPURT ORGANAZTION CHAPTER 5. Computer Organization We can divide the parts that make up a computer into 3 subsystems : 1. Central processing unit (CPU).

Slides:



Advertisements
Similar presentations
MEMORY popo.
Advertisements

Memory Basics. 8-1 Memory definitions Memory is a collection of cells capable of storing binary information. Two types of memory: –Random-Access Memory.
What is memory? Memory is used to store information within a computer, either programs or data. Programs and data cannot be used directly from a disk or.
©Brooks/Cole, 2003 Chapter 5 Computer Organization.
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
I/O Subsystem Organization and Interfacing Cs 147 Peter Nguyen
©Brooks/Cole, 2003 Chapter 5 Computer Organization.
MODULE 5: Introduction to Memory system
Basic Computer Organization CH-4 Richard Gomez 6/14/01 Computer Science Quote: John Von Neumann If people do not believe that mathematics is simple, it.
Characteristics of Computer 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
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
Physical Memory By Gregory Marshall. MEMORY HIERARCHY.
BLOCK DIAGRAM OF COMPUTER
C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill.
Memory Hierarchy.
Chapter 3 Computer Hard ware
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 2. Computer Structure Computer Structure The traditional diagram of a computer...
Computer Processing of Data
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
CS1104: Computer Organisation School of Computing National University of Singapore.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
What is a computer ?  A computer is an electronic device that can accept data and instruction, process them or store them for later retrieval, and sometimes.
HARDWARE ARCHITECTURE
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.
CIM101 : Introduction to computer Lecture 3 Memory.
Computer Architecture And Organization UNIT-II Structured Organization.
Chapter 5 Computing Components Nell Dale John Lewis.
5-1 Computer Components Consider the following ad.
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.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Primary Storage Primary storage is the storage that is directly available to the CPU. It is also known as: Main Memory Main Memory Direct Access Storage.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
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 Organization. The Five Hardware Units General purpose computers use the "Von Neumann" architecture Also referred to as "stored program" architecture.
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.
Memory Characteristics Location Capacity Unit of transfer Access method Performance Physical type Physical characteristics Organisation.
A memory is just like a human brain. It is used to store data and instructions. Computer memory is the storage space in computer where data is to be processed.
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.
Components of Computer. Memory Unit Most important part of the computer Used to store data and instructions that are currently in use Main memory consists.
Chapter 2 content Basic organization of computer What is motherboard
Computing Science Computer Structure: Lesson 1: Processor Structure
Memory and Programmable Logic
Introduction to Computer Architecture
introduction to computer
Memory Units Memories store data in units from one to eight bits. The most common unit is the byte, which by definition is 8 bits. Computer memories are.
Electronics Technology
Introduction to Computers
Computer Organization
Introduction to Computers
Introduction to Computer Architecture
Introduction to Computing Chapter 0
Memory Basics Chapter 8.
Chapter 5: Computer Systems Organization
MICROPROCESSOR MEMORY ORGANIZATION
Memory Basics Chapter 7.
Chapter 5 Computer Organization
Hardware Organization
Presentation transcript:

COMPURT ORGANAZTION CHAPTER 5

Computer Organization We can divide the parts that make up a computer into 3 subsystems : 1. Central processing unit (CPU). 2. Main Memory. 3. Input / output subsystem.

Computer System Component Computer System Central processing Unit (CPU) Memory Input\output systems

5.1 CENTRAL PROCESSING UNIT (CPU)

Central processing unit (cpu) Central processing Unit (CPU) Arithmetic Logic Unit (ALU) Logic Operations NOT, AND, OR, XOR Shift Operations Logical shift operations, arithmetic shift operations Arithmetic Operations Registers Data Registers R1,R2….Rn Instruction Registers Program Counter Control Unit

Computer System Component Computer System Central processing Unit (CPU) Memory Input\output systems

5.2 MAIN MEMORY

Main Memory Main memory Consists of collection of storage locations, each with a unique identifier called an address

Main Memory  Data is transferred to and from memory in groups of bits called words. A word can be a group of 8 bits, 16 bits, 32 bits or 64 bits (and growing). If the word is 8 bits, it is referred to as a byte  16-bit word is referred to as a 2-byte word  32-bit word is referred to as a 4-byte word

Address space  each word is identified by an address. The total number of uniquely identifiable locations in memory is called the address space. For example, a memory with 64 kilobytes and a word size of 1 byte has an address space that ranges from 0 to 65,535.

Address space  Note: this is an approximation of number of bytes in the power of 10, but the actual number of bytes is in power of 2 to facilitate addressing.

To define an address We need a bit pattern of 16 bits First memory address: Address 0: Last memory address: Address 65535: log2 N words of memory needs log2 bits for addressing Address space  Because computers store numbers as bit patterns, memory address also represented as a bit pattern. Memory addresses are defined using unsigned binary integers.

Address space - Example 5.1

Address space - Example 5.2

Memory types RAM SRAM Static RAM DRAM Dynamic RAM ROM PROM Program mable read-only memory EPROM Erasable program mable read-only memory EEPROM Electricall y erasable program mable read-only memory

Memory hierarchy  Computer users need a lot of memory, especially memory that is very fast and inexpensive. This demand is not always possible to satisfy—very fast memory is usually not cheap. A compromise needs to be made. The solution is hierarchical levels of memory.

Cache memory  Cache memory is faster than main memory, but slower than the CPU and its registers. Cache memory, which is normally small in size, is placed between the CPU and main memory.

Cache memory  It contains a copy of a portion of main memory. When CPU needs to access a word in main memory, it follows this procedure: 1 The CPU checks the cache. 2 If the word is there, it copies the word: if not, the CPU accesses the main memory and copies a block of memory starting with the desired word. This block replaces the previous content of cache memory. 3 The CPU access the cache and copies the word.

5.2 INPUT / OUTPUT SUBSYSTEMS

Input / Output subsystems  This subsystem allows a computer to communicate with the outside world and to store programs and data even when the power is off. Input/output devices can be divided into two broad categories:  Non-storage devices:  Non-storage devices: they cannot store information.  Storage devices: they  Storage devices: they can store large amounts of information to be retrieved at a later time. They are cheaper than main memory, and their contents are nonvolatile (not erased when the power is turned off).

Input / Output subsystems Non-storage devices Keyboa rd and monitor Printer Storage devices Magnetic Magnetic disk Magnetic tapes Optical CD ROM CD-RCD- RWDVD

MagneticStorage devices Magnetic Storage devices  Magnetic disk:

MagneticStorage devices Magnetic Storage devices  Magnetic tape