Root/modules/bga.fpd

Source at commit 5ed16708597ccf77aca40505ca75716a6518b49e created 7 years 4 months ago.
By Werner Almesberger, modules/: add measurementes to DIP-4/6-300mil; add to catalog and Makefile
1/* MACHINE-GENERATED ! */
2
3frame pad {
4    set cname = col+1
5
6    __0: vec @(col*e-Px/2, row*-e-Py/2)
7    __1: vec .(0mm, Py)
8    __2: vec __0(Px, 0mm)
9    rpad "$rname$cname" __1 .
10}
11
12frame inner {
13    loop col = inner_col_start, inner_col_end
14
15    loop enable = 1, inner
16
17    frame pad @
18}
19
20frame last {
21    loop col = inner_col_end+1, Nc-1
22
23    frame pad @
24}
25
26frame first {
27    loop col = 0, inner_col_start-1
28
29    frame pad @
30}
31
32frame outline {
33    __0: vec @(D1/2, -E1/2)
34    __1: vec .(D/2, E/2)
35    __2: vec __0(-D/2, -E/2)
36    rect __1 . 5mil
37    __3: vec @(0mm, (E-E1)/2)
38    __4: vec @(-(D-D1)/2, 0mm)
39    line __3 . 5mil
40}
41
42package "BGA-484"
43unit mm
44
45table
46    { row, rname, inner }
47    { 0, "A", 1 }
48    { 1, "B", 1 }
49    { 2, "C", 1 }
50    { 3, "D", 1 }
51    { 4, "E", 1 }
52    { 5, "F", 1 }
53    { 6, "G", 1 }
54    { 7, "H", 1 }
55    { 8, "J", 1 }
56    { 9, "K", 1 }
57    { 10, "L", 1 }
58    { 11, "M", 1 }
59    { 12, "N", 1 }
60    { 13, "P", 1 }
61    { 14, "R", 1 }
62    { 15, "T", 1 }
63    { 16, "U", 1 }
64    { 17, "V", 1 }
65    { 18, "W", 1 }
66    { 19, "Y", 1 }
67    { 20, "AA", 1 }
68    { 21, "AB", 1 }
69
70set Nr = 22
71
72set Nc = 22
73
74set inner_col_start = 10
75
76set inner_col_end = 11
77
78set Px = 0.6mm
79
80set Py = 0.6mm
81
82set e = 1mm
83
84set D1 = 21mm
85
86set E1 = D1
87
88set D = 23mm
89
90set E = D
91
92frame last @
93frame first @
94frame inner @
95frame outline @
96measy pad.__0 -> pad.__1 1mm
97measy pad.__0 -> pad.__0 1.5mm
98measx pad.__0 -> pad.__2 -1mm
99measx pad.__0 -> pad.__0 -1.5mm
100measy pad.__0 >> pad.__1 2.4mm
101measx pad.__0 >> pad.__2 -2.4mm
102measy outline.__2 >> outline.__1 2.5mm
103measx outline.__2 >> outline.__1 -2.5mm
104measx pad.__0 >> pad.__0 -1.8mm
105measy pad.__0 >> pad.__0 1.7mm
106

Archive Download this file

Branches:
master



interactive