CS520
Spring 2018
Laboratory 12
Friday April 27
The lab must be submitted prior to noon on Sunday April 29.


The goal for this lab is to support memory systems containing a single, set-associative cache. This means that your implementation of initializeMemorySystem can require that the number of caches be specified to be one.

The following tests (on agate in ~cs520/public/prog6) will be used for grading:

Be sure to use valgrind to check that your deleteMemorySystem is freeing all memory allocated for a memory system.

You should submit all the source code for your assignment in one file called memSystem.c.

To turn in this laboratory, type:

% ~cs520/bin/submit lab12 memSystem.c

Submissions can be checked by typing:

% ~cs520/bin/scheck lab12

Remember that there are no late submissions of labs. Submit what you have prior to noon on Sunday April 29. Be careful: one minute late is late.


Last modified on February 22, 2018.

Comments and questions should be directed to pjh@cs.unh.edu