retagged by
6,534 views

1 Answer

Best answer
4 votes
4 votes
Cache size = 16kB =  14 bit

Block size = 32B = 5 bit

No of sets = 4 = 2 bit

No of cache lines = 14 -(5+2) = 7 bit

No of tag bit = 32 - (#set bit) - (#block bit)

        .              = 32 - 7 - 5 = 20 bit

 

 

0x200356A4 = (<0010 0000 0000 0011 0101> <0110 101> <0 0100>)

=(<tag no><set no><block no>)

Set no = 0110101 = 53th set

Block no = 00100 = 4th block
selected by

Related questions

3 votes
3 votes
1 answer
4
rahuldb asked Nov 17, 2016
15,928 views
A two-way associative cache memory uses blocks of four words.The cache can accommodate a total of 2048 words from main memory.The main memory size is 128K X 32.Find out t...