SlideShare ist ein Scribd-Unternehmen logo
1 von 14
Random Access Memory
Group#1
 Amna Riaz (1001)
 Iqra Aslam (1002)
 Memoona (1003)
 Samina Rani (1004)
 Aneesa Rahman (1005)
BSIT-Mor-3rd Semester
Mr. Inam-ul-Haq
University of Education,Lhr, okara
campus
Presented by: Presented To:
Definition :
 A memory unit is a collection of storage cells
 together with associated circuits needed to transfer information
into and out of a device.
 The time it takes to transfer information to or from any desired
random location is always the same hence the name
random‐access memory, abbreviated RAM.
Word Size
 A memory unit stores binary information in groups of bits
called words .
 A word in memory is an entity of bits that move in and out of
storage as a unit.
 A memory word is a group of 1’s and 0’s and may represent a
number, one or more alphanumeric characters, or any other
binary‐coded information.
 A group of 8 bits is called a byte . Most computer memories
use words that are multiples of 8 bits in length.
 Thus, a 16‐bit word contains two bytes, and a 32‐bit word is
made up of four bytes.
Input and output:
 Communication between memory and its environment is
achieved through data
 Input output lines
 Address selection lines
 Control lines that specify the direction of transfer.
 The n data input lines provide the information to be stored in
memory
 The n data output lines supply the information coming out of
memory.
 The k address lines specify the particular word chosen among
the many available
Internal working:
 The memory unit is specified by the number of words it contains
and the number of bits in each word.
 The address lines select one particular word. Each word in
memory is assigned an identification number, called an
address, starting from 0 up to 2k - 1,where k is the number of
address lines.
 The selection of a specific word inside memory is done by
applying the k ‐bit address to the address lines.
 An internal decoder accepts this address and opens the paths
needed to select the word specified
Read and Write Operation:
 The two operations that RAM can perform are the write and
read operations.
 The write signal specifies a transfer‐in operation
 The read signal specifies a transfer‐out operation.
 On accepting one of these control signals, the internal circuits
inside the memory provide the desired operation.
 The memory unit will then take the bits from the input data lines
and store them in the word specified by the address lines.
Cont….
Memory Enable Read/Write Memory operation
0
1
1
X
0
1
None
Write to selected words
Read to selected words
Memory Description in HDL:
 Memory is modeled in the Verilog hardware description
language (HDL) by an array of registers.
 It is declared with a reg keyword, using a two‐dimensional
array.
 The first number in the array specifies the number of bits in a
word (the word length) and the second gives the number of
words in memory.
 For example, a memory of 1,024 words with 16 bits per word
is declared as:
reg [15: 0] memword [0: 1023];
 Examples: reg [3: 0] DataOut;
reg [3: 0] Mem [0: 63];
Types of Memories:
The mode of access of a memory system is determined by the type
of components used.
 Integrated circuit RAM units are available in two operating
modes:
 Static RAM (SRAM) consists essentially of internal latches that
store the binary information. The stored information remains valid
as long as power is applied to the unit.
 Dynamic RAM (DRAM) stores the binary information in the form
of electric charges on capacitors provided inside the chip by
MOS transistors.
 The stored charge on the capacitors tends to discharge with time,
and the capacitors must be periodically recharged by refreshing
the dynamic memory.
 Refreshing is done by cycling through the words every few
milliseconds to restore the decaying charge.
Cont…
 DRAM offers reduced power consumption and larger storage
capacity in a single memory chip.
 SRAM is easier to use and has shorter read and write cycles.
 Memory units that lose stored information when power is
turned off are said to be volatile.
 CMOS integrated circuit RAMs, both static and dynamic, are of
this category, since the binary cells need external power to
maintain the stored information.
 In contrast, a nonvolatile memory, such as magnetic disk,
retains its stored information after the removal of power
 ROM is another nonvolatile memory.
 A nonvolatile memory enables digital computers to store
programs that will be needed again after the computer is
turned on.
Cont…
 Programs and data that cannot be altered are stored in ROM,
