Question: b) Consider a simple direct-mapped cache with 4 lines, each containing 4 bytes of data and a tag field of appropriate size given 8-bit addresses.

 b) Consider a simple direct-mapped cache with 4 lines, each containing

b) Consider a simple direct-mapped cache with 4 lines, each containing 4 bytes of data and a tag field of appropriate size given 8-bit addresses. Assume that the cache is initially empty and that memory is byte-addressable. For the following pattern of cache accesses: Memory hierarchy, direct-mapped cache draw up a table of form that summarises the contents of the cache after each access. For each access, in the Tag and Index columns write the values of the tag (in hex) and index (in decimal) corresponding to the access. Then, in the same row, indicate which line in the cache contains the data for the access by writing the tag (in hex) under the appropriate Line i column. Finally, in the last column, record an H or an M to indicate whether the access is a hit or a miss. [16ma

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!