A direct-mapped cache is designed to store four words per cache line. It has 256 cache lines. Assuming a word is 4 bytes long, what is the length of the tag required for comparison to test for a cache hit or a miss? O 6

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter6: System Integration And Performance
Section: Chapter Questions
Problem 22VE
icon
Related questions
Question
A direct-mapped cache is designed to store four words per cache line. It has 256
cache lines. Assuming a word is 4 bytes long, what is the length of the tag required
for comparison to test for a cache hit or a miss?
O 6
O 20
O 4
O 22
Transcribed Image Text:A direct-mapped cache is designed to store four words per cache line. It has 256 cache lines. Assuming a word is 4 bytes long, what is the length of the tag required for comparison to test for a cache hit or a miss? O 6 O 20 O 4 O 22
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Network Protection Strategies
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning