SlideShare a Scribd company logo
MEMORY SYSTEM
Lecturer by
Marwa
Outline
• Microcomputer Memory
-characteristics of memory system
-location
-capacity
-unit of transfer
• Access method
• Performance
• Physical type
• Memory Hierarchies
• Internal and external memory
• RAM-Random access memory
• ROM-Read only memory
• Memory latency and bandwidth
• Memory interleaving
• Memory management
Microcomputer Memory
• Memory is an essential component of the microcomputer
system.
• It stores binary instructions and datum for the microcomputer.
• The memory is the place where the computer holds current
programs and data that are in use.
• None technology is optimal in satisfying the memory
requirements for a computer system.
• Computer memory exhibits perhaps the widest range of type,
technology, organization, performance and cost of any feature
of a computer system.
• The memory unit that communicates directly with the CPU is
called main memory.
• Devices that provide backup storage are called auxiliary
memory or secondary memory
Memory Hierarchies
• Some fundamental and enduring properties of hardware
and software:
• Fast storage technologies cost more per byte and have less
capacity
• Gap between CPU and main memory speed is widening
• Well-written programs tend to exhibit good locality
• These fundamental properties complement each other
beautifully
• They suggest an approach for organizing memory and
storage systems known as a memory hierarchy
Computer architecture memory system
Characteristics of memory systems
• The memory system can be characterised with their
Location, Capacity, Unit of transfer, Access method,
Performance, Physical type, Physical characteristics,
Organisation.
Location
• Processor memory: The memory like registers is included
within the processor and termed as processor memory.
• • Internal memory: It is often termed as main memory and
resides within the CPU.
• • External memory: It consists of peripheral storage devices
such as disk and magnetic tape that are accessible to
processor via i/o controllers
Capacity
• Word size: Capacity is expressed in terms of words or bytes.
— The natural unit of organisation
• Number of words: Common word lengths are 8, 16, 32 bits etc.
— or Byte
Unit of Transfer
• Internal: For internal memory, the unit of transfer is equal
to the number of data lines into and out of the memory
module.
• External: For external memory, they are transferred in
block which is larger than a word.
• Addressable unit
— Smallest location which can be uniquely addressed
— Word internally
— Cluster on Magnetic disks
Access Method
• Sequential access: In this access, it must start with beginning and
read through a specific linear sequence. This means access time of
data unit depends on position of records (unit of data) and previous
location. — e.g. tape
• Direct Access: Individual blocks of records have unique address
based on location. Access is accomplished by jumping (direct
access) to general vicinity plus a sequential search to reach the final
location. — e.g. disk
• Random access: The time to access a given location is
independent of the sequence of prior accesses and is constant. Thus
any location can be selected out randomly and directly addressed
and accessed. — e.g. RAM
• Associative access: This is random access type of memory that
enables one to make a comparison of desired bit locations within a
word for a specified match, and to do this for all words
simultaneously.
• e.g. cache
Performance
• Access time: For random access memory, access time is the time it takes to
perform a read or write operation i.e. time taken to address a memory plus to
read / write from addressed memory location. Whereas for non-random access,
it is the time needed to position read / write mechanism at desired location.
— Time between presenting the address and getting the valid data
• Memory Cycle time: It is the total time that is required to store next memory
access operation from the previous memory access operation.
Memory cycle time = access time plus transient time (any additional time
required before a second access can commence).
— Time may be required for the memory to “recover” before next access
— Cycle time is access + recovery
• Transfer Rate: This is the rate at which data can be transferred in and out of a
memory unit.
— Rate at which data can be moved
— For random access, R = 1 / cycle time
— For non-random access, Tn = Ta + N / R; where Tn – average time to read
or write N bits, Ta – average access time, N – number of bits, R – Transfer rate
in bits per second (bps).
Physical Types
• Semiconductor
— RAM
• Magnetic
— Disk & Tape
• Optical
— CD & DVD
• Others
— Bubble
— Hologram
Physical Characteristics
• Decay: Information decays mean data loss.
• Volatility: Information decays when electrical power is
switched off.
• Erasable: Erasable means permission to erase.
• Power consumption: how much power consumes?
Organization
• Physical arrangement of bits into words
• Not always obvious
- e.g. interleaved
Memory latency and bandwidth
• The latency (L) of the memory is the delay from when the
processor first requests a word from memory until
• that word arrives and is available for use by the
processor. The latency of a memory system is one
attribute of
• performance
• The other is bandwidth (BW), which is the rate aat which
information can be transferred from the
• memory system. The bandwidth and the latency are
closely related. If R is the number of requests that the
memory
• can service simultaneously, then:
BW=R/L
Memory latency and bandwidth
• From Eq. (1) we see that a decrease in the latency will
result in an increase in bandwidth, and vice versa, if R
• is unchanged. We can also see that the bandwidth can be
increased by increasing R, if L does not increase
proportionately.
• For example, we can build a memory system that takes
20 ns to service the access of a single 32-bit
• word. Its latency is 20 ns per 32-bit word, and its
bandwidth is : 32bits/20*10sec
Internal and External memory
• Internal or Main Memory
The main memory is the central unit of the computer system. It is
relatively large and fast memory to store programs and data
during the computer operation. These memories employ
semiconductor integrated circuits. The basic element of the
semiconductor memory is the memory cell.
• The memory cell has three functional terminals which carries
the electrical signal.
• o The select terminal: It selects the cell.
• o The data in terminal: It is used to input data as 0 or 1 and
data out or sense terminal is used for the output of the cell's
state.
• o The control terminal: It controls the function i.e. it indicates
read and write.
• Most of the main memory in a general purpose computer is
made up of RAM integrated circuits chips, but a portion of the
memory may be constructed with ROM chips
External Memory Types
• HDD
• Magnetic Disk(s)
• SDD (Solid State Disk(s))
• Optical
• CD-ROM
• CD-Recordable (CD-R)
• CD-R/W
• DVD
• Magnetic Tape
Internal and External memory
RAM– Random Access memory
• Memory cells can be accessed for information transfer
from any desired random location.
• The process of locating a word in memory is the same
and requires of locating a word in memory is the same
and requires an equal amount of time no matter where the
cells are located physically in memory thus named
'Random access'.
• Integrated RAM are available in two possible operating
modes, Static and Dynamic
Types of RAM
• Dynamic RAM (DRAM) – are like leaky capacitors; initially
data is stored in the DRAM chip, charging its memory
cells to maximum values. The charge slowly leaks out and
eventually would go to low to represent valid data; before
this happens, a refresh circuitry reads the contents of the
DRAM and rewrites the data to its original locations, thus
restoring the memory cells to their maximum charges
• Static RAM (SRAM) – is more like a register; once the
data has been written, it will stay valid, it doesn’t have to
be refreshed. Static RAM is faster than DRAM, also more
expensive. Cache memory in PCs is constructed from
SRAM memory
Dynamic RAM
Static RAM Structure
Static RAM
• Uses flip flop to store
information
• Needs more space
• Faster, digital device
• Expensive, big in size
• Don't require refreshing circuit
• Used in cache memory
Dynamic RAM
• Uses capacitor to store
information
• More dense i.e. more cells can
be accommodated per unit
area
• Slower, analog device
• Less expensive, small in size
• Needs refreshing circuit
• Used in main memory, larger
memory units
Computer architecture memory system
Memory interleaving
Memory interleaving
Memory interleaving
Computer architecture memory system
Computer architecture memory system
Computer architecture memory system
Thankyou

