Question: A two-way set-associative cache has lines of size 32 bytes and a total cache size of 512 K bytes The 128 Mbyte memory is byte

 A two-way set-associative cache has lines of size 32 bytes and

A two-way set-associative cache has lines of size 32 bytes and a total cache size of 512 K bytes The 128 Mbyte memory is byte addressable. Show the format of the main memory address Tag Set Word AAA You only need to provide the Tag/Set/Word values. the formulas below are for reference, or for 'showing your work'. B629 512 / la Formulas for set associative mapping ( for reference ): Address length = (s + w) bits Number of addressable units = 2*** words or bytes Block size = line size = 2" words or bytes Number of blocks in main memory = 2w/2"=2 Number of lines in set=k Number of sets = v = 20 Number of lines in cache =m=kv = k * 20 Size of cache = k *20*w words or bytes Size of tag = (s -d) bits You only need to provide the Tag/Set/Word values, the formulas are for reference, or for "showing your work

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!