Determining cache size

  • #1
20
0

Homework Statement


6xz0ox.jpg


Homework Equations


total cache size = (2^(index bits)) * [(associativity)(tag bits + valid bits + data size)]
(Correct me if this is wrong)

The Attempt at a Solution


I came up with 2^11 cache sets, therefore it's 8-way associative because 2^14 / 2^3 = 2^11. And 8=2^3.
Therefore 8 comparators, 10 bits each because the tag is 10 bits.
I'm stuck on the last part where it asks to determine the size of the cache because I'm not sure what the data size is. From what I have so far the equation would be:
2^11 * (8(10+(1+1+1+1)+data size))

If this is correct, can someone tell me how the data size is determined so that I can solve that equation?
 
Last edited:

Answers and Replies

  • #2
18,378
8,249
Thanks for the post! This is an automated courtesy bump. Sorry you aren't generating responses at the moment. Do you have any further information, come to any new conclusions or is it possible to reword the post?
 

Related Threads on Determining cache size

  • Last Post
Replies
1
Views
411
  • Last Post
Replies
4
Views
4K
Replies
1
Views
2K
Replies
3
Views
384
Replies
2
Views
3K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
3
Views
940
Replies
7
Views
3K
  • Last Post
Replies
0
Views
2K
Replies
1
Views
678
Top