while other large programs are maintained on magnetic disks.
 The latter programs are transferred into the computer RAM as
needed.
 Before the power is turned off, the binary information from the
computer RAM is transferred to the disk so that the information
will be retained.
ERROR DETECTION AND CORRECTION:
 The reliability of a memory unit may be improved by employing
error‐detecting and error‐correcting codes.
Parity bit:
 The most common error detection scheme is the parity bit. A
parity bit is generated and stored along with the data word in
memory.
 The parity of the word is checked after reading it from memory.
 The data word is accepted if the parity of the bits read out is
correct.
 If the parity checked results in an inversion, an error is
detected, but it cannot be corrected
Hamming Code:
 One of the most common error‐correcting codes used in RAMs
was devised by R.W. Hamming.
 In the Hamming code, k parity bits are added to an n ‐bit data
word, forming a new word of n + k bits.
 The bit positions are numbered in sequence from 1 to n + k.
 Those positions numbered as a power of 2 are reserved for the
parity bits.
 The remaining bits are the data bits.
 The code can be used with words of any length
Reference:
 Digital Logic Designs (Book)
Written by: Morris Mano
THANKS 

Weitere ähnliche Inhalte

Was ist angesagt? (20)

Random Access Memory ( RAM)
Random Access Memory ( RAM)Random Access Memory ( RAM)
Random Access Memory ( RAM)
 
Static and Dynamic Read/Write memories
Static and Dynamic Read/Write memoriesStatic and Dynamic Read/Write memories
Static and Dynamic Read/Write memories
 
RAM(Random Access Memory)
RAM(Random Access Memory)RAM(Random Access Memory)
RAM(Random Access Memory)
 
RAM (Random Access Memory)
RAM (Random Access Memory)RAM (Random Access Memory)
RAM (Random Access Memory)
 
Dynamic RAM
Dynamic RAMDynamic RAM
Dynamic RAM
 
Random access memory
Random access memoryRandom access memory
Random access memory
 
Types of ram
Types of ramTypes of ram
Types of ram
 
Ram and its types
Ram and its typesRam and its types
Ram and its types
 
Types of ram
Types of  ramTypes of  ram
Types of ram
 
Internal memory
Internal memoryInternal memory
Internal memory
 
Ram presentation
Ram presentationRam presentation
Ram presentation
 
RAM (Random Access Memory)
RAM (Random Access Memory)RAM (Random Access Memory)
RAM (Random Access Memory)
 
Random access memory
Random access memoryRandom access memory
Random access memory
 
Semiconductor memory
Semiconductor memorySemiconductor memory
Semiconductor memory
 
Types of RAM
Types of RAMTypes of RAM
Types of RAM
 
Random Access Memory ppt
Random Access Memory pptRandom Access Memory ppt
Random Access Memory ppt
 
SRAM
SRAMSRAM
SRAM
 
Semiconductor memories
Semiconductor memoriesSemiconductor memories
Semiconductor memories
 
RAM
RAMRAM
RAM
 
Memory
MemoryMemory
Memory
 

Andere mochten auch

Solaris Dtrace, Resource Manager and Zones.
Solaris Dtrace, Resource Manager and Zones.Solaris Dtrace, Resource Manager and Zones.
Solaris Dtrace, Resource Manager and Zones.Marcelo Arbore
 
6 Tips for New Ecommerce Startups
6 Tips for New Ecommerce Startups6 Tips for New Ecommerce Startups
6 Tips for New Ecommerce StartupsVebology Store
 
Text classificationmethods
Text classificationmethodsText classificationmethods
Text classificationmethodsFraboni Ec
 
El porvenir mayo 2015
El porvenir mayo 2015El porvenir mayo 2015
El porvenir mayo 2015Karina Monge
 
Truck loading layout-containers
Truck loading layout-containersTruck loading layout-containers
Truck loading layout-containersJames Thomas
 
House OF Cheatham_Freight Matrix example
House OF Cheatham_Freight Matrix exampleHouse OF Cheatham_Freight Matrix example
House OF Cheatham_Freight Matrix exampleJames Thomas
 
