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.4.0.tar.gz
(102.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
rdl2ot-0.4.0-py3-none-any.whl
(22.0 kB
view details)
File details
Details for the file rdl2ot-0.4.0.tar.gz.
File metadata
- Download URL: rdl2ot-0.4.0.tar.gz
- Upload date:
- Size: 102.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5e1fe2f564754c07ebbd521c7671bf1cd55009d929c1e3e32be094860d35643
|
|
| MD5 |
188d24edfe112812755e33a8e3a33a84
|
|
| BLAKE2b-256 |
7cd5b41939c462a3636e54ba5fbd9fabf5993cfb752ed3c89da259026bb81ee1
|
File details
Details for the file rdl2ot-0.4.0-py3-none-any.whl.
File metadata
- Download URL: rdl2ot-0.4.0-py3-none-any.whl
- Upload date:
- Size: 22.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5371a0ceeba34fa03b585c8f3f9d908221be7ab51a5bf6d91265578be805fd0
|
|
| MD5 |
a0c5d78a367552aa55f86329bace73e9
|
|
| BLAKE2b-256 |
20afc4a2f25a32c021f3712331801b08f814afe6436ea10bf82be0cc3d60f500
|