4 votes 4 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 mega bytes? CO and Architecture co-and-architecture cache-memory + – Anjan asked Dec 31, 2017 Anjan 4.4k views answer comment Share Follow See 1 comment See all 1 1 comment reply Anjan commented Dec 31, 2017 reply Follow Share K=16, word size = 64 bit = 8B,No of sets = 8192 , Cache size = 8192 * 16 * 8 = 1 MB ............ is this correct ? Also given 16 words per line .....this is same as associativity = 16 ....ryt ?? 0 votes 0 votes Please log in or register to add a comment.
Best answer 3 votes 3 votes Size of block =16 word= 16*64 bit or 128 byte Number of block = number of set * associative= 8192*16= 2$^{18}$ sizeof cache is = number of block * size of block= 16MB Tesla! answered Dec 31, 2017 selected Dec 31, 2017 by Anjan Tesla! comment Share Follow See 1 comment See all 1 1 comment reply Anjan commented Dec 31, 2017 reply Follow Share Thanks for the quick response 0 votes 0 votes Please log in or register to add a comment.