码迷,mamicode.com
首页 > 其他好文 > 详细

Design Compiler Power Simulation

时间:2020-03-18 21:37:06      阅读:102      评论:0      收藏:0      [点我收藏+]

标签:power   required   ide   int   this   over   run   ant   generated   

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

标签:power   required   ide   int   this   over   run   ant   generated   

原文地址:https://www.cnblogs.com/alvinrolling/p/12520205.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!