This is a project of Computer Organization and Achitecture, PKU.
The simulator simulates the behaviors of a multi-layer cache with a back up memory.
MIT License
How to build
-
Simply download this repo by clicking the
DOWNLOAD
button or callgit git@github.com:LC-John/Cache-Simulator.git
in command line. -
Use QtCreator or other IDEs to open the
.pro
project file. -
Build and run.
-
Have fun playing with this simulator.
How to run
Use sim -h
to get the help menu. Everything you need is in it.
See the PDF reports at https://github.com/LC-John/Notes-and-homeworks/tree/master/体系实习.
Last but the most important thing is that you can reference them, but PLEASE DO NOT COPY! If you copy this project and get caught, no one can help you, and you deserve nothing but a zero score.
Heads up! I've inserted something into my code. It will somehow show the identification information of the true author, which is me. So anaing, DO NOT COPY.
Good luck and have fun. :)