133 views

A block-set-associative cache consists of a total of $64$ blocks divided into $4$-block sets. The main memory contains $4096$ blocks (each consisting of $128$ words).

Answer the following questions based on this info:

1. How many bits are there in a main memory address?
2. How many bits are there in each of the TAG, SET, and WORD fields?
1. $19$ and $8,7,4$
2. $20$ and $6,7,8$
3. $19$ and $8,4,7$
4. $17$ and $8,7,4$

Ans is iii)

by

kkk option iii is correct .....but one doubt if here word not given then we calulate in term of byte then that case (i) is correct plz check sir??
by default we also take word actually.

just read zaki cache chapter once. it is from there .