22
CP1610: Introduction to Computer Components Primary Memory

CP1610: Introduction to Computer Components Primary Memory

Embed Size (px)

Citation preview

Page 1: CP1610: Introduction to Computer Components Primary Memory

CP1610:Introduction to Computer Components

Primary Memory

Page 2: CP1610: Introduction to Computer Components Primary Memory

What is Memory?

Memory is used to:Store data;Store commands (instructions);Store system settings;

Page 3: CP1610: Introduction to Computer Components Primary Memory

Computer Memory

Three categories of memory devices:Primary Memory;Secondary Memory;Archival Storage Devices;

Page 4: CP1610: Introduction to Computer Components Primary Memory

What is Primary Memory?

Also called system memory. Essential for computer to operate. Stores data and commands to be used by the

CPU. Stores basic system settings. Two main types:

RAM ROM

Page 5: CP1610: Introduction to Computer Components Primary Memory

RAM vs. ROM

RAM Random Access

Memory Stores data and

instructions Volatile

Examples: RAM chips CMOS

ROM Read Only Memory Stores basic system

settings Non-volatile

Example: BIOS

Page 6: CP1610: Introduction to Computer Components Primary Memory

The Primary Memory Hierarchy

Page 7: CP1610: Introduction to Computer Components Primary Memory

Notes in your locker, car, or at home, are too far away!

Retrieving Data from Secondary Storage

RAM: The book on your desk is much closer!

Cache: The papers in your hand are the next ones you will use!

Page 8: CP1610: Introduction to Computer Components Primary Memory

RAM on the Motherboard

Static RAM (SRAM) Very fast; Expensive; Does not need to be

refreshed; Used as Cache; On Chip, Coast Card,

or inside CPU;

Dynamic RAM (DRAM) Slow; Cheaper; Needs constant

refreshing; Used as RAM; SIMMs, DIMMs and

RIMMs

Page 9: CP1610: Introduction to Computer Components Primary Memory

Different Types of DRAM

SIMMSingle Inline Memory Module

DIMMDual Inline Memory Module

RIMMRambus Inline Memory Module

Page 10: CP1610: Introduction to Computer Components Primary Memory
Page 11: CP1610: Introduction to Computer Components Primary Memory

Installing a SIMM Chip

Page 12: CP1610: Introduction to Computer Components Primary Memory

Installing a DIMM Chip

Page 13: CP1610: Introduction to Computer Components Primary Memory

Installing a RIMM Chip

Page 14: CP1610: Introduction to Computer Components Primary Memory

Older Types of RAM

Conventional RAM Fast Page Memory (FPM) Extended Data Out (EDO) RAM Burst EDO (BEDO) RAM

Page 15: CP1610: Introduction to Computer Components Primary Memory

Newer Types of RAM

Sychronous DRAM (SDRAM) Synced with system clock

Double Data Rate (DDR) SDRAM Most popular today 184-pin DIMMs 200-pin SODIMMs

Rambus DRAM (RDRAM) Not as common Faster system bus RIMMs

Page 16: CP1610: Introduction to Computer Components Primary Memory

Cache Memory Very fast SRAM Used to store the very next command or

data needed by the CPU Three Types:

L1L2L3

Page 17: CP1610: Introduction to Computer Components Primary Memory
Page 18: CP1610: Introduction to Computer Components Primary Memory

Error Correction Method used to:

Detect integrity of data stored in RAMEnsure memory is completePrevent data corruption or loss

Non-Error Correcting Memory:Used in older systems to speed up memory;

Page 19: CP1610: Introduction to Computer Components Primary Memory

Types of Error Correction

Parity:Older;Cannot correct data corruption;

Error Correcting Code (ECC):Newer;Most widely used;Can correct data corruption;

Page 20: CP1610: Introduction to Computer Components Primary Memory

How Parity Works

Page 21: CP1610: Introduction to Computer Components Primary Memory

System Memory

Conventional Memory: First 1 MB of memory; Used to run programs and store system drivers;

High Memory (Hi-Mem): About 64 KB of memory just above the 1 MB point;

Extended and Expanded Memory: Anything above 1 MB; Systems must run in ‘Protected Mode’ to use;

Page 22: CP1610: Introduction to Computer Components Primary Memory

Available to the user for any software

Reserved for device drivers and system functions

Anything above 1 MB