peakrdl-python
Generate Python Register Access Layer (RAL) from SystemRDL
Decision gist · record as of 2026-08-14
Yes, if you work with SystemRDL and need Python register access. The package is actively maintained, supports modern Python versions (3.9 through 3.14), has no known vulnerabilities, and low install friction. LGPLv3 is permissive for library use. The main consideration is whether your workflow already uses SystemRDL; if not, the value depends on adopting that specification format.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a SystemRDL file as input; optionally install peakrdl CLI tool for command-line code generation.
- Low friction installation with a pure Python wheel.
- Actively maintained with a recent release; last commit on 2026-07-26.
License · maintenance · safety
copyleft license (copyleft) — Licensed under LGPLv3 (copyleft). You may use and modify the library freely, but any modifications to peakrdl-python itself must be shared under the same license; applications that use it as a library are not subject to this requirement.
last release 2026-05-24 (82 days) · last repo commit 2026-07-26 · 13 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 118,891 downloads/mo, #12,101 on PyPI
Alternatives
Verify before relying
pip install peakrdl-python
import peakrdl_python
from jinja2 import Template
from systemrdl_compiler import RDLCompiler
# Compile SystemRDL and generate RAL- Whether generated code is suitable for production hardware access or primarily for simulation and testing.
- Performance characteristics when working with large or complex register models.
- Compatibility with specific hardware platforms or simulation frameworks beyond the built-in simulator.
- Details on how callbacks integrate with real hardware communication layers.
What it is and what it does
peakrdl-python is a code generator that transforms SystemRDL register specifications into Python classes representing a Register Access Layer. It reads a SystemRDL file (a standard hardware description format for registers) and outputs a Python package with typed classes for each register, field, and memory region, plus a built-in simulator for testing without real hardware.
The generated code provides callback-based read and write access, allowing you to plug in your own hardware communication layer or use the included simulator. It handles register arrays, memory entries, field enumerations, and other SystemRDL constructs. Recent versions (2.0+) optimize generated code size by deduplicating identical classes, and version 3.0+ refactored test generation to reduce code bloat and improve performance.
Use it for
- Generate type-safe Python register models from SystemRDL specs for hardware verification and testing.
- Build a simulator-based test harness for register behavior without connecting to real hardware.
- Create a Python-based firmware interface layer that abstracts hardware register access behind generated classes.
- Validate register specifications by generating executable Python code and running test suites.
- Integrate hardware register definitions into Python-based design automation or verification workflows.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you work with SystemRDL and need Python register access.
The package is actively maintained, supports modern Python versions (3.9 through 3.14), has no known vulnerabilities, and low install friction. LGPLv3 is permissive for library use. The main consideration is whether your workflow already uses SystemRDL; if not, the value depends on adopting that specification format.
Install
peakrdl-python on PyPI
Before you install
Low friction installation with a pure Python wheel. Actively maintained with a recent release; last commit on 2026-07-26. Supports Python 3.9 through 3.14.
Requires a SystemRDL file as input; optionally install peakrdl CLI tool for command-line code generation.
License in practice
Licensed under LGPLv3 (copyleft). You may use and modify the library freely, but any modifications to peakrdl-python itself must be shared under the same license; applications that use it as a library are not subject to this requirement.
Quickstart
pip install peakrdl-python
import peakrdl_python
from jinja2 import Template
from systemrdl_compiler import RDLCompiler
# Compile SystemRDL and generate RAL
Verify before relying
- Whether generated code is suitable for production hardware access or primarily for simulation and testing.
- Performance characteristics when working with large or complex register models.
- Compatibility with specific hardware platforms or simulation frameworks beyond the built-in simulator.
- Details on how callbacks integrate with real hardware communication layers.
Package facts
| License | copyleft license copyleft |
| Python support | Supports the current Python release >=3.9.2 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagessystemrdl-compilerjinja2typing-extensionsmore_itertools |
| Maintenance | Actively maintained 82 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 118,891 / month, #12,101 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)Typing :: Typed |
Evidence: peakrdl_python-3.1.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “register access layer generator”
- peakrdl-pythonGenerates a Python Register Access Layer (RAL) from SystemRDL…
- peakrdl-uvmGenerates UVM (Universal Verification Methodology) register models in…
- peakrdl-cliPeakRDL is a command-line tool that generates register abstraction…
Give your agent the search over MCP, or paste the wish link into any chat.
More Electronic Design Automation (EDA) packages
Parses and elaborates SystemRDL 2.0 register description language into a traversable register model, enabling custom code generation for hardware register spaces.
Install it if you need to parse SystemRDL files or build custom register generators.
Tests whether a graph is planar, computes planar embeddings, draws planar graphs as ASCII art, and isolates forbidden subgraphs using algorithms from the Edge Addition Planarity Suite.
cocotb is a Python framework for writing testbenches that simulate and verify VHDL and Verilog hardware designs through coroutine-based cosimulation.
pyslang provides Python bindings to parse, analyze, and elaborate SystemVerilog code, exposing the underlying slang compiler's syntax tree and evaluation capabilities for programmatic inspection and manipulation.
Converts between SystemRDL register descriptions and IP-XACT XML format, enabling import and export workflows for hardware register modeling.
KLayout is a Python package for layout viewing, editing, and scripting in electronic design automation (EDA) workflows, providing programmatic access to design manipulation and analysis.
See also peakrdl-cheader · peakrdl-regblock · peakrdl-cli · peakrdl-systemrdl · peakrdl · peakrdl-html · peakrdl-uvm · spidev