Design Compiler Power Simulation

Posted alvinrolling

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Design Compiler Power Simulation相关的知识,希望对你有一定的参考价值。

Design Compiler Power Simulation

Although in a common DC flow, the power consumption is calculated and reported, it is not quite accurate since the switching probability is estimated to be some default number at the input, and the internal nets switching prob. is calculated based on the dependencies of path (See ICleaner DC No.2).

For better power consumption simulation, the SAIF file generated by the simulation procedure, which records the toggle rates based on simulation, is required during DC power reports. This md file provides some supplymentary information to the IClearner DC No.2 section, since some commands and the flow itself the blog introduced are obsolete now as the EDA tools updates.

This tutorial only covers the methods using SAIF file. The VCD file has large sizes and need further format transfer, which is not recommended.

RTL level power simulation

  • Note that the RTL forward SAIF method is not applicable in Synopsys 2016 (or later).
  • Note that if you are using SV file as DUT instead of Verilog file, use the "sv" parameter in command This is the code.
    RTL backward SAIF file is generated during VCS simulation (after the run of simv). Choose carefully of the time interval that you want to investigate.

A typical section of the testbench file is as follows:

Hello world!

Use the -lca parameter when calling vcs (this may not be required in later version of VCS). A typical Makefile looks like this.

Hello world~

The DC scripts could be modified according to the DC UG by adding the SAIF related commands.

Gate level power simulation

The VCS simulation testbench could be modified according to the UG.

Hello world!!

The DC UG didn‘t give a appropriate example for gate level power simulation in DC flow. A temporary solution reuse the DC synthesis flow. This makes easier environment setup. We leave out the analyze, elaborate and compile steps. Instead we use read_verilog to read the previously output verilog file of DC, and read the SAIF generated by the gate level simulation. Also, we deleted the unnecessary report commands and only apply SAIF and power related reports.

Further questions need to be answers like how to use the parasitics file, etc.

以上是关于Design Compiler Power Simulation的主要内容,如果未能解决你的问题,请参考以下文章

design compiler 工具是干嘛的?用在啥方面?

Tcl与Design Compiler (十三)——Design Compliler中常用到的命令(示例)总结

数字系统综合时,synplify和design compiler 哪个好用

Agility.Compiler.v1.3+DK.Design.Suite.and.PDK.v5.0.SP5编译器加高阶

Tcl与Design Compiler ——其他的时序约束选项

Tcl与Design Compiler ——其他的时序约束选项