cache-lab/src
TuDatTr 70cc019779 Removed debug prints 2020-12-20 19:28:28 +01:00
..
traces Initial commit 2020-12-11 15:52:55 +01:00
Makefile Initial commit 2020-12-11 15:52:55 +01:00
README Initial commit 2020-12-11 15:52:55 +01:00
cachelab.c Initial commit 2020-12-11 15:52:55 +01:00
cachelab.h Initial commit 2020-12-11 15:52:55 +01:00
csim-ref Initial commit 2020-12-11 15:52:55 +01:00
csim.c Removed debug prints 2020-12-20 19:28:28 +01:00
driver.py Initial commit 2020-12-11 15:52:55 +01:00
ref_trans Fixed -v with [I]nstructions 2020-12-18 11:37:32 +01:00
test-csim Initial commit 2020-12-11 15:52:55 +01:00
test-trans.c Initial commit 2020-12-11 15:52:55 +01:00
tracegen.c Initial commit 2020-12-11 15:52:55 +01:00
trans.c added code for 61x67 matrix 2020-12-19 14:06:13 +01:00

README

This is the handout directory for the CS:APP Cache Lab. 

************************
Running the autograders:
************************

Before running the autograders, compile your code:
    linux> make

Check the correctness of your simulator:
    linux> ./test-csim

Check the correctness and performance of your transpose functions:
    linux> ./test-trans -M 32 -N 32
    linux> ./test-trans -M 64 -N 64
    linux> ./test-trans -M 61 -N 67

Check everything at once (this is the program that your instructor runs):
    linux> ./driver.py    

******
Files:
******

# You will modifying and handing in these two files
csim.c       Your cache simulator
trans.c      Your transpose function

# Tools for evaluating your simulator and transpose function
Makefile     Builds the simulator and tools
README       This file
driver.py*   The driver program, runs test-csim and test-trans
cachelab.c   Required helper functions
cachelab.h   Required header file
csim-ref*    The executable reference cache simulator
test-csim*   Tests your cache simulator
test-trans.c Tests your transpose function
tracegen.c   Helper program used by test-trans
traces/      Trace files used by test-csim.c