riscwatchengine/ ├── README.md ├── pyproject.toml ├── config/ │ ├── requirements.txt │ └── ... ├── examples/ │ └── ... ├── scripts/ │ ├── rwdecoder.py │ └── ... ├── src/ │ └── riscwatch_engine │ ├── engine/ │ │ ├── bdm.py │ │ ├── generator.py │ │ ├── interfaces.py │ │ ├── jtag.py │ │ ├── registers.py │ │ ├── timer.py │ │ └── util.py │ ├── hl/ │ │ ├── abi.py │ │ └── highlevel.py │ └── py.typed └── tests/ └── ...
Hover over a component name for more information
-
Set up a python virtual environment (venv)
sudo apt install python3.10-venv python3.10 -m venv venv source venv/bin/activate pip install -e '.[dev]'
-
Generate package locally
source .venv/bin/activate pip wheel . # Creates riscwatch_engine-1.0.0-py3-none-any.whl
-
Linting (yapf+isort)
tox run -e lint
-
Reformat All
tox run -e format
-
Type-Checking (mypy)
tox run -e type
-
Tests (pytest)
tox run -e py310 # or other version if such an env exists for tox to find
-
Run All Checks
tox run -e lint,type,py310