May 5, 2016
MIPS|OS

Preliminaries:
• Download project.zip
• De archive it. You will have a directory called “project”
• Within the directory, there are source files that you will complete. You will also find
two files: auto-mpg.data and auto-mpg.names. Read auto-mpg.names.
• Programing in C, using multiple source files.
Requirements:
1. Complete program files, car.[c|h], LinkedList.[c|h], car_main.c, and Makefile.

April 29, 2016
MIPS | OS | HOMEWORK 8

HOMEWORK 8
1. Assume an invalidation protocol works on a snooping bus for a single cache block (X) with write-back caches. Given the sequence of CPU activities, fill in the rest of the following table. (40 points)

CPU Activity
Bus Activity
CPU A’s Cache
CPU B’s Cache
Memory