Assignment #8: Cache Memory

Assigned:   Friday, May 3
Due:   Tuesday, May 7   by 5pm

Contents:


Overview

Topics: Cache Memory Organization and Operation
Related Reading: Section 5.3 of zyBooks and class notes


Problems to be Submitted (12 points)

When you turn in your assignment, you must include a signed cover sheet (PDF version) with your assignment (you're assignment will not be graded without a completed cover sheet).

You are allowed to submit your assignment via email, but if you choose to do so, you must bring a hardcopy of your assignment along with a completed cover sheet to the instructor at the next class. (Note: Do not email the instructor any .zip file attachments, as SLU's email may not accept these emails; i.e. the instructor may not receive your email.)

  1.   (5 points)

    Shown below are five different cache configurations. In each case, you are given the following:

    Given these values, you are asked to complete the table, computing the following for each of the five cache configurations:

  2.   (7 points)

    Shown below are two cache problems, 6.31 and 6.32, from another book. Given these, please complete the following:

    1.   (1 pt)   Complete Problem #6.31
    2.   (2 pts)   Complete Problem #6.32
    3.   (2 pts)   Repeat Problem #6.32 for the address 0x1315
    4.   (2 pts)   Repeat Problem #6.32 for the address 0x0FF0

    Note:  For reference, here’s the result of a few sample addresses: