Intel® Quartus® Prime Pro Edition User Guide: Third-party Simulation

ID 683870
Date 10/05/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.2.4.1. Generating Standard Delay Output for Power Analysis

To improve accuracy of power analysis, you can generate a Standard Delay Output (.sdo) file that includes back-annotated delay estimates for ModelSim* simulation. ModelSim* simulation can then output a more accurate .vcd for use as power analysis input. You must run Fitter (Finalize) before generating the .sdo.
Using an SDO in Power Analysis
  1. Click Assignments > Settings > EDA Tool Settings > Simulation. In Tool name select ModelSim* and Verilog for Format for output netlist.
  2. Click More EDA Netlist Writer Settings. Set Enable SDO Generation for Power Estimation to On. Set Generate Power Estimate Scripts to ALL_NODES.
    Figure 7. More EDA Netlist Writer Settings
  3. To run the Fitter, click Processing > Start > Start Fitter (Finalize).
  4. Create a representative testbench (.vt) that exercises the design functions appropriately.
  5. To specify the appropriate hierarchy level for signals in the output .vcd, add the following line to the project .qsf file:
    set_global_assignment -name EDA_TEST_BENCH_DESIGN_INSTANCE_NAME 
         <DUT instance path> -section_id eda_simulation
    2
  6. After Fitter processing is complete, click Processing > Start > Start EDA Netlist Writer. EDA Netlist Writer generates the following files in /<project>/simulation/modelsim/power/:
    • <project>.vo (contains a reference to the .sdo file by default)
    • <project>_dump_all_vcd_nodes.tcl—specifies nodes to save in .vcd
    • <project>_v.sdo—back-annotated delay estimates
  7. Create a ModelSim* script (.do) to load the design and testbench, start ModelSim* , and then source the .do script.
  8. To specify the signals ModelSim* includes in the .vcd file, source *_dump_all_vcd_nodes.tcl in ModelSim* .
  9. To generate the .vcd file, simulate the test bench and netlist in ModelSim* . The .vcd file generates according to your specifications.
  10. Specify the .vcd as an input to power analysis, as Generating Signal Activity Data for Power Analysis describes.
    Note: The EDA Netlist Writer currently supports .sdo file generation only for Verilog .vo simulation in the ModelSim* simulator (not Questa*-Intel® FPGA Edition) for Intel® Stratix® 10 designs. The EDA Netlist Writer does not currently support .sdo file generation for any other simulator or device family.
2 Specify the full hierarchical path in the testbench, not just the instance name. For example, specify a|b|c, not just c.