These question come from a Computer Architecture and Design class. #1) #2) #3) C
ID: 3677962 • Letter: T
Question
These question come from a Computer Architecture and Design class.
#1)
#2)
#3)
Consider a direct mapped cache with the following characteristics 1K words 1-word blocks For this memory configuration select the correct address indexing metrics on start-up. O A. cache index: lower 10 bits cache tag: upper 20 bits Valid bit (on startup) is 0 O B. cache index: upper 10 bits cache tag: lower 20 bits Valid bit (on startup) is 0 O C. cache index: lower 10 bits cache tag: upper 20 bits Valid bit (on startup) is 1 O D. cache index: lower 12 bits cache tag: upper 20 bits Valid bit (on startup) is 1Explanation / Answer
1. A . Cache Index : Lower 10 bits
Cache Tag : Upper 20 bits
Valid bit(On Start up) is 0.
2.Answer : A. 1 Address will map to the block 5 of the cache .
3. consider a direct mapped cache with 4 blocks.starting with an empty cache,how many hits will be seen servicing the memory reference sequence 1,2,3,4,3,4,15.
Answer : B. 2 hits will be seen servicing the memory reference sequence 1,2,3,4,3,4,15.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.