Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/YanjieZe/CacheLab
Lab2 for CS359: Computer Architecture (上海交大计算机体系结构大作业2,Understanding Cache Memories)
https://github.com/YanjieZe/CacheLab
Last synced: 5 days ago
JSON representation
Lab2 for CS359: Computer Architecture (上海交大计算机体系结构大作业2,Understanding Cache Memories)
- Host: GitHub
- URL: https://github.com/YanjieZe/CacheLab
- Owner: YanjieZe
- Created: 2021-05-14T15:02:28.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-08-18T03:31:37.000Z (about 3 years ago)
- Last Synced: 2024-08-01T19:45:41.948Z (3 months ago)
- Language: C
- Size: 2.57 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
- awesome-cs - @YanjieZe, 2021 Spring
README
This is the handout directory for this Lab.
************************
Running the autograders:
************************Before running the autograders, compile your code:
linux> makeCheck the correctness of your simulator:
linux> ./test-csimCheck 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 67Check 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