1. Consider a computer wth the following characteristics: total of 1Mbyte of main memory; word size of 1 byte; block size of 16 bytes; and cache size of 64 Kbytes. a) For the main memory addresses of 01234 and CABBE, give the corresponding tag, cache line address, and word values for a direct-mapped cache.
1. Consider a computer wth the following characteristics: total of 1Mbyte of main
memory; word size of 1 byte; block size of 16 bytes; and cache size of 64 Kbytes.
a) For the main memory addresses of 01234 and CABBE, give the corresponding
tag, cache line address, and word values for a direct-mapped cache.
b) Give any two main memory addresses (based on the format identified in (a)
with different tags that map to the same cache slot for a direct-mapped
cache.
c) For the main memory addresses of F0010 and CABBE, give the corresponding
tag and offset values for a fully-associative cache.
d) For the main memory addresses of F0010 and CABBE, give the corresponding
tag, cache set, and offset values for a two-way set-associative cache.
Trending now
This is a popular solution!
Step by step
Solved in 10 steps with 10 images