* <https://git.libre-soc.org/?p=soc.git;a=blob;f=src/soc/sv/svstate.py;hb=HEAD>
+## Adding SVSTATE "set/get" support for hw/sw debugging
+
+This includes adding DMI get/set support in hardware as well as gdb (remote) support.
+
+* LibreSOC DMI/JTAG: TODO
+* Microwatt DMI: TODO
+* power-gem5 remote gdb: TODO
+
## sv.setvl
a [[sv/setvl]] instruction is needed, which also implements [[sv/sprs]] i.e. primarily the `SVSTATE` SPR. the dual-access SPRs for VL and MVL which mirror into the SVSTATE.VL and SVSTATE.MVL fields are not immediately essential to implement.