More Related Content

What's hot (20)

Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
Deepak John
 
Virtual memory
Virtual memoryVirtual memory
Virtual memory
Anuj Modi
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
shubham kuwar
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
Roshan kumar sahu
 
Coa module1
Coa module1Coa module1
Coa module1
cs19club
 
Types of Addressing modes- COA
Types of Addressing modes- COATypes of Addressing modes- COA
Types of Addressing modes- COA
Ruchi Maurya
 
Cache Memory
Cache MemoryCache Memory
Cache Memory
Subid Biswas
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output Organization
Kamal Acharya
 
Memory Hierarchy
Memory HierarchyMemory Hierarchy
Memory Hierarchy
chauhankapil
 
Storage Structure in OS
Storage Structure in OSStorage Structure in OS
Storage Structure in OS
UniSoftCorner Pvt Ltd India.
 
Dma transfer
Dma transferDma transfer
Dma transfer
gmnithya
 
Computer organization and architecture
Computer organization and architectureComputer organization and architecture
Computer organization and architecture
Subesh Kumar Yadav
 
Memory hierarchy
Memory hierarchyMemory hierarchy
Memory hierarchy
Mahesh Kumar Attri
 
Thrashing allocation frames.43
Thrashing allocation frames.43Thrashing allocation frames.43
Thrashing allocation frames.43
myrajendra
 
Memory mapping
Memory mappingMemory mapping
Memory mapping
SnehalataAgasti
 
Instruction codes
Instruction codesInstruction codes
Instruction codes
pradeepa velmurugan
 
Auxiliary memory
Auxiliary memoryAuxiliary memory
Auxiliary memory
YuvrajVyas2
 
Cache memory
Cache memoryCache memory
Cache memory
Ansari Maviya
 
Operating system memory management
Operating system memory managementOperating system memory management
Operating system memory management
rprajat007
 
04 Cache Memory
04  Cache  Memory04  Cache  Memory
04 Cache Memory
Jeanie Delos Arcos
 

Similar to Computer architecture memory system (20)

Internal Memory FIT NED UNIVERSITY OF EN
Internal Memory FIT NED UNIVERSITY OF ENInternal Memory FIT NED UNIVERSITY OF EN
Internal Memory FIT NED UNIVERSITY OF EN
moizbhai999
 
FALLSEM2024-25_BCSE205L_TH_VL2024250108124_2024-09-30_Reference-Material-IV.pptx
FALLSEM2024-25_BCSE205L_TH_VL2024250108124_2024-09-30_Reference-Material-IV.pptxFALLSEM2024-25_BCSE205L_TH_VL2024250108124_2024-09-30_Reference-Material-IV.pptx
FALLSEM2024-25_BCSE205L_TH_VL2024250108124_2024-09-30_Reference-Material-IV.pptx
ssuser7fd7cb1
 
Chapter 8 computer memory system overview
Chapter 8 computer memory system overviewChapter 8 computer memory system overview
Chapter 8 computer memory system overview
AhlamAli20
 