IATP Eurasia
IATP EurasiaIATP Eurasia
IATP Eurasiamrskogen
 
Brief introduction- chemistry from coast to coast
Brief introduction- chemistry from coast to coastBrief introduction- chemistry from coast to coast
Brief introduction- chemistry from coast to coastRobert Hubbard, Ph.D.
 
Tips to Optimise Ecommerce Checkout Forms
Tips to Optimise Ecommerce Checkout FormsTips to Optimise Ecommerce Checkout Forms
Tips to Optimise Ecommerce Checkout FormsVebology Store
 
Haiwanbunyi 111202181017-phpapp02
Haiwanbunyi 111202181017-phpapp02Haiwanbunyi 111202181017-phpapp02
Haiwanbunyi 111202181017-phpapp02Aremir Hamzah
 
IATP Eurasia
IATP EurasiaIATP Eurasia
IATP Eurasiamrskogen
 
Introduce Yourself
Introduce YourselfIntroduce Yourself
Introduce YourselfJoshua Dirks
 
Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...
Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...
Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...Hsien-Hsin Sean Lee, Ph.D.
 

Andere mochten auch (20)

Solaris Dtrace, Resource Manager and Zones.
Solaris Dtrace, Resource Manager and Zones.Solaris Dtrace, Resource Manager and Zones.
Solaris Dtrace, Resource Manager and Zones.
 
Artwerk2
Artwerk2Artwerk2
Artwerk2
 
6 Tips for New Ecommerce Startups
6 Tips for New Ecommerce Startups6 Tips for New Ecommerce Startups
6 Tips for New Ecommerce Startups
 
S peculative multi
S peculative multiS peculative multi
S peculative multi
 
Intro Open Solaris
Intro Open SolarisIntro Open Solaris
Intro Open Solaris
 
Text classificationmethods
Text classificationmethodsText classificationmethods
Text classificationmethods
 
Services
ServicesServices
Services
 
El porvenir mayo 2015
El porvenir mayo 2015El porvenir mayo 2015
El porvenir mayo 2015
 
Truck loading layout-containers
Truck loading layout-containersTruck loading layout-containers
Truck loading layout-containers
 
Intro to tone
Intro to toneIntro to tone
Intro to tone
 
reference-cl
reference-clreference-cl
reference-cl
 
House OF Cheatham_Freight Matrix example
House OF Cheatham_Freight Matrix exampleHouse OF Cheatham_Freight Matrix example
House OF Cheatham_Freight Matrix example
 
IATP Eurasia
IATP EurasiaIATP Eurasia
IATP Eurasia
 
Brief introduction- chemistry from coast to coast
Brief introduction- chemistry from coast to coastBrief introduction- chemistry from coast to coast
Brief introduction- chemistry from coast to coast
 
Tips to Optimise Ecommerce Checkout Forms
Tips to Optimise Ecommerce Checkout FormsTips to Optimise Ecommerce Checkout Forms
Tips to Optimise Ecommerce Checkout Forms
 
Haiwanbunyi 111202181017-phpapp02
Haiwanbunyi 111202181017-phpapp02Haiwanbunyi 111202181017-phpapp02
Haiwanbunyi 111202181017-phpapp02
 
IATP Eurasia
IATP EurasiaIATP Eurasia
IATP Eurasia
 
Introduce Yourself
Introduce YourselfIntroduce Yourself
Introduce Yourself
 
Kanorace
KanoraceKanorace
Kanorace
 
Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...
Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...
Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...
 

Ähnlich wie Random Access Memory

COMPUTER ORGANIZATION NOTES Unit 5
COMPUTER ORGANIZATION NOTES Unit 5COMPUTER ORGANIZATION NOTES Unit 5
COMPUTER ORGANIZATION NOTES Unit 5Dr.MAYA NAYAK
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memoryDeepak John
 
Chapter5 the memory-system-jntuworld
Chapter5 the memory-system-jntuworldChapter5 the memory-system-jntuworld
Chapter5 the memory-system-jntuworldPraveen Kumar
 
