Project

General

Profile

RC parasitic extraction and LPE » History » Version 6

jun chen, 03/29/2025 09:05 PM

1 1 jun chen
# RC parasitic extraction and LPE
2
3
## ESD
4
□5田0片0叩D叩陈叩□ 博叩~0
5
6 4 jun chen
ESD background introduction: attachment:"Giga_DA_ESD_Models_Devices_and_Analysis.pptx" 
7
8
ESD reference paper: attachment:"ming-douker1999.pdf" (From Dr. Shi)
9 1 jun chen
10 3 jun chen
ESD reference paper: attachment:"02_Simulating_Electrostatic_Discharge.pdf" (From Jeff)
11 1 jun chen
12
ESD online training: https://www.bilibili.com/video/BV1C34y1p7Jk?share_source=copy_web&vd_source=d04eb1abca6ba586bf0375f4ee96ad31 (From Dr. Chen)
13
14
## LVS
15
16
LVS introduction: http://10.30.200.21:8088/projects/hongtu-emir/wiki/LVS_introduction
17
18
## Resistance and capacitance
19
20 5 jun chen
Professional link (By Xu): http://10.30.200.21:8088/projects/understand-aguda/wiki/Understand_LPE 
21
22
Professional introduction (By Xu): http://10.30.200.21:8088/projects/understand-aguda/wiki/LPE_Basic
23 1 jun chen
24
## Cap and resistance introduction
25 6 jun chen
Background knowledge (where cap comes from):	attachment:"ECE4121Lec08Wire.pdf" , attachment:"CapacitanceDrivingaLoadannotated.pdf" 
26
27
IR analysis cap contributor: attachment:"about_cap_clean.pptx"
28
29 3 jun chen
Resistance usage model and background: attachment:"Resistance_analysis_and_report.pptx"
30 1 jun chen
31
### [[Chip_RC_Correlation]]
32
33
## Regression and QA method
34
35
Regression location: `ut/tests/ut/vp/ir/resistance`
36
Regression command 1: `qa_report_pg_resistance`
37
Regression command 2: `qa_report_detail_regression`
38
Regression command 3(obsolete): `qa_analyze_power_network res golden_res_file test_res_file`
39
40
## Effective resistance
41
New usage
42
```
43
analyze—pg—resistance -net VDD -effective  [-generate—supply—location (hidden option)]
44
髻 by default, 10 worst instance will be reported. if -number—of—worst set to 0 or negative, report
45
 all
46
report—pg—resistance -net VDD -effective [-number—of—worst 10] report—pg—resistance -net VDD cell—name -effective
47
髻 will dump all the result to file
48
report—pg—resistance -net VDD -effective -number—of—worst 0 -output—file xxx.rpt
49
髻 will show heat map in G·r without re-build graph show—effective—resistance—map 
50
髻 below error out since -detail only support in min-path mode report—pg—resistance -net VDD cell—name -detail
51
```
52
53
~~Old usage:~~
54
```
55
set—app—var ir calc—resist—mode Fl.AT
56
analy江e—power—network -net VDD -res—only [-generate—supply—location] 
57
report—power—network -net VDD -type res
58
```
59
60
## Min-path resistance
61
New usage
62
```
63
analy江e—pg—resistance -net VDD  [-generate—supply—location (hidden option)]
64
髻 by default, 10 worst instance will be reported. if -number—of—worst set to 0 or negative, report all
65
report—pg—resistance -net VDD [-number—of—worst 10] report—pg—resistance someCell -high—light -detail -net VDD
66
67
髻 will dump all the result to file
68
report—pg—resistance -net VDD -number—of—worst 0 -output—file xxx.rpt
69
髻 will show up heat map in G·r, power min-path, ground min-path, total min-path will display
70
髻 if a cell is not connected to power/ground, the color annotation will be skiped. rn the total re sistance calculation, the un-connected net res is regarded as 江ero.
71
show—min—path—resistance—map 
72
```
73
74
~~Old usage:~~
75
```
76
set—app—var ir calc—resist—mode S:ORTPAT:
77
analy江e—power—network -net VDD -res—only [-generate—supply—location] report—power—network -net VDD -type res -inst xxx -high—light report—power—network -net VDD -type res -path—number 4
78
```
79
80
## Debug pg resistance
81
82
See Generic testing SoP:
83
http://10.30.200.21:8088/projects/hongtu-emir/wiki/Generic_Testing_SoP#section-10
84
85
## Open-short and missing via check
86
```
87
verify—power—network 
88
check—pg—vias
89
```
90
1. :VP O 叩 check—pg—vias D叩D叩D叩D叩D叩D叩missing viaD
91
	get—ob“—attr [get—violations -checker pgroute] bbox