MEMORY & I/O SYSTEMS
MEMORY & I/O SYSTEMS                          MEMORY & I/O SYSTEMS
MEMORY & I/O SYSTEMS
Amirthavalli Senthil
 
COA notes
COA notesCOA notes
COA notes
ShrutiKushwaha29
 
ch-5 COA\szdghfjgkvjbmyughbhjtngfbvc.pptx
ch-5 COA\szdghfjgkvjbmyughbhjtngfbvc.pptxch-5 COA\szdghfjgkvjbmyughbhjtngfbvc.pptx
ch-5 COA\szdghfjgkvjbmyughbhjtngfbvc.pptx
FiraolGadissa
 
Topic-10 Memory Basics and Different Storages.pptx
Topic-10 Memory Basics and Different Storages.pptxTopic-10 Memory Basics and Different Storages.pptx
Topic-10 Memory Basics and Different Storages.pptx
MuhammadMustafaShaki3
 
CH04-COA10e.pptx
CH04-COA10e.pptxCH04-COA10e.pptx
CH04-COA10e.pptx
RahmadaniPutri
 
cache cache memory memory cache memory.pptx
cache cache memory memory cache memory.pptxcache cache memory memory cache memory.pptx
cache cache memory memory cache memory.pptx
saimawarsi
 
Memory hierarchy.pdf
Memory hierarchy.pdfMemory hierarchy.pdf
Memory hierarchy.pdf
ISHAN194169
 
internal_memory
internal_memoryinternal_memory
internal_memory
limyamahgoub
 
ICT-Lecture_07(Primary Memory and its types).pptx
ICT-Lecture_07(Primary Memory and its types).pptxICT-Lecture_07(Primary Memory and its types).pptx
ICT-Lecture_07(Primary Memory and its types).pptx
muhammadanus20
 
Csc1401 lecture05 - cache memory
Csc1401   lecture05 - cache memoryCsc1401   lecture05 - cache memory
Csc1401 lecture05 - cache memory
IIUM
 
Computer memory book notes
Computer memory book notes Computer memory book notes
Computer memory book notes
Navtej Duhoon
 
CA UNIT V..pptx
CA UNIT V..pptxCA UNIT V..pptx
CA UNIT V..pptx
ssuser9dbd7e
 
3 computer memory
3   computer memory3   computer memory
3 computer memory
arslanzafar13162
 
Computer Architecture- University of Dodoma
Computer Architecture- University of DodomaComputer Architecture- University of Dodoma
Computer Architecture- University of Dodoma
SiaPL1
 
COMPUTER MEMORY. .pptx
COMPUTER          MEMORY.          .pptxCOMPUTER          MEMORY.          .pptx
COMPUTER MEMORY. .pptx
ankeetamondal06
 
Memory organization
Memory organizationMemory organization
Memory organization
ishapadhy
 
memeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memoriesmemeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memories
GauravDaware2
 
Internal Memory FIT NED UNIVERSITY OF EN
Internal Memory FIT NED UNIVERSITY OF ENInternal Memory FIT NED UNIVERSITY OF EN
Internal Memory FIT NED UNIVERSITY OF EN
moizbhai999
 
FALLSEM2024-25_BCSE205L_TH_VL2024250108124_2024-09-30_Reference-Material-IV.pptx
FALLSEM2024-25_BCSE205L_TH_VL2024250108124_2024-09-30_Reference-Material-IV.pptxFALLSEM2024-25_BCSE205L_TH_VL2024250108124_2024-09-30_Reference-Material-IV.pptx
FALLSEM2024-25_BCSE205L_TH_VL2024250108124_2024-09-30_Reference-Material-IV.pptx
ssuser7fd7cb1
 
Chapter 8 computer memory system overview
Chapter 8 computer memory system overviewChapter 8 computer memory system overview
Chapter 8 computer memory system overview
AhlamAli20
 
ch-5 COA\szdghfjgkvjbmyughbhjtngfbvc.pptx
ch-5 COA\szdghfjgkvjbmyughbhjtngfbvc.pptxch-5 COA\szdghfjgkvjbmyughbhjtngfbvc.pptx
ch-5 COA\szdghfjgkvjbmyughbhjtngfbvc.pptx
FiraolGadissa
 
Topic-10 Memory Basics and Different Storages.pptx
Topic-10 Memory Basics and Different Storages.pptxTopic-10 Memory Basics and Different Storages.pptx
Topic-10 Memory Basics and Different Storages.pptx
MuhammadMustafaShaki3
 
cache cache memory memory cache memory.pptx
cache cache memory memory cache memory.pptxcache cache memory memory cache memory.pptx
cache cache memory memory cache memory.pptx
saimawarsi
 
Memory hierarchy.pdf
Memory hierarchy.pdfMemory hierarchy.pdf
Memory hierarchy.pdf
ISHAN194169
 
ICT-Lecture_07(Primary Memory and its types).pptx
ICT-Lecture_07(Primary Memory and its types).pptxICT-Lecture_07(Primary Memory and its types).pptx
ICT-Lecture_07(Primary Memory and its types).pptx
muhammadanus20
 
