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
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.
If nothing is mentioned in question then, by default it is byte addressable. Answer is option (3).
Here is the explaination for the same
@ Gate Fever 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.