SlideShare a Scribd company logo
1 of 12
Lecture 1
MEMORY ORGANISATION IN EMBEDDED
SYSTEMS
Memory
1. Memory is an important component in an embedded system as it
stores all and any form of data depending upon its design
architecture.
2. For anyone to learn and have a deeper knowledge of the embedded
systems, it's important that one should first understand what the
memory of their hardware can actually offer or how one can design
the hardware for their application .
3. In data centers, they deal with Petabytes of memory. In personal
computers, they deal with mega->terabytes size of memory, But
when it comes to embedded systems ,it's usually from kiloBytes to
megaBytes of memory.
4. So, It is important that we understand,utilise and optimise this
small amount of memory efficiently in embedded systems.
Types of Memory
Lorem Ipsum
MEMORY
RAM - Volatile
memory
SRAM
DRAM
SDRAM
Register
PROM
EPROM
EEPROM
Flash
ROM - NonVolatile
memory
Volatile memory :
Loses data once the
power is turned off.
Non- volatile memory :
Retains data on losing
power.
Transformation of ROM
ROM is a non-volatile memory, meaning the data stored in ROM stays even after the power is
turned off, having said so ROM also has endurance issues that data cannot be written over and
over again, it has got limited number of write erase cycles before failure.
ROM PROM EEPROM
EPROM Flash
ROM and PROM are programmed only once by the manufacturer and remains unchanged.
EPROM are programmable multiple times and can be erased by exposing the memory to UV
(ultra-violet)light.
The next in the evolution comes the EEPROM and FLash which are electrically erasable and
programmable ROM but Flash comes with an endurance issue (10,000 - 1,00,000+ write erase
cycles)
RAM (Random access memory):
RAM is a volatile memory (Ram requires constant electrical power to store Data
and if the power is turned off then the data is erased.) and as the name suggests
allows access to any part of the memory given the address of that location.
1. In order for Data or program to run on a computer. First, It needs to be loaded into RAM.
2. So, RAM basically stores the data of your current running programs. For eg, if you have
opened your MS office document ,the MS word program will be copied to RAM and that’s
when we get the loading symbol in the front when the program gets copied in the background.
3. Once the program is loaded in the RAM, the CPU can now run the program and access the
data. The data that you keep feeding to your document will be saved to your RAM before you
SAVE it with the command File->Save As to your respective drive folder of ROM memory.
4. So, RAM is a very convenient type of memory to hold data that keeps changing continuously.
5. More space in RAM allows the user to use more applications simultaneously and efficiently.
Types Of RAM :
DRAM , SRAM, SDRAM
1. A DRAM uses a transistor - capacitor circuit to
hold a bit of data. Charged state is 1 bit and
discharged state is 0 bit.
2. While using capacitor, there may be leakage of
current in capacitor due to the little amount of
current that may be drawn by the adjacent
transistor or just due to the inner behaviour of the
capacitor itself.
3. So, the circuit needs to be refreshed with voltage
continuously and will not work without power.
4. The data transfer is slow compared to SRAM and
the cost is comparatively low.
SDRAM is a
synchronous DRAM
where the instructions are
synchronised with the
clock speed of the
microprocessor.
SRAM on the other hand works much faster than DRAM as it doesn’t have any
capacitor in its circuit and 2 cross coupled transistors i.e 4 transistors for storing
the charge and 2 transistors for access control. SRAM is much costlier and
works very fast.
Register memory
Registers are small memory that are present inside the processor itself. They
contain the data of operands and instructions of a program that CPU is
currently processing.
Since registers are inside the processor, the time required to fetch data is very
fast, but it cannot hold large data like RAM or ROM. It can hold only in bit
levels.
INTEL 8085 has popular 8-bit registers. ARM architecture has 32 bit registers.
Registers also hold the peripheral address in microcontroller.
So far, In the ppt we have learnt about the
volatile and non volatile memories of a
computer. To make the understanding
much better let us site an Analogy.
The core memory of a computer , ie the
ROM or HDD can be imagined to a library
, where numerous books on various topics
are stacked up neatly each one labelled.
The matrix of books arranged is the ROM.
The labels on each book can be imagined
as memory addresses of each byte.
Memory Analogy
And now consider yourself to be the CPU. Your
task is to look for data to prepare for a science
quiz. So, you have collected all the related
books and placed them on the table top, which
is the RAM. Now, More the table space, more
books can be accommodated. This helps in
fetching more data and saves time in going
back to the shelf searching for the book and
again coming back to the table.
This is analogous to having more RAM size,
when the program from the ROM is copied
entirely to the RAM , the processor need not go
back and forth to fetch data and instruction
from the ROM as everything is copied to RAM
and the execution is much faster.
When you start the process, you will start
reading the index of the book , memorize the
page number and go to the particular page
looking for information.
This is similar to saving the page number data
to the register memory and performing the next
task.
When you want to search the meaning of a
particular word. You memorize the word in
your head and take another book from the table
top to know the meaning of it.
This is similar to saving the address data in
register memory and looking for the data in that
address in RAM.
Once the work is complete, all the books on the
table will go back to the shelf and this is similar
to RAM data dissolving once the power is out.
And once you come out your memory will
eventually forget the trivial data of page number
and others. But some important data, like word-
meaning might stay in your head for a long time
then sync that to cache memory of the CPU.
Thank You
Hope you would have gained a good
knowledge about memory and a
overview of how it works inside the
computer

