Question: 1) Supposed we have a 1KB direct-mapped data cache with 4 byte blocks. (30 points) a. Show how a 32-bit memory address is divided into
1) Supposed we have a 1KB direct-mapped data cache with 4 byte blocks. (30 points)
a. Show how a 32-bit memory address is divided into tag, index and offset. Show clearly how many bits are in each field.
b. How many total bits are there in this cache?
c. Consider this address trace:
0x807bfc4
0x807b1dc
0x907bfc4
0x806ce04
0x807b1e0
0x806ce0c
0x807b1e4
0x806ce0c
0x807bfc4
0x806ce14
For this cache, for each address in the above trace, show the tag, index and offset in binary. Indicate whether each reference is a hit or a miss. What is the miss rate?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
