recategorized by
10,679 views
23 votes
23 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$
recategorized by

2 Answers

Best answer
34 votes
34 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
1 votes
1 votes

…………………………………………………….

Answer:

Related questions

25 votes
25 votes
3 answers
1
Kathleen asked Oct 8, 2014
8,646 views
The principle of locality justifies the use of:InterruptsDMAPollingCache Memory
16 votes
16 votes
2 answers
2
Kathleen asked Oct 8, 2014
4,752 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...
19 votes
19 votes
3 answers
3
0 votes
0 votes
1 answer
4
Kathleen asked Oct 8, 2014
3,715 views
A sequence of two instructions that multiplies the contents of the DE register pair by 2 and stores the result in the HL register pair (in 8085 assembly language) is:XCHG...