ECEn 424 Lab #7
ECEn 424 Lab #7: The Cache Lab


Click here for a pdf file describing this lab.

Click here for the tar file for this lab.

Notes:

Updates and tips will be posted here as needed.

Some of you have discovered that valgrind is not currently installed on the spice machines. I've installed the latest version in /ee2/ee424/valgrind/bin which should always be mounted on the spice machines. Either type the full path name or define a convenient alias in your .bashrc file. Sorry for the added complication...

To add valgrind to your system PATH (i.e. make it so you don't need to type the entire file path each time you run it), do the following:
Open up ~/.bashrc (or create it if it doesn't exist) and add the following line:

export PATH=$PATH:/ee2/ee424/valgrind/bin

Save and close the file. Then, open up a new terminal, or re-source ~/.bashrc in the current terminal like so:

. ~/.bashrc

Now any call to the command valgrind should work.

Here are some thoughts on Part A:

Thoughts on Part B:
Last updated 28 March 2021