Csc1401 lecture05 - cache memory
Csc1401   lecture05 - cache memoryCsc1401   lecture05 - cache memory
Csc1401 lecture05 - cache memory
IIUM
 
Computer memory book notes
Computer memory book notes Computer memory book notes
Computer memory book notes
Navtej Duhoon
 
Computer Architecture- University of Dodoma
Computer Architecture- University of DodomaComputer Architecture- University of Dodoma
Computer Architecture- University of Dodoma
SiaPL1
 
Memory organization
Memory organizationMemory organization
Memory organization
ishapadhy
 
memeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memoriesmemeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memories
GauravDaware2
 

More from Mazin Alwaaly (20)

Pattern recognition voice biometrics
Pattern recognition voice biometricsPattern recognition voice biometrics
Pattern recognition voice biometrics
Mazin Alwaaly
 
Pattern recognition palm print authentication system
Pattern recognition palm print authentication systemPattern recognition palm print authentication system
Pattern recognition palm print authentication system
Mazin Alwaaly
 
Pattern recognition on line signature
Pattern recognition on line signaturePattern recognition on line signature
Pattern recognition on line signature
Mazin Alwaaly
 
Pattern recognition multi biometrics using face and ear
Pattern recognition multi biometrics using face and earPattern recognition multi biometrics using face and ear
Pattern recognition multi biometrics using face and ear
Mazin Alwaaly
 
Pattern recognition IRIS recognition
Pattern recognition IRIS recognitionPattern recognition IRIS recognition
Pattern recognition IRIS recognition
Mazin Alwaaly
 
Pattern recognition hand vascular pattern recognition
Pattern recognition hand vascular pattern recognitionPattern recognition hand vascular pattern recognition
Pattern recognition hand vascular pattern recognition
Mazin Alwaaly
 
Pattern recognition Hand Geometry
Pattern recognition Hand GeometryPattern recognition Hand Geometry
Pattern recognition Hand Geometry
Mazin Alwaaly
 
Pattern recognition forensic dental identification
Pattern recognition forensic dental identificationPattern recognition forensic dental identification
Pattern recognition forensic dental identification
Mazin Alwaaly
 
Pattern recognition fingerprints
Pattern recognition fingerprintsPattern recognition fingerprints
Pattern recognition fingerprints
Mazin Alwaaly
 
Pattern recognition facial recognition
Pattern recognition facial recognitionPattern recognition facial recognition
Pattern recognition facial recognition
Mazin Alwaaly
 
Pattern recognition ear as a biometric
Pattern recognition ear as a biometricPattern recognition ear as a biometric
Pattern recognition ear as a biometric
Mazin Alwaaly
 
Pattern recognition 3d face recognition
Pattern recognition 3d face recognitionPattern recognition 3d face recognition
Pattern recognition 3d face recognition
Mazin Alwaaly
 
Multimedia multimedia over wireless and mobile networks
Multimedia multimedia over wireless and mobile networksMultimedia multimedia over wireless and mobile networks
Multimedia multimedia over wireless and mobile networks
Mazin Alwaaly
 
Multimedia network services and protocols for multimedia communications
Multimedia network services and protocols for multimedia communicationsMultimedia network services and protocols for multimedia communications
Multimedia network services and protocols for multimedia communications
Mazin Alwaaly
 
Multimedia content based retrieval in digital libraries
Multimedia content based retrieval in digital librariesMultimedia content based retrieval in digital libraries
Multimedia content based retrieval in digital libraries
Mazin Alwaaly
 
Multimedia lossy compression algorithms
Multimedia lossy compression algorithmsMultimedia lossy compression algorithms
Multimedia lossy compression algorithms
Mazin Alwaaly
 
Multimedia lossless compression algorithms
Multimedia lossless compression algorithmsMultimedia lossless compression algorithms
Multimedia lossless compression algorithms
Mazin Alwaaly
 
Multimedia basic video compression techniques
Multimedia basic video compression techniquesMultimedia basic video compression techniques
Multimedia basic video compression techniques
Mazin Alwaaly
 
Multimedia image compression standards
Multimedia image compression standardsMultimedia image compression standards
Multimedia image compression standards
Mazin Alwaaly
 
Multimedia fundamental concepts in video
Multimedia fundamental concepts in videoMultimedia fundamental concepts in video
Multimedia fundamental concepts in video
Mazin Alwaaly
 
Pattern recognition voice biometrics
Pattern recognition voice biometricsPattern recognition voice biometrics
Pattern recognition voice biometrics
Mazin Alwaaly
 
Pattern recognition palm print authentication system
Pattern recognition palm print authentication systemPattern recognition palm print authentication system
Pattern recognition palm print authentication system
Mazin Alwaaly
 
Pattern recognition on line signature
Pattern recognition on line signaturePattern recognition on line signature
Pattern recognition on line signature
Mazin Alwaaly
 
Pattern recognition multi biometrics using face and ear
Pattern recognition multi biometrics using face and earPattern recognition multi biometrics using face and ear
Pattern recognition multi biometrics using face and ear
Mazin Alwaaly
 
Pattern recognition IRIS recognition
Pattern recognition IRIS recognitionPattern recognition IRIS recognition
Pattern recognition IRIS recognition
Mazin Alwaaly
 
