HTML Documentation Generator for SystemRDL

2.12.2 · active · verified Thu Apr 16

PeakRDL-html is a plugin for the PeakRDL parser that generates interactive HTML documentation for SystemRDL-based register models. It processes RDL source files to produce browsable web pages detailing register maps, fields, and properties. The current version is 2.12.2, and it maintains an active development cycle with regular updates addressing bug fixes and new features.

Common errors

Warnings

Install

Imports

Quickstart

This quickstart demonstrates how to create a minimal SystemRDL file and then use the `peakrdl` command-line tool with the `--html` flag to generate documentation. The output HTML files will be placed in the specified 'docs' directory. Ensure `peakrdl-html` is installed, which will also pull in `peakrdl`.

echo 'addrmap my_block { reg my_reg { field { hw=w; sw=r; } my_field[32]; } @0x0; };' > example.rdl
pip install peakrdl-html
peakrdl --html -o docs example.rdl
ls docs/index.html

view raw JSON →