Skip to main content

An extension of PeakRDL to generate OpenTitan RTL.

Project description

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

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

rdl2ot-0.3.0.tar.gz (37.9 kB view details)

Uploaded Source

Built Distribution

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

rdl2ot-0.3.0-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file rdl2ot-0.3.0.tar.gz.

File metadata

  • Download URL: rdl2ot-0.3.0.tar.gz
  • Upload date:
  • Size: 37.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.22

File hashes

Hashes for rdl2ot-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6f187a4dcb6ec2f672dfb25fe9b88896bdf6edad004e29840cb8da69a22dc116
MD5 d0eba59f296ff36fa1ff56d3b1e426ad
BLAKE2b-256 c86cc7577b187ce6e28f90090af3ee4d190af2ec20b8d19a4bf83ae862f458ef

See more details on using hashes here.

File details

Details for the file rdl2ot-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: rdl2ot-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.22

File hashes

Hashes for rdl2ot-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1c335fefdb1d1d82e46d0c43d9bedb6b03bc360f92e11f6ddda1d4496349b946
MD5 0874068c022ce6ee68cd9cc869a81251
BLAKE2b-256 1b3b127e8426c564c764bc12d185c9cdcb1ea1035e4c9a024f0d6d114a3777bb

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