Intel® Quartus® Prime Standard Edition User Guide: Power Analysis and Optimization

ID 683506
Date 9/24/2018
Public
Document Table of Contents

1.4.2.2.2. Generating a .vcd from ModelSim® Software

To generate a .vcd with the ModelSim® software, follow these steps:

  1. In the Intel® Quartus® Prime software, on the Assignments menu, click Settings.
  2. In the Category list, under EDA Tool Settings, click Simulation.
  3. In the Tool name list, select your preferred EDA simulator.
  4. In the Format for output netlist list, select Verilog HDL, or SystemVerilog HDL, or VHDL.
  5. Turn on Generate Value Change Dump (VCD) file script.
  6. To generate the.vcd, perform a full compilation.
  7. In the ModelSim® software, compile the files necessary for simulation.
  8. Load your design by clicking Start Simulation on the Tools menu, or use the vsim command.
  9. Use the .vcd script created in 6 using the following command:
    source <design>_dump_all_vcd_nodes.tcl
  10. Run the simulation (for example, run 2000ns or run -all).
  11. Quit the simulation using the quit -sim command, if required.
  12. Exit the ModelSim® software.
    If you do not exit the software, the ModelSim® software might end the writing process of the .vcd improperly, resulting in a corrupt .vcd.