Usage model » History » Version 1
jun chen, 03/27/2025 12:11 AM
1 | 1 | jun chen | # Usage model |
---|---|---|---|
2 | |||
3 | |||
4 | ## State dependent power analysis mode |
||
5 | ### MCMM power analysis usage model |
||
6 | Please check regression case "qa_report_power_analysis_mcmm1" |
||
7 | |||
8 | Method 1: |
||
9 | ``` |
||
10 | current—mcmm {func—ss—rcmax scan—ff—rcmin} |
||
11 | compute—timing |
||
12 | report—power—analysis -working—scenario func—ss—rcmax |
||
13 | report—power—analysis -working—scenario scan—ff—rcmin |
||
14 | ``` |
||
15 | |||
16 | Method 2: |
||
17 | |||
18 | ``` |
||
19 | current—mcmm {func—ss—rcmax scan—ff—rcmin} |
||
20 | compute—timing |
||
21 | set—working—scenario func—ss—rcmax |
||
22 | report—power—analysis |
||
23 | set—working—scenario sccan—ff—rcmin |
||
24 | report—power—analysis |
||
25 | ``` |
||
26 | |||
27 | ## Vector based power analysis: |
||
28 | |||
29 | Below will align with reference behavior: |
||
30 | |||
31 | ``` |
||
32 | 髻 align all the vcd time to 江ero set—app—var pow vcd—align true |
||
33 | 髻 other option: |
||
34 | align—vcd test.vcd -start—time 123 |
||
35 | 髻 select power window |
||
36 | report—window—power -window—si江e xxx -step—si江e xxx -module—map—file xxx |
||
37 | report—window—power -window—si江e xxx -step—si江e xxx -single—vcd—file xxx |
||
38 | ``` |
||
39 | |||
40 | ## Power annotation flow: (Under development) ref ticket #7955 |
||
41 | |||
42 | ``` |
||
43 | 髻 convert ref power file to VP readable command |
||
44 | convert—emir—power xxx xxx.tcl |
||
45 | 髻 in the xxx.tcl we have a set of command which has: |
||
46 | set—emir—power cellName -frequency freq -toggle—rate tr -leakage—power lp -switching—power sp -int ernal—power ip |
||
47 | 髻 later we will use the command to derive IR ... |
||
48 | ``` |
||
49 | |||
50 | ## To change cap mode mode: |
||
51 | |||
52 | ``` |
||
53 | 髻 default is cap range, which is to correlate PXXX |
||
54 | set—app—var cap—usage rangelrise—fallldefault |
||
55 | ``` |
||
56 | |||
57 | ## Power param |
||
58 | |||
59 | 1. effsw_use_initial default: false |
||
60 | `false: use condition number calc effse ` |
||
61 | `true: use initial way calc effsw` |
||
62 | |||
63 | 2. power_mode default: 0 |
||
64 | `0: sdp mode` |
||
65 | `1: avg_fast mode` |
||
66 | |||
67 | 3. trans_use_max default: false |
||
68 | `false:rise and fall internalpower use themself max trans to lookup` |
||
69 | `true: rise and fall internalpower use max trans to lookup` |
||
70 | |||
71 | 4. result_calc_way default: 0 |
||
72 | `0: worst val * arcNum` |
||
73 | `1: worst(relatedPinA)*arcNum(relatedPinA) + worst(relatedPinB)*arcNum(relatedPinB) ... worst(relatedPinN)*arcNum(relatedPinN)` |
||
74 | |||
75 | [[About glitch ans switching activity propagation]] |