Project

General

Profile

Power analysis » History » Version 4

jun chen, 03/27/2025 12:03 AM

1 1 jun chen
# Power analysis
2
3
## [[SDP power analysis]]
4
5
## [[Usage model]] {also debug, annotation, correlation methods)
6
7
## [[Debugging skill]]
8
9
## [[Power save restore cache]] 
10
11
## [[USDB support]]
12
13
## Pre-request
14
15
* Make sure you have already familiar with VP usage model:  [[New_hire_training(PV_PE_AE)]]
16
17
## Glitch and switching activity
18
19 3 jun chen
* Check power analysis on switching activity attachment:"EDA_PA_basic_III.pptx"
20 1 jun chen
21 3 jun chen
* Check glitch power optimization in detail attachment:"GlitchPower_Optimization.pptx"
22 1 jun chen
23
700 
24
## Simple QA
25
* Why internal power is negative (From D叩D叩D https://www.cnblogs.com/lelin/p/11412133.html  
26 2 jun chen
* TCl beginner's manual attachment:"Tcl_basic_command.pptx"
27
* "extract_toggle_activity -format saif -file file.saif" command for Pin setting logic (From D叩D叩 attachment:"extract_toggle_activity.docx"  "report_toggle_activity" random crash fix experience (From D叩D叩 attachment:"report_toggle_activity.docx"
28
* About VCD background attachment:"vcd.pptx"
29 1 jun chen
* debug utility with sanity check on TR, SWA, pow
30
31
```
32
// obsolete
33
set_app_var ta debug_power 2
34
// new usage
35
set_app_var pow debug 20
36
// will perform sanity check 
37
report_power_analysis 
38
// will show calculation procedure 
39
report_power_calculation
40
```
41
42
* Debug power issue from RS side: {DD RS DD RS RocSyn 相叩)
43
44
Step 0: follow this link to build local RS repository:
45 3 jun chen
http://10.30.200.21:8088/projects/hongtu-emir/wiki/TOP_NEWS_%E4%B8%B4%E6%97%B6%E7%BD%AE%E9%A1%B6
46
编田和叩行叩辑叩DDDRocSyn (选叩branch syn_dev): http://10.30.200.21:8088/projects/hongtu-logicsynth/wiki/Build_Run
47 2 jun chen
48 1 jun chen
Steo 1: setup golden RS and environment:
49
**NOTE: <u>after fix, copy fix to hongtu branch repository and submit</u> {RS will regularly move code from hongtu to syndev branch)**
50
如田碰叩license 问叩D叩D ~yzsun/.cshrc_user D叩D 
51
52 2 jun chen
```
53
// central RS build:
54 1 jun chen
/ci—builds/syn—opt—rhel6/latest/bin/rhel6-64/RS
55 2 jun chen
// Or, you can use alias from /rndl/llchen/newhire—training/envsetup/.cshrc—user
56
// and run below command to get local link to latest RS build
57 1 jun chen
getRS
58 2 jun chen
// Set necessary environment: setenv SYN—PV—PAT: /reg/db/rocsyn
59
// Most of the RS tickets in
60 1 jun chen
/rndl/issues/ticket—number
61 2 jun chen
```
62 1 jun chen
63
* SWA default valueD
64 2 jun chen
```
65 1 jun chen
defaultDsignal toggle rate D 0.1 clkDD 2
66
DDDDtoggle rateDDD set_app_var ta power_default_signal_toggle_rate 0.1 叩DDDDDD叩 
67
DDDDDDDDDDDDDDD叩D 
68
69 2 jun chen
set_switching_activity -clear
70
set_switching_activity -clock_net -number_of_toggles 2 -period_of_clock 2 
71
set_switching_activity -signal_net -number_of_tiggles 0.l5 -period_of_clock 2
72
```
73 1 jun chen
74
## Switching activity, glitch algorithm paper
75
76 2 jun chen
* attachment:"1991_Najm_Transition delay, a new measure of activity in digital circuits.pdf"
77
* attachment:"1994_Chou_Estimation of Circuit Activity Considering Signal Correlations and simultaneous Switching.pdf" 
78 3 jun chen
* attachment:"1994_Kappor_Improving the Accuracy of Circuit Activity Measurement.pdf"
79 2 jun chen
* attachment:"1997_Lim_a statistical approach.pdf"
80
* attachment:"1999_hashimoto_a practical gate resizing technique considering glitch reduction for low power design.pdf"  
81
* attachment:"2006_Lamoureux_Activity Estimation for Field-Programmable Gate Arrays.pdf"
82 1 jun chen
83 4 jun chen
## Liberty Power Calculation (Jeff)
84 2 jun chen
* attachment:"Giga-DA Liberty Power Calculation.pptx"
85 1 jun chen
* attachment:"Giga-DA NLPM Calculation.pptx"
86
87 2 jun chen
## [[High-level power estimation]]