http://hi.baidu.com/tag/EDA%20Tools/feeds
Power Analysis
http://www.synopsys.com.cn/information/snug/2010/power-analysis-for-security-chip-in-cellphone-using-primetimepx
利用Synopsys PrimeTime PX工具对数字电路进行功耗分析
参考资料 Power Analysis for Security Chip In Cellphone Using PrimeTimePX
工具:Synopsys PrimeTime PX v2009.06
步骤:
1. 准备仿真波形文件(vcd格式)
可以利用debussy的fsdb2vcd命令将fsdb格式的波形文件转换成vcd文件,
$fsdb2vcd test_p2rsim.fsdb -o test.vcd -be 1ns -et 1ms
2. 运行PrimeTime
$pt_shell -f sta_apr.tcl |tee ptpx.log
$pt_shell source ptpx.tcl
说明:sta_apr.tcl为静态时序分析的脚本文件,ptpx.tcl为功耗分析的脚本文件。
Appendix
#ptpx.tcl
set power_enable_analysis true
set power_analysis_mode time_based
read_vcd test.vcd -strip_path tb_top/u_dut
set_power_analysis_options -waveform_interval 0.01 -waveform_format fsdb -waveform_output power_wave
update_power
report_power -verbose