The Gateway to Computer Science Excellence
+16 votes

A computer system has a $4 \ K$ word cache organized in block-set-associative manner with $4$ blocks per set, $64$ words per block. The number of bits in the SET and WORD fields of the main memory address format is:

  1. $15, 40$
  2. $6, 4$
  3. $7, 2$
  4. $4, 6$
in CO and Architecture by Veteran (52.1k points)
edited by | 2.5k views

1 Answer

+17 votes
Best answer

Number of sets $=\dfrac{4K}{(64\times 4)}=16$

So, we need $4-bits$ to identify a set $\Rightarrow$ SET $= 4$ bits.

$64$ words per block means WORD is $6-bits$.

So, answer is option (D)

by Veteran (423k points)
edited by
determine the physical address size ?
can not be determined with given information.
hi, can i find out size of main memory with the available information?
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,650 questions
56,242 answers
95,952 users