title: VCD dump for vhdl simulation via modelsim. HOWTO?
body: <p>It's the first time i try to generate a VCD and i am getting some troubles.</p>
  
  <p>I have a testbench called bench_minimips.vhdl that contain the entity sim_minimips.
  I want simulate it and get a VCD out of it.</p>
  
  <p>i am typing the following command in the Modelsim shell:</p>
  
  <pre><code>vsim work.sim_minimips
  vcd file myvcd1.vcd
  vcd add -file bench_minimips.vhd/*
  run
  </code></pre>
  
  <p>but if i open myvcd1.vcd in an empty file. What should i do to create the dump?</p>
  
  <p>I tryed as well as sudgested in another forum the command:</p>
  
  <pre><code>wlf2vcd -o myvcd2.vcd vsim.wlf
  </code></pre>
  
  <p>but a error is generated.</p>
  
  <p>I am really lost in understanding because all the websites i find tells you to use a TCL generated by altera or some other company and i do not have theyr content to look at.</p>
  
  <p>Does someone knows what should i do?</p>
  
  <p>Best,
  Stefano</p>