https://github.com/dwhall/minisvd2nim
The status is pre-alpha. The README explains the why and the how.
https://github.com/dwhall/minisvd2nim/blob/main/README.md
I've used it with a recent STM32 SVD file. I imagine that other mfgrs' SVD files could cause issues. I welcome feedback.
I updated the minisvd2nim tool to parse Segger's non-standard SVD-like format. Segger provided SVD-like files for many ARM cores. The first core I've converted is Cortex-M4F. When I get it working reasonable well, I'll start converting other cores.
The results of those conversions are being kept in this repo: https://github.com/dwhall/arm_cores