varshantdhar / Cache-Sim

A Cache Simulator - Project as a part of Introduction to Computer Systems (Fall 2016) - Code in cachelab.c & csim.c

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CS 154, Fall 2016 Project 3

************************
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 modify these two files and only 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

About

A Cache Simulator - Project as a part of Introduction to Computer Systems (Fall 2016) - Code in cachelab.c & csim.c


Languages

Language:C 80.6%Language:Python 16.8%Language:Makefile 2.6%