SlideShare a Scribd company logo
MEMORY
UNIT-3
Mohammad Asif Iqbal
Assistant Professor,
Deptt of ECE,
JETGI, Barabanki
BRAIN vs. MEMORY
WHAT WE WILL LEARN IN THIS LECTURE
Memory technologies
Hierarchal organization
Principle of locality
Analysis of hierarchy
Simple case organizations
TYPICAL SPECIFICATIONS OF COMPUTERS TODAY
MEMORY TECHNOLOGIES
SEMICONDUCTOR
Register
SRAM
DRAM
FLASH
MAGNETIC
FDD
HDD
OPTICAL
CD
DVD
Random access
Random + sequentional
HIERARCHAL STRUCTURE
SPEED
CPU
SIZE COST/ BIT
Fastest
Memory
Slowest
Highest
Fastest
Memory
Memory
Biggest Lowest
DATA TRANSFER BETWEEN LEVELS
PRINCIPLE OF LOCALITY
Temporal locality
References repeated in time
The concept that a resource that is referenced at one point in time will be referenced again sometime in
the near future.
Spatial locality
Reference repeated in space
Special case: sequential locality
The concept that likelihood of referencing a resource is higher if a resource near it was just referenced.
MEMORY HIERARCHY ANALYSIS
CACHE ACCESS EXAMPLE.
Before the reference to Xn After the reference to Xn
X4 X4
X1 X1
Xn-2 Xn-2
Xn-1 Xn-1
X2 X2
X3 X3
DIRECT MAPPED CACHE
CACHE ACCESS MECHANISM
CACHE WITH 4 WORD BLOCKS
QUESTIONS
MM SIZE CACHE
SIZE
BLOCK
SIZE
TAG BITS TAG
DIRECTOR
Y
128 KB 16KB 256 B ------- -------
32 GB 32KB 1KB ------- -------
------- 512 KB 1 KB 7 -------
MORE FLEXIBLE BLOCK ARRANGEMENT
FULLY ASSOCIATIVE CACHE
Question:-
MM:- 32 GB
BLOCK:- 32 KB
TAG= ?
Propagation Delay Of Comparator=10 K ns
PD of OR Gate= 10 ns
HL=?
SET ASSOCIATIVE CACHE
MM SIZE CACHE SIZE BLOCK SIZE TAG BITS TAG
DIRESTOR
Y
SET
ASSOCIATIV
E
128 KB 16KB 256B ----- ----- 2-WAY
32GB 32KB 1KB ----- ----- 4-WAY
----- 512KB 1KB 7 ------ 8-WAY
16 17 18 19
20 21 22 23
24 25 26 27
28 29 30 31
32 33 34 35
36 37 38 39
40 41 42 43
44 45 46 47
48 49 50 51
52 53 54 55
56 57 58 59
60 61 62 63
52 53 54 55
40 41 42 43
12 13 14 15
0 1 2 3
4 5 6 7
8 9 10 11
12 13 14 15
01
11
10
00
01 00 11
01 11 11
11 01 01
10 10 11
MORE EXAMPLE OF DIRECT MAPPING
TAG LINE BO
MORE EXAMPLE OF SET ASSOCIATIVE MAPPING
0 1 2 3
4 5 6 7
8 9 10 11
12 13 14 15
16 17 18 19
20 21 22 23
24 25 26 27
28 29 30 31
32 33 34 35
36 37 38 39
40 41 42 43
44 45 46 47
48 49 50 51
52 53 54 55
56 57 58 59
60 61 62 63
0
1
2
3
4
5
6
7
0,4
1,5
2,6
3,7
TAG SET BO
MORE EXAMPLE OF FULLY ASSOCIATIVE MAPPING
0 1 2 3
4 5 6 7
8 9 10 11
12 13 14 15
16 17 18 19
20 21 22 23
24 25 26 27
28 29 30 31
32 33 34 35
36 37 38 39
40 41 42 43
44 45 46 47
48 49 50 51
52 53 54 55
56 57 58 59
60 61 62 63
TAG BO
THANK YOU!