L6 primary-memory
L6 primary-memoryL6 primary-memory
L6 primary-memoryrsamurti
 
Memory
MemoryMemory
MemoryKumar
 
DIGITAL DESIGNS SLIDES 7 ENGINEERING 2ND YEAR
DIGITAL DESIGNS SLIDES 7 ENGINEERING  2ND YEARDIGITAL DESIGNS SLIDES 7 ENGINEERING  2ND YEAR
DIGITAL DESIGNS SLIDES 7 ENGINEERING 2ND YEARkasheen2803
 
MICROPROCESSOR,BASICS AND MEMORY CONCEPT
MICROPROCESSOR,BASICS AND MEMORY CONCEPTMICROPROCESSOR,BASICS AND MEMORY CONCEPT
MICROPROCESSOR,BASICS AND MEMORY CONCEPTLakshya Sharma
 
memories.pptx
memories.pptxmemories.pptx
memories.pptxAmulyagt1
 
Memories in digital electronics
Memories in digital electronicsMemories in digital electronics
Memories in digital electronicsSijuGeorge10
 
B.sc cs-ii-u-1.7 digital logic circuits, digital component memory unit
B.sc cs-ii-u-1.7 digital logic circuits, digital component memory unitB.sc cs-ii-u-1.7 digital logic circuits, digital component memory unit
B.sc cs-ii-u-1.7 digital logic circuits, digital component memory unitRai University
 
Bca 2nd sem-u-1.7 digital logic circuits, digital component memory unit
Bca 2nd sem-u-1.7 digital logic circuits, digital component memory unitBca 2nd sem-u-1.7 digital logic circuits, digital component memory unit
Bca 2nd sem-u-1.7 digital logic circuits, digital component memory unitRai University
 
digital logic circuits, digital component memory unit
 digital logic circuits, digital component memory unit digital logic circuits, digital component memory unit
digital logic circuits, digital component memory unitRai University
 
memeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memoriesmemeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memoriesGauravDaware2
 

Ähnlich wie Random Access Memory (20)

COMPUTER ORGANIZATION NOTES Unit 5
COMPUTER ORGANIZATION NOTES Unit 5COMPUTER ORGANIZATION NOTES Unit 5
COMPUTER ORGANIZATION NOTES Unit 5
 
Memory managment
Memory managmentMemory managment
Memory managment
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
 
Chapter5 the memory-system-jntuworld
Chapter5 the memory-system-jntuworldChapter5 the memory-system-jntuworld
Chapter5 the memory-system-jntuworld
 
L6 primary-memory
L6 primary-memoryL6 primary-memory
L6 primary-memory
 
Memory
MemoryMemory
Memory
 
CA UNIT V..pptx
CA UNIT V..pptxCA UNIT V..pptx
CA UNIT V..pptx
 
DIGITAL DESIGNS SLIDES 7 ENGINEERING 2ND YEAR
DIGITAL DESIGNS SLIDES 7 ENGINEERING  2ND YEARDIGITAL DESIGNS SLIDES 7 ENGINEERING  2ND YEAR
DIGITAL DESIGNS SLIDES 7 ENGINEERING 2ND YEAR
 
MICROPROCESSOR,BASICS AND MEMORY CONCEPT
MICROPROCESSOR,BASICS AND MEMORY CONCEPTMICROPROCESSOR,BASICS AND MEMORY CONCEPT
MICROPROCESSOR,BASICS AND MEMORY CONCEPT
 
memories.pptx
memories.pptxmemories.pptx
memories.pptx
 
Memories in digital electronics
Memories in digital electronicsMemories in digital electronics
Memories in digital electronics
 
B.sc cs-ii-u-1.7 digital logic circuits, digital component memory unit
B.sc cs-ii-u-1.7 digital logic circuits, digital component memory unitB.sc cs-ii-u-1.7 digital logic circuits, digital component memory unit
B.sc cs-ii-u-1.7 digital logic circuits, digital component memory unit
 
