in CO and Architecture recategorized by
459 views
0 votes
0 votes

Consider a $256k$   $4$- way set associative cache with block size $64$ Bytes. Main memory is $2Gb.$ The number of bits used for tag,set and word will be respectively?

  1. $10,15,6$
  2. $9,16,6$
  3. $8,17,6$
  4. $7,18,6$


I think answer is $15,10,6 $ $\text{(tag,set,word)}$

in CO and Architecture recategorized by
459 views

1 comment

yes its comming 15, 10, 6. May be they have written it in the wrong order in first option.
1
1

1 Answer

–1 vote
–1 vote
ans is 9,16,6

16 bcoz ,num of block=256k

and setoffset =s=n/k

                          =256k/4=64k

                            =16bit required
by

Related questions