I would like to split modules into files, like the old --split-modules flag used to do. Passing this flag to ChiselStage throws an error that this is deprecated, however I cannot find any documentation on what the supported arguments to ChiselStage are.
I am executing ChiselStage as follows:
object GenerateAsaSec extends App {
val chiselStage = new ChiselStage
chiselStage.execute(Array("-X", "verilog", "--split-modules", "--target-dir", "genrtl"), Seq(ChiselGeneratorAnnotation(() => new MyModule())))
}