$npx skillfedfor your agent

peakrdl-cheader

Generate C Header files from a SystemRDL register model

Worth itPyPI Electronic Design Automation (EDA)Released Mar 2026231.5K downloads / moLGPLv3Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — peakrdl_cheader-1.1.0-py3-none-any.whl
v1.1.0 · released 2026-03-28 · Python >=3.7 · 2 runtime deps: systemrdl-compiler, jinja2

Yes. The package is production-stable, actively maintained, has low install friction, and solves a real problem in hardware-software co-development. The LGPLv3 copyleft license is standard for open-source tools and poses no barrier for most use cases. Install it if you work with SystemRDL register models and need C headers.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a valid SystemRDL input file and systemrdl-compiler to parse it; jinja2 is used internally for template rendering.
  • Low install friction with a pure Python wheel.
  • Actively maintained as of March 2026 with recent commits.

License · maintenance · safety

LGPLv3 (copyleft) — Licensed under LGPLv3 (copyleft). You may use and modify the package freely, but any derivative work must also be licensed under LGPLv3 and source code must be made available.

last release 2026-03-28 (139 days) · last repo commit 2026-03-28 · 16 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 231,501 downloads/mo, #9,085 on PyPI

Verify before relying

pip install peakrdl-cheader

from peakrdl.cheader import CHeaderCompiler
from systemrdl import RDLCompiler

rdl = RDLCompiler()
rdl.compile_file('registers.rdl')
compiler = CHeaderCompiler(rdl.root)
compiler.write('output.h')
  • Whether the package supports incremental compilation or batch processing of multiple register models
  • What C standard or dialect the generated headers target
  • Whether generated headers include register access macros or only struct definitions
Same gist for agents: .md · .json

What it is and what it does

PeakRDL C Header is a code generator that converts SystemRDL register specifications into C header files. It sits on top of the systemrdl-compiler to parse hardware register definitions and uses jinja2 templates to produce C code. The package is designed for hardware-software co-development workflows where register layouts defined in SystemRDL need to be exposed to C firmware or driver code.

The tool is part of the broader PeakRDL ecosystem and targets developers working with register-level hardware abstractions. It automates the error-prone manual translation of register specifications into C headers, ensuring consistency between hardware documentation and software code. The package is production-stable, actively maintained, and has no known security vulnerabilities.

Use it for

  • Generate C headers from SystemRDL register models for embedded firmware development
  • Automate register definition synchronization between hardware specs and C driver code
  • Create consistent register access structures for SoC bring-up and validation
  • Integrate register code generation into hardware-software build pipelines

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is production-stable, actively maintained, has low install friction, and solves a real problem in hardware-software co-development. The LGPLv3 copyleft license is standard for open-source tools and poses no barrier for most use cases. Install it if you work with SystemRDL register models and need C headers.

Install

peakrdl-cheader on PyPI

Before you install

Low install friction with a pure Python wheel. Actively maintained as of March 2026 with recent commits. Depends on systemrdl-compiler and jinja2, both stable and widely available.

Requires a valid SystemRDL input file and systemrdl-compiler to parse it; jinja2 is used internally for template rendering.

License in practice

Licensed under LGPLv3 (copyleft). You may use and modify the package freely, but any derivative work must also be licensed under LGPLv3 and source code must be made available.

Quickstart

pip install peakrdl-cheader

from peakrdl.cheader import CHeaderCompiler
from systemrdl import RDLCompiler

rdl = RDLCompiler()
rdl.compile_file('registers.rdl')
compiler = CHeaderCompiler(rdl.root)
compiler.write('output.h')

Verify before relying

  • Whether the package supports incremental compilation or batch processing of multiple register models
  • What C standard or dialect the generated headers target
  • Whether generated headers include register access macros or only struct definitions

Package facts

LicenseLGPLv3 copyleft
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
systemrdl-compilerjinja2
MaintenanceActively maintained 139 days since the last release
Last repo commit
First released
Downloads231,501 / month, #9,085 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 :: OnlyTopic :: Scientific/Engineering :: Electronic Design Automation (EDA)

Evidence: peakrdl_cheader-1.1.0-py3-none-any.whl

Tags

Capabilities
systemrdl to c header generatorregister model c code generationhardware register c headerssystemrdl compiler plugincsr c header generationregister definition c output
Topics
hardware-descriptioncode-generationregister-modeling
PyPI keywords
SystemRDLPeakRDLCSRcompilertoolregistersgeneratorCheadersoftware

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 › “systemrdl to c header generator”

  • peakrdl-cheaderGenerates C header files from SystemRDL register models, converting…
  • 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-python · peakrdl-systemrdl · peakrdl-html · peakrdl-regblock · peakrdl-cli · peakrdl · peakrdl-uvm · pyvcd