$npx skillfedfor your agent

peakrdl-python

Generate Python Register Access Layer (RAL) from SystemRDL

With conditionsPyPI Electronic Design Automation (EDA)Released May 2026118.9K downloads / mocopyleft licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — peakrdl_python-3.1.2-py3-none-any.whl
v3.1.2 · released 2026-05-24 · Python >=3.9.2 · 4 runtime deps: systemrdl-compiler, jinja2, typing-extensions, more_itertools

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

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.
Same gist for agents: .md · .json

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.

With conditions

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

Licensecopyleft license copyleft
Python supportSupports the current Python release >=3.9.2
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
systemrdl-compilerjinja2typing-extensionsmore_itertools
MaintenanceActively maintained 82 days since the last release
Last repo commit
First released
Downloads118,891 / month, #12,101 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone 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

Capabilities
systemrdl python code generationregister access layer generatorhardware register abstraction pythonsystemrdl compiler pythonregister model pythoncsr python generatorhardware register simulation
Topics
hardware-designregister-generationsystemrdl
PyPI keywords
SystemRDLPeakRDLCSRcompilertoolregistersgeneratorPython

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

systemrdl-compiler Worth it
PyPI · Code Generators · released Feb 2026

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.

MITcompiled wheel · 3.7+
779.5Kdownloads / mo
planarity With conditions
PyPI · Libraries · released Jun 2026

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.

BSD-3-Clausebuilds from source · 3.10+
709.6Kdownloads / mo
cocotb With conditions
PyPI · Electronic Design Automation (EDA) · released Nov 2025

cocotb is a Python framework for writing testbenches that simulate and verify VHDL and Verilog hardware designs through coroutine-based cosimulation.

permissive licensecompiled wheel · 3.6.2+
589.2Kdownloads / mo
pyslang With conditions
PyPI · Python Modules · released May 2026

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.

MITcompiled wheel
455.5Kdownloads / mo
peakrdl-ipxact With conditions
PyPI · Electronic Design Automation (EDA) · released Oct 2024

Converts between SystemRDL register descriptions and IP-XACT XML format, enabling import and export workflows for hardware register modeling.

GPL-3.0-onlypure Python · 3.5.2+aging
414.5Kdownloads / mo
klayout With conditions
PyPI · Electronic Design Automation (EDA) · released Jul 2026

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.

copyleftcompiled wheel
407.9Kdownloads / mo

See also peakrdl-cheader · peakrdl-regblock · peakrdl-cli · peakrdl-systemrdl · peakrdl · peakrdl-html · peakrdl-uvm · spidev