Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.25 KB

README.md

File metadata and controls

38 lines (22 loc) · 1.25 KB

processorsim

A simulator for program execution on pipelined processors

Badges

GitHub Actions Workflow Status Coverage Status license Written in Python

Usage/Examples

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.

Requirements

Please refer to Pipfile for the list of dependency packages.

Installation

Install processorsim with pipenv.

  cd processorsim # local repo directory
  pipenv sync

Running Tests

To run tests, run the following command(inside the local repo directory).

  pipenv run ./test.sh