SlideShare une entreprise Scribd logo
1  sur  21
Memory Hierarchy
Main Memory
• Most of the main memory in a general purpose
computer is made up of RAM integrated circuits
chips, but a portion of the memory may be
constructed with ROM chips
• RAM– Random Access memory
– Integrated RAM are available in two possible operating
modes, Static and Dynamic

• ROM– Read Only memory
Random-Access Memory (RAM)
• A RAM is a read/write memory in which data
can be written into or read from any selected
address in any sequence.
• When a data is written into a given address,
data unit previously stored at that address is
replaced by new data unit.
Random-Access Memory (RAM)
• When a data unit is read from, data unit
remains stored and is not erased.
• A RAM is typically used for short term data
storage because it cannot retain stored data
when power is turned off.
Types of Random-Access Memory(RAM)
RAM

Static
RAM(SRAM)

Asynchronous
SRAM(ASRAM)

Synchronous
SRAM with burst
feature(SBSRAM)

Dynamic
RAM(DRAM)

Fast Page
Mode
DRAM(FPM
DRAM)

Extended Data
Out
DRAM(EDO
DRAM)

Burst EDO
DRAM(BEDO
DRAM)

Synchronous
DRAM(SDRAM)
Static RAM
• All static RAMs are characterized by latch
memory cells.
• As long as DC power is applied to a static
memory cell, it can retain a 1 or 0 state
indefinitely.
• If power is removed, stored data bit is lost.
Asynchronous Static RAM

Operation is not synchronized
with system clock.
Synchronous SRAM with burst feature
• A synchronous SRAM is synchronized with
system clock.
• The address, the read/write input, the chip
enable, and input data are all latched into
their respective registers on an active clock
pulse.
• Address burst feature allows memory to read
or write up to four sequential locations using a
single address.
Synchronous SRAM with burst feature
Applications of SRAM
• One of the major applications of SRAMs is in
cache memory in computers.
• Cache memory is a relatively small, high speed
memory that stores the most recently used
instructions or data from the larger but slower
main memory.
Dynamic RAM
• Dynamic memory cells store data bits in small
capacitors rather than in a latch.
• DRAM requires a frequent refresh operation
to preserve stored data bit resulting in
complex circuitry.
• DRAMs use a technique called address
multiplexing to reduce number of address
lines.
DRAM
• Advantage: Allows very large memory arrays to be
constructed on a chip at lower cost per bit.
• Disadvantage: Storage capacitor cannot hold its charge
over an extended period of time and will lose the
stored bit unless it is charge is refreshed periodically.
To refresh requires additional memory circuitry and
complicates the operation of DRAM.
• Applications: The major application of DRAM is in main
memory of computers. The DRAM consists of transistor
and capacitor allowing much greater densities and
results in greater bit capacities for given chip
area,although much slower access time.
Types of DRAM
• Fast Page Mode DRAM(FPM DRAM):
i. Idea is based on probability that next several memory
address to be accessed are in same row.
ii. Saves time over pure random accessing.
• Extended Data Out DRAM(EDO DRAM):
i. Also called hyper page mode.
ii. Next column address can be accessed before external
system accepts current valid data.
iii. Idea is to speed up access time.
Types of DRAM
• Burst Extended Data Out DRAM(BEDO DRAM):
i. EDO DRAM with address burst capability.
ii. Burst feature allows upto four address to be
internally generated from single external
address which saves some access time.
• Synchronous DRAM:
i. Synchronized with system clock.
ii. Allows processor to handle other tasks while
memory read/write operations are in progress.
Read-Only Memory(ROM)
• Contains permanently stored data, which can
be read from the memory but cannot be
changed.
• ROM stores data that are used repeatedly in
system applications, such as programmed
instructions for system operation.
• ROMs retain stored data when power is
turned off and are therefore nonvolatile
memories.
Internal ROM Organization
Types of ROM

ROM

Mask ROM

Programmable
ROM(PROM)

Erasable PROM

Ultraviolet
EPROM

