You should have a read through the FAQ provided for Sodor on its github page at (
https://github.com/ucb-bar/riscv-sodor#about-the-sodor-processor-collection).
While it's a fairly trivial change to generate Verilog from the Sodor build system (as discussed in the FAQ -
https://github.com/ucb-bar/riscv-sodor#faq), Sodor does not provide any Verilog testharness or FPGA wrappers, so there's not much use in generating Verilog.
If you want to generate code with your plugin, you'll want to use the existing Sodor build system, and I believe you want to modify "
prefix.mk", and modify the SBT variable which invokes Scala/Chisel.
-Chris