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.

Slides:



Advertisements
Similar presentations
Chapter 5 Internal Memory
Advertisements

Computer Organization and Architecture
CP1610: Introduction to Computer Components Primary Memory.
LOGO.  Concept:  Is read-only memory.  Do not lose data when power is lost.  ROM memory is used to produce chips with integrated.
Memory Chapter 3. Slide 2 of 14Chapter 1 Objectives  Explain the types of memory  Explain the types of RAM  Explain the working of the RAM  List the.
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 Organization and Architecture
Chapter 4 Computer Memory
IT Systems Memory EN230-1 Justin Champion C208 –
Memory Key component of a computer system is its memory system to store programs and data. ITCS 3181 Logic and Computer Systems 2014 B. Wilkinson Slides12.ppt.
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
F1020/F1031 COMPUTER HARDWARE MEMORY. Read-only Memory (ROM) Basic instructions for booting the computer and loading the operating system are stored in.
* Definition of -RAM (random access memory) :- -RAM is the place in a computer where the operating system, application programs & data in current use.
PC Maintenance: Preparing for A+ Certification
Memory COMPUTER ORGANIZATION – ITC CPU (processing) Random Access Memory RAM Temporarily holds Data or Instruction 3.
CSIT 301 (Blum)1 Memory. CSIT 301 (Blum)2 Types of DRAM Asynchronous –The processor timing and the memory timing (refreshing schedule) were independent.
Chapter 1 Upgrading Memory Prepared by: Khurram N. Shamsi.
Memory. Random Access Memory Defined What is memory? operating system and other system software that control the usage of the computer equipment application.
Chapter 4 ระบบหน่วยความจำ The Memory System
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 Hierarchy Registers Cache Main Memory Fixed Disk (virtual memory) Tape Floppy Zip CD-ROM CD-RWR Cost/Bit Access/Speed Capacity.
Random access memory.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 6 Managing Memory.
9/26: Memory ROM vs. RAM ROM –BIOS RAM –changeable –different kinds & uses inc. VRAM, SRAM –how it works image courtesy of How Computers Work CD.
Chapter 5 Internal Memory. Semiconductor Memory Types.
MODULE 5: Main Memory.
Computer Architecture CST 250 MEMORY ARCHITECTURE Prepared by:Omar Hirzallah.
Chapter 3 Internal Memory. Objectives  To describe the types of memory used for the main memory  To discuss about errors and error corrections in the.
CIM101 : Introduction to computer Lecture 3 Memory.
Memory characteristics Ideal Access time (minimum). Nonvolatile. Stored data can be modified. Minimum space (very dense). Minimum current drain (power.
It is the work space for the CPU Temporary storage for data/programs the CPU is working with. Started as a collection of IC’s on Motherboard. Two main.
Memory Cell Operation.
Memory Hierarchy Registers Cache Main Memory Fixed Disk (virtual memory) Tape Floppy Zip CD-ROM CD-RWR Cost/Bit Access/Speed Capacity.
Computer Architecture Lecture 24 Fasih ur Rehman.
Semiconductor Memory Types
1 Memory Hierarchy (I). 2 Outline Random-Access Memory (RAM) Nonvolatile Memory Disk Storage Suggested Reading: 6.1.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
Computer Architecture Chapter (5): Internal Memory
“With 1 MB RAM, we had a memory capacity which will NEVER be fully utilized” - Bill Gates.
Types of RAM (Random Access Memory) Information Technology.
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
Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 7th Edition
Random Access Memory (RAM)
Types of RAM (Random Access Memory)
Module IV Memory Organization.
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
שמות מאפיינים ומטרות של זיכרונות ROM - ו RAM
Module IV Memory Organization.
William Stallings Computer Organization and Architecture 7th Edition
Introduction to Computing
William Stallings Computer Organization and Architecture 8th Edition
Computer Memory BY- Dinesh Lohiya.
MEMORY pp , 34-38, in Computer Systems: Organization and Architecture (Carpinelli)
MICROPROCESSOR MEMORY ORGANIZATION
Chapter 4: MEMORY.
William Stallings Computer Organization and Architecture 8th Edition
Presentation transcript:

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 Computer pioneers correctly predicted that programmers would want unlimited memory Solution : memory hierarchy  Takes advantage of of locality and cost / performance of memory technologies  Using the principle of locality plus the guideline that smaller is faster resulted on a memory hierarchy based on memories of different speeds and sizes

Memory Measure: Access Time Time taken to read data from a given memory location, measured from the start of a read cycle. Components  Time to get to the location of the data  Time for the data to become available from the location in memory

Memory: Not created equally!

The Memory Subsystem CPU Cache L1/ Primary L2/ Secondary Main Memory

Memory Organization Address 0 Address 1 Address 2 Address N-2 Address N-1 N words - Number of words is generally 2 n Bit 1 Bit 2 Word Length = n bits About Naming Conventions: For example,a memory system with 4096 locations, each with a diff. Address and each storing 12 bits is called a 4096 word 12-bit memory or 4K 12-bit memory.

Getting Data from Main Memory Memory CPU Registers CPU Internal Bus MARMDR Address Bus Data Bus

Types of Memory : ROM Read-Only Memory  Contains instructions for starting up the computer  Contains constants that specify the system’s configuration

Types of ROM PROM (Programmable ROM) EPROM (Erasable PROM)  Programs are erasable via ultraviolet light EEPROM - Electrically EPROM  Programs are erasable by exposing it to an electrical charge

Types of Memory: RAM Random Access Memory Main memory Classification - Physical Characteristics  Static vs. Dynamic  Volatile vs. Nonvolatile  Destructive vs. Nondestructive  Removable vs. Permanent

Static vs. Dynamic STATIC Memory contents are refreshed less often Faster than DRAM but more expensive and requires more power More stable Access time: 10 ns DYNAMIC Memory contents are constantly refreshed otherwise the contents will be lost Cheaper to build, but slower than SRAMs Less stable than SRAM Access time: 60 ns.

Volatile vs. Nonvolatile A memory device is volatile if it requires a continuous source of power to hold its value, otherwise, it is non- volatile CD-Rs, hard disks, floppies, etc. - nonvolatile RAMs - volatile

Destructive Read vs. Non-Destructive Read Destructive Read When the system reads a word in memory, it destroys the value. Characteristics of all DRAMs In practice, the circuitry rewrites original value back to the cell via a two-phase operation: read cycle and restore cycle Non-Destructive Read Circuitry does not destroy the value of the memory cells

Removable vs. Permanent Removable Active elements can be removed from system hardware Examples: floppies, tape cartridges, hot swappable disks Permanent Components are not physically removed Example: RAM, hard disks, etc.

Packaging DIP Style DRAM package  Popular when it was common for memory to be installed directly on the computer's system board  ”Through-hole" components, which means they install in holes extending into the surface of the printed circuit board  Can be soldered in place or placed in sockets

Packaging SIMM (Single Inline Memory Module) DIMM (Dual Inline Memory Module)

Memory Banks

A Word about Virtual Memory An imaginary memory area supported by some OS in conjunction with the hardware Purpose: To enlarge the address space, which is the set of memory addresses a program can utilize A program using all of Virtual Memory (VM) will not fit in Main Memory (MM), but the system is able to execute it by copying the required portions into MM

Pages To facilitate copying portions of VM into MM, the OS divides VM into pages Pages: A fixed number of memory addresses Each page is stored on the disk until its needed

DRAM types: FPM Fast Page Mode RAM  Traditional RAM for PCs  Hard to find and more expensive  Access Times are 60 to 70 ns.  Allows faster access to data on the same page

DRAM types: EDO Extended Data Output  Faster by 10%-15% than FPM  Copies an entire block of memory to its internal cache; while the processor is accessing this cache, memory can collect a new block to send  EDO can access data faster if the cache controller supports PIPELINE BURST

About Pipeline Burst Purpose: Minimizes wait states so that memory can be accessed as fast as possible by the microprocessor How?  A burst mode that pre-fetches memory contents before they are requested  Pipelining so that one memory value can be accessed in the cache at the same time another memory value is accessed in DRAM

DRAM Types: BEDO Burst EDO  After an address has been specified, several bytes are then read within one clock cycle each  Transfer of information to the CPU much faster than EDO  Downside: Unable to cope well with system buses higher than 66 MHz

DRAM Types: SDRAM Synchronous DRAM  Runs on much higher clock speeds than conventional memory  Supports bus rates up to 133 MHz  Done by having two memory banks, one bank is used to get ready for access, while the second one is being accessed  PC 100/133: set of guidelines by Intel for synchronous DIMMS

DRAM types: RDRAM Rambus DRAM  Initially developed by Rambus, Inc.  Intel signed a contract for its endorsement (up to 2002) in 1997  Data transfer occurs on both edges of the clock  Packaged in RIMMS and installed in pairs in many units  Requires all memory slots in the motherboard to be populated (CRIMMS)  Royalties paid by manufacturers

DDR-SDRAM Also known as SDRAM II Packaged in DIMMS Cheaper than RDRAM Also utilizes both edges of the clock Not backward compatible with SDRAM No royalties