Computer Architecture: Memory and Cache, if your answer is not sure, please indi
ID: 3779851 • Letter: C
Question
Computer Architecture: Memory and Cache, if your answer is not sure, please indicate NOT SURE Thanks
(Q1) If an 8-way set-associative cache is made up of 32 bit words, 4 words per block and 4096 sets, how big is the cache in bytes?
(a) 128KiB (131.072KB)
(b) 64KiB (65.536KB)
(c) 512KiB (524.288KB)
(d) 8KiB (8.192KB)
(Q2) A 32kB cache has a block size of 16 bytes and is 4-way set-associative. How many bits of a 32-bit address will be in the Tag, Index, and Bock Offset?
(a) Tag: 13; Index: 13; Offset: 6
(b) Tag: 19; Index: 9; Offset: 4
(c) Tag: 10; Index: 12; Offset: 10
(d) Tag: 20; Index: 9; Offset: 3
Explanation / Answer
Answer :
(Q2) A 32kB cache has a block size of 16 bytes and is 4-way set-associative. How many bits of a 32-bit address will be in the Tag, Index, and Bock Offset?
(a) Tag: 13; Index: 13; Offset: 6
(b) Tag: 19; Index: 9; Offset: 4
(c) Tag: 10; Index: 12; Offset: 10
(d) Tag: 20; Index: 9; Offset: 3
Answer :
(b) Tag: 19; Index: 9; Offset: 4
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.