Skip to main content

Generate Header files from a SystemRDL register model

Project description

docs ci PyPI - Python Version

PeakRDL Raw Header

Generates a very basic header with addresses, sizes, and offsets from a SystemRDL file as a plugin to PeakRDL.

Currently supported formats:

Format Function
c Simple C header file
svh Simple SystemVerilog header file
svpkg Simple SystemVerilog package
ldh Linker script header (MEMORY + PROVIDE symbols)

Custom templates are also supported.

Documentation

See the PeakRDL-rawheader Documentation for installation, usage, all output formats, command line options, and writing custom templates.

Installation

Add the package as a dependency to your project with uv:

uv add peakrdl-rawheader

Or install it with pip:

pip install peakrdl-rawheader

Quick Start

Given a SystemRDL input, generate a C header (the default format):

peakrdl raw-header top.rdl -o top.h

Select a different output format with --format:

peakrdl raw-header top.rdl -o top.svh --format svh

See the documentation for examples of each output format and the full list of options.

Releasing

Release instructions are documented in RELEASE.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

peakrdl_rawheader-0.2.6.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

peakrdl_rawheader-0.2.6-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file peakrdl_rawheader-0.2.6.tar.gz.

File metadata

  • Download URL: peakrdl_rawheader-0.2.6.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for peakrdl_rawheader-0.2.6.tar.gz
Algorithm Hash digest
SHA256 404a0b8c34f1b383c505ac12c35609b8ff72dc4c4e3c807b470d14a85f80a270
MD5 423155726b9be6634c64c6d50d8048fb
BLAKE2b-256 228326dbb3d17400f03d1dea16144070bae4774edb5d32c7b8e0d94261676f2c

See more details on using hashes here.

File details

Details for the file peakrdl_rawheader-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: peakrdl_rawheader-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for peakrdl_rawheader-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4c01d841e86fc1d90926134b58c13d223afd3807298dc548e90f98ee7c3026ab
MD5 0a27578c448e1d5b66b7bc55e8274683
BLAKE2b-256 505cd18fa5c51957a5de47e13e780b2af5ce79fb34b189508280bcac9d71fa42

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page