SlideShare a Scribd company logo
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 

More Related Content

What's hot

Random Access Memory ( RAM)
Random Access Memory ( RAM)Random Access Memory ( RAM)
Random Access Memory ( RAM)
SH Rajøn
 
Static and Dynamic Read/Write memories
Static and Dynamic Read/Write memoriesStatic and Dynamic Read/Write memories
Static and Dynamic Read/Write memories
Abhilash Nair
 
RAM(Random Access Memory)
RAM(Random Access Memory)RAM(Random Access Memory)
RAM(Random Access Memory)
JaneAlamAdnan
 
RAM (Random Access Memory)
RAM (Random Access Memory)RAM (Random Access Memory)
RAM (Random Access Memory)
Md Waresul Islam
 
Dynamic RAM
Dynamic RAMDynamic RAM
Dynamic RAM
Ankush Srivastava
 
Random access memory
Random access memoryRandom access memory
Random access memory
AnikMazumdar2
 
Types of ram
Types of ramTypes of ram
Types of ram
Anil Poudyal
 
Ram and its types
Ram and its typesRam and its types
Ram and its types
FARAZ QURESHI(BLACK HAT)
 
Types of ram
Types of  ramTypes of  ram
Types of ram
Hamza Sajjad
 
Internal memory
Internal memoryInternal memory
Internal memory
Riya Choudhary
 
Ram presentation
Ram presentationRam presentation
Ram presentation
Kadai McFadden
 
RAM (Random Access Memory)
RAM (Random Access Memory)RAM (Random Access Memory)
RAM (Random Access Memory)
divyanshbatham
 
Random access memory
Random access memoryRandom access memory
Random access memory
Ruchi Maurya
 
Semiconductor memory
Semiconductor memorySemiconductor memory
Semiconductor memory
Then Murugeshwari
 
Types of RAM
Types of RAMTypes of RAM
Types of RAM
Abdelrahman Almassry
 
Random Access Memory ppt
Random Access Memory pptRandom Access Memory ppt
SRAM
SRAMSRAM
Semiconductor memories
Semiconductor memoriesSemiconductor memories
Semiconductor memories
kitturashmikittu
 
RAM
RAMRAM
Memory
MemoryMemory

What's hot (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
 

Viewers also liked

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 Startups
Vebology Store
 
S peculative multi
S peculative multiS peculative multi
S peculative multi
jamesmathew007
 
Intro Open Solaris
Intro Open SolarisIntro Open Solaris
Intro Open Solaris
Marcelo Arbore
 
Text classificationmethods
Text classificationmethodsText classificationmethods
Text classificationmethods
Fraboni Ec
 
Services
ServicesServices
Services
Jofandy Vf
 
El porvenir mayo 2015
El porvenir mayo 2015El porvenir mayo 2015
El porvenir mayo 2015
Karina Monge
 
Truck loading layout-containers
Truck loading layout-containersTruck loading layout-containers
Truck loading layout-containers
James Thomas
 
Intro to tone
Intro to toneIntro to tone
Intro to tone
keturahhaferkamp
 
reference-cl
reference-clreference-cl
reference-cl
James Thomas
 
House OF Cheatham_Freight Matrix example
House OF Cheatham_Freight Matrix exampleHouse OF Cheatham_Freight Matrix example
House OF Cheatham_Freight Matrix example
James Thomas
 
IATP Eurasia
IATP EurasiaIATP Eurasia
IATP Eurasia
mrskogen
 
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
Robert 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 Forms
Vebology Store
 
Haiwanbunyi 111202181017-phpapp02
Haiwanbunyi 111202181017-phpapp02Haiwanbunyi 111202181017-phpapp02
Haiwanbunyi 111202181017-phpapp02Aremir Hamzah
 
IATP Eurasia
IATP EurasiaIATP Eurasia
IATP Eurasia
mrskogen
 
Introduce Yourself
Introduce YourselfIntroduce Yourself
Introduce Yourself
Joshua Dirks
 
Kanorace
KanoraceKanorace
Kanorace
Rob van Wees
 
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.
 

Viewers also liked (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...
 

Similar to Random Access Memory

Memory Organisation in Computer Architecture.pdf
Memory Organisation in Computer Architecture.pdfMemory Organisation in Computer Architecture.pdf
Memory Organisation in Computer Architecture.pdf
SangitaBose2
 
COMPUTER ORGANIZATION NOTES Unit 5
COMPUTER ORGANIZATION NOTES Unit 5COMPUTER ORGANIZATION NOTES Unit 5
COMPUTER ORGANIZATION NOTES Unit 5
Dr.MAYA NAYAK
 
Memory managment
Memory managmentMemory managment
Memory managment
Shahbaz Khan
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
Deepak John
 
Chapter5 the memory-system-jntuworld
Chapter5 the memory-system-jntuworldChapter5 the memory-system-jntuworld
Chapter5 the memory-system-jntuworld
Praveen Kumar
 
L6 primary-memory
L6 primary-memoryL6 primary-memory
L6 primary-memory
rsamurti
 
Memory
MemoryMemory
Memory
Kumar
 
CA UNIT V..pptx
CA UNIT V..pptxCA UNIT V..pptx
CA UNIT V..pptx
ssuser9dbd7e
 
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
kasheen2803
 
MICROPROCESSOR,BASICS AND MEMORY CONCEPT
MICROPROCESSOR,BASICS AND MEMORY CONCEPTMICROPROCESSOR,BASICS AND MEMORY CONCEPT
MICROPROCESSOR,BASICS AND MEMORY CONCEPT
Lakshya Sharma
 
memories.pptx
memories.pptxmemories.pptx
memories.pptx
Amulyagt1
 
Memories in digital electronics
Memories in digital electronicsMemories in digital electronics
Memories in digital electronics
SijuGeorge10
 
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
Rai University
 
L010236974
L010236974L010236974
L010236974
IOSR Journals
 
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
Rai 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 unit
Rai University
 
memeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memoriesmemeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memories
GauravDaware2
 
Memory
MemoryMemory
Module4
Module4Module4
Module4
cs19club
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
Mumthas Shaikh
 

Similar to Random Access Memory (20)

Memory Organisation in Computer Architecture.pdf
Memory Organisation in Computer Architecture.pdfMemory Organisation in Computer Architecture.pdf
Memory Organisation in Computer Architecture.pdf
 
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
 

More from university of education,Lahore

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

More from 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
 

Recently uploaded

How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
MysoreMuleSoftMeetup
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
สมใจ จันสุกสี
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
Solutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptxSolutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptx
spdendr
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
ssuser13ffe4
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
imrankhan141184
 

Recently uploaded (20)

How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
Solutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptxSolutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptx
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
 

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 