Skip to main content

rdl2ot cli tool

A PeakRDL extension to generate OpenTitan register block SystemVerilog from SystemRDL files.

Using as a standalone tool

How to generate the OpenTitan register interfaces from a RDL file

rdl2ot export-rtl <input_rdl> <output_dir>

Example:

mkdir -p /tmp/lc_ctrl
rdl2ot export-rtl tests/snapshots/lc_ctrl.rdl /tmp/lc_ctrl/

Using as a PeakRDL pluggin

Installing

pip install peakrdl rdl2ot

Running

mkdir -p /tmp/lc_ctrl
peakrdl rdl2ot tests/snapshots/lc_ctrl.rdl -o /tmp/lc_ctrl/

Contributing

How to run tests

cd rdl2ot
pytest

Release files for rdl2ot 0.4.0

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

Source distribution (sdist)

Source distribution for rdl2ot 0.4.0
File Size Uploaded
rdl2ot-0.4.0.tar.gz 102.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rdl2ot 0.4.0
File Interpreter ABI Platform
rdl2ot-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size:124.1 kB

Release files / rdl2ot-0.4.0.tar.gz

Download URL rdl2ot-0.4.0.tar.gz
Size 102.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e5e1fe2f564754c07ebbd521c7671bf1cd55009d929c1e3e32be094860d35643
BLAKE2b-256 checksum
How to use checksums
7cd5b41939c462a3636e54ba5fbd9fabf5993cfb752ed3c89da259026bb81ee1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.22

Release files / rdl2ot-0.4.0-py3-none-any.whl

Download URL rdl2ot-0.4.0-py3-none-any.whl
Size 22.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5371a0ceeba34fa03b585c8f3f9d908221be7ab51a5bf6d91265578be805fd0
BLAKE2b-256 checksum
How to use checksums
20afc4a2f25a32c021f3712331801b08f814afe6436ea10bf82be0cc3d60f500
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.22

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release 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