This is for now a tiny script to automate SVD creation for custom HDL cores.
This allows us to use & reuse memory mapped cores with their register access description
You could then use, say, svd2rust
, or Renode (untested)
The example core contains one GPIO and UART based on VexRiscv implementation, and one custom peripheral.
# install package with pip
$ python3 -m pip install --user -e .
# use:
$ yaml2svd example-core/top.yaml output_file.svd
This software is provided as is, mainly because i didn't test it further than the example core. You are welcome to do a PR if you improve it in any way.