This repository will house PeakRDL plugins, named after Ben Nevis, the UK's tallest peak.
curl -LsSf https://astral.sh/uv/install.sh | sh
uv venv
uv sync --all-extras
. .venv/bin/activate
nix develop
A PeakRDL extension to generate OpenTitan register block SystemVerilog from SystemRDL files.
For more details, refer to rdl2ot
cd rdl2ot
pytest
cd rdl2ot
python src/rdl2ot export-rtl tests/snapshots/lc_ctrl.rdl /tmp/
A library to generate SystemRDL files from the Hierarchical Register Model.
For more details, refer to rdlexporter
cd rdlexporter
pytest
Install dev dependencies
uv sync --all-extras
Build package
uv build --all
Install the package locally
uv pip install dist/rdlexporter-0.1.0-py3-none-any.whl
Testing
uv run python
from rdlexporter import RdlExporter