1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Determining cache size

  1. Feb 9, 2015 #1
    1. The problem statement, all variables and given/known data

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

    3. 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: Feb 9, 2015
  2. jcsd
  3. Feb 15, 2015 #2
    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?
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted