PeakRDL-systemrdl is a plugin for the PeakRDL compiler that allows users to export an in-memory register model to a SystemRDL file. It currently supports version 1.0.1 and generally releases new versions based on new features, bug fixes, or compatibility updates with the main PeakRDL library.
pip install peakrdl-systemrdlVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to use `peakrdl-systemrdl` as an exporter plugin for the `PeakRDL` compiler. It compiles a simple RDL string into an in-memory model and then exports it to a `.systemrdl` file. Ensure `peakrdl` is also installed (e.g., `pip install peakrdl`).
Upgrade Python to 3.7 or newer. If unable to upgrade, pin `peakrdl-systemrdl<1.0.0` in your dependencies.
Reinstall the package using the extra: `pip install peakrdl-systemrdl[cli]`.
Upgrade to `peakrdl-systemrdl >= 1.0.1` to automatically handle keyword escaping. Alternatively, rename your identifiers to avoid conflicts with SystemRDL keywords.
Upgrade to `peakrdl-systemrdl >= 1.0.1` to ensure correct and legal external field instantiation in the exported SystemRDL.