Memory Organization
Memory Organization
Memory Organization
Module-IV
Sridhar,CSE,BIT Mesra
Memory
• The topics to be discussed in this chapter aid
programmers by creating the illusion of
unlimited fast memory.
• Principle of locality
CONT.
Memory Technologies
• Semiconductor
Registers,SRAM,DRAM,FLASH {all Random Access}
777 02 6710
01777 4560
02000 5670
02777 6710
• The disadvantage of direct mapped cache is that the hit ratio
can drop considerably it two or more words whose addresses
have the same index but different tags are accessed
repeatedly.But this possibility is minimized by the fact that
such words are relatively far apart in the address range.
direct mapped cache with block
size of 8 words(512 word cache)
index tag data
000 01 3450
block 63 770 02
777 02 6710
• Disadvantage of direct mapping is that two
words with the same index in their address
but with different tags cannot reside in cache
memory at the same time.
• Improvement :Set Associative Mapping
Two-way Set Associative Mapping