1.Lib文件中的internal power到底是指短路功耗還是短路功耗+開關功耗?
個人理解:工具報出的power包含三部分:internal power,switch power,leakage power。
internal power是指cell本身的功耗,其包含短路功耗和翻轉功耗;
switch power是指wire上的翻轉功耗。
樓主,這個問題好像是兩種都有的,就是有的lib里面的internal只包含短路電流功耗,有的lib里面包含了短路電流功耗和cell的翻轉功耗。
ptpx中有這樣一個命令 power_table_include_switching_power 默認情況是true就是說包含了cell內部的翻轉功耗。詳細可見ptpx ug 區別的方法文中如是說:
“The best way of finding out the formula used in the characterization is to consult the library
vendor. A workaround is to inspect the falling power tables. If most of them have negative
numbers, it is likely that formulas 1 and 2 are used in characterization.”
如下圖為PTPX報出的log:
2.internal power 在lib中記錄的是energy (焦耳) 還是power (瓦特) ?
“Internal power in the Liberty (.lib) format refers to the amount of energy consumed by a cell during a switching event,” 來自SILICONSMART的UG,
The unit for switching power and internal power is a derived unit. It is derived from the following function:
(capacitive_load_unit voltage_unit^2) ⁄ time_unit
來自Library Compiler Modeling Timing, Signal Integrity, and Power in Technology Libraries User Guide
換算到標准量綱是mJ
據說,通常internal_power的單位是pJ,如果是其他的量綱,需要標明。