Computer Architecture: Memory and Cache, if your answer is not sure, please indi
ID: 3779853 • Letter: C
Question
Computer Architecture: Memory and Cache, if your answer is not sure, please indicate NOT SURE Thanks
(Q1) If we have a direct-mapped cache with 32 blocks, where will the 16-bit memory address: 1101 1001 1000 1111 be stored in cache?
(a) In the block with address: 00111
(b) In the block with address: 00011
(c) In the block with address: 01111
(d) In the block with address: 11011
(Q2) A set-associative cache consists of 64 blocks, divided into four-block sets. How many valid bits we need per each block to validate the information stored inside? That is, how many valid bits does a block need to validate its contents?
(a) 2
(b) 8
(c) 1
(d) 4
Explanation / Answer
In the block with address: 01111
Option c is correct choice.
8 valid bits does a block need to validate its contents
Option b is correct choice.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.