title: For Verilog/VHDL simulation: how to open modelsim wlf file from command line?
body: <p>With GtkWave I can simply open a vcd waveform file from the command line as follows:</p>
  
  <pre><code>PS&gt; gtkwave waves.vcd
  </code></pre>
  
  <p>Now, I'm needing to switch to modelsim, and need this feature as well.  How can I open a modelsim wlf waveform file from the command line and have it open a waves window the same way as gtkwave?  I want to do something like this:</p>
  
  <pre><code>PS&gt; start vsim -do "wave open vsim.wlf"
  ERROR: bad tcl syntax...
  </code></pre>
  
  <p>The best I can do so far is just open the wave window:</p>
  
  <pre><code>PS&gt; start vsim -do "view wave"
  </code></pre>