Project

General

Profile

RC parasitic extraction and LPE » History » Version 5

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