PeakRDL-PyRAL: A scalable, low-overhead Python register abstraction layer
summary
PeakRDL PyRAL generates a database-backed RAL instead of massive generated Python, claims O(1) import and construction and demonstrates interactive use with OpenOCD/JTAG hardware IO, context-manager read/modify/write, and IDE-friendly .pyi stubs for autocomplete. It supports grafting smaller RALs into a larger SOC and targets very large maps (author reports about 100,000-register scaling), is on PyPI, and constructs objects lazily as code navigates the model.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:48Why SystemRDL and Picardel
- 5:19What is RAL and Python
- 7:09PyRAL’s layered model
- 8:56Generating Python RAL
- 12:05Scalability and performance
- 13:50Type checking and IDE support
- 14:35Vertical reuse in designs
- 15:18Other Picardel tools
related talks
28mPeakRDL: An accessible and extensible SystemRDL CSR automation toolchain
03mSystemRDL and PeakRDL
09mProgrammer Productivity and Performance on Embedded RISC-V CPUs
12mKeynote: Improving Software Development With RIDDL
07mA Practical Implementation Of A Platform Level Interrupt Controller (PLIC)
30mDevRelling in the age of GenAI
28mRHDH Local as an AI Agent: Zero-Config Platform Setup
01h 01mProgram Obesity: A Code Health Epidemic