L010236974
L010236974L010236974
L010236974
 
Bca 2nd sem-u-1.7 digital logic circuits, digital component memory unit
Bca 2nd sem-u-1.7 digital logic circuits, digital component memory unitBca 2nd sem-u-1.7 digital logic circuits, digital component memory unit
Bca 2nd sem-u-1.7 digital logic circuits, digital component memory unit
 
digital logic circuits, digital component memory unit
 digital logic circuits, digital component memory unit digital logic circuits, digital component memory unit
digital logic circuits, digital component memory unit
 
memeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memoriesmemeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memories
 
Memory
MemoryMemory
Memory
 
Module4
Module4Module4
Module4
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
 
Internal memory
Internal memoryInternal memory
Internal memory
 

Mehr von university of education,Lahore

Mehr von university of education,Lahore (20)

Activites and Time Planning
 Activites and Time Planning Activites and Time Planning
Activites and Time Planning
 
Steganography
SteganographySteganography
Steganography
 
Classical Encryption Techniques
Classical Encryption TechniquesClassical Encryption Techniques
Classical Encryption Techniques
 
Activites and Time Planning
Activites and Time PlanningActivites and Time Planning
Activites and Time Planning
 
OSI Security Architecture
OSI Security ArchitectureOSI Security Architecture
OSI Security Architecture
 
Network Security Terminologies
Network Security TerminologiesNetwork Security Terminologies
Network Security Terminologies
 
Project Scheduling, Planning and Risk Management
Project Scheduling, Planning and Risk ManagementProject Scheduling, Planning and Risk Management
Project Scheduling, Planning and Risk Management
 
Software Testing and Debugging
Software Testing and DebuggingSoftware Testing and Debugging
Software Testing and Debugging
 
ePayment Methods
ePayment MethodsePayment Methods
ePayment Methods
 
SEO
SEOSEO
SEO
 
A Star Search
A Star SearchA Star Search
A Star Search
 
Enterprise Application Integration
Enterprise Application IntegrationEnterprise Application Integration
Enterprise Application Integration
 
Uml Diagrams
Uml DiagramsUml Diagrams
Uml Diagrams
 
eDras Max
eDras MaxeDras Max
eDras Max
 
RAD Model
RAD ModelRAD Model
RAD Model
 
Microsoft Project
Microsoft ProjectMicrosoft Project
Microsoft Project
 
Itertaive Process Development
Itertaive Process DevelopmentItertaive Process Development
Itertaive Process Development
 
Computer Aided Software Engineering Nayab Awan
Computer Aided Software Engineering Nayab AwanComputer Aided Software Engineering Nayab Awan
Computer Aided Software Engineering Nayab Awan
 
Lect 2 assessing the technology landscape
Lect 2 assessing the technology landscapeLect 2 assessing the technology landscape
Lect 2 assessing the technology landscape
 
system level requirements gathering and analysis
system level requirements gathering and analysissystem level requirements gathering and analysis
system level requirements gathering and analysis
 

Kürzlich hochgeladen

How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 

Kürzlich hochgeladen (20)

How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 