More Related Content

PPTX
Unit 3 ca-memory
PPTX
Semiconductor memories and auxiliary memories
PPSX
Ict udaya kariyawasam
PDF
පරිගණකයේ පරිණාමය(Histry of computer)
PPTX
ICT Students Presentations
PPT
Powerpoint memory
PPTX
Memory Organization
Unit 3 ca-memory
Semiconductor memories and auxiliary memories
Ict udaya kariyawasam
පරිගණකයේ පරිණාමය(Histry of computer)
ICT Students Presentations
Powerpoint memory
Memory Organization

Viewers also liked (8)

PPTX
Memory
PPTX
Psychology Memory and Learning Power Point
PPTX
Human Memory (Psychology)
PPTX
Memory powerpoint
PPT
Memory PowerPoint
PPT
Human Memory - Psychology
PPTX
Psychology- Memory
PPTX
Introductory Psychology: Memory
Memory
Psychology Memory and Learning Power Point
Human Memory (Psychology)
Memory powerpoint
Memory PowerPoint
Human Memory - Psychology
Psychology- Memory
Introductory Psychology: Memory
Ad

More from Asif Iqbal (20)

PPTX
IOT WITH NODEMCU13231244425435465645.pptx
PPT
RaspberryPI PPT WITH ALL THE DETAILS OF PROGRAMMING
PPTX
first day presentation related to iot.pptx
PDF
5415Microprocessor-Lecture-11.pdf
PPT
11815939.ppt
PPTX
Chandrayaan 3.pptx
PPTX
Memory unit 6
PPTX
instruction
PPTX
OPTICAL COMMUNICATION Unit 5
PPTX
OPTICAL COMMUNICATION Unit 4
PPTX
optical communication Unit 3
PPTX
OPTICAL COMMUNICATION Unit 2
PPTX
OPTICAL FIBER COMMUNICATION UNIT-1
PPTX
Synchronous Sequential Logic Unit 4
PPTX
Combinational Logic Unit 2
PPTX
Unit-1 Digital Design and Binary Numbers:
PPTX
voltage regulater
PPTX
special diode
PPTX
oscillator unit 3
PPTX
Nunit 2 feedback
IOT WITH NODEMCU13231244425435465645.pptx
RaspberryPI PPT WITH ALL THE DETAILS OF PROGRAMMING
first day presentation related to iot.pptx
5415Microprocessor-Lecture-11.pdf
11815939.ppt
Chandrayaan 3.pptx
Memory unit 6
instruction
OPTICAL COMMUNICATION Unit 5
OPTICAL COMMUNICATION Unit 4
optical communication Unit 3
OPTICAL COMMUNICATION Unit 2
OPTICAL FIBER COMMUNICATION UNIT-1
Synchronous Sequential Logic Unit 4
Combinational Logic Unit 2
Unit-1 Digital Design and Binary Numbers:
voltage regulater
special diode
oscillator unit 3
Nunit 2 feedback
Ad

Recently uploaded (20)

PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
DOCX
573137875-Attendance-Management-System-original
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
composite construction of structures.pdf
PPTX
Lecture Notes Electrical Wiring System Components
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Well-logging-methods_new................
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
573137875-Attendance-Management-System-original
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Operating System & Kernel Study Guide-1 - converted.pdf
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Embodied AI: Ushering in the Next Era of Intelligent Systems
Foundation to blockchain - A guide to Blockchain Tech
composite construction of structures.pdf
Lecture Notes Electrical Wiring System Components
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Internet of Things (IOT) - A guide to understanding
Well-logging-methods_new................

Memory basic concept hierarchy and cache memory 1

Editor's Notes

  • #3: “Ant Colony Optimization (ACO) studies artificial systems that take inspiration from the behavior of real ant colonies and which are used to solve discrete optimization problems.”