SlideShare a Scribd company logo
1 of 30
Memory
(Introduction to Read-only memory, read/write memory - SRAM and DRAM)
2
Memory
Memory is required to store:
1. data
2. application programs
3. operating system
3
Memory
Can be broadly classified as:
Random Access Memory (RAM)
or
Read Only Memory (ROM)
4
Random Access Memory (RAM)

Can be written to or read from.
− Read/Write memory

Reading from RAM is non-destructive.

Access time to read from any memory
location is the same.
− As compared to serial access memory.

Volatile
− Information is lost when power is
removed.
5
Random Access Memory (RAM)
6
Random Access Memory (RAM)

Static Random Access Memory (SRAM)
− Based on the Flip-Flop
− Requires a large number of transistors
− Fast

Dynamic Random Access Memory (DRAM)
− Uses a single transistor to store charge
− Requires very few transistors
− Must be periodically refreshed
− Slow(er)
Summary:
1. SRAM is static while DRAM is dynamic.
2. SRAM is faster compared to DRAM.
3. SRAM consumes less power than DRAM.
4. SRAM uses more transistors per bit of memory compared
to DRAM.
5. SRAM is more expensive than DRAM.
6. Cheaper DRAM is used in main memory while SRAM is
commonly used in cache memory
8
Random Access Memory (RAM)
What is typically stored in RAM?
9
Read Only Memory (ROM)

Can only be read from.

Memory is written (or “programmed”) once

Reading from ROM is non-destructive.

Access time to read from any memory
location is the same.
− As compared to serial access memory.

Non-Volatile
− Information is retained even after power
is removed.
10
Read Only Memory (ROM)
11
Read Only Memory (ROM)

Programmable Read Only Memory (PROM)
− Can be “programmed”

Erasable PROM (EPROM)
− Can be “programmed” and erased

Electrically Erasable PROM (EEPROM)
− Can be erased using an electrical signal

UV Erasable PROM (UVEPROM)
− Can be erased using Ultraviolet light
12
Read Only Memory (ROM)
13
Read Only Memory (ROM)
What is typically stored in ROM?
14
Memory
15
Memory
Random Access Memory
16
Random Access Memory

Address
− Location in memory of the binary information
− Must be decoded to select the appropriate
location and read/write the associated data
− k-bit address → 2k
memory locations

Data
− Binary information of interest
− Stored in a specific location in the memory
− Typically organized into words
− Each word has n bits
17
Random Access Memory
address
10-bit address
1024 locations
data
18
Random Access Memory

Read
− Indicates that the memory is to be read

Write
− Indicates that the memory is to be written
19
Random Access Memory
20
Random Access Memory

Rather than use the Read and Write
signals, most commercially available RAM
chips use Enable and Read/Write'

Enable
− Used to enable the selected RAM chip
− Aka. “chip select”

Read/Write'
− RAM is read when Read/Write' = 1
− RAM is written when Read/Write' = 0
21
Random Access Memory
22
Random Access Memory
Write Cycle
23
Random Access Memory
Read Cycle
24
Random Access Memory
25
Random Access Memory
Terminology used to address memories
1. 1K = 210
2. 1M = 220
3. 1G = 230
Problems
The memory units that follow are specified by the number of words times
the number of bits per word, How many address lines and input-output
data lines are needed in each case?
(a)8K x 16
(b)2G X 8
(c)16M X 32
(d)256K X 64
Solution
(a)8 K x 16 = 213
x 16 A = 13 D = 16
(b) 2 G x 8 = 231
x 8 A = 31 D = 8
(c) 16 M x 32 = 224
x 32 A = 24 D = 32
(d) 256 K x 64 = 218
x 64 A = 18 D = 64
Problem 2
How many 32K X 8 RAM chips are needed to
provide a memory capacity of 256K byte
256 K / 32 K = 8 chips
End of Topic

More Related Content

What's hot (20)

Magnetic storage devices
Magnetic storage devicesMagnetic storage devices
Magnetic storage devices
 
Microprocessor 8085 complete
Microprocessor 8085 completeMicroprocessor 8085 complete
Microprocessor 8085 complete
 
Computer memory
Computer memoryComputer memory
Computer memory
 
Random Access Memory
Random Access Memory Random Access Memory
Random Access Memory
 
Dynamic RAM
Dynamic RAMDynamic RAM
Dynamic RAM
 
8085 microproceesor ppt
8085 microproceesor ppt8085 microproceesor ppt
8085 microproceesor ppt
 
Basics of Electronics
Basics of ElectronicsBasics of Electronics
Basics of Electronics
 
ROM (Read Only Memory)
ROM (Read Only Memory)ROM (Read Only Memory)
ROM (Read Only Memory)
 
Computer memory
Computer memoryComputer memory
Computer memory
 
PEN DRIVES
PEN DRIVES PEN DRIVES
PEN DRIVES
 
Random access memory
Random access memoryRandom access memory
Random access memory
 
Internal memory
Internal memoryInternal memory
Internal memory
 
Ram & rom
Ram & romRam & rom
Ram & rom
 
Secondary memory
Secondary memorySecondary memory
Secondary memory
 
DIRECT ACCESS STORAGE DEVICES
DIRECT ACCESS STORAGE DEVICESDIRECT ACCESS STORAGE DEVICES
DIRECT ACCESS STORAGE DEVICES
 
Magnetic disks
Magnetic disksMagnetic disks
Magnetic disks
 
Introduction to arduino!
Introduction to arduino!Introduction to arduino!
Introduction to arduino!
 
Presentation on Magnetic Tapes
Presentation on Magnetic TapesPresentation on Magnetic Tapes
Presentation on Magnetic Tapes
 
