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 pyproject.toml for the list of dependency packages.
Install processorsim with uv.
cd processorsim # local repo directory
uv sync --locked --no-devTo run tests, run the following command(inside the local repo directory).
uv run ./test.sh