A cache simulator written in c as part of a course assignment.
Use gcc to compile csim.c. The program can then be tested on the sample test files. The program requires the following arguments
-b Number of block bits
-s Number of set index bits
-E Associativity
-t Trace File
To use for your own programs, trace files can be generated using valgrind.