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

Download files

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

Source Distribution

peakrdl_rust-0.7.4.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

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

peakrdl_rust-0.7.4-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

Details for the file peakrdl_rust-0.7.4.tar.gz.

File metadata

  • Download URL: peakrdl_rust-0.7.4.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.2

File hashes

Hashes for peakrdl_rust-0.7.4.tar.gz
Algorithm Hash digest
SHA256 2b7cb399d71a868eb98067ada072e635aa701c06690d9b2e511a92f00e2bae90
MD5 b8eb37b459a3a174b2bf0c67cc0f98fd
BLAKE2b-256 ca2176b1d1885d62cd6e2a265a5589dbdbbd469478a0a6a256f5956560811e27

See more details on using hashes here.

File details

Details for the file peakrdl_rust-0.7.4-py3-none-any.whl.

File metadata

File hashes

Hashes for peakrdl_rust-0.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 101492d3ccbddb2f123171d24a479b65844fe168a2964b76cc5aff7dd74a248f
MD5 bc8ed1a3165d221ca82fde4156974bfb
BLAKE2b-256 4e26807d6875734e240d649a6b960d79a0dada1aea3b0560a6e505e2054bc505

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.7.4 This release

2 files

0.7.3

2 files

0.7.2

2 files

0.7.1

2 files

0.7.0

2 files

0.6.2

2 files

0.6.1

2 files

0.5.1

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

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