retagged by
1,274 views
1 votes
1 votes
A computer system has a main memory consisting of 1 M 16 bit words. It also has a 4 way set associative cache of size 4 K words and 64 words per block. The number of tag bits are _______.
retagged by

2 Answers

0 votes
0 votes
Assume that memory is Byte Addressable.

word offset=6 bit and Byte offset=1 bit

 virtual address= 21 bits

no of cache block= 4 k words/64 words = 64.

no of set= 64 blocks/4 blocks = 16

so, set offset = 4 bits

Tag bit=21-6-1-4 = 10 bits
Answer:

Related questions

0 votes
0 votes
0 answers
1
fru asked Apr 22, 2022
1,467 views
a microprocssor has a data bus with 64 lins and an address bus with 32 lines the maximum number of bits that can be stored in the memory is
2 votes
2 votes
1 answer
3
92komal asked Dec 20, 2017
1,131 views
Booth's coding in 8-bits for the decimal number -57 is: A 0-100+1000 B 0-100+100-1 C 0-1+100-10+1 D 00-10+100-1 plz explain this question