Skip to main content

PeakRDL-rust

Coverage Status

Generate Rust code for accessing control/status registers from a SystemRDL description.

This is currently in a beta state. Feel free to try it out and report any bugs encountered.

For documentation including API reference, configuration options, and detailed examples, visit:

PeakRDL-rust Documentation on Read the Docs

Installation

It can be installed from PyPI using

pip install peakrdl-rust[cli]

Usage

For usage available options, use

peakrdl rust --help

TODO

  • Arrays
  • Enum encoding
  • Reg impl with regwidth != accesswidth
  • Impl Default for registers
  • Test generator
  • Add field constants (width, offset, etc.)
  • Impl Debug for registers
  • Add ARCHITECTURE.md
  • Find/generate additional test input
  • Mem components
  • More efficient field tests
  • Set up github actions/PyPI publishing
  • Fixedpoint/signed UDPs
  • Rust keyword conflict test
  • Unwrap encoded field enums if exhaustive
  • Restrict read/write to memories
  • Add examples to docs
  • Regwidth > native integer types

Metadata

Release files for peakrdl-rust 0.7.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for peakrdl-rust 0.7.4
File Size Uploaded Provenance Actions
peakrdl_rust-0.7.4.tar.gz 18.1 kB Without provenance Details for peakrdl_rust-0.7.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for peakrdl-rust 0.7.4
File Interpreter ABI Platform Actions
peakrdl_rust-0.7.4-py3-none-any.whl Python 3 none any Details for peakrdl_rust-0.7.4-py3-none-any.whl

Total release size: 43.8 kB

Release files / peakrdl_rust-0.7.4.tar.gz

Download URL peakrdl_rust-0.7.4.tar.gz
Size 18.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2b7cb399d71a868eb98067ada072e635aa701c06690d9b2e511a92f00e2bae90
BLAKE2b-256 checksum
How to use checksums
ca2176b1d1885d62cd6e2a265a5589dbdbbd469478a0a6a256f5956560811e27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.2

Release files / peakrdl_rust-0.7.4-py3-none-any.whl

Download URL peakrdl_rust-0.7.4-py3-none-any.whl
Size 25.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
101492d3ccbddb2f123171d24a479b65844fe168a2964b76cc5aff7dd74a248f
BLAKE2b-256 checksum
How to use checksums
4e26807d6875734e240d649a6b960d79a0dada1aea3b0560a6e505e2054bc505
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.2

Security for peakrdl-rust 0.7.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page