Question: This assignment is designed to be filled in directly on the handout. Please use scratch paper while figuring out the solutions. Show your work for

This assignment is designed to be filled in directly on the handout. Please use scratch paper while figuring out the solutions. Show your work for problems 2-4. For problem 1, only provide the requested information. Electronic versions (PDF and Word) are available on Canvas.
1.(36 points, 12 points each) Here is a series of 16-bit address references of a word addressable machine:
\begin{tabular}{|l|l|l|l|}
\hline Addresses & Hit / miss (part a) & Hit / miss (part b) & Hit / miss (part c)\\
\hline 0x768a & & & \\
\hline 0x7687 & & & \\
\hline 0x768b & & & \\
\hline 0x1d36 & & & \\
\hline 0xc05e & & & \\
\hline 0x7686 & & & \\
\hline 0x7688 & & & \\
\hline 0x768a & & & \\
\hline 0xc05e & & & \\
\hline 0x5f42 & & & \\
\hline 0x768b & & & \\
\hline 0x5f43 & & & \\
\hline
\end{tabular}
For the following cache configurations, indicate if each reference is a hit or miss in the table above. In each case, the cache starts out empty.
a. Direct-mapped cache, 16 word cache (data portion),2 word block size
b.2-way set associative cache, 16 word cache (data portion),2 word block size, LRU eviction algorithm
c. Fully associative, 16 word cache (data portion),4 word block size, LRU eviction algorithm
Also, list the final contents of the cache. It is only necessary to specify the tag field (use the term "empty" if the line is still empty/invalid). The tag must be written in hexadecimal notation - be sure it has the proper number of bits. As an example, the state of the cache after the first reference for configuration (a) is given. It is up to you to create the charts for configurations (b) and (c).
\begin{tabular}{|l|l|}
\hline Set & Tag \\
\hline 0 & empty \\
\hline 1 & empty \\
\hline 2 & empty \\
\hline 3 & empty \\
\hline 4 & empty \\
\hline 5 & \(0 x 768\)\\
\hline 6 & empty \\
\hline 7 & empty \\
\hline
\end{tabular}
Final cache configurations for problem 1:
a.
b.
c.
This assignment is designed to be filled in

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 Programming Questions!