Electrically
Erasable PROM
Mask ROM
• Referred to simply as a ROM.
• Permanently programmed during
manufacturing process to provide widely used
standard functions, such as to provide user
specified functions.
• Once the memory is programmed, it cannot
be changed.
Programmable ROM
• PROMs come from manufacturer unprogrammed, and
are custom programmed in field to meet user’s need.
• Basically same as mask ROM once they are
programmed, that is, it cannot be changed.

Erasable PROM
• Can be reprogrammed.
• Uses an NMOSFET array with an isolated gate
structure.
• Erasure of data bit is a process which removes gate
charge.
Ultraviolet EPROM
• The isolated gate in FET of UVEPROM is
floating within an oxide insulating material.
• The programming process causes electrons to
be removed from floating gate.
• Exposure is done by exposure of memory chip
to high intensity UV radiation through UV
window on top of package.
Electrically Erasable PROM
• Can be both erased and programmed with
electrical pulses.
• Can be rapidly programmed and erased
• Types: Floating gate MOS and Metal nitride
oxide silicone(MNOS).
• Application of voltage on control gate in
floating gate structure permits storage and
removal of charge from floating gate.

Contenu connexe

Tendances

Tendances (20)

Multiprocessor
MultiprocessorMultiprocessor
Multiprocessor
 
RAM/ROM and its TYPES
RAM/ROM and its TYPESRAM/ROM and its TYPES
RAM/ROM and its TYPES
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
 
Random access memory
Random access memoryRandom access memory
Random access memory
 
Memory Hierarchy
Memory HierarchyMemory Hierarchy
Memory Hierarchy
 
Buses in a computer
Buses in a computerBuses in a computer
Buses in a computer
 
Memory management ppt
Memory management pptMemory management ppt
Memory management ppt
 
RAM (Random Access Memory)
RAM (Random Access Memory)RAM (Random Access Memory)
RAM (Random Access Memory)
 
Memory presentation
Memory presentationMemory presentation
Memory presentation
 
Computer Memory
 Computer Memory Computer Memory
Computer Memory
 
Primary Memory: RAM, ROM and their Types
Primary Memory: RAM, ROM and their TypesPrimary Memory: RAM, ROM and their Types
Primary Memory: RAM, ROM and their Types
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
 
Random access memory
Random access memoryRandom access memory
Random access memory
 
Direct Memory Access(DMA)
Direct Memory Access(DMA)Direct Memory Access(DMA)
Direct Memory Access(DMA)
 
Random Access Memory ppt
Random Access Memory pptRandom Access Memory ppt
Random Access Memory ppt
 
Types of RAM
Types of RAMTypes of RAM
Types of RAM
 
Computer Memory
Computer MemoryComputer Memory
Computer Memory
 
RAM And ROM
RAM And ROMRAM And ROM
RAM And ROM
 
Operating System-Memory Management
Operating System-Memory ManagementOperating System-Memory Management
Operating System-Memory Management
 
Memory organisation ppt final presentation
Memory organisation ppt final presentationMemory organisation ppt final presentation
Memory organisation ppt final presentation
 

En vedette

Addressing modes (detailed data path)
Addressing modes (detailed data path)Addressing modes (detailed data path)
Addressing modes (detailed data path)
Mahesh Kumar Attri
 

En vedette (20)

Lecture 42
Lecture 42Lecture 42
Lecture 42
 
Drawback of Internet of Things - Battery Life
Drawback of Internet of Things - Battery LifeDrawback of Internet of Things - Battery Life
Drawback of Internet of Things - Battery Life
 
AI- memory organisation systems
AI-  memory organisation systemsAI-  memory organisation systems
AI- memory organisation systems
 
Chapter 9 ap psych- Memory
Chapter 9 ap psych- MemoryChapter 9 ap psych- Memory
Chapter 9 ap psych- Memory
 
Computer Organisation Part 4
Computer Organisation Part 4Computer Organisation Part 4
Computer Organisation Part 4
 
basic computer programming and micro programmed control
basic computer programming and micro programmed controlbasic computer programming and micro programmed control
basic computer programming and micro programmed control
 
Types of memory (bba 1st)
Types of memory (bba 1st)Types of memory (bba 1st)
Types of memory (bba 1st)
 
Addressing modes (detailed data path)
Addressing modes (detailed data path)Addressing modes (detailed data path)
Addressing modes (detailed data path)
 
