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 3101 Computer Organization
Homework 6(Please answer with the correct answers)
Type yow answers in this Word document Write your name in the header. Rename the file to
YourLastname hw6.docx and submit to the correct assignment in BlazeVIEW.
Show your solution steps to receive partial credit.
Suppose a computer using direct mapped cache has 232 words of main memory, and a
cache of 1024 blocks, where each cache block contains 32 words.
a. How many blocks of main memory are there?
b. What is the format of a memory address as seen by the cache, i.e, what are the
sizes of the tag, block, and offset fields?
c. To which cache block will the memory reference 0003101A16 map?
Suppose a computer using fully associative cache has 224 words of main memory and a
cache of 512 blocks, where each cache block contains 16 words.
a. How many blocks of main memory are there?
b. What is the format of a memory address as seen by the cache, i.e., what are the
sizes of the tag and offset fields?
c. To which cache block will the memory reference 17042416 map?
(bonus question, 5 points) Suppose a computer using set associative cache has 216 words
of main memory and a cache of 128 blocks, and each cache block contains 8 words.
a. If this cache is 2-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 4-way set associative, what is the format of a memory address as
seen by the cache?
 CS 3101 Computer Organization Homework 6(Please answer with the correct answers)

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!