More Related Content

What's hot

Arm programmer's model
Arm programmer's modelArm programmer's model
Arm programmer's modelv Kalairajan
 
Embedded firmware
Embedded firmwareEmbedded firmware
Embedded firmwareJoel P
 
Classification of embedded systems
Classification of embedded systemsClassification of embedded systems
Classification of embedded systemsVikas Dongre
 
Unit II Arm 7 Introduction
Unit II Arm 7 IntroductionUnit II Arm 7 Introduction
Unit II Arm 7 IntroductionDr. Pankaj Zope
 
Semiconductor memories
Semiconductor memoriesSemiconductor memories
Semiconductor memoriesSambitShreeman
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051Muthu Manickam
 
18CS44-MODULE3-PPT.pptx
18CS44-MODULE3-PPT.pptx18CS44-MODULE3-PPT.pptx
18CS44-MODULE3-PPT.pptxSudeep35
 
Unit 2 processor&memory-organisation
Unit 2 processor&memory-organisationUnit 2 processor&memory-organisation
Unit 2 processor&memory-organisationPavithra S
 
Automatic chocolate vending machine using mucos rtos ppt
Automatic chocolate vending machine using mucos rtos pptAutomatic chocolate vending machine using mucos rtos ppt
Automatic chocolate vending machine using mucos rtos pptJOLLUSUDARSHANREDDY
 
2. block diagram and components of embedded system
2. block diagram and components of embedded system2. block diagram and components of embedded system
2. block diagram and components of embedded systemVikas Dongre
 
ARM Processor architecture
ARM Processor  architectureARM Processor  architecture
ARM Processor architecturerajkciitr
 
PPT on 8085 Microprocessor
PPT on 8085 Microprocessor  PPT on 8085 Microprocessor
PPT on 8085 Microprocessor DebrajJana4
 
Timer counter in arm7(lpc2148)
Timer counter in arm7(lpc2148)Timer counter in arm7(lpc2148)
Timer counter in arm7(lpc2148)Aarav Soni
 

What's hot (20)

Arm programmer's model
Arm programmer's modelArm programmer's model
Arm programmer's model
 
Unit vi (2)
Unit vi (2)Unit vi (2)
Unit vi (2)
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
ARM Architecture
ARM ArchitectureARM Architecture
ARM Architecture
 
Embedded firmware
Embedded firmwareEmbedded firmware
Embedded firmware
 
Classification of embedded systems
Classification of embedded systemsClassification of embedded systems
Classification of embedded systems
 
Unit II Arm 7 Introduction
Unit II Arm 7 IntroductionUnit II Arm 7 Introduction
Unit II Arm 7 Introduction
 
Semiconductor memories
Semiconductor memoriesSemiconductor memories
Semiconductor memories
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051
 
18CS44-MODULE3-PPT.pptx
18CS44-MODULE3-PPT.pptx18CS44-MODULE3-PPT.pptx
18CS44-MODULE3-PPT.pptx
 
Unit 2 processor&memory-organisation
Unit 2 processor&memory-organisationUnit 2 processor&memory-organisation
Unit 2 processor&memory-organisation
 
Ec8791 arm 9 processor
Ec8791 arm 9 processorEc8791 arm 9 processor
Ec8791 arm 9 processor
 
