Root/modules/zx62-b-5pa.fpd

Source at commit d37268a6ba7dd08f54960a03ca755dc943e3636c created 7 years 1 month ago.
By Werner Almesberger, modules/: add PAD_S_120x120; correct classification of PAD_S_150x150
1/* MACHINE-GENERATED ! */
2
3frame signals {
4    table
5        { sx, sy }
6        { 0.4mm, 1.35mm }
7
8    set e = 0.65mm
9
10    loop n = 1, 5
11
12    __0: vec @(0mm, by)
13    __1: vec .((n-3)*e, 0mm)
14    __2: vec .(-sx/2, 0mm)
15    __3: vec __1(sx/2, -sy)
16    pad "$n" __2 .
17}
18
19frame rpads {
20    table
21        { rox, rix }
22        { 8.3mm, 4.1mm }
23
24    set ry = 1.6mm
25
26    table
27        { dx }
28        { -1 }
29        { 1 }
30
31    set pad = 6.5+dx/2
32
33    __0: vec @(0mm, by)
34    __1: vec .(rox/2*dx, 0mm)
35    __2: vec .(0mm, -ry)
36    __3: vec __0(rix/2*dx, 0mm)
37    pad "$pad" __2 .
38}
39
40frame mpads {
41    table
42        { n, mox, mix }
43        { 0, 9.8mm, 6.2mm }
44        { 1, 4.3mm, 0.5mm }
45
46    set my = 1.9mm
47
48    table
49        { dx }
50        { -1 }
51        { 1 }
52
53    set pad = 9.5+1.5*dx-n*dx
54
55    __0: vec @(mox/2*dx, 0mm)
56    __1: vec .(0mm, -my/2)
57    __2: vec @(mix/2*dx, 0mm)
58    __3: vec .(0mm, my/2)
59    pad "$pad" __1 .
60}
61
62frame edge {
63    table
64        { ex, ey }
65        { 7.9mm, 1.45mm }
66
67    set _ = 0
68
69    __0: vec @(0mm, -ey)
70    __1: vec .(-ex/2, 0mm)
71    __2: vec __0(ex/2, 0mm)
72    line __1 . w
73}
74
75package "ZX62-B-5PA"
76unit mm
77
78set w = 0.2mm
79
80set sx = 7.9mm
81
82set by = 3.35mm
83
84frame edge @
85frame mpads @
86frame rpads @
87frame signals @
88measx mpads.__1 >> mpads.__1 -2.5mm
89measx mpads.__2 >> mpads.__2 -2.5mm
90measx edge.__1 >> edge.__2 -1.5mm
91measy mpads.__1 -> mpads.__3 1mm
92measy rpads.__2 -> rpads.__1 1mm
93measy rpads.__0 << mpads.__0 -1mm
94measy edge.__2 >> mpads.__0 -2mm
95measy signals.__1 << signals.__1
96measx signals.__1 >> signals.__1 1mm
97measx rpads.__3 >> rpads.__3 1.5mm
98measx rpads.__1 >> rpads.__1 2mm
99measy signals.__3 -> signals.__1 0.5mm
100

Archive Download this file

Branches:
master



interactive