• recategorized by
15,266 views
31 31 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$

2 Answers

Best answer
42 42 votes

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 mean WORD is $6$-bits.

So, the answer is an option (D).

• edited by
Answer:
Position:
Show:

Related questions

30 30 votes
3 answers 3 answers
12.9k
12.9k views
Kathleen asked Oct 8, 2014
12,853 views
The principle of locality justifies the use of:InterruptsDMAPollingCache Memory
22 22 votes
3 answers 3 answers
7.4k
7.4k views
Kathleen asked Oct 8, 2014
7,440 views
Which of the following statements is true?ROM is a Read/Write memoryPC points to the last instruction that was executedStack works on the principle of LIFOAll instruction...
38 38 votes
4 answers 4 answers
19.1k
19.1k views
Kathleen asked Oct 8, 2014
19,077 views
In a vectored interrupt:The branch address is assigned to a fixed location in memoryThe interrupting source supplies the branch information to the processor through an in...
75 75 votes
9 answers 9 answers
40.3k
40.3k views
Kathleen asked Sep 13, 2014
40,299 views
The access times of the main memory and the Cache memory, in a computer system, are $500$ n sec and $50$ nsec, respectively. It is estimated that $80\%$ of the main memor...