Question: CS 3 1 0 1 Computer Organization Homework 6 ( Please answer with the correct answers ) Type yow answers in this Word document Write
CS Computer Organization
Homework Please answer with the correct answers
Type yow answers in this Word document Write your name in the header. Rename the file to
YourLastname hwdocx and submit to the correct assignment in BlazeVIEW.
Show your solution steps to receive partial credit.
Suppose a computer using direct mapped cache has words of main memory, and a
cache of blocks, where each cache block contains words.
a How many blocks of main memory are there?
b What is the format of a memory address as seen by the cache, ie what are the
sizes of the tag, block, and offset fields?
c To which cache block will the memory reference map?
Suppose a computer using fully associative cache has words of main memory and a
cache of blocks, where each cache block contains words.
a How many blocks of main memory are there?
b What is the format of a memory address as seen by the cache, ie what are the
sizes of the tag and offset fields?
c To which cache block will the memory reference map?
bonus question, points Suppose a computer using set associative cache has words
of main memory and a cache of blocks, and each cache block contains words.
a If this cache is way set associative, what is the format of a memory address as
seen by the cache, that is what are the sizes of the tag, set, and offset fields?
b If this cache is way set associative, what is the format of a memory address as
seen by the cache?
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