Micro Programmed Control Unit
Micro Programmed Control UnitMicro Programmed Control Unit
Micro Programmed Control Unit
 
09. Memory, Storage (RAM, Cache, HDD, ODD, SSD, Flashdrives)
09. Memory, Storage (RAM, Cache, HDD, ODD, SSD, Flashdrives)09. Memory, Storage (RAM, Cache, HDD, ODD, SSD, Flashdrives)
09. Memory, Storage (RAM, Cache, HDD, ODD, SSD, Flashdrives)
 
Random Access Memory
Random Access Memory Random Access Memory
Random Access Memory
 
Memory organization
Memory organizationMemory organization
Memory organization
 
Memory organization
Memory organizationMemory organization
Memory organization
 
Computer organization memory hierarchy
Computer organization memory hierarchyComputer organization memory hierarchy
Computer organization memory hierarchy
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
cache memory
cache memorycache memory
cache memory
 
Memory hierarchy
Memory hierarchyMemory hierarchy
Memory hierarchy
 
Lec9 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part 1
Lec9 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part 1Lec9 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part 1
Lec9 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part 1
 
Lec10 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part2
Lec10 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part2Lec10 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part2
Lec10 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part2
 
Introduction to C Programming
Introduction to C ProgrammingIntroduction to C Programming
Introduction to C Programming
 

Similaire à Memory Hierarchy (RAM and ROM)

Ram & rom memories
Ram & rom memoriesRam & rom memories
Ram & rom memories
angelaag98
 

Similaire à Memory Hierarchy (RAM and ROM) (20)

project on memories .pptx
project on memories .pptxproject on memories .pptx
project on memories .pptx
 
primary memory
primary memoryprimary memory
primary memory
 
Computer random access memory
Computer   random access memoryComputer   random access memory
Computer random access memory
 
Ram & rom memories
Ram & rom memoriesRam & rom memories
Ram & rom memories
 
Memory and storage devices
Memory and storage devicesMemory and storage devices
Memory and storage devices
 
Random Access memory.
Random Access memory.Random Access memory.
Random Access memory.
 
Ram presentation
Ram presentationRam presentation
Ram presentation
 
unit4 and unit5.pptx
unit4 and unit5.pptxunit4 and unit5.pptx
unit4 and unit5.pptx
 
Memory.pptx
Memory.pptxMemory.pptx
Memory.pptx
 
Esd mod 3
Esd mod 3Esd mod 3
Esd mod 3
 
Internal memory
Internal memoryInternal memory
Internal memory
 
Ram presentation
Ram presentationRam presentation
Ram presentation
 
Basics Of Semiconductor Memories
Basics Of Semiconductor MemoriesBasics Of Semiconductor Memories
Basics Of Semiconductor Memories
 
Ram ppt
Ram pptRam ppt
Ram ppt
 
Dram and its types
Dram and its typesDram and its types
Dram and its types
 
Memory
MemoryMemory
Memory
 
Memory and its Types.ppt
Memory and its Types.pptMemory and its Types.ppt
Memory and its Types.ppt
 
Memory & its types presentation1
Memory & its types presentation1Memory & its types presentation1
Memory & its types presentation1
 
Memory and storage
Memory and storageMemory and storage
Memory and storage
 
Memory Organisation.pptx
Memory Organisation.pptxMemory Organisation.pptx
Memory Organisation.pptx
 

Dernier

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Krashi Coaching
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
 

