1,480 views
0 votes
0 votes

In Gate 2017 Afternoon session there was a que where they asked for Tag Size in bit.

So in this que tag bit was 18 .

But to calculate tag size i think we should multiply it with number of Lines i.e 18*29 

Note : No. of Lines was given in que.

Is my approach is right?

2 Answers

0 votes
0 votes
You mean tag memory size?
Yes . It is : tagbits * |cache_lines|
0 votes
0 votes

I think the question was:

32 bit logical address. 32 bytes page size and 512 Cachle lines.

That will give 18 bit tag size.

Please correct me if I am wrong.

Related questions

29 votes
29 votes
8 answers
3
78 votes
78 votes
5 answers
4
Madhav asked Feb 14, 2017
30,038 views
The read access times and the hit ratios for different caches in a memory hierarchy are as given below:$$\begin{array}{|l|c|c|} \hline \text {Cache} & \text{Read access ...