CSE-Computer-Memory-PPT.pptx
CSE-Computer-Memory-PPT.pptxCSE-Computer-Memory-PPT.pptx
CSE-Computer-Memory-PPT.pptx
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
 

Similar to Memory (20)

Esd mod 3
Esd mod 3Esd mod 3
Esd mod 3
 
Computer Memory
 Computer Memory Computer Memory
Computer Memory
 
Memory and storage
Memory and storageMemory and storage
Memory and storage
 
Memory
MemoryMemory
Memory
 
05 internal memory
05 internal memory05 internal memory
05 internal memory
 
Static and dynamic memories
Static and dynamic memoriesStatic and dynamic memories
Static and dynamic memories
 
memories.pptx
memories.pptxmemories.pptx
memories.pptx
 
Internal memory
Internal memoryInternal memory
Internal memory
 
Memory
MemoryMemory
Memory
 
Ram ppt
Ram pptRam ppt
Ram ppt
 
memory.pptx
memory.pptxmemory.pptx
memory.pptx
 
H memory
H memoryH memory
H memory
 
Memory - RAM and its types
Memory - RAM and its typesMemory - RAM and its types
Memory - RAM and its types
 
05 internal memory
05 internal memory05 internal memory
05 internal memory
 
RAM(Random Access Memory)
RAM(Random Access Memory)RAM(Random Access Memory)
RAM(Random Access Memory)
 
Presentation2 (1).pp text book for students
Presentation2 (1).pp text book for studentsPresentation2 (1).pp text book for students
Presentation2 (1).pp text book for students
 
Memory and storage devices
Memory and storage devicesMemory and storage devices
Memory and storage devices
 
Memory
MemoryMemory
Memory
 
Unit IV Memory.pptx
Unit IV  Memory.pptxUnit IV  Memory.pptx
Unit IV Memory.pptx
 
Random Access Memory ppt
Random Access Memory pptRandom Access Memory ppt
Random Access Memory ppt
 

Recently uploaded

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
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
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 

Recently uploaded (20)

Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
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...
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

Memory

  • 1. Memory (Introduction to Read-only memory, read/write memory - SRAM and DRAM)
  • 2. 2 Memory Memory is required to store: 1. data 2. application programs 3. operating system
  • 3. 3 Memory Can be broadly classified as: Random Access Memory (RAM) or Read Only Memory (ROM)
  • 4. 4 Random Access Memory (RAM)  Can be written to or read from. − Read/Write memory  Reading from RAM is non-destructive.  Access time to read from any memory location is the same. − As compared to serial access memory.  Volatile − Information is lost when power is removed.
  • 6. 6 Random Access Memory (RAM)  Static Random Access Memory (SRAM) − Based on the Flip-Flop − Requires a large number of transistors − Fast  Dynamic Random Access Memory (DRAM) − Uses a single transistor to store charge − Requires very few transistors − Must be periodically refreshed − Slow(er)
  • 7. Summary: 1. SRAM is static while DRAM is dynamic. 2. SRAM is faster compared to DRAM. 3. SRAM consumes less power than DRAM. 4. SRAM uses more transistors per bit of memory compared to DRAM. 5. SRAM is more expensive than DRAM. 6. Cheaper DRAM is used in main memory while SRAM is commonly used in cache memory
  • 8. 8 Random Access Memory (RAM) What is typically stored in RAM?
  • 9. 9 Read Only Memory (ROM)  Can only be read from.  Memory is written (or “programmed”) once  Reading from ROM is non-destructive.  Access time to read from any memory location is the same. − As compared to serial access memory.  Non-Volatile − Information is retained even after power is removed.
  • 11. 11 Read Only Memory (ROM)  Programmable Read Only Memory (PROM) − Can be “programmed”  Erasable PROM (EPROM) − Can be “programmed” and erased  Electrically Erasable PROM (EEPROM) − Can be erased using an electrical signal  UV Erasable PROM (UVEPROM) − Can be erased using Ultraviolet light
  • 13. 13 Read Only Memory (ROM) What is typically stored in ROM?
  • 16. 16 Random Access Memory  Address − Location in memory of the binary information − Must be decoded to select the appropriate location and read/write the associated data − k-bit address → 2k memory locations  Data − Binary information of interest − Stored in a specific location in the memory − Typically organized into words − Each word has n bits
  • 17. 17 Random Access Memory address 10-bit address 1024 locations data
  • 18. 18 Random Access Memory  Read − Indicates that the memory is to be read  Write − Indicates that the memory is to be written
  • 20. 20 Random Access Memory  Rather than use the Read and Write signals, most commercially available RAM chips use Enable and Read/Write'  Enable − Used to enable the selected RAM chip − Aka. “chip select”  Read/Write' − RAM is read when Read/Write' = 1 − RAM is written when Read/Write' = 0
  • 26. Terminology used to address memories 1. 1K = 210 2. 1M = 220 3. 1G = 230
  • 27. Problems The memory units that follow are specified by the number of words times the number of bits per word, How many address lines and input-output data lines are needed in each case? (a)8K x 16 (b)2G X 8 (c)16M X 32 (d)256K X 64
  • 28. Solution (a)8 K x 16 = 213 x 16 A = 13 D = 16 (b) 2 G x 8 = 231 x 8 A = 31 D = 8 (c) 16 M x 32 = 224 x 32 A = 24 D = 32 (d) 256 K x 64 = 218 x 64 A = 18 D = 64
  • 29. Problem 2 How many 32K X 8 RAM chips are needed to provide a memory capacity of 256K byte 256 K / 32 K = 8 chips