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: $15, 40$ $6, 4$ $7, 2$ $4, 6$ CO & Architecture gate1995 co-and-architecture cache-memory normal + – Kathleen 15.3k views answer comment Share Follow Print See all 3 Comments 3 3 Comments reply Sanandan commented Sep 15, 2020 reply Follow flag option D) 4,6 is the answer. 1 1 replyShare Vichitra_kanya commented Jan 15, 2021 reply Follow flag NO. of bits required are- block size= 64 = $2^{6}$ (6 bits) cache size = 4k = $2^{12}$ number of lines= $\frac{cache size}{block size}$ = $\frac{4K}{64}$ = 64 = $2^{6}$ number of set = $\frac{number of lines}{block per set}$ = $\frac{64}{4}$ = 16 = $2^{4}$ (4 bits) 4 6 Tag SET NO BLOCK OFFSET Ans: D. 4,6 10 10 replyShare Raj_Dev_Verma commented Jul 13 reply Follow flag block size = 64 word = 2^6 word cache size = 4k = 2^12 number of lines = cache size / block size = 2^12 / 64 = 64 number of set = block size / blockperset = 2^6 / 4 = 16 0 0 replyShare Please log in or register to add a comment.
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). Arjun answered Oct 29, 2014 • edited Apr 25, 2021 by Lakshman Bhaiya Arjun comment Share Follow See all 4 Comments 4 4 Comments reply set2018 commented Aug 22, 2017 reply Follow flag determine the physical address size ? 0 0 replyShare joshi_nitish commented Aug 22, 2017 reply Follow flag can not be determined with given information. 12 12 replyShare praveenb commented Dec 2, 2018 reply Follow flag hi, can i find out size of main memory with the available information? 0 0 replyShare soram commented Sep 10, 2020 reply Follow flag No, the given data is not enough. 0 0 replyShare Please log in or register to add a comment.
3 3 votes ……………………………………………………. Mohitdas answered Nov 11, 2021 Mohitdas comment Share Follow 0 reply Please log in or register to add a comment.