Hello modongzhi and thanks for reading! I haven't done it for a RISC-V device, however, as long as you have an SVD file the steps are the same. There only might be slight differences in step 4 including the dependencies, which you need to resort to the documentation here where it tells you what to change.