Pattern recognition hand vascular pattern recognition
Pattern recognition hand vascular pattern recognitionPattern recognition hand vascular pattern recognition
Pattern recognition hand vascular pattern recognition
Mazin Alwaaly
 
Pattern recognition Hand Geometry
Pattern recognition Hand GeometryPattern recognition Hand Geometry
Pattern recognition Hand Geometry
Mazin Alwaaly
 
Pattern recognition forensic dental identification
Pattern recognition forensic dental identificationPattern recognition forensic dental identification
Pattern recognition forensic dental identification
Mazin Alwaaly
 
Pattern recognition fingerprints
Pattern recognition fingerprintsPattern recognition fingerprints
Pattern recognition fingerprints
Mazin Alwaaly
 
Pattern recognition facial recognition
Pattern recognition facial recognitionPattern recognition facial recognition
Pattern recognition facial recognition
Mazin Alwaaly
 
Pattern recognition ear as a biometric
Pattern recognition ear as a biometricPattern recognition ear as a biometric
Pattern recognition ear as a biometric
Mazin Alwaaly
 
Pattern recognition 3d face recognition
Pattern recognition 3d face recognitionPattern recognition 3d face recognition
Pattern recognition 3d face recognition
Mazin Alwaaly
 
Multimedia multimedia over wireless and mobile networks
Multimedia multimedia over wireless and mobile networksMultimedia multimedia over wireless and mobile networks
Multimedia multimedia over wireless and mobile networks
Mazin Alwaaly
 
Multimedia network services and protocols for multimedia communications
Multimedia network services and protocols for multimedia communicationsMultimedia network services and protocols for multimedia communications
Multimedia network services and protocols for multimedia communications
Mazin Alwaaly
 
Multimedia content based retrieval in digital libraries
Multimedia content based retrieval in digital librariesMultimedia content based retrieval in digital libraries
Multimedia content based retrieval in digital libraries
Mazin Alwaaly
 
Multimedia lossy compression algorithms
Multimedia lossy compression algorithmsMultimedia lossy compression algorithms
Multimedia lossy compression algorithms
Mazin Alwaaly
 
Multimedia lossless compression algorithms
Multimedia lossless compression algorithmsMultimedia lossless compression algorithms
Multimedia lossless compression algorithms
Mazin Alwaaly
 
Multimedia basic video compression techniques
Multimedia basic video compression techniquesMultimedia basic video compression techniques
Multimedia basic video compression techniques
Mazin Alwaaly
 
Multimedia image compression standards
Multimedia image compression standardsMultimedia image compression standards
Multimedia image compression standards
Mazin Alwaaly
 
Multimedia fundamental concepts in video
Multimedia fundamental concepts in videoMultimedia fundamental concepts in video
Multimedia fundamental concepts in video
Mazin Alwaaly
 

Recently uploaded (20)

Cardiorenal, Renocardiac, and Reno-CardioCardiac Syndromes: An Updated Review...
Cardiorenal, Renocardiac, and Reno-CardioCardiac Syndromes: An Updated Review...Cardiorenal, Renocardiac, and Reno-CardioCardiac Syndromes: An Updated Review...
Cardiorenal, Renocardiac, and Reno-CardioCardiac Syndromes: An Updated Review...
karishmayjm
 
What´s in a name...? The Definition of a "Space Object"
What´s in a name...? The Definition of a "Space Object"What´s in a name...? The Definition of a "Space Object"
What´s in a name...? The Definition of a "Space Object"
KlaraSchfer
 
An Efficient and Reliable Method to Determine SpO2 in Rodents.pdf
An Efficient and Reliable Method to Determine SpO2 in Rodents.pdfAn Efficient and Reliable Method to Determine SpO2 in Rodents.pdf
An Efficient and Reliable Method to Determine SpO2 in Rodents.pdf
Scintica Instrumentation
 
Insights to Narcotic Drugs by Urmila Nirmal
Insights to Narcotic Drugs by Urmila NirmalInsights to Narcotic Drugs by Urmila Nirmal
Insights to Narcotic Drugs by Urmila Nirmal
urvi1504nirmal
 
Infrared Spectroscopy - Chemistry Fundamental
Infrared Spectroscopy - Chemistry  FundamentalInfrared Spectroscopy - Chemistry  Fundamental
Infrared Spectroscopy - Chemistry Fundamental
MajidAhmadi34
 
Chemistry Quick Notes By MdcatAcademy.com ..pdf
Chemistry Quick Notes By MdcatAcademy.com ..pdfChemistry Quick Notes By MdcatAcademy.com ..pdf
Chemistry Quick Notes By MdcatAcademy.com ..pdf
salimullahk05
 
Anti epileptic drugs 2025.pptxjjnvgghbbvguiu
Anti epileptic drugs 2025.pptxjjnvgghbbvguiuAnti epileptic drugs 2025.pptxjjnvgghbbvguiu
Anti epileptic drugs 2025.pptxjjnvgghbbvguiu
sanjay030663
 
The Cornerstones of Social Research - Gary Hebrard.pptx
The Cornerstones of Social Research - Gary Hebrard.pptxThe Cornerstones of Social Research - Gary Hebrard.pptx
The Cornerstones of Social Research - Gary Hebrard.pptx
garyhebrard
 
