COMPUTER MEMORY Modern computers use semiconductor memory It is made up of thousands of circuits (paths) for electrical currents on a single silicon chip.

Slides:



Advertisements
Similar presentations
Computer Memory and Data Transfer
Advertisements

What is Hardware? Hardware is the physical parts of the computer system – the parts that you can touch and see. A motherboard, a CPU, a keyboard and a.
The Central Processing Unit: What Goes on Inside the Computer.
CENTRAL PROCESSING UNIT
SECTION 4a Transforming Data into Information.
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.
Computer Performance & Storage Devices Computer Technology.
Technology Component: Computer Hardware – Part 2 Basic Components Dr. V.T. Raja Oregon State University.
IT Systems Memory EN230-1 Justin Champion C208 –
Computers Chapter 4 Inside the Computer © 2005 Prentice-Hall, Inc.Slide 2.
 Prof. Dr. M. H. Assal Introduction to Computer AS 26/10/2014.
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
Instructions Slides 3,4,5 are general questions that you should be able to answer. Use slides 6-27 to answer the questions. Write your answers in a separate.
Chapter 4  Converts data into information  Control center  Set of electronic circuitry that executes stored program instructions  Two parts ◦ Control.
F1020/F1031 COMPUTER HARDWARE MEMORY. Read-only Memory (ROM) Basic instructions for booting the computer and loading the operating system are stored in.
Chapter 3 – Computer Hardware Computer Components – Hardware (cont.) Lecture 3.
S3 Computer Literacy Computer Hardware. Overview of Computer Hardware Motherboard CPU RAM Harddisk CD-ROM Floppy Disk Display Card Sound Card LAN Card.
COMPONENTS OF THE SYSTEM UNIT
Memory. Random Access Memory Defined What is memory? operating system and other system software that control the usage of the computer equipment application.
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.
Memory Main memory consists of a number of storage locations, each of which is identified by a unique address The ability of the CPU to identify each location.
The Components of the System Unit Chapter 4 By: Janice Colon.
Computers: Information Technology in Perspective By Long and Long Copyright 2002 Prentice Hall, Inc. Computers: Information Technology in Perspective.
Computer Systems. Basic Components Auxiliary Storage OutputProcessor Main Memory Input.
2/6: CPUs & Memory CPUs –Parts of a sample CPU –Types of CPUs available ROM RAM –different kinds & uses inc. VRAM, SRAM image courtesy of How Computers.
1 More on Computer Components Computer switches Binary number system Inside the CPU Cache memory Types of RAM Computer buses Creating faster CPUs NEXT.
Computer Processing of Data
Random access memory.
1 Inside the Computer Chapter 6 Copyright Prentice-Hall, Inc
Discovering Computers 2012: Chapter 4
GCSE Computing Memory Powerpoint Templates.
The Central Processing Unit: What Goes on Inside the Computer
Memory  Main memory consists of a number of storage locations, each of which is identified by a unique address  The ability of the CPU to identify each.
TheTeacher Computing Data Storage Computing. TheTeacher Computing Primary Storage One of the fundamental properties of a computer is that it can store.
3 Computing System Fundamentals
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.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: Memory.
CIM101 : Introduction to computer Lecture 3 Memory.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: CPU.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
CSCI-100 Introduction to Computing Hardware Part I.
Memory and Storage. Computer Memory Processor registers – Temporary storage locations within the CPU – Examples Instruction register – holds the instruction.
1 Course Title: IT IN BUSINESS Course Instructor: ADEEL ANJUM Chapter No: 04 1 BY ADEEL ANJUM (MCS, CCNA,WEB DEVELOPER)
Computer Structure & Architecture 7b - CPU & Buses.
Identifying Hardware Components in a Computer (continued) Clock Speed (continued) The computer has a system clock that generates a regular electronic beat.
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,
Computer operation is of how the different parts of a computer system work together to perform a task.
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.
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),
Lecture # 10 Processors Microcomputer Processors.
Computer Performance & Storage Devices Computer Technology.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 1 Looking Inside the Computer System.
PCs ENVIRONMENT and PERIPHERALS Lecture 3. operating system and other system software that control the usage of the computer equipment application programs.
Information Technology (IT). Information Technology – technology used to create, store, exchange, and use information in its various forms (business data,
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
Memory Main memory consists of a number of storage locations, each of which is identified by a unique address The ability of the CPU to identify each location.
Memory Main memory consists of a number of storage locations, each of which is identified by a unique address The ability of the CPU to identify each location.
The Central Processing Unit
Introduction to Computer Architecture
Introduction to Computers
Introduction to Computing
Introduction to Computers
Computer Performance & Storage Devices
MICROPROCESSOR MEMORY ORGANIZATION
2.C Memory GCSE Computing Langley Park School for Boys.
Computer Performance & Storage Devices
Computer components.
Presentation transcript:

COMPUTER MEMORY Modern computers use semiconductor memory It is made up of thousands of circuits (paths) for electrical currents on a single silicon chip Prices have risen and fallen over the past few years Semiconductor memory is VOLATILE ie it need continued electrical current to maintain data

MAIN MEMORY – What is does Special chips that hold data and instructions ready for use by the CPU Anything we want the computer to do must be brought into the computer’s memory first

MAIN MEMORY Main memory is limited in size (because of cost) and is measured in kilobytes, megabytes and gigabytes The purpose of Main Memory is keep needed data and instructions closer to the CPU The computer can then operate faster

MAIN MEMORY Temporary It is a TEMPORARY holding location for data and instructions Temporary – because there is too little of it! Since everything is lost when we close down the computer it is said to be VOLATILE

Permanent Storage Some form of permanent storage is needed or all our records will be lost when we switch off the computer

Permanent Storage Magnetic Storage –Hard disk –Floppy disk –Zip disk Optical Storage –CD –DVD

The CPU is linked very closely with Main Memory so that movement of data and instructions can take place very quickly along high-speed buses The CPU and Main Memory are on the same circuit board called the MOTHERBOARD Main Memory and the CPU

Types of Memory Registers – (On the CPU) Level 1 (L1) memory (SRAM chips on the CPU) Level 2 memory (SRAM chips nearer the CPU than Main Memory) Main Memory chips (DRAM) – normal memory

CPU and Memory Mismatch Clock speeds are increasing at about 60% per year Memory speeds are increasing at about 7% per year This results is a mismatch A ‘Wait State’ occurs when the CPU has to wait for the system to fetch the next instruction or data that it needs

Dealing with the Mismatch The types of memory we are discussing – registers, cache, SRAM etc are all attempting to deal with the mismatch, and to speed up the transmission of data and instructions between Main Memory and the CPU

Registers High speed memory chips that are located on the same chip as the CPU Hold next instruction or next piece of data needed by the CPU Hold the results of processing by the CPU Each CPU contains hundreds of registers

Registers - continued There are registers in the ALU, in the Control Unit etc Special registers perform special functions –Instruction register –Address register –Accumulator register –Storage register

CACHE Memory Keeps frequently needed instructions closer to the CPU Logs user’s activities to find out and anticipate the data and instructions the user might need and to have them ready

Level 1 (Internal) Cache This is a memory chip which is built into the processor chip The problem is to make the memory components small enough This is SRAM

Level 2 (External) Cache This is a separate SRAM chip which is placed between the CPU and regular DRAM or Main Memory to speed up processing Usually 256Kb to 512Kb in capacity

SIMM’s and DIMM’s Memory chips come in multi-chip modules called SIMM’s or DIMM’s (Single or Dual In-line Memory Modules) 16 MB 32MB, 64Mb, 128MB This makes the installation and handling of memory chips easier

Main Memory After registers and cache the next level of memory is referred to as Main Memory Two types –RAM –ROM

RAM – Random Access Memory Random Access - time to locate data is the same regardless of storage location in memory Volatile - It loses its contents when power is switched off RAM is read-write Expensive Different types (SRAM, DRAM, etc)

ROM ROM is used to store programs that perform specialised functions ie ‘boot’ ROM is non-volatile - It retains its contents when power is switched off ROM is read-only but there are special chips which can be re- written (EPROM)

ROM - continued ROM takes care of loading the Operating system into Main Memory ROM ensures that the computer knows what to do when it is switched on

BUSES A BUS is a high speed circuit that provides a path for transferring information between 2 or more devices Brings data and instructions from Memory to the CPU for processing Brings results of processing to storage or output devices

Data Bus There are special buses for special functions –Data Bus – carries data –Address Bus – finds where things are stored –Control Bus – controls the flow of data to memory, CPU and the I/O devices

PROCESSOR POWER The speed of a computer will depend on the type of Processor Chip, the amount of RAM, cache etc. Factors include: –Word-size –Access rate/time –Transfer rate/time

Clock Speeds Each CPU has a built in clock called the ‘System Clock’ which synchronizes all the activities of the CPU The type of chip dictates the speed at which the clock operates A clock cycle is needed to carry out one simple instruction Some instructions need more than one clock cycle to complete

Chip Speed Measured in cycle per second (cps) Called after a German scientist called Gustav Hertz We refer to chip speeds in Hertz (HZ) KHz, MHz and GigaHz Current Intel Pentium processors have over 2GHz speed (2 thousand million cps)

WORD SIZE –This is a measure of the amount of data that can be handled by the processor at one time –It is determined by the size of the registers and the buses inside the CPU. We refer to 16-bit, 32 bit processors.

What does this mean? If the registers are bigger more data and larger instructions can be handled at one operation More complex operations can be performed The computer operates faster

ACCESS TIME The time taken for the processor to locate/find the data or instructions stored in memory that are needed by the CPU

TRANSFER TIME The time taken by the computer to carry the data and instructions along buses between the memory components and the CPU for processing

VIRTUAL MEMORY When data/instructions are not actually held in RAM because of lack of space Paging/Segmentation swaps data in and out of RAM

FLASH MEMORY Generally Main Memory is volatile New non-volatile RAM memory chips are now used in mobile-phones, notebook computers, digital cameras Reason for their use is they need less power so are suitable for portable devices and are faster than secondary storage devices

MEMORY HIERARCHY PROCESSOR - Registers CACHE – (LI and L2) RAM MEMORY – Main Memory DISK - Flash Memory MASS STORAGE – Permanent storage