Question
Consider a computer with the following characteristics: total of 1Mbyte of main memory; word size of 1 byte; block size of 16 bytes; and cache
- Consider a computer with 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 F0010, 01234, and CABBE, give the corresponding
tag, cache line address, and word offsets for a direct-mapped cache.
b. Give any two main memory addresses 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.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started