barr body11111111111111111111111111111111111111111111111111
barr body11111111111111111111111111111111111111111111111111barr body11111111111111111111111111111111111111111111111111
barr body11111111111111111111111111111111111111111111111111
akbary12650
 
Biological application of spectroscopy.pptx
Biological application of spectroscopy.pptxBiological application of spectroscopy.pptx
Biological application of spectroscopy.pptx
RahulRajai
 
International Journal of Pharmacological Sciences (IJPS)
International Journal of Pharmacological Sciences (IJPS)International Journal of Pharmacological Sciences (IJPS)
International Journal of Pharmacological Sciences (IJPS)
journalijps98
 
retron bacteriaaaaaaaaaaaaaaaaaaaaaaaaaa
retron bacteriaaaaaaaaaaaaaaaaaaaaaaaaaaretron bacteriaaaaaaaaaaaaaaaaaaaaaaaaaa
retron bacteriaaaaaaaaaaaaaaaaaaaaaaaaaa
ssusera539271
 
Liver Abscess.pptx surgical site infenctions
Liver Abscess.pptx surgical site infenctionsLiver Abscess.pptx surgical site infenctions
Liver Abscess.pptx surgical site infenctions
AyuubMohamed6
 
chapter 2 Prepare for administration of medications.pdf
chapter  2 Prepare for administration of medications.pdfchapter  2 Prepare for administration of medications.pdf
chapter 2 Prepare for administration of medications.pdf
Berhe4
 
kaysones_pagkosmios_meteo_organismos.pdf
kaysones_pagkosmios_meteo_organismos.pdfkaysones_pagkosmios_meteo_organismos.pdf
kaysones_pagkosmios_meteo_organismos.pdf
ssuser5750e1
 
Glymphatic system dysfunction and neurodegeneration
Glymphatic system dysfunction and neurodegenerationGlymphatic system dysfunction and neurodegeneration
Glymphatic system dysfunction and neurodegeneration
KanakChaudhary10
 
Mode Of Dispersal Of Viral Disease On Plants.pptx
Mode Of Dispersal Of Viral Disease On Plants.pptxMode Of Dispersal Of Viral Disease On Plants.pptx
Mode Of Dispersal Of Viral Disease On Plants.pptx
IAAS
 
Basic immune response against viruses.pptx
Basic immune response against viruses.pptxBasic immune response against viruses.pptx
Basic immune response against viruses.pptx
nehadeshmukh4702
 
Growing Crops with Microbiology- Endophytes and Rhizophagy Cycle.pdf
Growing Crops with Microbiology- Endophytes and Rhizophagy Cycle.pdfGrowing Crops with Microbiology- Endophytes and Rhizophagy Cycle.pdf
Growing Crops with Microbiology- Endophytes and Rhizophagy Cycle.pdf
kahumbusu
 
Aliphatic-Hydrocarbons-Q1-CON-CHEMs.pptx
Aliphatic-Hydrocarbons-Q1-CON-CHEMs.pptxAliphatic-Hydrocarbons-Q1-CON-CHEMs.pptx
Aliphatic-Hydrocarbons-Q1-CON-CHEMs.pptx
onram453
 
Cardiorenal, Renocardiac, and Reno-CardioCardiac Syndromes: An Updated Review...
Cardiorenal, Renocardiac, and Reno-CardioCardiac Syndromes: An Updated Review...Cardiorenal, Renocardiac, and Reno-CardioCardiac Syndromes: An Updated Review...
Cardiorenal, Renocardiac, and Reno-CardioCardiac Syndromes: An Updated Review...
karishmayjm
 
What´s in a name...? The Definition of a "Space Object"
What´s in a name...? The Definition of a "Space Object"What´s in a name...? The Definition of a "Space Object"
What´s in a name...? The Definition of a "Space Object"
KlaraSchfer
 
An Efficient and Reliable Method to Determine SpO2 in Rodents.pdf
An Efficient and Reliable Method to Determine SpO2 in Rodents.pdfAn Efficient and Reliable Method to Determine SpO2 in Rodents.pdf
An Efficient and Reliable Method to Determine SpO2 in Rodents.pdf
Scintica Instrumentation
 
Insights to Narcotic Drugs by Urmila Nirmal
Insights to Narcotic Drugs by Urmila NirmalInsights to Narcotic Drugs by Urmila Nirmal
Insights to Narcotic Drugs by Urmila Nirmal
urvi1504nirmal
 
Infrared Spectroscopy - Chemistry Fundamental
Infrared Spectroscopy - Chemistry  FundamentalInfrared Spectroscopy - Chemistry  Fundamental
Infrared Spectroscopy - Chemistry Fundamental
MajidAhmadi34
 
Chemistry Quick Notes By MdcatAcademy.com ..pdf
Chemistry Quick Notes By MdcatAcademy.com ..pdfChemistry Quick Notes By MdcatAcademy.com ..pdf
Chemistry Quick Notes By MdcatAcademy.com ..pdf
salimullahk05
 
Anti epileptic drugs 2025.pptxjjnvgghbbvguiu
Anti epileptic drugs 2025.pptxjjnvgghbbvguiuAnti epileptic drugs 2025.pptxjjnvgghbbvguiu
Anti epileptic drugs 2025.pptxjjnvgghbbvguiu
sanjay030663
 
