Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question #4 Consider an 8-byte, 2-way set-associative cache (using write-back with write allocation and LRU replacement policies) with 2-byte blocks and CPU has 4-bit physical
Question \#4 Consider an 8-byte, 2-way set-associative cache (using write-back with write allocation and LRU replacement policies) with 2-byte blocks and CPU has 4-bit physical address space. (a) Draw the detailed hardware block diagram of the cache. Specify which parts of the 4-bit physical address are used for tag, set index, and byte offset. (b) Determine the total size of the cache in bits including the tag and other bits (valid, dirty, LRU). (c) Assume that cache is initially empty. For each access, identify the tag, set index and byte offset bits and circle whether that reference is a hit or a miss. Show all your work to get full credit
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started