-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgpio_dat_ls.sch
381 lines (381 loc) · 10 KB
/
gpio_dat_ls.sch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
v {xschem version=2.9.9 file_version=1.2
* Copyright 2023 David Mitchell Bailey
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
}
G {}
K {}
V {}
S {}
E {}
N 180 -100 180 -70 { lab=fbk}
N 230 -120 230 -70 { lab=fbk_n}
N 270 -110 270 -100 { lab=fbk}
N 140 -110 140 -100 { lab=fbk_n}
N 140 -120 230 -120 { lab=fbk_n}
N 180 -100 270 -100 { lab=fbk}
N 380 -110 580 -110 { lab=fbk}
N -20 240 170 240 { lab=#net1}
N 170 240 170 270 { lab=#net1}
N 210 240 340 240 { lab=#net2}
N 340 120 340 240 { lab=#net2}
N -20 120 -20 240 { lab=#net1}
N 230 -150 230 -120 { lab=fbk_n}
N 180 -150 180 -100 { lab=fbk}
N 270 -120 270 -110 { lab=fbk}
N 170 210 170 240 { lab=#net1}
N -110 240 -20 240 { lab=#net1}
N 60 -0 340 0 { lab=HLD_H_N}
N 20 -110 140 -110 { lab=fbk_n}
N -150 210 -150 270 { lab=IN}
N 270 -180 270 -150 { lab=VCC_IO}
N 270 -70 270 -40 { lab=VGND}
N 140 -70 140 -40 { lab=VGND}
N 140 -180 140 -150 { lab=VCC_IO}
N 580 -110 580 90 { lab=fbk}
N 580 -150 580 -110 { lab=fbk}
N 620 -120 620 -100 { lab=OUT_H}
N 620 -180 620 -150 { lab=VCC_IO}
N 620 -70 620 -40 { lab=VGND}
N -210 -120 -210 -100 { lab=OUT_H_N}
N -210 -70 -210 -40 { lab=VGND}
N -210 -180 -210 -150 { lab=VCC_IO}
N 380 -110 380 -30 { lab=fbk}
N 20 -110 20 -30 { lab=fbk_n}
N 140 -120 140 -110 { lab=fbk_n}
N -170 -150 -170 90 { lab=fbk_n}
N 270 -110 380 -110 { lab=fbk}
N -150 -110 20 -110 { lab=fbk_n}
N -170 -110 -150 -110 { lab=fbk_n}
N 580 120 580 150 { lab=VGND}
N -170 120 -170 150 { lab=VGND}
N 380 120 380 150 { lab=VGND}
N 20 120 20 150 { lab=VGND}
N 210 180 210 210 { lab=VPWR_KA}
N 210 270 210 300 { lab=VGND}
N -110 270 -110 300 { lab=VGND}
N -110 180 -110 210 { lab=VPWR_KA}
N 250 -0 250 20 { lab=HLD_H_N}
C {sky130_fd_pr/nfet_g5v0d10v5.sym} 250 -70 0 0 {name=M1
L=0.6
W=0.7
nf=1
mult=1
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=nfet_g5v0d10v5
spiceprefix=X
}
C {sky130_fd_pr/nfet_g5v0d10v5.sym} 160 -70 0 1 {name=M2
L=0.6
W=0.7
nf=1
mult=1
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=nfet_g5v0d10v5
spiceprefix=X
}
C {sky130_fd_pr/pfet_g5v0d10v5.sym} 250 -150 0 0 {name=M3
L=0.5
W=1
nf=1
mult=1
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=pfet_g5v0d10v5
spiceprefix=X
}
C {sky130_fd_pr/pfet_g5v0d10v5.sym} 160 -150 0 1 {name=M4
L=0.5
W=1
nf=1
mult=1
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=pfet_g5v0d10v5
spiceprefix=X
}
C {sky130_fd_pr/nfet_g5v0d10v5.sym} 360 0 0 0 {name=M5
L=0.5
W=5
nf=1
mult=1
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=nfet_g5v0d10v5
spiceprefix=X
}
C {sky130_fd_pr/nfet_05v0_nvt.sym} 360 60 0 0 {name=M6
L=0.9
W=1
nf=1
mult=8
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=nfet_05v0_nvt
spiceprefix=X
}
C {sky130_fd_pr/nfet_01v8_lvt.sym} 360 120 0 0 {name=M7
L=0.15
W=8
nf=1
mult=1
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=nfet_01v8_lvt
spiceprefix=X
}
C {sky130_fd_pr/nfet_g5v0d10v5.sym} 40 0 0 1 {name=M8
L=0.5
W=5
nf=1
mult=1
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=nfet_g5v0d10v5
spiceprefix=X
}
C {sky130_fd_pr/nfet_05v0_nvt.sym} 40 60 0 1 {name=M9
L=0.9
W=1
nf=1
mult=8
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=nfet_05v0_nvt
spiceprefix=X
}
C {sky130_fd_pr/nfet_01v8_lvt.sym} 0 120 0 0 {name=M10
L=0.15
W=8
nf=1
mult=1
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=nfet_01v8_lvt
spiceprefix=X
}
C {sky130_fd_pr/nfet_g5v0d10v5.sym} 560 120 0 0 {name=M11
L=0.6
W=3
nf=1
mult=1
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=nfet_g5v0d10v5
spiceprefix=X
}
C {sky130_fd_pr/nfet_01v8.sym} -130 270 0 0 {name=M12
L=0.25
W=1
nf=1
mult=2
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=nfet_01v8
spiceprefix=X
}
C {sky130_fd_pr/nfet_01v8.sym} 190 270 0 0 {name=M14
L=0.25
W=1
nf=1
mult=2
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=nfet_01v8
spiceprefix=X
}
C {sky130_fd_pr/nfet_g5v0d10v5.sym} -190 120 0 0 {name=M16
L=0.6
W=3
nf=1
mult=1
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=nfet_g5v0d10v5
spiceprefix=X
}
C {sky130_fd_pr/nfet_g5v0d10v5.sym} 600 -70 0 0 {name=M17
L=0.6
W=1
nf=1
mult=1
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=nfet_g5v0d10v5
spiceprefix=X
}
C {sky130_fd_pr/pfet_g5v0d10v5.sym} 600 -150 0 0 {name=M18
L=0.5
W=3
nf=1
mult=1
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=pfet_g5v0d10v5
spiceprefix=X
}
C {sky130_fd_pr/nfet_g5v0d10v5.sym} -190 -70 0 1 {name=M19
L=0.6
W=1
nf=1
mult=1
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=nfet_g5v0d10v5
spiceprefix=X
}
C {sky130_fd_pr/pfet_g5v0d10v5.sym} -190 -150 0 1 {name=M20
L=0.5
W=3
nf=1
mult=1
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=pfet_g5v0d10v5
spiceprefix=X
}
C {devices/ipin.sym} -150 240 0 0 {name=p1 lab=IN}
C {devices/ipin.sym} 250 20 0 0 {name=p2 lab=HLD_H_N}
C {devices/ipin.sym} 540 120 0 0 {name=p3 lab=SET_H}
C {devices/ipin.sym} -210 120 0 0 {name=p4 lab=RST_H}
C {common/gnd.sym} -210 -40 0 0 {name=l1 lab=VGND}
C {common/vdd.sym} -210 -180 0 0 {name=l2 lab=VCC_IO}
C {common/gnd.sym} -170 150 0 0 {name=l3 lab=VGND}
C {common/gnd.sym} -110 300 0 0 {name=l4 lab=VGND}
C {common/gnd.sym} 20 150 0 0 {name=l5 lab=VGND}
C {common/gnd.sym} 380 150 0 0 {name=l6 lab=VGND}
C {common/gnd.sym} 580 150 0 0 {name=l7 lab=VGND}
C {common/gnd.sym} 620 -40 0 0 {name=l8 lab=VGND}
C {common/gnd.sym} 270 -40 0 0 {name=l9 lab=VGND}
C {common/gnd.sym} 140 -40 0 0 {name=l10 lab=VGND}
C {common/vdd.sym} 140 -180 0 0 {name=l11 lab=VCC_IO}
C {common/vdd.sym} 270 -180 0 0 {name=l12 lab=VCC_IO}
C {common/vdd.sym} 620 -180 0 0 {name=l13 lab=VCC_IO}
C {common/vdd.sym} 210 180 0 0 {name=l14 lab=VPWR_KA}
C {common/vdd.sym} -110 180 0 0 {name=l15 lab=VPWR_KA}
C {common/gnd.sym} 380 60 0 0 {name=l16 lab=VGND}
C {common/gnd.sym} 380 0 0 0 {name=l17 lab=VGND}
C {common/gnd.sym} 20 60 0 1 {name=l18 lab=VGND}
C {common/gnd.sym} 20 0 0 1 {name=l19 lab=VGND}
C {common/vdd.sym} 60 60 0 0 {name=l20 lab=VPWR_KA}
C {common/vdd.sym} 340 60 0 1 {name=l21 lab=VPWR_KA}
C {devices/opin.sym} -210 -110 0 1 {name=p5 lab=OUT_H_N}
C {devices/opin.sym} 620 -110 0 0 {name=p6 lab=OUT_H}
C {devices/lab_wire.sym} 20 -110 0 0 {name=l23 sig_type=std_logic lab=fbk_n}
C {devices/lab_wire.sym} 380 -110 0 0 {name=l24 sig_type=std_logic lab=fbk}
C {common/gnd.sym} 210 300 0 0 {name=l25 lab=VGND}
C {devices/iopin.sym} -10 -270 0 0 {name=p7 lab=VCC_IO}
C {devices/iopin.sym} -10 -250 0 0 {name=p8 lab=VPWR_KA}
C {devices/iopin.sym} -10 -230 0 0 {name=p9 lab=VGND}
C {sky130_fd_pr/pfet_01v8_hvt.sym} -130 210 0 0 {name=M13
L=0.25
W=3
nf=1
mult=1
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=pfet_01v8_hvt
spiceprefix=X
}
C {sky130_fd_pr/pfet_01v8_hvt.sym} 190 210 0 0 {name=M15
L=0.25
W=3
nf=1
mult=1
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=pfet_01v8_hvt
spiceprefix=X
}