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.1.0.tar.gz (35.4 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.1.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rdl2ot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8282e2c721e7056a0c9bf3fabcc1f3e147de66328d69d1005f02ce8e83ecc8c9
MD5 78644704cb3dc624bc6f63e04c19d7f9
BLAKE2b-256 2cd889cc80c9653c6e578456dcf134cc0a15bd45168f33267f56b5aae6a312c4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for rdl2ot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 524300b8cb8ed82461e6c3fa33035dd97f9ba8f4d2d97a1c5d92c31e7a6fecc4
MD5 ba7cf67d13db9a77fe3a133afa51f6aa
BLAKE2b-256 14f5acbe34d9ae3e2a08e1641d6b288ed791f7cbaa52ed8548f0f16c64f835a9

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