-
Notifications
You must be signed in to change notification settings - Fork 2
/
N64_USB_FTW.dsn
466 lines (466 loc) · 16.5 KB
/
N64_USB_FTW.dsn
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
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
(pcb /home/delfi/N64_USB_Controller/Kicad_N64/N64_USB_FTW.dsn
(parser
(string_quote ")
(space_in_quoted_tokens on)
(host_cad "KiCad's Pcbnew")
(host_version "(2012-02-16 BZR 3416)-testing")
)
(resolution mil 10)
(unit mil)
(structure
(layer Front
(type signal)
(property
(index 0)
)
)
(layer Back
(type signal)
(property
(index 1)
)
)
(boundary
(path pcb 0 2913.4 -3976.4 2913.4 -5944.9 4881.9 -5944.9 4881.9 -3976.4
2913.4 -3976.4)
)
(plane GND (polygon Back 0 2925.2 -5941 4889.8 -5940.9 4885.8 -3972.5 2925.2 -3972.6
2923.2 -5374 3563 -5374 3563 -5925.2 2925.2 -5925.2))
(plane GND (polygon Front 0 4889.8 -5941 4885.8 -3972.5 2925.2 -3972.5 2925.2 -5374
3563 -5374 3563 -5925.2 2925.2 -5925.2 2925.2 -5941))
(via "Via[0-1]_35:25_mil" "Via[0-1]_35:0_mil" "Via[0-1]_31.5:11.8_mil")
(rule
(width 10)
(clearance 10.1)
(clearance 10.1 (type default_smd))
(clearance 2.5 (type smd_smd))
)
)
(placement
(component TQFP32
(place IC1 3878 -4940.9 front 180 (PN "ATMEGA8-AI"))
)
(component SOT23
(place D1 3376 -5216.5 front 90 (PN 3.6v))
(place D2 3582.7 -5216.5 front 90 (PN 3.6v))
)
(component SOT223
(place U1 3484.3 -4212.6 front 0 (PN LM317))
)
(component SM0805
(place C4 3366.1 -4586.6 front 180 (PN 1uf))
(place R1 3563 -4822.8 front 90 (PN 1.5k))
(place R3 3937 -5275.6 front 90 (PN 68))
(place R2 4035.4 -5275.6 front 90 (PN 68))
(place C14a1 4212.5 -5019.7 front 270 (PN 10uf))
(place R4 3818.9 -5275.6 front 270 (PN 1k))
(place C3 4496 -4456.7 front 0 (PN 27pf))
(place C2 4204.7 -4456.7 front 180 (PN 27pf))
(place R8 3641.7 -4645.7 front 180 (PN Adj))
(place R7 3720.5 -4507.9 front 270 (PN 240))
(place C5 3504 -4507.9 front 270 (PN 22uf))
(place C14 4311 -5019.7 front 270 (PN 100n))
(place C16 4212.5 -4862.2 front 270 (PN 100n))
(place R5 3563 -4980.3 front 270 (PN 10k))
(place C1 3366.1 -4468.5 front 180 (PN 100n))
(place C6 3602.4 -4507.9 front 270 (PN 100n))
)
(component "SIL-4"
(place GC1 4744.1 -5098.4 front 270 (PN CONN_7))
)
(component "SIL-3"
(place N64 4744.1 -4645.7 front 270 (PN CONN_3))
)
(component "SIL-2"
(place JP1 3878 -4350.4 front 0 (PN JUMPER))
(place JP2 3874.1 -4114.2 front 0 (PN JUMPER))
)
(component Q_49U3HMS
(place X1 4350.3 -4630.1 front 180 (PN 12mhz))
)
(component pin_array_3x2
(place P1 4704.7 -5649.6 front 270 (PN CONN_3X2))
)
(component "con-usb-USB-MB-S"
(place X2 3149.6 -4940.9 front 0 (PN "USB-MB-S"))
)
(component PIN_ARRAY_5x2
(place P2 4242.1 -5629.9 front 90 (PN CONN_5X2))
)
)
(library
(image TQFP32
(outline (path signal 6 198 -109 153 -109))
(outline (path signal 6 198 109 154 109))
(outline (path signal 6 198 -109 198 109))
(outline (path signal 6 110 -156 110 -199))
(outline (path signal 6 -111 -157 -111 -199))
(outline (path signal 6 -112 -199 110 -200))
(outline (path signal 6 -110 198 107 199))
(outline (path signal 6 -153 129 -153 -154))
(outline (path signal 6 108 198 108 157))
(outline (path signal 6 -128 153 150 153))
(outline (path signal 6 152 -155 152 149))
(outline (path signal 6 -153 -155 147 -155))
(outline (path signal 6 -198 112 -198 -110))
(outline (path signal 6 -198 -110 -153 -110))
(outline (path signal 6 -152.6 130 -129.6 153))
(outline (path signal 6 -197.8 112 -152.6 112))
(outline (path signal 6 -110 153 -110 198.2))
(outline (path signal 6 -93 112.6 -93.9 106.8 -96.6 101.6 -100.8 97.4 -106 94.7
-111.8 93.8 -117.6 94.7 -122.8 97.4 -127 101.6 -129.7 106.8
-130.6 112.6 -129.7 118.4 -127 123.6 -122.8 127.8 -117.6 130.5
-111.8 131.4 -106 130.5 -100.8 127.8 -96.6 123.6 -93.9 118.4))
(pin Rect[T]Pad_78.7x17.7_mil 8 -189.6 -109.3)
(pin Rect[T]Pad_78.7x17.7_mil 7 -189.6 -77.8)
(pin Rect[T]Pad_78.7x17.7_mil 6 -189.6 -46.3)
(pin Rect[T]Pad_78.7x17.7_mil 5 -189.6 -14.8)
(pin Rect[T]Pad_78.7x17.7_mil 4 -189.6 16.7)
(pin Rect[T]Pad_78.7x17.7_mil 3 -189.6 48.2)
(pin Rect[T]Pad_78.7x17.7_mil 2 -189.6 79.7)
(pin Rect[T]Pad_78.7x17.7_mil 1 -189.6 111.2)
(pin Rect[T]Pad_78.7x17.7_mil 24 187 111)
(pin Rect[T]Pad_78.7x17.7_mil 17 187 -110)
(pin Rect[T]Pad_78.7x17.7_mil 18 187 -78)
(pin Rect[T]Pad_78.7x17.7_mil 19 187 -46)
(pin Rect[T]Pad_78.7x17.7_mil 20 187 -15)
(pin Rect[T]Pad_78.7x17.7_mil 21 187 17)
(pin Rect[T]Pad_78.7x17.7_mil 22 187 48)
(pin Rect[T]Pad_78.7x17.7_mil 23 187 80)
(pin Rect[T]Pad_17.7x78.7_mil 32 -111.2 190)
(pin Rect[T]Pad_17.7x78.7_mil 31 -79.8 190)
(pin Rect[T]Pad_17.7x78.7_mil 30 -48.2 190)
(pin Rect[T]Pad_17.7x78.7_mil 29 -16.8 190)
(pin Rect[T]Pad_17.7x78.7_mil 28 14.8 190)
(pin Rect[T]Pad_17.7x78.7_mil 27 46.2 190)
(pin Rect[T]Pad_17.7x78.7_mil 26 77.8 190)
(pin Rect[T]Pad_17.7x78.7_mil 25 109.2 190)
(pin Rect[T]Pad_17.7x78.7_mil 9 -111 -188)
(pin Rect[T]Pad_17.7x78.7_mil 10 -80 -188)
(pin Rect[T]Pad_17.7x78.7_mil 11 -48 -188)
(pin Rect[T]Pad_17.7x78.7_mil 12 -17 -188)
(pin Rect[T]Pad_17.7x78.7_mil 13 14 -188)
(pin Rect[T]Pad_17.7x78.7_mil 14 46 -188)
(pin Rect[T]Pad_17.7x78.7_mil 15 78 -188)
(pin Rect[T]Pad_17.7x78.7_mil 16 110 -188)
)
(image SOT23
(outline (path signal 5 -20 -30 -50 -10))
(outline (path signal 5 50 -30 -52.5 -30))
(outline (path signal 5 -52.5 -30 -52.5 30))
(outline (path signal 5 -52.5 30 50 30))
(outline (path signal 5 50 30 50 -30))
(pin Rect[T]Pad_27.6x39.4_mil 3 0 50)
(pin Rect[T]Pad_27.6x39.4_mil 2 37.5 -50)
(pin Rect[T]Pad_27.6x39.4_mil 1 -37.5 -50)
)
(image SOT223
(outline (path signal 8 -140 -60 -140 -180))
(outline (path signal 8 -140 -180 140 -180))
(outline (path signal 8 140 -180 140 -60))
(outline (path signal 8 -140 60 -140 90))
(outline (path signal 8 -140 90 -80 180))
(outline (path signal 8 -80 180 80 180))
(outline (path signal 8 80 180 140 90))
(outline (path signal 8 140 90 140 60))
(pin Rect[T]Pad_144x80_mil 4 0 130)
(pin Rect[T]Pad_40x80_mil 2 0 -130)
(pin Rect[T]Pad_40x80_mil 3 90 -130)
(pin Rect[T]Pad_40x80_mil 1 -90 -130)
)
(image SM0805
(outline (path signal 5 -60 -30 -60.3 -31.5 -61 -32.9 -62.1 -34 -63.5 -34.7
-65 -35 -66.5 -34.7 -67.9 -34 -69 -32.9 -69.7 -31.5 -70 -30
-69.7 -28.5 -69 -27.1 -67.9 -26 -66.5 -25.3 -65 -25 -63.5 -25.3
-62.1 -26 -61 -27.1 -60.3 -28.5))
(outline (path signal 5 -20 -30 -60 -30))
(outline (path signal 5 -60 -30 -60 30))
(outline (path signal 5 -60 30 -20 30))
(outline (path signal 5 20 30 60 30))
(outline (path signal 5 60 30 60 -30))
(outline (path signal 5 60 -30 20 -30))
(pin Rect[T]Pad_35x55_mil 1 -37.5 0)
(pin Rect[T]Pad_35x55_mil 2 37.5 0)
)
(image "SIL-4"
(outline (path signal 12 -200 50 -200 50))
(outline (path signal 12 -200 -50 -200 50))
(outline (path signal 12 -200 50 -200 50))
(outline (path signal 12 -200 50 200 50))
(outline (path signal 12 200 50 200 -50))
(outline (path signal 12 200 -50 -200 -50))
(outline (path signal 12 -100 -50 -100 50))
(pin Rect[A]Pad_55x55_mil 1 -150 0)
(pin Round[A]Pad_55_mil 2 -50 0)
(pin Round[A]Pad_55_mil 3 50 0)
(pin Round[A]Pad_55_mil 4 150 0)
)
(image "SIL-3"
(outline (path signal 12 -150 -50 -150 50))
(outline (path signal 12 -150 50 150 50))
(outline (path signal 12 150 50 150 -50))
(outline (path signal 12 150 -50 -150 -50))
(outline (path signal 12 -50 50 -50 -50))
(pin Rect[A]Pad_55x55_mil 1 -100 0)
(pin Round[A]Pad_55_mil 2 0 0)
(pin Round[A]Pad_55_mil 3 100 0)
)
(image "SIL-2"
(outline (path signal 12 -100 -50 -100 50))
(outline (path signal 12 -100 50 100 50))
(outline (path signal 12 100 50 100 -50))
(outline (path signal 12 100 -50 -100 -50))
(pin Rect[A]Pad_55x55_mil 1 -50 0)
(pin Round[A]Pad_55_mil 2 50 0)
)
(image Q_49U3HMS
(outline (path signal 8 -195 65 -195 50))
(outline (path signal 8 -195 -65 -195 -50))
(outline (path signal 8 195 -65 195 -50))
(outline (path signal 8 195 65 195 50))
(outline (path signal 8 225 100 225 50))
(outline (path signal 8 225 -100 225 -50))
(outline (path signal 8 -225 -100 -225 -50))
(outline (path signal 8 -225 100 -225 50))
(outline (path signal 8 -195 -65 -170 -90))
(outline (path signal 8 -170 -90 170 -90))
(outline (path signal 8 170 -90 195 -65))
(outline (path signal 8 195 65 170 90))
(outline (path signal 8 170 90 -170 90))
(outline (path signal 8 -170 90 -195 65))
(outline (path signal 8 225 -100 -225 -100))
(outline (path signal 8 -225 100 225 100))
(pin Rect[T]Pad_216.5x78.7_mil 1 -185 0)
(pin Rect[T]Pad_216.5x78.7_mil 2 185 0)
)
(image pin_array_3x2
(outline (path signal 8 150 -100 -150 -100))
(outline (path signal 8 -150 100 150 100))
(outline (path signal 8 150 100 150 -100))
(outline (path signal 8 -150 -100 -150 100))
(pin Rect[A]Pad_60x60_mil 1 -100 -50)
(pin Round[A]Pad_60_mil 2 -100 50)
(pin Round[A]Pad_60_mil 3 0 -50)
(pin Round[A]Pad_60_mil 4 0 50)
(pin Round[A]Pad_60_mil 5 100 -50)
(pin Round[A]Pad_60_mil 6 100 50)
)
(image "con-usb-USB-MB-S"
(outline (path signal 5 -234.2 151.5 -234.2 -151.5))
(outline (path signal 5 -234.2 151.5 129.9 151.5))
(outline (path signal 5 129.9 151.5 129.9 -151.5))
(outline (path signal 5 129.9 -151.5 -234.2 -151.5))
(outline (path signal 5 -181.6 50 -56.6 25))
(outline (path signal 5 -56.6 25 -56.6 -25))
(outline (path signal 5 -56.6 -25 -181.6 -50))
(outline (path signal 5 -81.6 -125 -181.6 -112.5))
(outline (path signal 5 -181.6 -112.5 -181.6 -87.5))
(outline (path signal 5 -181.6 -87.5 -81.6 -75))
(outline (path signal 5 -81.6 125 -181.6 112.5))
(outline (path signal 5 -181.6 112.5 -181.6 87.5))
(outline (path signal 5 -181.6 87.5 -81.6 75))
(pin Rect[T]Pad_98.4x19.6_mil D+ 98.4 0)
(pin Rect[T]Pad_98.4x19.6_mil "D-" 98.4 31.4)
(pin Rect[T]Pad_98.4x19.6_mil GND 98.4 -62.9)
(pin Rect[T]Pad_98.4x19.6_mil ID 98.4 -31.4)
(pin Rect[T]Pad_98.4x78.7_mil P$1 -118.1 -177.1)
(pin Rect[T]Pad_98.4x78.7_mil P$2 -118.1 177.1)
(pin Rect[T]Pad_98.4x78.7_mil P$3 98.4 -173.2)
(pin Rect[T]Pad_98.4x78.7_mil P$4 98.4 177.1)
(pin Round[TB]Pad_55.4_mil P$5 0 86.6)
(pin Round[TB]Pad_55.4_mil P$6 0 -86.6)
(pin Rect[T]Pad_98.4x19.6_mil VBUS 98.4 62.9)
)
(image PIN_ARRAY_5x2
(outline (path signal 12 -250 100 250 100))
(outline (path signal 12 250 100 250 -100))
(outline (path signal 12 250 -100 -250 -100))
(outline (path signal 12 -250 -100 -250 100))
(pin Rect[A]Pad_60x60_mil 1 -200 -50)
(pin Round[A]Pad_60_mil 2 -200 50)
(pin Round[A]Pad_60_mil 3 -100 -50)
(pin Round[A]Pad_60_mil 4 -100 50)
(pin Round[A]Pad_60_mil 5 0 -50)
(pin Round[A]Pad_60_mil 6 0 50)
(pin Round[A]Pad_60_mil 7 100 -50)
(pin Round[A]Pad_60_mil 8 100 50)
(pin Round[A]Pad_60_mil 9 200 -50)
(pin Round[A]Pad_60_mil 10 200 50)
)
(padstack Round[TB]Pad_55.4_mil
(shape (circle Front 55.4))
(shape (circle Back 55.4))
(attach off)
)
(padstack Round[A]Pad_55_mil
(shape (circle Front 55))
(shape (circle Back 55))
(attach off)
)
(padstack Round[A]Pad_60_mil
(shape (circle Front 60))
(shape (circle Back 60))
(attach off)
)
(padstack Rect[T]Pad_216.5x78.7_mil
(shape (rect Front -108.25 -39.35 108.25 39.35))
(attach off)
)
(padstack Rect[T]Pad_27.6x39.4_mil
(shape (rect Front -13.8 -19.7 13.8 19.7))
(attach off)
)
(padstack Rect[T]Pad_35x55_mil
(shape (rect Front -17.5 -27.5 17.5 27.5))
(attach off)
)
(padstack Rect[T]Pad_40x80_mil
(shape (rect Front -20 -40 20 40))
(attach off)
)
(padstack Rect[A]Pad_55x55_mil
(shape (rect Front -27.5 -27.5 27.5 27.5))
(shape (rect Back -27.5 -27.5 27.5 27.5))
(attach off)
)
(padstack Rect[A]Pad_60x60_mil
(shape (rect Front -30 -30 30 30))
(shape (rect Back -30 -30 30 30))
(attach off)
)
(padstack Rect[T]Pad_78.7x17.7_mil
(shape (rect Front -39.35 -8.85 39.35 8.85))
(attach off)
)
(padstack Rect[T]Pad_98.4x78.7_mil
(shape (rect Front -49.2 -39.35 49.2 39.35))
(attach off)
)
(padstack Rect[T]Pad_98.4x19.6_mil
(shape (rect Front -49.2 -9.8 49.2 9.8))
(attach off)
)
(padstack Rect[T]Pad_144x80_mil
(shape (rect Front -72 -40 72 40))
(attach off)
)
(padstack Rect[T]Pad_17.7x78.7_mil
(shape (rect Front -8.85 -39.35 8.85 39.35))
(attach off)
)
(padstack "Via[0-1]_35:25_mil"
(shape (circle Front 35))
(shape (circle Back 35))
(attach off)
)
(padstack "Via[0-1]_35:0_mil"
(shape (circle Front 35))
(shape (circle Back 35))
(attach off)
)
(padstack "Via[0-1]_31.5:11.8_mil"
(shape (circle Front 31.5))
(shape (circle Back 31.5))
(attach off)
)
)
(network
(net CE
(pins IC1-9 P2-3)
)
(net CSN
(pins IC1-2 P2-4)
)
(net ControllerVcc
(pins IC1-6 IC1-4 IC1-23 U1-3 C14a1-1 R4-2 R7-1 C5-1 C14-1 C16-1 R5-2 C6-1 N64-1
P1-2 P2-1)
)
(net Controller_Data
(pins IC1-28 R4-1 GC1-2 N64-2)
)
(net GND
(pins IC1-5 IC1-3 D1-1 D2-1 C4-2 C14a1-2 C3-1 C2-1 R8-2 C5-2 C14-2 C16-2 R5-1
C1-2 C6-2 GC1-3 GC1-4 N64-3 P1-6 X2-GND P2-9)
)
(net IRQ
(pins IC1-1 P2-8)
)
(net MISO
(pins IC1-16 P1-1 P2-7)
)
(net MOSI
(pins IC1-15 P1-4 P2-6)
)
(net "N-000004"
(pins IC1-7 C3-2 X1-1)
)
(net "N-000005"
(pins IC1-12 JP1-2 JP2-2)
)
(net "N-000006"
(pins IC1-14 JP2-1)
)
(net "N-000010"
(pins IC1-8 C2-2 X1-2)
)
(net "N-000011"
(pins U1-2 R8-1 R7-2)
)
(net "N-000014"
(pins IC1-31 IC1-30 R3-2)
)
(net "N-000019"
(pins IC1-29 P1-5)
)
(net "N-000027"
(pins D1-2 R1-2 R3-1 X2-"D-")
)
(net "N-000028"
(pins IC1-32 R2-2)
)
(net "N-000029"
(pins D2-2 R2-1 X2-D+)
)
(net "N-000036"
(pins IC1-13 JP1-1)
)
(net SCK
(pins IC1-17 P1-3 P2-5)
)
(net VCC
(pins IC1-18 U1-1 C4-1 R1-1 C1-1 GC1-1 X2-VBUS)
)
(class kicad_default "" CE CSN ControllerVcc Controller_Data GND IRQ MISO
MOSI "N-000004" "N-000005" "N-000006" "N-000010" "N-000011" "N-000014"
"N-000019" "N-000027" "N-000028" "N-000029" "N-000036" SCK VCC
(circuit
(use_via Via[0-1]_35:25_mil)
)
(rule
(width 10)
(clearance 10.1)
)
)
(class iteadRules
(circuit
(use_via Via[0-1]_31.5:11.8_mil)
)
(rule
(width 10)
(clearance 10.1)
)
)
)
(wiring
(wire (path Front 10 4535.3 -4630.1 4535.3 -4815.1)(net "N-000004")(type protect))
(wire (path Front 10 4487.3 -4863.1 4067.6 -4863.1)(net "N-000004")(type protect))
(wire (path Front 10 4535.3 -4815.1 4487.3 -4863.1)(net "N-000004")(type protect))
(wire (path Front 10 4533.5 -4456.7 4533.5 -4628.3 4535.3 -4630.1)(net "N-000004")(type protect))
(wire (path Front 10 4165.3 -4630.1 4165.3 -4811.1)(net "N-000010")(type protect))
(wire (path Front 10 4144.8 -4831.6 4067.6 -4831.6)(net "N-000010")(type protect))
(wire (path Front 10 4165.3 -4811.1 4144.8 -4831.6)(net "N-000010")(type protect))
(wire (path Front 10 4167.2 -4456.7 4167.2 -4628.2 4165.3 -4630.1)(net "N-000010")(type protect))
(wire (path Front 10 3403.6 -4468.5 3403.6 -4586.6)(net VCC)(type protect))
(wire (path Front 10 3394.3 -4342.6 3394.3 -4459.2 3403.6 -4468.5)(net VCC)(type protect))
)
)