Introduction

This assignment is based on sections 5.1, 5.2, 5.3, and 5.5 of the textbook and the Cache Parameters web page.

The Assignment

Answer the following questions for a memory system with the following set of parameter values:

Questions

  1. Number of blocks of primary memory
  2. Number of cache lines
  3. Number of cache sets
  4. Primary memory address size
  5. Size of byte offset field
  6. Size of block offset field
  7. Size of index field
  8. Size of tag field
  9. p(hit) if the CPU were to access memory totally randomly
  10. Average access time if the CPU were to access memory totally randomly
  11. Average access time if p(hit) is 0.97

Submit The Assignment

Submit the assignment either on paper in class or by email by midnight of the due date. If you submit it by email, the Subject: line must be CS-343 Assignment 10.