92
2. :VP O 叩 verify—power—network D叩D叩D叩D叩D叩D 叩 open/short/floating (open D叩D )D
93
	get—ob“—attr [get—violations -checker layout—verifier -filter—by {rule == open}] bbox
94
95
## Regression location
96
ut/tests/ut/vp/ut_run/ir/resistance/xxx
97
98
## VIA resistance (TBD.)
99
analy江e—via—resistance
100
101
## compare resistance by layer
102
DDDDD D  min-path D叩D叩D叩D叩叩叩D叩度叩0叩D叩D叩D叩D叩D叩叩叩总叩叩叩叩叩映叩D叩导叩ir叩叩叩em叩叩叩 
103
	D 叩D叩D叩DD叩D叩叩叩叩res改叩就叩须叩D static irDDDDDD叩DDDDDD叩DD希叩□ :VP D Ref tool D detail res 门叩叩叩叩叩D叩D叩 
104
105
DDD□ :VP D Ref tool D min res detail path门叩叩叩叩叩D叩叩并叩D叩叩叩叩叩 
106
107
D叩D 
108
compare—detail—path—resistance -input—file minPath.rk [-output—file compare.result] [-plot—scatter
109
]
110
111
□叩flowD
112
...
113
set—app—var ir save—graph true analy江e—pg—resistance
114
compare—detail—path—resistance -input—file minPath.rk -output—file compare.result
115
DDDinput_fileDredhawkOmin resistance detail path report, D叩DD叩
116
117
![](clipboard-202503291818-h0thk.png)
118
119
output_fileDDDDDDODDDDDD叩DD叩
120
![](clipboard-202503291818-ouxcn.png)
121
122
DDDD-plot_scatterDDDDDDDDD田叩
123
![](clipboard-202503291818-dsdqi.png)
124
125
## RC extraction
126
127
500 
128
[[LPE_Lecture_and_Reference]]
129
130
### About rlc model
131 3 jun chen
attachment:"RCGEN_USAGE.pdf" (from XuLuo 20230905)
132 1 jun chen
133
#### Base method (Obsolete)
134
135
DDDD layer D DD叩叩DDDDDDD叩叩叩DD 叩 (DD D rlc DODD )
136
1.D叩 1叩set—linear—unit—rlc (DD叩叩叩叩叩叩D导叩叩叩DD候 叩 unitR / width * length
137
	D DDDDD叩DDDDDDDDD叩D叩叩叩叩DDD叩DDDDDDDDDDD 
138
2.D叩 2叩 set—resistance—table (DODDD伲插叩叩 叩 叩D导叩叩叩DD候 叩 lpm->CalcMetalR叩叩DD导叩叩叩 
139
	D DD叩DD叩叩DD叩D叩D叩DDD 
140
D叩 1DDD叩D叩DD signoff emirDD叩DDD叩D叩 2DD叩 
141
142
#### Advanced method: (New engine from Xu, after 20220310)
143
144
See: http://10.30.200.21:8088/issues/7418
145
first phase changes:
146
1.ir rc_multi_threads 1: valid in "ir rc_mode 2", changed to on by default
147
2.ir rc_keep_pg_only 0: valid in "ir rc_mode 2", new, off (high accuracy) by default, will be on (medium accuracy, aligned with RH, equivalent to internal param "ir rc_ignore_mode 0x248") controled by other new coming ir params (like "ir accuracy_level high", will be followed up by Jun)
148
3.ir rc_mode 0/1/2: 0 existing auto-mode, will be retired, 1 forcedly unitR/C, 2 exact RC extraction like signal (will be on by default for signoff VP, followed up by Jun), no further change for now.
149
150
todo list:
151
1.px dont_extract_cap 1: on by default for static IR-drop analysis if "ir rc_mode 2" is set
152
2.new ir param (e.g., accuracy_level medium [ I low I high]), to be discussed with Jun to turn on below params: 
153
154
low:
155
ir rc_mode 1 
156
157
medium:
158
ir rc_mode 2
159
ir rc_keep_pg_only 1 
160
161
high:
162
ir rc_mode 2
163
ir rc_keep_pg_only 0
164
3.change default value for below two params:
165
3.1param "ir rc_keep_pg_only_tv 1" : change default from 0 to 1 for thickness variation.
166
3.2param "ir rc_keep_pg_only_cap 1": change default from 0 to 1 for cap weighting factor.
167 2 jun chen
168
## Advanced method: (Default method in EMIR Obsoleted after 20220310)
169
170
D叩 signal RC 引叩D叩PG RC:
171
set—app—var ir rc—mode 2
172
to enable MT run (temp param, default off for now, could be on by default if stable): set—app—var ir rc—multi—thread 1
173
174
D叩rlcDDD叩PG RC:
175
176
调叩resistance D capacitance ODD叩列DD叩 D田RC□DDDD 
177
1. DDDDDDDDDDDDDDDDDOresDcapDO叩
178
set—app—var ir rc—mode 1
179
髻 for debug for debug purpose set—app—var ir debug—rc 1 
180
181
2. DDDDDDDDD DDODDDDDDDODDDDDDDDDDDDDDDDDDDDDDDDDrlcDDDOetchingDD 
182
髻 default minimal spacing 3.5 set—app—var ir r—spacing—factor 1.5 set—app—var ir c—spacing—factor  1.5
183
184
3. DD02DDworkD叩叩DDparamD
185
50micron X 50micron DDDtableDDDDDDwindowDODDDDDDDDD 
186
set—app—var ir r—density 1.5 set—app—var ir c—density 1.5
187
188
4. DDD叩甩叩 R C spacing factor: ooD加O app_var 有叩高叩先叩 
189
set—pg—rc—config 
190
191
5. verify resistance value by
192
report—pg—rc -layer M1 -area {llx lly urx ury}
193
report pg rc for "ir mode 2" using sigal like RC extraction model report—pg—rc -bbox {llx lly urx ury} -net VDD -layer M1
194
195
Example: if a wire start from 2327.765 to 2330.39, width is 0.15 micron. Run below command to check rc engine
196
set—app—var rc—mode 2
197
report—pg—rc -bbox {232l.l65	3354.l8-0.0l5  2330.39	3354.l8+0.0l5 } -net DVDD
198
199
6. test case and data
200
201
### about spef
202
203
判叩 spef DDDD叩 lpe::HasFileRC
204
205
6. import rlc model by (From Xu Luo):
206
207
after source .rlc file, you shall set the command "set—parasitic—condition cmax" for  l.PF module to use this cmax model.
208
besides, you may report pg rc by setting -length/-width, 
209
210
e.g., "report—pg—rc -layer M1 -length 10 -width 1" instead of "report—pg—rc -layer M1",  
211
212
as empty -length/-width is equivalent as 江ero length/width for the command.
213
214
## RC for DMP
215
216
DDDD田DDDDDcacheDDDDDDDD 
217
218
"analy江e—pg—resistance -net VDD" 
219
"cache—pg—resistance db -net VDD -graph—name "vdd.pgraph1" "  //当DD叩□ cache叩二叩制DO叩 
220
221
masterD叩DD田DDDDDload DDDOpgraph DDDDDDDDDpgraphDD行DDDOD
222
223
"restore—pg—graph db -net VDD -graph—name "vdd.pgraph1 vdd.pgraph2 .... " " //当DD叩□ cache叩二叩制DO叩 
224
225
## sanity resistance check
226
227
D田田D轻叩DrlcDD叩测Dhvp  compose_top_design DDsource D rlcDDD就田田D始D行叩测DD叩根叩叩Dref toolOmin pathDD成叩样D叩叩工叩叩
228
229
"sanity—check—resistance -detail—path—file reftool—min—path.rpt -path—limit 10 -layer—sample—limi t 10 -error—tolerance—threshold 0.2 -output—report out.rpt" 
230
-detail—path—file
231
232
:DD ref tool □□D min path report叩DDD叩DDD O D叩旧伲D layer 叩 叩 space 叩width 叩 density叩 golden res叩DD hvpDD叩h vp叩D引伲叩DDD hvpD res叩 DD D golden res D diff叩
233
-path—limit: D ref toolDD旧伲D少叩min path叩default D 10
234
-layer—sample—limit : D ref toolDD layerD旧伲DDDD叩default D 10
235
-error—tolerance—threshould : D D  hvp res D  golden resD diff tolerance叩叩叩范叩 
236
-output—report: DD输叩DO 
237
238
DB00DD经叩□叩
239
DD叩DDDDBODDDDDODD□叩叩
240
241
ref tool run RC check
242
DDDrun ref toolOresistance analysis□□D田田田D□D田DinstanceOeff/min resistanceD叩田田田D得DDDinstanceOeff/minODDD  
243
```
244
"perform res—calc -thread 8 -loopmode -instFile  fileName -o ./adsRpt/effective—res.rpt"
245
	// DDD fileNameDDD叩DDDD instance name(DD叩DD instance name)
246
叩D叩DD□DD instD eff resDDDDDDO叩effective—res.rpt叩
247
"perform min—res—path -instFile instFileName -simplified—report -o ./adsRpt/min—path—res.rpt "
248
   //DDD instFileNameDDD叩DDDD instance name(DD叩DD instance name)
249
叩D叩DD□DD instD min path DDDDDDO叩min—path—res.rpt叩叩 
250
```
251
252
Dwukong runDDDcase
253
DD designDDD 
254
255
/reg/wukong/wukong u七 -b {binary} -d {case pa七h} -q {queue} -k  DODD
256
	1.DDinpu七DDDDDDgoldenDDD
257
	2.DDDDDD七es七.七cl
258
259
[[Chip_RC_Correlation]]
260
261
切□designODD 
262
263
```
264
partition—top—design -colu 3 -row 3 -verbose
265
	//DDD叩D□ top  designOO 3x3DD叩00D□叩叩DD 叩  .hvp—partition—data  DO0叩D  partition—top—design -region {left—bottom—x left—bottom—y right—top—x right—top—y}
266
	partition—top—design -region {0 20.0 100.0 200.0}
267
```
268
269
[[Probe_Node]]
270
271
叩叩叩叩DDDDDDD Probe NodeDD叩叩叩叩 
272
1. DDDD probe node
273
add—pg—probe—node -net VDD -layer "metal1" -name test—node -location {100 200} 
274
analy江e—pg—resistance -net VDD -virtual—mode
275
276
2. 叩DOD叩DDDD probe nodes
277
add—pg—probe—node -probe—file probe—file.csv 
278
analy江e—pg—resistance -net VDD -virtual—mode DODDD叩D 
279
髻net—name metal—name x   y  current
280
281
|||||
282
|--|--|--|--|
283
|VDD|metal1|100|200|0.1|
284
|VDD|metal1|300|400|0.01|
285
286
叩static ir叩DDDDDDD Probe NodeDD叩叩叩叩 
287
288
3. DDDD probe node
289
add—pg—probe—node -net VDD -layer "metal1" -name test—node -location {100 200} 
290
analy江e—static—ir—drop -virtual—mode
291
292
4. 叩DOD叩DDDD probe nodes
293
add—pg—probe—node -probe—file probe—file.csv analy江e—static—ir—drop -virtual—mode
294
295
DODDD叩D 
296
髻net—name metal—name x		y	current VDD	metal1	100	200 0.1
297
VDD	metal1	300	400  0.01
298
...
299
300
## Debug resistance SOP:
301
302
### debug min path resistance:
303
304
### debug eff resistance:
305
eff叩叩叩0DD SOP叩叩版叩 
306
```
307
	1.□叩by-layer res scatter DD叩D叩叩DD叩D叩DDDDDDDDD叩D metalD叩 
308
	compare—detail—path—resistance  -input—file  rh—golden—detail—paht.rpt
309
	2.D叩D叩DD metal DDD伲metalD diffDDD instance叩
310
	3.叩hvpD rh叩别门叩伲instanceDDD伲叩叩叩D path叩(rhD叩直伲grep report file)
311
□DD golden rhD伲叩D0叩hvpDDDD叩D叩debug—pg—resistance
312
	4.2 D0D叩0叩叩00 
313
□DDD叩metalD叩叩DD叩叩邻DDDD叩叩0叩D0D叩叩0叩D叩report—pg—rc   门D叩rh伲叩DD叩叩叩hvpDD叩DDD叩 
314
```
315
316
### debug resistance report:
317
1. set—app—var node—reduction—effort -1  //D叩node reduction防叩干叩叩叩 
318
319
## DBDDDD :
320
321
3. set_site:
322
 叩tech fileD叩DD叩set—siteDDDD MACRO,叩O D heightDDDDD default cell height
323
324
3. DDDOregression:
325
  vp—regression -d -r {ut—run/}case伲 叩	//唯D叩 叩	ut—run伲叩D需叩 
326
 叩wukongDDO case
327
	/reg/wukong/wukong ut -b {binary} -d {case path} -q {queue} -k 
328
3.ODprofile0叩:
329
<pre>
330
	vi Makefile.hvp
331
	FXPORTFD—DFFrNFS:=-D—B·rl.D—VP=1 -D—FMrR—PROFrl.F=1
332
	叩叩DO叩ODODD  PROFrl.FR()
333
</pre>
334
335
4. compose_top_designDD 
336
```
337
	D   D叩D   emirTcl·tilityFlow.tcl
338
	assemble—physical—top—design
339
```
340
341
5. 产加rlcDDDD 
342
343
!58F3D26l-84F2-4l40-ABlF-A8F2F8B3FB49!
344
本叩□□明D rlcDO 
345
	RCGFN -no—auto—enc□叩明D rlc DDDD叩D叩D叩D叩□□ viaD rlc
346
	lp—test dump—rlc—via -rlc—model <model—name> -layer <vial.ayerName>
347
	*list—rlc—model*  显伲hvp rlc信叩 
348
6. 产加OT techDDDD 
349
350
D itf□□ techDO 
351
	rhtech -i itf.name D ircx□□ techDO 
352
	ircx2tech -i ircx.name
353
354
7.  OTAKU local run DD□D 
355
叩田地叩:       /home/ljxie/emir_tools/check_sum.csh
356
1.且DD己Orun dataDD(
357
![](clipboard-202503292057-lwibi.png)
358
)
359
2.0 行叩田
360
![](clipboard-202503292058-3s5ei.png)
361
3. 叩Dhtml main branchDDD localODDD叩叩田叩叩加DDDDD叩加DD再叩DDD田
362
![](clipboard-202503292058-cpoux.png)
363
![](clipboard-202503292058-zwrzb.png)
364
365
出叩graph edgeDDDDD SOP:
366
1.check input D入D田叩DDDD 
367
2.田D版田田叩DDDD 
368
3.node reduction -1;
369
4.debug_pg_resistance -location {x1 y1}; // report 田Dnode DDOpgraphD田0叩D 5.set_power_network_mode -area {x1 y1 x2 y2} //甩叩田D叩D□D区叩