The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+1 vote

Consider a computer system has a main memory consisting of 1M 16 bit words. It also has a 4 K-word cache organized in the block set associative manner, with 4 blocks per set and 64 words per block. What is the number of bits in each of the TAG, SET and WORD field of main memory address format

  1. 11, 4, 6
  2. 10, 5, 6
  3. 10, 4, 7
  4. 11, 4, 7
asked in CO & Architecture by Boss (33.1k points) | 168 views

I also need a clarification on this..they have taken word field in terms of bytes i.e. 64words*2B/word = 128 =27.

Is this what we should do since memory is not mentioned as "word addressable"?


MiNiPanda exactly i have so many doubts now.

1 Answer

+3 votes
Best answer

If nothing is mentioned in question then, by default it is byte addressable. Answer is option (3). 

Here is the explaination for the same


answered by Active (1.6k points)
selected by
why here word size is taken as 2B??
why not word size=4B??

 word size is given as 16 bit means 2 byte. memory   by default  taken as byte addressable ,untill it is not specify word addressable we can't take .But when we count machine cycle then we take as word addressable because in one machine cycle ,we access 1 word data. 

Related questions

+1 vote
1 answer
asked Nov 28, 2017 in CO & Architecture by Parshu gate Active (5.1k points) | 255 views

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

47,080 questions
51,333 answers
66,675 users