DMA and DMA controller
DMA and DMA controllerDMA and DMA controller
DMA and DMA controller
 
Arm instruction set
Arm instruction setArm instruction set
Arm instruction set
 
Automatic chocolate vending machine using mucos rtos ppt
Automatic chocolate vending machine using mucos rtos pptAutomatic chocolate vending machine using mucos rtos ppt
Automatic chocolate vending machine using mucos rtos ppt
 
2. block diagram and components of embedded system
2. block diagram and components of embedded system2. block diagram and components of embedded system
2. block diagram and components of embedded system
 
ARM Processor architecture
ARM Processor  architectureARM Processor  architecture
ARM Processor architecture
 
Embedded System Basics
Embedded System BasicsEmbedded System Basics
Embedded System Basics
 
PPT on 8085 Microprocessor
PPT on 8085 Microprocessor  PPT on 8085 Microprocessor
PPT on 8085 Microprocessor
 
Timer counter in arm7(lpc2148)
Timer counter in arm7(lpc2148)Timer counter in arm7(lpc2148)
Timer counter in arm7(lpc2148)
 

Similar to MEMORY ORGANISATION IN EMBEDDED SYSTEMS

Similar to MEMORY ORGANISATION IN EMBEDDED SYSTEMS (20)

Memory managment
Memory managmentMemory managment
Memory managment
 
COMPUTER MEMORY
COMPUTER MEMORYCOMPUTER MEMORY
COMPUTER MEMORY
 
Main Memory RAM and ROM
Main Memory RAM and ROMMain Memory RAM and ROM
Main Memory RAM and ROM
 
RAM And ROM
RAM And ROMRAM And ROM
RAM And ROM
 
06 - Memory.ppt
06 - Memory.ppt06 - Memory.ppt
06 - Memory.ppt
 
Computer memory
Computer memoryComputer memory
Computer memory
 
Comp App Lect 3.pptx
Comp App Lect 3.pptxComp App Lect 3.pptx
Comp App Lect 3.pptx
 
Memory and storage devices
Memory and storage devicesMemory and storage devices
Memory and storage devices
 
primary memory
primary memoryprimary memory
primary 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
 
Random Access Memory ppt
Random Access Memory pptRandom Access Memory ppt
Random Access Memory ppt
 
Topic 10- Random Access Memory (RAM).pptx
Topic 10- Random Access Memory (RAM).pptxTopic 10- Random Access Memory (RAM).pptx
Topic 10- Random Access Memory (RAM).pptx
 
Memory devices
Memory devicesMemory devices
Memory devices
 
Basics Of Semiconductor Memories
Basics Of Semiconductor MemoriesBasics Of Semiconductor Memories
Basics Of Semiconductor Memories
 
Memory - RAM and its types
Memory - RAM and its typesMemory - RAM and its types
Memory - RAM and its types
 
Memory Devices.pptx
Memory Devices.pptxMemory Devices.pptx
Memory Devices.pptx
 
Computer memory presentation
Computer memory presentationComputer memory presentation
Computer memory presentation
 
Introduction to Computers Lecture # 9
Introduction to Computers Lecture # 9Introduction to Computers Lecture # 9
Introduction to Computers Lecture # 9
 
COMPUTER MEMORY
COMPUTER MEMORYCOMPUTER MEMORY
COMPUTER MEMORY
 
Memory
MemoryMemory
Memory
 

Recently uploaded

Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 

Recently uploaded (20)

Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 

