The figure below shows a direct-mapped cache. There are eight blocks in the cache and each block holds four words of mem

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

The figure below shows a direct-mapped cache. There are eight blocks in the cache and each block holds four words of mem

Post by answerhappygod »

The Figure Below Shows A Direct Mapped Cache There Are Eight Blocks In The Cache And Each Block Holds Four Words Of Mem 1
The Figure Below Shows A Direct Mapped Cache There Are Eight Blocks In The Cache And Each Block Holds Four Words Of Mem 1 (264.03 KiB) Viewed 48 times
The figure below shows a direct-mapped cache. There are eight blocks in the cache and each block holds four words of memory. 2-bit word offset in line 3-bit line index in cache 0-3 4-7 8-11 Main memory locations Tag Word address 32-35 36-39 40-43 64-67 68-71 72-75 Tags Valid bits Read tag and specified word 96-99 100-103 104-107 Data out 1. Tag 1 if equal Com- pare Cache miss The CPU reads from the following sequence of memory word locations: 4,5,32,33,6,7,8 Show whether each read is a hit or a miss in the cache. Assume that these reads are the first reads to occur after the CPU and memory are powered up.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply