edited by
2,072 views

1 Answer

Best answer
7 7 votes
Memory required for tags = no. of blocks * tag size

1024B = x * 16-bit

x = 512

Main memory size : 2^23 words can be represented in 23 bits

Tag + Set + Word = 23 bit

16 + Set + 6 = 23-bit

Set = 1bit

No. of sets = 2

n = No.of blocks / No. of sets = 512 / 2 = 256

(x,n) = (512,256)
selected by
Position:
Show:

Related questions

5 5 votes
1 answers 1 answer
2.1k
2.1k views
Ram Swaroop asked Jan 29, 2019
2,051 views
A CPU cache is organized into 2 level cache L1 and L2 The penalty for L1 cache miss and L2 cache miss are 60 and 30 respectively for 1200 memory references The hit time o...
0 0 votes
1 1 answer
1.2k
1.2k views
snaily16 asked Jan 28, 2019
1,192 views
Consider a 2 way set associative cache with 4 blocks. The memory block requests in the order.4,6,3,8,5,6,0,15,6,17,20,15,0,8If LRU is used for block replacement then memo...
0 0 votes
1 1 answer
1.1k
1.1k views
Iamniks4 asked Jan 24, 2019
1,109 views
All is fine but how did they calculate the miss rate of level 2 cache (L2) i.e.how is m2=0.46875?
0 0 votes
1 1 answer
1.4k
1.4k views
Satbir asked Jan 14, 2019
1,351 views
consider a computer with 4 GB main memory synchronized with CPU speed using 8-way set associative cache of 16 KB. memory system is organized into 64 word blocks and word ...