MEMORY ORGANISATION IN EMBEDDED SYSTEMS

  • 1. Lecture 1 MEMORY ORGANISATION IN EMBEDDED SYSTEMS
  • 2. Memory 1. Memory is an important component in an embedded system as it stores all and any form of data depending upon its design architecture. 2. For anyone to learn and have a deeper knowledge of the embedded systems, it's important that one should first understand what the memory of their hardware can actually offer or how one can design the hardware for their application . 3. In data centers, they deal with Petabytes of memory. In personal computers, they deal with mega->terabytes size of memory, But when it comes to embedded systems ,it's usually from kiloBytes to megaBytes of memory. 4. So, It is important that we understand,utilise and optimise this small amount of memory efficiently in embedded systems.
  • 3. Types of Memory Lorem Ipsum MEMORY RAM - Volatile memory SRAM DRAM SDRAM Register PROM EPROM EEPROM Flash ROM - NonVolatile memory Volatile memory : Loses data once the power is turned off. Non- volatile memory : Retains data on losing power.
  • 4. Transformation of ROM ROM is a non-volatile memory, meaning the data stored in ROM stays even after the power is turned off, having said so ROM also has endurance issues that data cannot be written over and over again, it has got limited number of write erase cycles before failure. ROM PROM EEPROM EPROM Flash ROM and PROM are programmed only once by the manufacturer and remains unchanged. EPROM are programmable multiple times and can be erased by exposing the memory to UV (ultra-violet)light. The next in the evolution comes the EEPROM and FLash which are electrically erasable and programmable ROM but Flash comes with an endurance issue (10,000 - 1,00,000+ write erase cycles)
  • 5. RAM (Random access memory): RAM is a volatile memory (Ram requires constant electrical power to store Data and if the power is turned off then the data is erased.) and as the name suggests allows access to any part of the memory given the address of that location. 1. In order for Data or program to run on a computer. First, It needs to be loaded into RAM. 2. So, RAM basically stores the data of your current running programs. For eg, if you have opened your MS office document ,the MS word program will be copied to RAM and that’s when we get the loading symbol in the front when the program gets copied in the background. 3. Once the program is loaded in the RAM, the CPU can now run the program and access the data. The data that you keep feeding to your document will be saved to your RAM before you SAVE it with the command File->Save As to your respective drive folder of ROM memory. 4. So, RAM is a very convenient type of memory to hold data that keeps changing continuously. 5. More space in RAM allows the user to use more applications simultaneously and efficiently.
  • 6. Types Of RAM : DRAM , SRAM, SDRAM 1. A DRAM uses a transistor - capacitor circuit to hold a bit of data. Charged state is 1 bit and discharged state is 0 bit. 2. While using capacitor, there may be leakage of current in capacitor due to the little amount of current that may be drawn by the adjacent transistor or just due to the inner behaviour of the capacitor itself. 3. So, the circuit needs to be refreshed with voltage continuously and will not work without power. 4. The data transfer is slow compared to SRAM and the cost is comparatively low. SDRAM is a synchronous DRAM where the instructions are synchronised with the clock speed of the microprocessor.
  • 7. SRAM on the other hand works much faster than DRAM as it doesn’t have any capacitor in its circuit and 2 cross coupled transistors i.e 4 transistors for storing the charge and 2 transistors for access control. SRAM is much costlier and works very fast.
  • 8. Register memory Registers are small memory that are present inside the processor itself. They contain the data of operands and instructions of a program that CPU is currently processing. Since registers are inside the processor, the time required to fetch data is very fast, but it cannot hold large data like RAM or ROM. It can hold only in bit levels. INTEL 8085 has popular 8-bit registers. ARM architecture has 32 bit registers. Registers also hold the peripheral address in microcontroller.
  • 9. So far, In the ppt we have learnt about the volatile and non volatile memories of a computer. To make the understanding much better let us site an Analogy. The core memory of a computer , ie the ROM or HDD can be imagined to a library , where numerous books on various topics are stacked up neatly each one labelled. The matrix of books arranged is the ROM. The labels on each book can be imagined as memory addresses of each byte. Memory Analogy
  • 10. And now consider yourself to be the CPU. Your task is to look for data to prepare for a science quiz. So, you have collected all the related books and placed them on the table top, which is the RAM. Now, More the table space, more books can be accommodated. This helps in fetching more data and saves time in going back to the shelf searching for the book and again coming back to the table. This is analogous to having more RAM size, when the program from the ROM is copied entirely to the RAM , the processor need not go back and forth to fetch data and instruction from the ROM as everything is copied to RAM and the execution is much faster.
  • 11. When you start the process, you will start reading the index of the book , memorize the page number and go to the particular page looking for information. This is similar to saving the page number data to the register memory and performing the next task. When you want to search the meaning of a particular word. You memorize the word in your head and take another book from the table top to know the meaning of it. This is similar to saving the address data in register memory and looking for the data in that address in RAM. Once the work is complete, all the books on the table will go back to the shelf and this is similar to RAM data dissolving once the power is out. And once you come out your memory will eventually forget the trivial data of page number and others. But some important data, like word- meaning might stay in your head for a long time then sync that to cache memory of the CPU.
  • 12. Thank You Hope you would have gained a good knowledge about memory and a overview of how it works inside the computer