Memory Organization: Answer Keys and Explanations
Memory Organization: Answer Keys and Explanations
Memory Organization: Answer Keys and Explanations
Memory Organization
Answer Keys and Explanations
1. [Ans. *] Range: 8 to 8
Cache memory size
2. [Ans. *] Range: 5 to 5
3. [Ans. *] Range: 2 to 2
Block size = 4 words
5. [Ans. C]
1 Block size = 1KB (0-1023 word)
Reference
MM
0, 8,16,24
0
1,9,17,25
1
2,10,18,2
6 K(MOD)N
3,11,19,2
7 :
4,12,20,2
8
5,13,21,2
9
6,14,22,3
0 31
7,15,23,3
1 M=32Block
N=8
PA=15bit
2-bit 3 10bit
TAG BO WO
Option (C)
01 0 00 1 100 011 010
Given TAG and cache TAG is matching.
is found in cache.
TAG BO WO
Block 7
In Block No: - ‘ ’ ag gv n n a ng ‘ ’
Word not found in cache.
6. [Ans. D]
7. [Ans. *] Range: 5 to 5
a a an a aa a
n
n
5 Million word/second
8. [Ans. C]
OC795H
BO: Block offset
0000 11 00 0111 1 001 0 101 WO: Word offset
TAG BO WO
a
TAG field = 000011
9. [Ans. C]
= 35 ns + 30% [210+440]
=35 ns +195 ns
=230 ns.
ag n a
Ref string 0 1 2 3 0 1 2 4 0 1 2 3 0 1 2 4
H H H H H H H F F H H H H H H F
0 4 0
1
2
3
v ag a
AMAT = 2.12 cycles
19. [Ans. A]