Dernier (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 

Memory Hierarchy (RAM and ROM)

  • 2. Main Memory • Most of the main memory in a general purpose computer is made up of RAM integrated circuits chips, but a portion of the memory may be constructed with ROM chips • RAM– Random Access memory – Integrated RAM are available in two possible operating modes, Static and Dynamic • ROM– Read Only memory
  • 3. Random-Access Memory (RAM) • A RAM is a read/write memory in which data can be written into or read from any selected address in any sequence. • When a data is written into a given address, data unit previously stored at that address is replaced by new data unit.
  • 4. Random-Access Memory (RAM) • When a data unit is read from, data unit remains stored and is not erased. • A RAM is typically used for short term data storage because it cannot retain stored data when power is turned off.
  • 5. Types of Random-Access Memory(RAM) RAM Static RAM(SRAM) Asynchronous SRAM(ASRAM) Synchronous SRAM with burst feature(SBSRAM) Dynamic RAM(DRAM) Fast Page Mode DRAM(FPM DRAM) Extended Data Out DRAM(EDO DRAM) Burst EDO DRAM(BEDO DRAM) Synchronous DRAM(SDRAM)
  • 6. Static RAM • All static RAMs are characterized by latch memory cells. • As long as DC power is applied to a static memory cell, it can retain a 1 or 0 state indefinitely. • If power is removed, stored data bit is lost.
  • 7. Asynchronous Static RAM Operation is not synchronized with system clock.
  • 8. Synchronous SRAM with burst feature • A synchronous SRAM is synchronized with system clock. • The address, the read/write input, the chip enable, and input data are all latched into their respective registers on an active clock pulse. • Address burst feature allows memory to read or write up to four sequential locations using a single address.
  • 9. Synchronous SRAM with burst feature
  • 10. Applications of SRAM • One of the major applications of SRAMs is in cache memory in computers. • Cache memory is a relatively small, high speed memory that stores the most recently used instructions or data from the larger but slower main memory.
  • 11. Dynamic RAM • Dynamic memory cells store data bits in small capacitors rather than in a latch. • DRAM requires a frequent refresh operation to preserve stored data bit resulting in complex circuitry. • DRAMs use a technique called address multiplexing to reduce number of address lines.
  • 12. DRAM • Advantage: Allows very large memory arrays to be constructed on a chip at lower cost per bit. • Disadvantage: Storage capacitor cannot hold its charge over an extended period of time and will lose the stored bit unless it is charge is refreshed periodically. To refresh requires additional memory circuitry and complicates the operation of DRAM. • Applications: The major application of DRAM is in main memory of computers. The DRAM consists of transistor and capacitor allowing much greater densities and results in greater bit capacities for given chip area,although much slower access time.
  • 13. Types of DRAM • Fast Page Mode DRAM(FPM DRAM): i. Idea is based on probability that next several memory address to be accessed are in same row. ii. Saves time over pure random accessing. • Extended Data Out DRAM(EDO DRAM): i. Also called hyper page mode. ii. Next column address can be accessed before external system accepts current valid data. iii. Idea is to speed up access time.
  • 14. Types of DRAM • Burst Extended Data Out DRAM(BEDO DRAM): i. EDO DRAM with address burst capability. ii. Burst feature allows upto four address to be internally generated from single external address which saves some access time. • Synchronous DRAM: i. Synchronized with system clock. ii. Allows processor to handle other tasks while memory read/write operations are in progress.
  • 15. Read-Only Memory(ROM) • Contains permanently stored data, which can be read from the memory but cannot be changed. • ROM stores data that are used repeatedly in system applications, such as programmed instructions for system operation. • ROMs retain stored data when power is turned off and are therefore nonvolatile memories.
  • 17. Types of ROM ROM Mask ROM Programmable ROM(PROM) Erasable PROM Ultraviolet EPROM Electrically Erasable PROM
  • 18. Mask ROM • Referred to simply as a ROM. • Permanently programmed during manufacturing process to provide widely used standard functions, such as to provide user specified functions. • Once the memory is programmed, it cannot be changed.
  • 19. Programmable ROM • PROMs come from manufacturer unprogrammed, and are custom programmed in field to meet user’s need. • Basically same as mask ROM once they are programmed, that is, it cannot be changed. Erasable PROM • Can be reprogrammed. • Uses an NMOSFET array with an isolated gate structure. • Erasure of data bit is a process which removes gate charge.
  • 20. Ultraviolet EPROM • The isolated gate in FET of UVEPROM is floating within an oxide insulating material. • The programming process causes electrons to be removed from floating gate. • Exposure is done by exposure of memory chip to high intensity UV radiation through UV window on top of package.
  • 21. Electrically Erasable PROM • Can be both erased and programmed with electrical pulses. • Can be rapidly programmed and erased • Types: Floating gate MOS and Metal nitride oxide silicone(MNOS). • Application of voltage on control gate in floating gate structure permits storage and removal of charge from floating gate.