A simulator for program execution on pipelined processors
Please refer to pyproject.toml for the list of dependency packages.
Create processorsim's development environment with uv.
cd processorsim # local repo directory
uv sync --locked --no-devTo run tests, run the following command(inside the local repo directory).
yamlfmtDir="/path/to/yamlfmt/directory/" uv run --locked ./testLocal.shMake sure to set the environment variable yamlfmtDir appropriately.
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.