Random Access Memory

  • 1. Random Access Memory Group#1  Amna Riaz (1001)  Iqra Aslam (1002)  Memoona (1003)  Samina Rani (1004)  Aneesa Rahman (1005) BSIT-Mor-3rd Semester Mr. Inam-ul-Haq University of Education,Lhr, okara campus Presented by: Presented To:
  • 2. Definition :  A memory unit is a collection of storage cells  together with associated circuits needed to transfer information into and out of a device.  The time it takes to transfer information to or from any desired random location is always the same hence the name random‐access memory, abbreviated RAM.
  • 3. Word Size  A memory unit stores binary information in groups of bits called words .  A word in memory is an entity of bits that move in and out of storage as a unit.  A memory word is a group of 1’s and 0’s and may represent a number, one or more alphanumeric characters, or any other binary‐coded information.  A group of 8 bits is called a byte . Most computer memories use words that are multiples of 8 bits in length.  Thus, a 16‐bit word contains two bytes, and a 32‐bit word is made up of four bytes.
  • 4. Input and output:  Communication between memory and its environment is achieved through data  Input output lines  Address selection lines  Control lines that specify the direction of transfer.  The n data input lines provide the information to be stored in memory  The n data output lines supply the information coming out of memory.  The k address lines specify the particular word chosen among the many available
  • 5. Internal working:  The memory unit is specified by the number of words it contains and the number of bits in each word.  The address lines select one particular word. Each word in memory is assigned an identification number, called an address, starting from 0 up to 2k - 1,where k is the number of address lines.  The selection of a specific word inside memory is done by applying the k ‐bit address to the address lines.  An internal decoder accepts this address and opens the paths needed to select the word specified
  • 6. Read and Write Operation:  The two operations that RAM can perform are the write and read operations.  The write signal specifies a transfer‐in operation  The read signal specifies a transfer‐out operation.  On accepting one of these control signals, the internal circuits inside the memory provide the desired operation.  The memory unit will then take the bits from the input data lines and store them in the word specified by the address lines.
  • 7. Cont…. Memory Enable Read/Write Memory operation 0 1 1 X 0 1 None Write to selected words Read to selected words
  • 8. Memory Description in HDL:  Memory is modeled in the Verilog hardware description language (HDL) by an array of registers.  It is declared with a reg keyword, using a two‐dimensional array.  The first number in the array specifies the number of bits in a word (the word length) and the second gives the number of words in memory.  For example, a memory of 1,024 words with 16 bits per word is declared as: reg [15: 0] memword [0: 1023];  Examples: reg [3: 0] DataOut; reg [3: 0] Mem [0: 63];
  • 9. Types of Memories: The mode of access of a memory system is determined by the type of components used.  Integrated circuit RAM units are available in two operating modes:  Static RAM (SRAM) consists essentially of internal latches that store the binary information. The stored information remains valid as long as power is applied to the unit.  Dynamic RAM (DRAM) stores the binary information in the form of electric charges on capacitors provided inside the chip by MOS transistors.  The stored charge on the capacitors tends to discharge with time, and the capacitors must be periodically recharged by refreshing the dynamic memory.  Refreshing is done by cycling through the words every few milliseconds to restore the decaying charge.
  • 10. Cont…  DRAM offers reduced power consumption and larger storage capacity in a single memory chip.  SRAM is easier to use and has shorter read and write cycles.  Memory units that lose stored information when power is turned off are said to be volatile.  CMOS integrated circuit RAMs, both static and dynamic, are of this category, since the binary cells need external power to maintain the stored information.  In contrast, a nonvolatile memory, such as magnetic disk, retains its stored information after the removal of power  ROM is another nonvolatile memory.  A nonvolatile memory enables digital computers to store programs that will be needed again after the computer is turned on.
  • 11. Cont…  Programs and data that cannot be altered are stored in ROM, while other large programs are maintained on magnetic disks.  The latter programs are transferred into the computer RAM as needed.  Before the power is turned off, the binary information from the computer RAM is transferred to the disk so that the information will be retained.
  • 12. ERROR DETECTION AND CORRECTION:  The reliability of a memory unit may be improved by employing error‐detecting and error‐correcting codes. Parity bit:  The most common error detection scheme is the parity bit. A parity bit is generated and stored along with the data word in memory.  The parity of the word is checked after reading it from memory.  The data word is accepted if the parity of the bits read out is correct.  If the parity checked results in an inversion, an error is detected, but it cannot be corrected
  • 13. Hamming Code:  One of the most common error‐correcting codes used in RAMs was devised by R.W. Hamming.  In the Hamming code, k parity bits are added to an n ‐bit data word, forming a new word of n + k bits.  The bit positions are numbered in sequence from 1 to n + k.  Those positions numbered as a power of 2 are reserved for the parity bits.  The remaining bits are the data bits.  The code can be used with words of any length
  • 14. Reference:  Digital Logic Designs (Book) Written by: Morris Mano THANKS 