The Cornerstones of Social Research - Gary Hebrard.pptx
The Cornerstones of Social Research - Gary Hebrard.pptxThe Cornerstones of Social Research - Gary Hebrard.pptx
The Cornerstones of Social Research - Gary Hebrard.pptx
garyhebrard
 
barr body11111111111111111111111111111111111111111111111111
barr body11111111111111111111111111111111111111111111111111barr body11111111111111111111111111111111111111111111111111
barr body11111111111111111111111111111111111111111111111111
akbary12650
 
Biological application of spectroscopy.pptx
Biological application of spectroscopy.pptxBiological application of spectroscopy.pptx
Biological application of spectroscopy.pptx
RahulRajai
 
International Journal of Pharmacological Sciences (IJPS)
International Journal of Pharmacological Sciences (IJPS)International Journal of Pharmacological Sciences (IJPS)
International Journal of Pharmacological Sciences (IJPS)
journalijps98
 
retron bacteriaaaaaaaaaaaaaaaaaaaaaaaaaa
retron bacteriaaaaaaaaaaaaaaaaaaaaaaaaaaretron bacteriaaaaaaaaaaaaaaaaaaaaaaaaaa
retron bacteriaaaaaaaaaaaaaaaaaaaaaaaaaa
ssusera539271
 
Liver Abscess.pptx surgical site infenctions
Liver Abscess.pptx surgical site infenctionsLiver Abscess.pptx surgical site infenctions
Liver Abscess.pptx surgical site infenctions
AyuubMohamed6
 
chapter 2 Prepare for administration of medications.pdf
chapter  2 Prepare for administration of medications.pdfchapter  2 Prepare for administration of medications.pdf
chapter 2 Prepare for administration of medications.pdf
Berhe4
 
kaysones_pagkosmios_meteo_organismos.pdf
kaysones_pagkosmios_meteo_organismos.pdfkaysones_pagkosmios_meteo_organismos.pdf
kaysones_pagkosmios_meteo_organismos.pdf
ssuser5750e1
 
Glymphatic system dysfunction and neurodegeneration
Glymphatic system dysfunction and neurodegenerationGlymphatic system dysfunction and neurodegeneration
Glymphatic system dysfunction and neurodegeneration
KanakChaudhary10
 
Mode Of Dispersal Of Viral Disease On Plants.pptx
Mode Of Dispersal Of Viral Disease On Plants.pptxMode Of Dispersal Of Viral Disease On Plants.pptx
Mode Of Dispersal Of Viral Disease On Plants.pptx
IAAS
 
Basic immune response against viruses.pptx
Basic immune response against viruses.pptxBasic immune response against viruses.pptx
Basic immune response against viruses.pptx
nehadeshmukh4702
 
Growing Crops with Microbiology- Endophytes and Rhizophagy Cycle.pdf
Growing Crops with Microbiology- Endophytes and Rhizophagy Cycle.pdfGrowing Crops with Microbiology- Endophytes and Rhizophagy Cycle.pdf
Growing Crops with Microbiology- Endophytes and Rhizophagy Cycle.pdf
kahumbusu
 
Aliphatic-Hydrocarbons-Q1-CON-CHEMs.pptx
Aliphatic-Hydrocarbons-Q1-CON-CHEMs.pptxAliphatic-Hydrocarbons-Q1-CON-CHEMs.pptx
Aliphatic-Hydrocarbons-Q1-CON-CHEMs.pptx
onram453
 

