edited by
1,756 views
0 votes
0 votes
If a 16-way Set Associative cache is made up of 64 bit words , 16 words per line and 8192 sets,
How big is the cache in Megabytes ?
edited by

1 Answer

1 votes
1 votes

Cache size = [(Number of sets) x (lines per set)  x (words per line) x (bits per word) ] /8  bytes 
                    = (8192 × 16 × 16 × 64 )/8 Bytes = 213 × 24 × 24 ×23 Bytes
                     = 224 = 16 MB


(Divide by 8 because asked in bytes)

Related questions

1 votes
1 votes
1 answer
4