A simulator for program execution on pipelined processors
Check the examples directory for how to use the API. tests/test_whole.py on the other hand illustrates how to use processor_sim.py as a CLI driver to simulate program executions.
Please refer to Pipfile for the list of dependency packages.
Install processorsim with pipenv.
cd processorsim # local repo directory
pipenv sync
To run tests, run the following command(inside the local repo directory).
pipenv run ./test.sh