Computer architecture memory system

  • 2. Outline • Microcomputer Memory -characteristics of memory system -location -capacity -unit of transfer • Access method • Performance • Physical type • Memory Hierarchies • Internal and external memory • RAM-Random access memory • ROM-Read only memory • Memory latency and bandwidth • Memory interleaving • Memory management
  • 3. Microcomputer Memory • Memory is an essential component of the microcomputer system. • It stores binary instructions and datum for the microcomputer. • The memory is the place where the computer holds current programs and data that are in use. • None technology is optimal in satisfying the memory requirements for a computer system. • Computer memory exhibits perhaps the widest range of type, technology, organization, performance and cost of any feature of a computer system. • The memory unit that communicates directly with the CPU is called main memory. • Devices that provide backup storage are called auxiliary memory or secondary memory
  • 4. Memory Hierarchies • Some fundamental and enduring properties of hardware and software: • Fast storage technologies cost more per byte and have less capacity • Gap between CPU and main memory speed is widening • Well-written programs tend to exhibit good locality • These fundamental properties complement each other beautifully • They suggest an approach for organizing memory and storage systems known as a memory hierarchy
  • 6. Characteristics of memory systems • The memory system can be characterised with their Location, Capacity, Unit of transfer, Access method, Performance, Physical type, Physical characteristics, Organisation.
  • 7. Location • Processor memory: The memory like registers is included within the processor and termed as processor memory. • • Internal memory: It is often termed as main memory and resides within the CPU. • • External memory: It consists of peripheral storage devices such as disk and magnetic tape that are accessible to processor via i/o controllers Capacity • Word size: Capacity is expressed in terms of words or bytes. — The natural unit of organisation • Number of words: Common word lengths are 8, 16, 32 bits etc. — or Byte
  • 8. Unit of Transfer • Internal: For internal memory, the unit of transfer is equal to the number of data lines into and out of the memory module. • External: For external memory, they are transferred in block which is larger than a word. • Addressable unit — Smallest location which can be uniquely addressed — Word internally — Cluster on Magnetic disks
  • 9. Access Method • Sequential access: In this access, it must start with beginning and read through a specific linear sequence. This means access time of data unit depends on position of records (unit of data) and previous location. — e.g. tape • Direct Access: Individual blocks of records have unique address based on location. Access is accomplished by jumping (direct access) to general vicinity plus a sequential search to reach the final location. — e.g. disk • Random access: The time to access a given location is independent of the sequence of prior accesses and is constant. Thus any location can be selected out randomly and directly addressed and accessed. — e.g. RAM • Associative access: This is random access type of memory that enables one to make a comparison of desired bit locations within a word for a specified match, and to do this for all words simultaneously. • e.g. cache
  • 10. Performance • Access time: For random access memory, access time is the time it takes to perform a read or write operation i.e. time taken to address a memory plus to read / write from addressed memory location. Whereas for non-random access, it is the time needed to position read / write mechanism at desired location. — Time between presenting the address and getting the valid data • Memory Cycle time: It is the total time that is required to store next memory access operation from the previous memory access operation. Memory cycle time = access time plus transient time (any additional time required before a second access can commence). — Time may be required for the memory to “recover” before next access — Cycle time is access + recovery • Transfer Rate: This is the rate at which data can be transferred in and out of a memory unit. — Rate at which data can be moved — For random access, R = 1 / cycle time — For non-random access, Tn = Ta + N / R; where Tn – average time to read or write N bits, Ta – average access time, N – number of bits, R – Transfer rate in bits per second (bps).
  • 11. Physical Types • Semiconductor — RAM • Magnetic — Disk & Tape • Optical — CD & DVD • Others — Bubble — Hologram
  • 12. Physical Characteristics • Decay: Information decays mean data loss. • Volatility: Information decays when electrical power is switched off. • Erasable: Erasable means permission to erase. • Power consumption: how much power consumes? Organization • Physical arrangement of bits into words • Not always obvious - e.g. interleaved
  • 13. Memory latency and bandwidth • The latency (L) of the memory is the delay from when the processor first requests a word from memory until • that word arrives and is available for use by the processor. The latency of a memory system is one attribute of • performance • The other is bandwidth (BW), which is the rate aat which information can be transferred from the • memory system. The bandwidth and the latency are closely related. If R is the number of requests that the memory • can service simultaneously, then: BW=R/L
  • 14. Memory latency and bandwidth • From Eq. (1) we see that a decrease in the latency will result in an increase in bandwidth, and vice versa, if R • is unchanged. We can also see that the bandwidth can be increased by increasing R, if L does not increase proportionately. • For example, we can build a memory system that takes 20 ns to service the access of a single 32-bit • word. Its latency is 20 ns per 32-bit word, and its bandwidth is : 32bits/20*10sec
  • 15. Internal and External memory • Internal or Main Memory The main memory is the central unit of the computer system. It is relatively large and fast memory to store programs and data during the computer operation. These memories employ semiconductor integrated circuits. The basic element of the semiconductor memory is the memory cell. • The memory cell has three functional terminals which carries the electrical signal. • o The select terminal: It selects the cell. • o The data in terminal: It is used to input data as 0 or 1 and data out or sense terminal is used for the output of the cell's state. • o The control terminal: It controls the function i.e. it indicates read and write. • Most of the main memory in a general purpose computer is made up of RAM integrated circuits chips, but a portion of the memory may be constructed with ROM chips
  • 16. External Memory Types • HDD • Magnetic Disk(s) • SDD (Solid State Disk(s)) • Optical • CD-ROM • CD-Recordable (CD-R) • CD-R/W • DVD • Magnetic Tape
  • 18. RAM– Random Access memory • Memory cells can be accessed for information transfer from any desired random location. • The process of locating a word in memory is the same and requires of locating a word in memory is the same and requires an equal amount of time no matter where the cells are located physically in memory thus named 'Random access'. • Integrated RAM are available in two possible operating modes, Static and Dynamic
  • 19. Types of RAM • Dynamic RAM (DRAM) – are like leaky capacitors; initially data is stored in the DRAM chip, charging its memory cells to maximum values. The charge slowly leaks out and eventually would go to low to represent valid data; before this happens, a refresh circuitry reads the contents of the DRAM and rewrites the data to its original locations, thus restoring the memory cells to their maximum charges • Static RAM (SRAM) – is more like a register; once the data has been written, it will stay valid, it doesn’t have to be refreshed. Static RAM is faster than DRAM, also more expensive. Cache memory in PCs is constructed from SRAM memory
  • 22. Static RAM • Uses flip flop to store information • Needs more space • Faster, digital device • Expensive, big in size • Don't require refreshing circuit • Used in cache memory Dynamic RAM • Uses capacitor to store information • More dense i.e. more cells can be accommodated per unit area • Slower, analog device • Less expensive, small in size • Needs refreshing circuit • Used in main memory, larger memory units