Includes several tools: pipeline drawer, hit and miss cache calculator, tlb missrate.
Helper with GUI: https://github.com/architecture-helper/architecture-helper
To get this program clone it with git via:
git clone https://github.com/dag7dev/hit-miss-cache-calc.git
Otherwise if you're not familiar with git you can download it as a zip from Here.
To run this program you need Python, wich you can install from Here.
This program was written for Python 3.8.3, but hopefully it should be compatible with future versions of Python too as it uses really few imports.
To run the program simply run:
main.py
You can look at the available parameters by running:
main.py -h
The output should be something like this:
Usage:
no parameters:
interactive mode - write your own data
-t:
test mode - work with an example - no other parameter needed
-f filename:
file mode - import data from a json file - you shall pass the filename
-h:
help mode - you are reading this!
NOTE: Keep in mind that the README could be not always updated with the latest parameters, so always refer to the output of main.py -h
rather that what's written here.
If you want to request for a functionality to be implemented or you found a bug you can open an Issue
If you have a fix/improvement for something you can Fork the project and submit a Pull Request.
Also if you want to be a contributor contact dag7dev
- Damiano - Initial work on the 2-way cache simulator and data input - dag7dev
- Fede Capece - Revised n-way cache simulator and user input - fc-dev
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details