title: How do you split modules into individual files using ChiselStage?
body: <p>I would like to split modules into files, like the old <code>--split-modules</code> flag used to do.  Passing this flag to <code>ChiselStage</code> throws an error that this is deprecated, however I cannot find any documentation on what the supported arguments to ChiselStage are.</p>
  <p>I am executing ChiselStage as follows:</p>
  <pre><code>object GenerateAsaSec extends App {
    val chiselStage = new ChiselStage
    chiselStage.execute(Array(&quot;-X&quot;, &quot;verilog&quot;, &quot;--split-modules&quot;, &quot;--target-dir&quot;, &quot;genrtl&quot;), Seq(ChiselGeneratorAnnotation(() =&gt; new MyModule())))
  }
  </code></pre>