Question: For the questions in this section, consider an architecture with 3 2 - bit words, and L 1 data cache with 1 2 8 bytes
For the questions in this section, consider an architecture with bit words, and L data cache with bytes of capacity, direct mapping, and writeback, writeallocate writing.
a If the cache has blocks of words bytes how many bits should the Tag field have?
b If the cache has blocks of words bytes how many bits should the Index field have?
c If the cache has blocks of words bytes how many bits should the Offset field have?
Consider configuring the cache with blocks of bit words byte block Assume that, initially, the word in memory position x has a value of x Consider that the following sequence of memory accesses was performed:
Load Word
Load Word
Store Word Value
Load Word
Load Word
d After the sequence of accesses, what is the value in decimal stored in the Tag field in line zero of the cache?
e After the sequence of accesses, what is the value in decimal of the word stored at offset eight in cache line zero?
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
