peakrdl-pyuvm
PeakRDL plugin that generates a pyuvm register model from SystemRDL.
The generated output is a single Python module containing pyuvm register classes
that can be instantiated and used in any UVM-based Python testbench.
Installation
pip install peakrdl-pyuvm
The PeakRDL host CLI is optional — install it with the cli extra if you want to
use the peakrdl pyuvm command:
pip install "peakrdl-pyuvm[cli]"
Usage
Export a register model:
peakrdl pyuvm my_design.rdl -o my_ral.py
Use the generated module in your testbench:
from my_ral import BAR0
block = BAR0("bar0")
block.build()
block.lock_model()
# Iterate registers
for reg in block.get_registers():
print(reg.get_name())
# Write a field
block.ALU0.SRC.data0.write(0xFF)
The generated module contains one class per register, one class per register block,
and one top-level block class. All classes inherit from pyuvm.uvm_reg_block /
pyuvm.uvm_reg.
Metadata
Release files for peakrdl-pyuvm 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| peakrdl_pyuvm-0.9.0.tar.gz | 68.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| peakrdl_pyuvm-0.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 84.6 kB
Release files / peakrdl_pyuvm-0.9.0.tar.gz
| Download URL | peakrdl_pyuvm-0.9.0.tar.gz |
|---|---|
| Size | 68.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0397fc33d76c2278fb4a2c163ff59107c3bc7eae43382081704920975e9785f
|
|
BLAKE2b-256 checksum How to use checksums |
e60d04d3bf78c9b24432194ee3e56e89be8cd5dba6aaee8e065b515c4600c5c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.
Transparency logRelease files / peakrdl_pyuvm-0.9.0-py3-none-any.whl
| Download URL | peakrdl_pyuvm-0.9.0-py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f6f7231e752f624e05b32af456d539018c5d865e111f163f9f6c0e7d37ef325
|
|
BLAKE2b-256 checksum How to use checksums |
d1dcb64d1422e0feada12f4688cf366e926bd56eef9f5df011b3daa2103052eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.
Transparency log