Question: Simulate a direct - mapped 6 4 - byte cache with 1 - word blocks. The following list of memory addresses is accessed in order:
Simulate a directmapped byte cache with word blocks. The following list of memory
addresses is accessed in order:
These addresses are bit decimal byte addresses.
a Determine which parts of the bit address are the tag, index, block and byte
offset. Mark each bit in the diagram below as T I, BL BY
b Determine how many blocks are in the cache and draw the empty cache.
c Convert each of the addresses above to binary and simulate the cache's behavior to
determine which accesses are hits and which are misses. Note that you do not need the
actual data from the memory to determine hits and misses.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
