Skip to content

an helper for various tasks: pipeline drawer, hit and miss cache, tlb calc

License

Notifications You must be signed in to change notification settings

dag7dev/architecture-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Architecture Helper

Includes several tools: pipeline drawer, hit and miss cache calculator, tlb missrate.

Helper with GUI: https://github.com/architecture-helper/architecture-helper

Getting Started

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.

Prerequisites

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.

Running

To run the program simply run:

main.py

Parameters

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.

Contributing

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

Authors

  • 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.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

an helper for various tasks: pipeline drawer, hit and miss cache, tlb calc

Topics

Resources

License

Stars

Watchers

Forks