Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

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