This file is indexed.

/usr/share/pcb/pcblib is in pcb-common 20110918-7.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

    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
  467
  468
  469
  470
  471
  472
  473
  474
  475
  476
  477
  478
  479
  480
  481
  482
  483
  484
  485
  486
  487
  488
  489
  490
  491
  492
  493
  494
  495
  496
  497
  498
  499
  500
  501
  502
  503
  504
  505
  506
  507
  508
  509
  510
  511
  512
  513
  514
  515
  516
  517
  518
  519
  520
  521
  522
  523
  524
  525
  526
  527
  528
  529
  530
  531
  532
  533
  534
  535
  536
  537
  538
  539
  540
  541
  542
  543
  544
  545
  546
  547
  548
  549
  550
  551
  552
  553
  554
  555
  556
  557
  558
  559
  560
  561
  562
  563
  564
  565
  566
  567
  568
  569
  570
  571
  572
  573
  574
  575
  576
  577
  578
  579
  580
  581
  582
  583
  584
  585
  586
  587
  588
  589
  590
  591
  592
  593
  594
  595
  596
  597
  598
  599
  600
  601
  602
  603
  604
  605
  606
  607
  608
  609
  610
  611
  612
  613
  614
  615
  616
  617
  618
  619
  620
  621
  622
  623
  624
  625
  626
  627
  628
  629
  630
  631
  632
  633
  634
  635
  636
  637
  638
  639
  640
  641
  642
  643
  644
  645
  646
  647
  648
  649
  650
  651
  652
  653
  654
  655
  656
  657
  658
  659
  660
  661
  662
  663
  664
  665
  666
  667
  668
  669
  670
  671
  672
  673
  674
  675
  676
  677
  678
  679
  680
  681
  682
  683
  684
  685
  686
  687
  688
  689
  690
  691
  692
  693
  694
  695
  696
  697
  698
  699
  700
  701
  702
  703
  704
  705
  706
  707
  708
  709
  710
  711
  712
  713
  714
  715
  716
  717
  718
  719
  720
  721
  722
  723
  724
  725
  726
  727
  728
  729
  730
  731
  732
  733
  734
  735
  736
  737
  738
  739
  740
  741
  742
  743
  744
  745
  746
  747
  748
  749
  750
  751
  752
  753
  754
  755
  756
  757
  758
  759
  760
  761
  762
  763
  764
  765
  766
  767
  768
  769
  770
  771
  772
  773
  774
  775
  776
  777
  778
  779
  780
  781
  782
  783
  784
  785
  786
  787
  788
  789
  790
  791
  792
  793
  794
  795
  796
  797
  798
  799
  800
  801
  802
  803
  804
  805
  806
  807
  808
  809
  810
  811
  812
  813
  814
  815
  816
  817
  818
  819
  820
  821
  822
  823
  824
  825
  826
  827
  828
  829
  830
  831
  832
  833
  834
  835
  836
  837
  838
  839
  840
  841
  842
  843
  844
  845
  846
  847
  848
  849
  850
  851
  852
  853
  854
  855
  856
  857
  858
  859
  860
  861
  862
  863
  864
  865
  866
  867
  868
  869
  870
  871
  872
  873
  874
  875
  876
  877
  878
  879
  880
  881
  882
  883
  884
  885
  886
  887
  888
  889
  890
  891
  892
  893
  894
  895
  896
  897
  898
  899
  900
  901
  902
  903
  904
  905
  906
  907
  908
  909
  910
  911
  912
  913
  914
  915
  916
  917
  918
  919
  920
  921
  922
  923
  924
  925
  926
  927
  928
  929
  930
  931
  932
  933
  934
  935
  936
  937
  938
  939
  940
  941
  942
  943
  944
  945
  946
  947
  948
  949
  950
  951
  952
  953
  954
  955
  956
  957
  958
  959
  960
  961
  962
  963
  964
  965
  966
  967
  968
  969
  970
  971
  972
  973
  974
  975
  976
  977
  978
  979
  980
  981
  982
  983
  984
  985
  986
  987
  988
  989
  990
  991
  992
  993
  994
  995
  996
  997
  998
  999
 1000
 1001
 1002
 1003
 1004
 1005
 1006
 1007
 1008
 1009
 1010
 1011
 1012
 1013
 1014
 1015
 1016
 1017
 1018
 1019
 1020
 1021
 1022
 1023
 1024
 1025
 1026
 1027
 1028
 1029
 1030
 1031
 1032
 1033
 1034
 1035
 1036
 1037
 1038
 1039
 1040
 1041
 1042
 1043
 1044
 1045
 1046
 1047
 1048
 1049
 1050
 1051
 1052
 1053
 1054
 1055
 1056
 1057
 1058
 1059
 1060
 1061
 1062
 1063
 1064
 1065
 1066
 1067
 1068
 1069
 1070
 1071
 1072
 1073
 1074
 1075
 1076
 1077
 1078
 1079
 1080
 1081
 1082
 1083
 1084
 1085
 1086
 1087
 1088
 1089
 1090
 1091
 1092
 1093
 1094
 1095
 1096
 1097
 1098
 1099
 1100
 1101
 1102
 1103
 1104
 1105
 1106
 1107
 1108
 1109
 1110
 1111
 1112
 1113
 1114
 1115
 1116
 1117
 1118
 1119
 1120
 1121
 1122
 1123
 1124
 1125
 1126
 1127
 1128
 1129
 1130
 1131
 1132
 1133
 1134
 1135
 1136
 1137
 1138
 1139
 1140
 1141
 1142
 1143
 1144
 1145
 1146
 1147
 1148
 1149
 1150
 1151
 1152
 1153
 1154
 1155
 1156
 1157
 1158
 1159
 1160
 1161
 1162
 1163
 1164
 1165
 1166
 1167
 1168
 1169
 1170
 1171
 1172
 1173
 1174
 1175
 1176
 1177
 1178
 1179
 1180
 1181
 1182
 1183
 1184
 1185
 1186
 1187
 1188
 1189
 1190
 1191
 1192
 1193
 1194
 1195
 1196
 1197
 1198
 1199
 1200
 1201
 1202
 1203
 1204
 1205
 1206
 1207
 1208
 1209
 1210
 1211
 1212
 1213
 1214
 1215
 1216
 1217
 1218
 1219
 1220
 1221
 1222
 1223
 1224
 1225
 1226
 1227
 1228
 1229
 1230
 1231
 1232
 1233
 1234
 1235
 1236
 1237
 1238
 1239
 1240
 1241
 1242
 1243
 1244
 1245
 1246
 1247
 1248
 1249
 1250
 1251
 1252
 1253
 1254
 1255
 1256
 1257
 1258
 1259
 1260
 1261
 1262
 1263
 1264
 1265
 1266
 1267
 1268
 1269
 1270
 1271
 1272
 1273
 1274
 1275
 1276
 1277
 1278
 1279
 1280
 1281
 1282
 1283
 1284
 1285
 1286
 1287
 1288
 1289
 1290
 1291
 1292
 1293
 1294
 1295
 1296
 1297
 1298
 1299
 1300
 1301
 1302
 1303
 1304
 1305
 1306
 1307
 1308
 1309
 1310
 1311
 1312
 1313
 1314
 1315
 1316
 1317
 1318
 1319
 1320
 1321
 1322
 1323
 1324
 1325
 1326
 1327
 1328
 1329
 1330
 1331
 1332
 1333
 1334
 1335
 1336
 1337
 1338
 1339
 1340
 1341
 1342
 1343
 1344
 1345
 1346
 1347
 1348
 1349
 1350
 1351
 1352
 1353
 1354
 1355
 1356
 1357
 1358
 1359
 1360
 1361
 1362
 1363
 1364
 1365
 1366
 1367
 1368
 1369
 1370
 1371
 1372
 1373
 1374
 1375
 1376
 1377
 1378
 1379
 1380
 1381
 1382
 1383
 1384
 1385
 1386
 1387
 1388
 1389
 1390
 1391
 1392
 1393
 1394
 1395
 1396
 1397
 1398
 1399
 1400
 1401
 1402
 1403
 1404
 1405
 1406
 1407
 1408
 1409
 1410
 1411
 1412
 1413
 1414
 1415
 1416
 1417
 1418
 1419
 1420
 1421
 1422
 1423
 1424
 1425
 1426
 1427
 1428
 1429
 1430
 1431
 1432
 1433
 1434
 1435
 1436
 1437
 1438
 1439
 1440
 1441
 1442
 1443
 1444
 1445
 1446
 1447
 1448
 1449
 1450
 1451
 1452
 1453
 1454
 1455
 1456
 1457
 1458
 1459
 1460
 1461
 1462
 1463
 1464
 1465
 1466
 1467
 1468
 1469
 1470
 1471
 1472
 1473
 1474
 1475
 1476
 1477
 1478
 1479
 1480
 1481
 1482
 1483
 1484
 1485
 1486
 1487
 1488
 1489
 1490
 1491
 1492
 1493
 1494
 1495
 1496
 1497
 1498
 1499
 1500
 1501
 1502
 1503
 1504
 1505
 1506
 1507
 1508
 1509
 1510
 1511
 1512
 1513
 1514
 1515
 1516
 1517
 1518
 1519
 1520
 1521
 1522
 1523
 1524
 1525
 1526
 1527
 1528
 1529
 1530
 1531
 1532
 1533
 1534
 1535
 1536
 1537
 1538
 1539
 1540
 1541
 1542
 1543
 1544
 1545
 1546
 1547
 1548
 1549
 1550
 1551
 1552
 1553
 1554
 1555
 1556
 1557
 1558
 1559
 1560
 1561
 1562
 1563
 1564
 1565
 1566
 1567
 1568
 1569
 1570
 1571
 1572
 1573
 1574
 1575
 1576
 1577
 1578
 1579
 1580
 1581
 1582
 1583
 1584
 1585
 1586
 1587
 1588
 1589
 1590
 1591
 1592
 1593
 1594
 1595
 1596
 1597
 1598
 1599
 1600
 1601
 1602
 1603
 1604
 1605
 1606
 1607
 1608
 1609
 1610
 1611
 1612
 1613
 1614
 1615
 1616
 1617
 1618
 1619
 1620
 1621
 1622
 1623
 1624
 1625
 1626
 1627
 1628
 1629
 1630
 1631
 1632
 1633
 1634
 1635
 1636
 1637
 1638
 1639
 1640
 1641
 1642
 1643
 1644
 1645
 1646
 1647
 1648
 1649
 1650
 1651
 1652
 1653
 1654
 1655
 1656
 1657
 1658
 1659
 1660
 1661
 1662
 1663
 1664
 1665
 1666
 1667
 1668
 1669
 1670
 1671
 1672
 1673
 1674
 1675
 1676
 1677
 1678
 1679
 1680
 1681
 1682
 1683
 1684
 1685
 1686
 1687
 1688
 1689
 1690
 1691
 1692
 1693
 1694
 1695
 1696
 1697
 1698
 1699
 1700
 1701
 1702
 1703
 1704
 1705
 1706
 1707
 1708
 1709
 1710
 1711
 1712
 1713
 1714
 1715
 1716
 1717
 1718
 1719
 1720
 1721
 1722
 1723
 1724
 1725
 1726
 1727
 1728
 1729
 1730
 1731
 1732
 1733
 1734
 1735
 1736
 1737
 1738
 1739
 1740
 1741
 1742
 1743
 1744
 1745
 1746
 1747
 1748
 1749
 1750
 1751
 1752
 1753
 1754
 1755
 1756
 1757
 1758
 1759
 1760
 1761
 1762
 1763
 1764
 1765
 1766
 1767
 1768
 1769
 1770
 1771
 1772
 1773
 1774
 1775
 1776
 1777
 1778
 1779
 1780
 1781
 1782
 1783
 1784
 1785
 1786
 1787
 1788
 1789
 1790
 1791
 1792
 1793
 1794
 1795
 1796
 1797
 1798
 1799
 1800
 1801
 1802
 1803
 1804
 1805
 1806
 1807
 1808
 1809
 1810
 1811
 1812
 1813
 1814
 1815
 1816
 1817
 1818
 1819
 1820
 1821
 1822
 1823
 1824
 1825
 1826
 1827
 1828
 1829
 1830
 1831
 1832
 1833
 1834
 1835
 1836
 1837
 1838
 1839
 1840
 1841
 1842
 1843
 1844
 1845
 1846
 1847
 1848
 1849
 1850
 1851
 1852
 1853
 1854
 1855
 1856
 1857
 1858
 1859
 1860
 1861
 1862
 1863
 1864
 1865
 1866
 1867
 1868
 1869
 1870
 1871
 1872
 1873
 1874
 1875
 1876
 1877
 1878
 1879
 1880
 1881
 1882
 1883
 1884
 1885
 1886
 1887
 1888
 1889
 1890
 1891
 1892
 1893
 1894
 1895
 1896
 1897
 1898
 1899
 1900
 1901
 1902
 1903
 1904
 1905
 1906
 1907
 1908
 1909
 1910
 1911
 1912
 1913
 1914
 1915
 1916
 1917
 1918
 1919
 1920
 1921
 1922
 1923
 1924
 1925
 1926
 1927
 1928
 1929
 1930
 1931
 1932
 1933
 1934
 1935
 1936
 1937
 1938
 1939
 1940
 1941
 1942
 1943
 1944
 1945
 1946
 1947
 1948
 1949
 1950
 1951
 1952
 1953
 1954
 1955
 1956
 1957
 1958
 1959
 1960
 1961
 1962
 1963
 1964
 1965
 1966
 1967
 1968
 1969
 1970
 1971
 1972
 1973
 1974
 1975
 1976
 1977
 1978
 1979
 1980
 1981
 1982
 1983
 1984
 1985
 1986
 1987
 1988
 1989
 1990
 1991
 1992
 1993
 1994
 1995
 1996
 1997
 1998
 1999
 2000
 2001
 2002
 2003
 2004
 2005
 2006
 2007
 2008
 2009
 2010
 2011
 2012
 2013
 2014
 2015
 2016
 2017
 2018
 2019
 2020
 2021
 2022
 2023
 2024
 2025
 2026
 2027
 2028
 2029
 2030
 2031
 2032
 2033
 2034
 2035
 2036
 2037
 2038
 2039
 2040
 2041
 2042
 2043
 2044
 2045
 2046
 2047
 2048
 2049
 2050
 2051
 2052
 2053
 2054
 2055
 2056
 2057
 2058
 2059
 2060
 2061
 2062
 2063
 2064
 2065
 2066
 2067
 2068
 2069
 2070
 2071
 2072
 2073
 2074
 2075
 2076
 2077
 2078
 2079
 2080
 2081
 2082
 2083
 2084
 2085
 2086
 2087
 2088
 2089
 2090
 2091
 2092
 2093
 2094
 2095
 2096
 2097
 2098
 2099
 2100
 2101
 2102
 2103
 2104
 2105
 2106
 2107
 2108
 2109
 2110
 2111
 2112
 2113
 2114
 2115
 2116
 2117
 2118
 2119
 2120
 2121
 2122
 2123
 2124
 2125
 2126
 2127
 2128
 2129
 2130
 2131
 2132
 2133
 2134
 2135
 2136
 2137
 2138
 2139
 2140
 2141
 2142
 2143
 2144
 2145
 2146
 2147
 2148
 2149
 2150
 2151
 2152
 2153
 2154
 2155
 2156
 2157
 2158
 2159
 2160
 2161
 2162
 2163
 2164
 2165
 2166
 2167
 2168
 2169
 2170
 2171
 2172
 2173
 2174
 2175
 2176
 2177
 2178
 2179
 2180
 2181
 2182
 2183
 2184
 2185
 2186
 2187
 2188
 2189
 2190
 2191
 2192
 2193
 2194
 2195
 2196
 2197
 2198
 2199
 2200
 2201
 2202
 2203
 2204
 2205
 2206
 2207
 2208
 2209
 2210
 2211
 2212
 2213
 2214
 2215
 2216
 2217
 2218
 2219
 2220
 2221
 2222
 2223
 2224
 2225
 2226
 2227
 2228
 2229
 2230
 2231
 2232
 2233
 2234
 2235
 2236
 2237
 2238
 2239
 2240
 2241
 2242
 2243
 2244
 2245
 2246
 2247
 2248
 2249
 2250
 2251
 2252
 2253
 2254
 2255
 2256
 2257
 2258
 2259
 2260
 2261
 2262
 2263
 2264
 2265
 2266
 2267
 2268
 2269
 2270
 2271
 2272
 2273
 2274
 2275
 2276
 2277
 2278
 2279
 2280
 2281
 2282
 2283
 2284
 2285
 2286
 2287
 2288
 2289
 2290
 2291
 2292
 2293
 2294
 2295
 2296
 2297
 2298
 2299
 2300
 2301
 2302
 2303
 2304
 2305
 2306
 2307
 2308
 2309
 2310
 2311
 2312
 2313
 2314
 2315
 2316
 2317
 2318
 2319
 2320
 2321
 2322
 2323
 2324
 2325
 2326
 2327
 2328
 2329
 2330
 2331
 2332
 2333
 2334
 2335
 2336
 2337
 2338
 2339
 2340
 2341
 2342
 2343
 2344
 2345
 2346
 2347
 2348
 2349
 2350
 2351
 2352
 2353
 2354
 2355
 2356
 2357
 2358
 2359
 2360
 2361
 2362
 2363
 2364
 2365
 2366
 2367
 2368
 2369
 2370
 2371
 2372
 2373
 2374
 2375
 2376
 2377
 2378
 2379
 2380
 2381
 2382
 2383
 2384
 2385
 2386
 2387
 2388
 2389
 2390
 2391
 2392
 2393
 2394
 2395
 2396
 2397
 2398
 2399
 2400
 2401
 2402
 2403
 2404
 2405
 2406
 2407
 2408
 2409
 2410
 2411
 2412
 2413
 2414
 2415
 2416
 2417
 2418
 2419
 2420
 2421
 2422
 2423
 2424
 2425
 2426
 2427
 2428
 2429
 2430
 2431
 2432
 2433
 2434
 2435
 2436
 2437
 2438
 2439
 2440
 2441
 2442
 2443
 2444
 2445
 2446
 2447
 2448
 2449
 2450
 2451
 2452
 2453
 2454
 2455
 2456
 2457
 2458
 2459
 2460
 2461
 2462
 2463
 2464
 2465
 2466
 2467
 2468
 2469
 2470
 2471
 2472
 2473
 2474
 2475
 2476
 2477
 2478
 2479
 2480
 2481
 2482
 2483
 2484
 2485
 2486
 2487
 2488
 2489
 2490
 2491
 2492
 2493
 2494
 2495
 2496
 2497
 2498
 2499
 2500
 2501
 2502
 2503
 2504
 2505
 2506
 2507
 2508
 2509
 2510
 2511
 2512
 2513
 2514
 2515
 2516
 2517
 2518
 2519
 2520
 2521
 2522
 2523
 2524
 2525
 2526
 2527
 2528
 2529
 2530
 2531
 2532
 2533
 2534
 2535
 2536
 2537
 2538
 2539
 2540
 2541
 2542
 2543
 2544
 2545
 2546
 2547
 2548
 2549
 2550
 2551
 2552
 2553
 2554
 2555
 2556
 2557
 2558
 2559
 2560
 2561
 2562
 2563
 2564
 2565
 2566
 2567
 2568
 2569
 2570
 2571
 2572
 2573
 2574
 2575
 2576
 2577
 2578
 2579
 2580
 2581
 2582
 2583
 2584
 2585
 2586
 2587
 2588
 2589
 2590
 2591
 2592
 2593
 2594
 2595
 2596
 2597
 2598
 2599
 2600
 2601
 2602
 2603
 2604
 2605
 2606
 2607
 2608
 2609
 2610
 2611
 2612
 2613
 2614
 2615
 2616
 2617
 2618
 2619
 2620
 2621
 2622
 2623
 2624
 2625
 2626
 2627
 2628
 2629
 2630
 2631
 2632
 2633
 2634
 2635
 2636
 2637
 2638
 2639
 2640
 2641
 2642
 2643
 2644
 2645
 2646
 2647
 2648
 2649
 2650
 2651
 2652
 2653
 2654
 2655
 2656
 2657
 2658
 2659
 2660
 2661
 2662
 2663
 2664
 2665
 2666
 2667
 2668
 2669
 2670
 2671
 2672
 2673
 2674
 2675
 2676
 2677
 2678
 2679
 2680
 2681
 2682
 2683
 2684
 2685
 2686
 2687
 2688
 2689
 2690
 2691
 2692
 2693
 2694
 2695
 2696
 2697
 2698
 2699
 2700
 2701
 2702
 2703
 2704
 2705
 2706
 2707
 2708
 2709
 2710
 2711
 2712
 2713
 2714
 2715
 2716
 2717
 2718
 2719
 2720
 2721
 2722
 2723
 2724
 2725
 2726
 2727
 2728
 2729
 2730
 2731
 2732
 2733
 2734
 2735
 2736
 2737
 2738
 2739
 2740
 2741
 2742
 2743
 2744
 2745
 2746
 2747
 2748
 2749
 2750
 2751
 2752
 2753
 2754
 2755
 2756
 2757
 2758
 2759
 2760
 2761
 2762
 2763
 2764
 2765
 2766
 2767
 2768
 2769
 2770
 2771
 2772
 2773
 2774
 2775
 2776
 2777
 2778
 2779
 2780
 2781
 2782
 2783
 2784
 2785
 2786
 2787
 2788
 2789
 2790
 2791
 2792
 2793
 2794
 2795
 2796
 2797
 2798
 2799
 2800
 2801
 2802
 2803
 2804
 2805
 2806
 2807
 2808
 2809
 2810
 2811
 2812
 2813
 2814
 2815
 2816
 2817
 2818
 2819
 2820
 2821
 2822
 2823
 2824
 2825
 2826
 2827
 2828
 2829
 2830
 2831
 2832
 2833
 2834
 2835
 2836
 2837
 2838
 2839
 2840
 2841
 2842
 2843
 2844
 2845
 2846
 2847
 2848
 2849
 2850
 2851
 2852
 2853
 2854
 2855
 2856
 2857
 2858
 2859
 2860
 2861
 2862
 2863
 2864
 2865
 2866
 2867
 2868
 2869
 2870
 2871
 2872
 2873
 2874
 2875
 2876
 2877
 2878
 2879
 2880
 2881
 2882
 2883
 2884
 2885
 2886
 2887
 2888
 2889
 2890
 2891
 2892
 2893
 2894
 2895
 2896
 2897
 2898
 2899
 2900
 2901
 2902
 2903
 2904
 2905
 2906
 2907
 2908
 2909
 2910
 2911
 2912
 2913
 2914
 2915
 2916
 2917
 2918
 2919
 2920
 2921
 2922
 2923
 2924
 2925
 2926
 2927
 2928
 2929
 2930
 2931
 2932
 2933
 2934
 2935
 2936
 2937
 2938
 2939
 2940
 2941
 2942
 2943
 2944
 2945
 2946
 2947
 2948
 2949
 2950
 2951
 2952
 2953
 2954
 2955
 2956
 2957
 2958
 2959
 2960
 2961
 2962
 2963
 2964
 2965
 2966
 2967
 2968
 2969
 2970
 2971
 2972
 2973
 2974
 2975
 2976
 2977
 2978
 2979
 2980
 2981
 2982
 2983
 2984
 2985
 2986
 2987
 2988
 2989
 2990
 2991
 2992
 2993
 2994
 2995
 2996
 2997
 2998
 2999
 3000
 3001
 3002
 3003
 3004
 3005
 3006
 3007
 3008
 3009
 3010
 3011
 3012
 3013
 3014
 3015
 3016
 3017
 3018
 3019
 3020
 3021
 3022
 3023
 3024
 3025
 3026
 3027
 3028
 3029
 3030
 3031
 3032
 3033
 3034
 3035
 3036
 3037
 3038
 3039
 3040
 3041
 3042
 3043
 3044
 3045
 3046
 3047
 3048
 3049
 3050
 3051
 3052
 3053
 3054
 3055
 3056
 3057
 3058
 3059
 3060
 3061
 3062
 3063
 3064
 3065
 3066
 3067
 3068
 3069
 3070
 3071
 3072
 3073
 3074
 3075
 3076
 3077
 3078
 3079
 3080
 3081
 3082
 3083
 3084
 3085
 3086
 3087
 3088
 3089
 3090
 3091
 3092
 3093
 3094
 3095
 3096
 3097
 3098
 3099
 3100
 3101
 3102
 3103
 3104
 3105
 3106
 3107
 3108
 3109
 3110
 3111
 3112
 3113
 3114
 3115
 3116
 3117
 3118
 3119
 3120
 3121
 3122
 3123
 3124
 3125
 3126
 3127
 3128
 3129
 3130
 3131
 3132
 3133
 3134
 3135
 3136
 3137
 3138
 3139
 3140
 3141
 3142
 3143
 3144
 3145
 3146
 3147
 3148
 3149
 3150
 3151
 3152
 3153
 3154
 3155
 3156
 3157
 3158
 3159
 3160
 3161
 3162
 3163
 3164
 3165
 3166
 3167
 3168
 3169
 3170
 3171
 3172
 3173
 3174
 3175
 3176
 3177
 3178
 3179
 3180
 3181
 3182
 3183
 3184
 3185
 3186
 3187
 3188
 3189
 3190
 3191
 3192
 3193
 3194
 3195
 3196
 3197
 3198
 3199
 3200
 3201
 3202
 3203
 3204
 3205
 3206
 3207
 3208
 3209
 3210
 3211
 3212
 3213
 3214
 3215
 3216
 3217
 3218
 3219
 3220
 3221
 3222
 3223
 3224
 3225
 3226
 3227
 3228
 3229
 3230
 3231
 3232
 3233
 3234
 3235
 3236
 3237
 3238
 3239
 3240
 3241
 3242
 3243
 3244
 3245
 3246
 3247
 3248
 3249
 3250
 3251
 3252
 3253
 3254
 3255
 3256
 3257
 3258
 3259
 3260
 3261
 3262
 3263
 3264
 3265
 3266
 3267
 3268
 3269
 3270
 3271
 3272
 3273
 3274
 3275
 3276
 3277
 3278
 3279
 3280
 3281
 3282
 3283
 3284
 3285
 3286
 3287
 3288
 3289
 3290
 3291
 3292
 3293
 3294
 3295
 3296
 3297
 3298
 3299
 3300
 3301
 3302
 3303
 3304
 3305
 3306
 3307
 3308
 3309
 3310
 3311
 3312
 3313
 3314
 3315
 3316
 3317
 3318
 3319
 3320
 3321
 3322
 3323
 3324
 3325
 3326
 3327
 3328
 3329
 3330
 3331
 3332
 3333
 3334
 3335
 3336
 3337
 3338
 3339
 3340
 3341
 3342
 3343
 3344
 3345
 3346
 3347
 3348
 3349
 3350
 3351
 3352
 3353
 3354
 3355
 3356
 3357
 3358
 3359
 3360
 3361
 3362
 3363
 3364
 3365
 3366
 3367
 3368
 3369
 3370
 3371
 3372
 3373
 3374
 3375
 3376
 3377
 3378
 3379
 3380
 3381
 3382
 3383
 3384
 3385
 3386
 3387
 3388
 3389
 3390
 3391
 3392
 3393
 3394
 3395
 3396
 3397
 3398
 3399
 3400
 3401
 3402
 3403
 3404
 3405
 3406
 3407
 3408
 3409
 3410
 3411
 3412
 3413
 3414
 3415
 3416
 3417
 3418
 3419
 3420
 3421
 3422
 3423
 3424
 3425
 3426
 3427
 3428
 3429
 3430
 3431
 3432
 3433
 3434
 3435
 3436
 3437
 3438
 3439
 3440
 3441
 3442
 3443
 3444
 3445
 3446
 3447
 3448
 3449
 3450
 3451
 3452
 3453
 3454
 3455
 3456
 3457
 3458
 3459
 3460
 3461
 3462
 3463
 3464
 3465
 3466
 3467
 3468
 3469
 3470
 3471
 3472
 3473
 3474
 3475
 3476
 3477
 3478
 3479
 3480
 3481
 3482
 3483
 3484
 3485
 3486
 3487
 3488
 3489
 3490
 3491
 3492
 3493
 3494
 3495
 3496
 3497
 3498
 3499
 3500
 3501
 3502
 3503
 3504
 3505
 3506
 3507
 3508
 3509
 3510
 3511
 3512
 3513
 3514
 3515
 3516
 3517
 3518
 3519
 3520
 3521
 3522
 3523
 3524
 3525
 3526
 3527
 3528
 3529
 3530
 3531
 3532
 3533
 3534
 3535
 3536
 3537
 3538
 3539
 3540
 3541
 3542
 3543
 3544
 3545
 3546
 3547
 3548
 3549
 3550
 3551
 3552
 3553
 3554
 3555
 3556
 3557
 3558
 3559
 3560
 3561
 3562
 3563
 3564
 3565
 3566
 3567
 3568
 3569
 3570
 3571
 3572
 3573
 3574
 3575
 3576
 3577
 3578
 3579
 3580
 3581
 3582
 3583
 3584
 3585
 3586
 3587
 3588
 3589
 3590
 3591
 3592
 3593
 3594
 3595
 3596
 3597
 3598
 3599
 3600
 3601
 3602
 3603
 3604
 3605
 3606
 3607
 3608
 3609
 3610
 3611
 3612
 3613
 3614
 3615
 3616
 3617
 3618
 3619
 3620
 3621
 3622
 3623
 3624
 3625
 3626
 3627
 3628
 3629
 3630
 3631
 3632
 3633
 3634
 3635
 3636
 3637
 3638
 3639
 3640
 3641
 3642
 3643
 3644
 3645
 3646
 3647
 3648
 3649
 3650
 3651
 3652
 3653
 3654
 3655
 3656
 3657
 3658
 3659
 3660
 3661
 3662
 3663
 3664
 3665
 3666
 3667
 3668
 3669
 3670
 3671
 3672
 3673
 3674
 3675
 3676
 3677
 3678
 3679
 3680
 3681
 3682
 3683
 3684
 3685
 3686
 3687
 3688
 3689
 3690
 3691
 3692
 3693
 3694
 3695
 3696
 3697
 3698
 3699
 3700
 3701
 3702
 3703
 3704
 3705
 3706
 3707
 3708
 3709
 3710
 3711
 3712
 3713
 3714
 3715
 3716
 3717
 3718
 3719
 3720
 3721
 3722
 3723
 3724
 3725
 3726
 3727
 3728
 3729
 3730
 3731
 3732
 3733
 3734
 3735
 3736
 3737
 3738
 3739
 3740
 3741
 3742
 3743
 3744
 3745
 3746
 3747
 3748
 3749
 3750
 3751
 3752
 3753
 3754
 3755
 3756
 3757
 3758
 3759
 3760
 3761
 3762
 3763
 3764
 3765
 3766
 3767
 3768
 3769
 3770
 3771
 3772
 3773
 3774
 3775
 3776
 3777
 3778
 3779
 3780
 3781
 3782
 3783
 3784
 3785
 3786
 3787
 3788
 3789
 3790
 3791
 3792
 3793
 3794
 3795
 3796
 3797
 3798
 3799
 3800
 3801
 3802
 3803
 3804
 3805
 3806
 3807
 3808
 3809
 3810
 3811
 3812
 3813
 3814
 3815
 3816
 3817
 3818
 3819
 3820
 3821
 3822
 3823
 3824
 3825
 3826
 3827
 3828
 3829
 3830
 3831
 3832
 3833
 3834
 3835
 3836
 3837
 3838
 3839
 3840
 3841
 3842
 3843
 3844
 3845
 3846
 3847
 3848
 3849
 3850
 3851
 3852
 3853
 3854
 3855
 3856
 3857
 3858
 3859
 3860
 3861
 3862
 3863
 3864
 3865
 3866
 3867
 3868
 3869
 3870
 3871
 3872
 3873
 3874
 3875
 3876
 3877
 3878
 3879
 3880
 3881
 3882
 3883
 3884
 3885
 3886
 3887
 3888
 3889
 3890
 3891
 3892
 3893
 3894
 3895
 3896
 3897
 3898
 3899
 3900
 3901
 3902
 3903
 3904
 3905
 3906
 3907
 3908
 3909
 3910
 3911
 3912
 3913
 3914
 3915
 3916
 3917
 3918
 3919
 3920
 3921
 3922
 3923
 3924
 3925
 3926
 3927
 3928
 3929
 3930
 3931
 3932
 3933
 3934
 3935
 3936
 3937
 3938
 3939
 3940
 3941
 3942
 3943
 3944
 3945
 3946
 3947
 3948
 3949
 3950
 3951
 3952
 3953
 3954
 3955
 3956
 3957
 3958
 3959
 3960
 3961
 3962
 3963
 3964
 3965
 3966
 3967
 3968
 3969
 3970
 3971
 3972
 3973
 3974
 3975
 3976
 3977
 3978
 3979
 3980
 3981
 3982
 3983
 3984
 3985
 3986
 3987
 3988
 3989
 3990
 3991
 3992
 3993
 3994
 3995
 3996
 3997
 3998
 3999
 4000
 4001
 4002
 4003
 4004
 4005
 4006
 4007
 4008
 4009
 4010
 4011
 4012
 4013
 4014
 4015
 4016
 4017
 4018
 4019
 4020
 4021
 4022
 4023
 4024
 4025
 4026
 4027
 4028
 4029
 4030
 4031
 4032
 4033
 4034
 4035
 4036
 4037
 4038
 4039
 4040
 4041
 4042
 4043
 4044
 4045
 4046
 4047
 4048
 4049
 4050
 4051
 4052
 4053
 4054
 4055
 4056
 4057
 4058
 4059
 4060
 4061
 4062
 4063
 4064
 4065
 4066
 4067
 4068
 4069
 4070
 4071
 4072
 4073
 4074
 4075
 4076
 4077
 4078
 4079
 4080
 4081
 4082
 4083
 4084
 4085
 4086
 4087
 4088
 4089
 4090
 4091
 4092
 4093
 4094
 4095
 4096
 4097
 4098
 4099
 4100
 4101
 4102
 4103
 4104
 4105
 4106
 4107
 4108
 4109
 4110
 4111
 4112
 4113
 4114
 4115
 4116
 4117
 4118
 4119
 4120
 4121
 4122
 4123
 4124
 4125
 4126
 4127
 4128
 4129
 4130
 4131
 4132
 4133
 4134
 4135
 4136
 4137
 4138
 4139
 4140
 4141
 4142
 4143
 4144
 4145
 4146
 4147
 4148
 4149
 4150
 4151
 4152
 4153
 4154
 4155
 4156
 4157
 4158
 4159
 4160
 4161
 4162
 4163
 4164
 4165
 4166
 4167
 4168
 4169
 4170
 4171
 4172
 4173
 4174
 4175
 4176
 4177
 4178
 4179
 4180
 4181
 4182
 4183
 4184
 4185
 4186
 4187
 4188
 4189
 4190
 4191
 4192
 4193
 4194
 4195
 4196
 4197
 4198
 4199
 4200
 4201
 4202
 4203
 4204
 4205
 4206
 4207
 4208
 4209
 4210
 4211
 4212
 4213
 4214
 4215
 4216
 4217
 4218
 4219
 4220
 4221
 4222
 4223
 4224
 4225
 4226
 4227
 4228
 4229
 4230
 4231
 4232
 4233
 4234
 4235
 4236
 4237
 4238
 4239
 4240
 4241
 4242
 4243
 4244
 4245
 4246
 4247
 4248
 4249
 4250
 4251
 4252
 4253
 4254
 4255
 4256
 4257
 4258
 4259
 4260
 4261
 4262
 4263
 4264
 4265
 4266
 4267
 4268
 4269
 4270
 4271
 4272
 4273
 4274
 4275
 4276
 4277
 4278
 4279
 4280
 4281
 4282
 4283
 4284
 4285
 4286
 4287
 4288
 4289
 4290
 4291
 4292
 4293
 4294
 4295
 4296
 4297
 4298
 4299
 4300
 4301
 4302
 4303
 4304
 4305
 4306
 4307
 4308
 4309
 4310
 4311
 4312
 4313
 4314
 4315
 4316
 4317
 4318
 4319
 4320
 4321
 4322
 4323
 4324
 4325
 4326
 4327
 4328
 4329
 4330
 4331
 4332
 4333
 4334
 4335
 4336
 4337
 4338
 4339
 4340
 4341
 4342
 4343
 4344
 4345
 4346
 4347
 4348
 4349
 4350
 4351
 4352
 4353
 4354
 4355
 4356
 4357
 4358
 4359
 4360
 4361
 4362
 4363
 4364
 4365
 4366
 4367
 4368
 4369
 4370
 4371
 4372
 4373
 4374
 4375
 4376
 4377
 4378
 4379
 4380
 4381
 4382
 4383
 4384
 4385
 4386
 4387
 4388
 4389
 4390
 4391
 4392
 4393
 4394
 4395
 4396
 4397
 4398
 4399
 4400
 4401
 4402
 4403
 4404
 4405
 4406
 4407
 4408
 4409
 4410
 4411
 4412
 4413
 4414
 4415
 4416
 4417
 4418
 4419
 4420
 4421
 4422
 4423
 4424
 4425
 4426
 4427
 4428
 4429
 4430
 4431
 4432
 4433
 4434
 4435
 4436
 4437
 4438
 4439
 4440
 4441
 4442
 4443
 4444
 4445
 4446
 4447
 4448
 4449
 4450
 4451
 4452
 4453
 4454
 4455
 4456
 4457
 4458
 4459
 4460
 4461
 4462
 4463
 4464
 4465
 4466
 4467
 4468
 4469
 4470
 4471
 4472
 4473
 4474
 4475
 4476
 4477
 4478
 4479
 4480
 4481
 4482
 4483
 4484
 4485
 4486
 4487
 4488
 4489
 4490
 4491
 4492
 4493
 4494
 4495
 4496
 4497
 4498
 4499
 4500
 4501
 4502
 4503
 4504
 4505
 4506
 4507
 4508
 4509
 4510
 4511
 4512
 4513
 4514
 4515
 4516
 4517
 4518
 4519
 4520
 4521
 4522
 4523
 4524
 4525
 4526
 4527
 4528
 4529
 4530
 4531
 4532
 4533
 4534
 4535
 4536
 4537
 4538
 4539
 4540
 4541
 4542
 4543
 4544
 4545
 4546
 4547
 4548
 4549
 4550
 4551
 4552
 4553
 4554
 4555
 4556
 4557
 4558
 4559
 4560
 4561
 4562
 4563
 4564
 4565
 4566
 4567
 4568
 4569
 4570
 4571
 4572
 4573
 4574
 4575
 4576
 4577
 4578
 4579
 4580
 4581
 4582
 4583
 4584
 4585
 4586
 4587
 4588
 4589
 4590
 4591
 4592
 4593
 4594
 4595
 4596
 4597
 4598
 4599
 4600
 4601
 4602
 4603
 4604
 4605
 4606
 4607
 4608
 4609
 4610
 4611
 4612
 4613
 4614
 4615
 4616
 4617
 4618
 4619
 4620
 4621
 4622
 4623
 4624
 4625
 4626
 4627
 4628
 4629
 4630
 4631
 4632
 4633
 4634
 4635
 4636
 4637
 4638
 4639
 4640
 4641
 4642
 4643
 4644
 4645
 4646
 4647
 4648
 4649
 4650
 4651
 4652
 4653
 4654
 4655
 4656
 4657
 4658
 4659
 4660
 4661
 4662
 4663
 4664
 4665
 4666
 4667
 4668
 4669
 4670
 4671
 4672
 4673
 4674
 4675
 4676
 4677
 4678
 4679
 4680
 4681
 4682
 4683
 4684
 4685
 4686
 4687
 4688
 4689
 4690
 4691
 4692
 4693
 4694
 4695
 4696
 4697
 4698
 4699
 4700
 4701
 4702
 4703
 4704
 4705
 4706
 4707
 4708
 4709
 4710
 4711
 4712
 4713
 4714
 4715
 4716
 4717
 4718
 4719
 4720
 4721
 4722
 4723
 4724
 4725
 4726
 4727
 4728
 4729
 4730
 4731
 4732
 4733
 4734
 4735
 4736
 4737
 4738
 4739
 4740
 4741
 4742
 4743
 4744
 4745
 4746
 4747
 4748
 4749
 4750
 4751
 4752
 4753
 4754
 4755
 4756
 4757
 4758
 4759
 4760
 4761
 4762
 4763
 4764
 4765
 4766
 4767
 4768
 4769
 4770
 4771
 4772
 4773
 4774
 4775
 4776
 4777
 4778
 4779
 4780
 4781
 4782
 4783
 4784
 4785
 4786
 4787
 4788
 4789
 4790
 4791
 4792
 4793
 4794
 4795
 4796
 4797
 4798
 4799
 4800
 4801
 4802
 4803
 4804
 4805
 4806
 4807
 4808
 4809
 4810
 4811
 4812
 4813
 4814
 4815
 4816
 4817
 4818
 4819
 4820
 4821
 4822
 4823
 4824
 4825
 4826
 4827
 4828
 4829
 4830
 4831
 4832
 4833
 4834
 4835
 4836
 4837
 4838
 4839
 4840
 4841
 4842
 4843
 4844
 4845
 4846
 4847
 4848
 4849
 4850
 4851
 4852
 4853
 4854
 4855
 4856
 4857
 4858
 4859
 4860
 4861
 4862
 4863
 4864
 4865
 4866
 4867
 4868
 4869
 4870
 4871
 4872
 4873
 4874
 4875
 4876
 4877
 4878
 4879
 4880
 4881
 4882
 4883
 4884
 4885
 4886
 4887
 4888
 4889
 4890
 4891
 4892
 4893
 4894
 4895
 4896
 4897
 4898
 4899
 4900
 4901
 4902
 4903
 4904
 4905
 4906
 4907
 4908
 4909
 4910
 4911
 4912
 4913
 4914
 4915
 4916
 4917
 4918
 4919
 4920
 4921
 4922
 4923
 4924
 4925
 4926
 4927
 4928
 4929
 4930
 4931
 4932
 4933
 4934
 4935
 4936
 4937
 4938
 4939
 4940
 4941
 4942
 4943
 4944
 4945
 4946
 4947
 4948
 4949
 4950
 4951
 4952
 4953
 4954
 4955
 4956
 4957
 4958
 4959
 4960
 4961
 4962
 4963
 4964
 4965
 4966
 4967
 4968
 4969
 4970
 4971
 4972
 4973
 4974
 4975
 4976
 4977
 4978
 4979
 4980
 4981
 4982
 4983
 4984
 4985
 4986
 4987
 4988
 4989
 4990
 4991
 4992
 4993
 4994
 4995
 4996
 4997
 4998
 4999
 5000
 5001
 5002
 5003
 5004
 5005
 5006
 5007
 5008
 5009
 5010
 5011
 5012
 5013
 5014
 5015
 5016
 5017
 5018
 5019
 5020
 5021
 5022
 5023
 5024
 5025
 5026
 5027
 5028
 5029
 5030
 5031
 5032
 5033
 5034
 5035
 5036
 5037
 5038
 5039
 5040
 5041
 5042
 5043
 5044
 5045
 5046
 5047
 5048
 5049
 5050
 5051
 5052
 5053
 5054
 5055
 5056
 5057
 5058
 5059
 5060
 5061
 5062
 5063
 5064
 5065
 5066
 5067
 5068
 5069
 5070
 5071
 5072
 5073
 5074
 5075
 5076
 5077
 5078
 5079
 5080
 5081
 5082
 5083
 5084
 5085
 5086
 5087
 5088
 5089
 5090
 5091
 5092
 5093
 5094
 5095
 5096
 5097
 5098
 5099
 5100
 5101
 5102
 5103
 5104
 5105
 5106
 5107
 5108
 5109
 5110
 5111
 5112
 5113
 5114
 5115
 5116
 5117
 5118
 5119
 5120
 5121
 5122
 5123
 5124
 5125
 5126
 5127
 5128
 5129
 5130
 5131
 5132
 5133
 5134
 5135
 5136
 5137
 5138
 5139
 5140
 5141
 5142
 5143
 5144
 5145
 5146
 5147
 5148
 5149
 5150
 5151
 5152
 5153
 5154
 5155
 5156
 5157
 5158
 5159
 5160
 5161
 5162
 5163
 5164
 5165
 5166
 5167
 5168
 5169
 5170
 5171
 5172
 5173
 5174
 5175
 5176
 5177
 5178
 5179
 5180
 5181
 5182
 5183
 5184
 5185
 5186
 5187
 5188
 5189
 5190
 5191
 5192
 5193
 5194
 5195
 5196
 5197
 5198
 5199
 5200
 5201
 5202
 5203
 5204
 5205
 5206
 5207
 5208
 5209
 5210
 5211
 5212
 5213
 5214
 5215
 5216
 5217
 5218
 5219
 5220
 5221
 5222
 5223
 5224
 5225
 5226
 5227
 5228
 5229
 5230
 5231
 5232
 5233
 5234
 5235
 5236
 5237
 5238
 5239
 5240
 5241
 5242
 5243
 5244
 5245
 5246
 5247
 5248
 5249
 5250
 5251
 5252
 5253
 5254
 5255
 5256
 5257
 5258
 5259
 5260
 5261
 5262
 5263
 5264
 5265
 5266
 5267
 5268
 5269
 5270
 5271
 5272
 5273
 5274
 5275
 5276
 5277
 5278
 5279
 5280
 5281
 5282
 5283
 5284
 5285
 5286
 5287
 5288
 5289
 5290
 5291
 5292
 5293
 5294
 5295
 5296
 5297
 5298
 5299
 5300
 5301
 5302
 5303
 5304
 5305
 5306
 5307
 5308
 5309
 5310
 5311
 5312
 5313
 5314
 5315
 5316
 5317
 5318
 5319
 5320
 5321
 5322
 5323
 5324
 5325
 5326
 5327
 5328
 5329
 5330
 5331
 5332
 5333
 5334
 5335
 5336
 5337
 5338
 5339
 5340
 5341
 5342
 5343
 5344
 5345
 5346
 5347
 5348
 5349
 5350
 5351
 5352
 5353
 5354
 5355
 5356
 5357
 5358
 5359
 5360
 5361
 5362
 5363
 5364
 5365
 5366
 5367
 5368
 5369
 5370
 5371
 5372
 5373
 5374
 5375
 5376
 5377
 5378
 5379
 5380
 5381
 5382
 5383
 5384
 5385
 5386
 5387
 5388
 5389
 5390
 5391
 5392
 5393
 5394
 5395
 5396
 5397
 5398
 5399
 5400
 5401
 5402
 5403
 5404
 5405
 5406
 5407
 5408
 5409
 5410
 5411
 5412
 5413
 5414
 5415
 5416
 5417
 5418
 5419
 5420
 5421
 5422
 5423
 5424
 5425
 5426
 5427
 5428
 5429
 5430
 5431
 5432
 5433
 5434
 5435
 5436
 5437
 5438
 5439
 5440
 5441
 5442
 5443
 5444
 5445
 5446
 5447
 5448
 5449
 5450
 5451
 5452
 5453
 5454
 5455
 5456
 5457
 5458
 5459
 5460
 5461
 5462
 5463
 5464
 5465
 5466
 5467
 5468
 5469
 5470
 5471
 5472
 5473
 5474
 5475
 5476
 5477
 5478
 5479
 5480
 5481
 5482
 5483
 5484
 5485
 5486
 5487
 5488
 5489
 5490
 5491
 5492
 5493
 5494
 5495
 5496
 5497
 5498
 5499
 5500
 5501
 5502
 5503
 5504
 5505
 5506
 5507
 5508
 5509
 5510
 5511
 5512
 5513
 5514
 5515
 5516
 5517
 5518
 5519
 5520
 5521
 5522
 5523
 5524
 5525
 5526
 5527
 5528
 5529
 5530
 5531
 5532
 5533
 5534
 5535
 5536
 5537
 5538
 5539
 5540
 5541
 5542
 5543
 5544
 5545
 5546
 5547
 5548
 5549
 5550
 5551
 5552
 5553
 5554
 5555
 5556
 5557
 5558
 5559
 5560
 5561
 5562
 5563
 5564
 5565
 5566
 5567
 5568
 5569
 5570
 5571
 5572
 5573
 5574
 5575
 5576
 5577
 5578
 5579
 5580
 5581
 5582
 5583
 5584
 5585
 5586
 5587
 5588
 5589
 5590
 5591
 5592
 5593
 5594
 5595
 5596
 5597
 5598
 5599
 5600
 5601
 5602
 5603
 5604
 5605
 5606
 5607
 5608
 5609
 5610
 5611
 5612
 5613
 5614
 5615
 5616
 5617
 5618
 5619
 5620
 5621
 5622
 5623
 5624
 5625
 5626
 5627
 5628
 5629
 5630
 5631
 5632
 5633
 5634
 5635
 5636
 5637
 5638
 5639
 5640
 5641
 5642
 5643
 5644
 5645
 5646
 5647
 5648
 5649
 5650
 5651
 5652
 5653
 5654
 5655
 5656
 5657
 5658
 5659
 5660
 5661
 5662
 5663
 5664
 5665
 5666
 5667
 5668
 5669
 5670
 5671
 5672
 5673
 5674
 5675
 5676
 5677
 5678
 5679
 5680
 5681
 5682
 5683
 5684
 5685
 5686
 5687
 5688
 5689
 5690
 5691
 5692
 5693
 5694
 5695
 5696
 5697
 5698
 5699
 5700
 5701
 5702
 5703
 5704
 5705
 5706
 5707
 5708
 5709
 5710
 5711
 5712
 5713
 5714
 5715
 5716
 5717
 5718
 5719
 5720
 5721
 5722
 5723
 5724
 5725
 5726
 5727
 5728
 5729
 5730
 5731
 5732
 5733
 5734
 5735
 5736
 5737
 5738
 5739
 5740
 5741
 5742
 5743
 5744
 5745
 5746
 5747
 5748
 5749
 5750
 5751
 5752
 5753
 5754
 5755
 5756
 5757
 5758
 5759
 5760
 5761
 5762
 5763
 5764
 5765
 5766
 5767
 5768
 5769
 5770
 5771
 5772
 5773
 5774
 5775
 5776
 5777
 5778
 5779
 5780
 5781
 5782
 5783
 5784
 5785
 5786
 5787
 5788
 5789
 5790
 5791
 5792
 5793
 5794
 5795
 5796
 5797
 5798
 5799
 5800
 5801
 5802
 5803
 5804
 5805
 5806
 5807
 5808
 5809
 5810
 5811
 5812
 5813
 5814
 5815
 5816
 5817
 5818
 5819
 5820
 5821
 5822
 5823
 5824
 5825
 5826
 5827
 5828
 5829
 5830
 5831
 5832
 5833
 5834
 5835
 5836
 5837
 5838
 5839
 5840
 5841
 5842
 5843
 5844
 5845
 5846
 5847
 5848
 5849
 5850
 5851
 5852
 5853
 5854
 5855
 5856
 5857
 5858
 5859
 5860
 5861
 5862
 5863
 5864
 5865
 5866
 5867
 5868
 5869
 5870
 5871
 5872
 5873
 5874
 5875
 5876
 5877
 5878
 5879
 5880
 5881
 5882
 5883
 5884
 5885
 5886
 5887
 5888
 5889
 5890
 5891
 5892
 5893
 5894
 5895
 5896
 5897
 5898
 5899
 5900
 5901
 5902
 5903
 5904
 5905
 5906
 5907
 5908
 5909
 5910
 5911
 5912
 5913
 5914
 5915
 5916
 5917
 5918
 5919
 5920
 5921
 5922
 5923
 5924
 5925
 5926
 5927
 5928
 5929
 5930
 5931
 5932
 5933
 5934
 5935
 5936
 5937
 5938
 5939
 5940
 5941
 5942
 5943
 5944
 5945
 5946
 5947
 5948
 5949
 5950
 5951
 5952
 5953
 5954
 5955
 5956
 5957
 5958
 5959
 5960
 5961
 5962
 5963
 5964
 5965
 5966
 5967
 5968
 5969
 5970
 5971
 5972
 5973
 5974
 5975
 5976
 5977
 5978
 5979
 5980
 5981
 5982
 5983
 5984
 5985
 5986
 5987
 5988
 5989
 5990
 5991
 5992
 5993
 5994
 5995
 5996
 5997
 5998
 5999
 6000
 6001
 6002
 6003
 6004
 6005
 6006
 6007
 6008
 6009
 6010
 6011
 6012
 6013
 6014
 6015
 6016
 6017
 6018
 6019
 6020
 6021
 6022
 6023
 6024
 6025
 6026
 6027
 6028
 6029
 6030
 6031
 6032
 6033
 6034
 6035
 6036
 6037
 6038
 6039
 6040
 6041
 6042
 6043
 6044
 6045
 6046
 6047
 6048
 6049
 6050
 6051
 6052
 6053
 6054
 6055
 6056
 6057
 6058
 6059
 6060
 6061
 6062
 6063
 6064
 6065
 6066
 6067
 6068
 6069
 6070
 6071
 6072
 6073
 6074
 6075
 6076
 6077
 6078
 6079
 6080
 6081
 6082
 6083
 6084
 6085
 6086
 6087
 6088
 6089
 6090
 6091
 6092
 6093
 6094
 6095
 6096
 6097
 6098
 6099
 6100
 6101
 6102
 6103
 6104
 6105
 6106
 6107
 6108
 6109
 6110
 6111
 6112
 6113
 6114
 6115
 6116
 6117
 6118
 6119
 6120
 6121
 6122
 6123
 6124
 6125
 6126
 6127
 6128
 6129
 6130
 6131
 6132
 6133
 6134
 6135
 6136
 6137
 6138
 6139
 6140
 6141
 6142
 6143
 6144
 6145
 6146
 6147
 6148
 6149
 6150
 6151
 6152
 6153
 6154
 6155
 6156
 6157
 6158
 6159
 6160
 6161
 6162
 6163
 6164
 6165
 6166
 6167
 6168
 6169
 6170
 6171
 6172
 6173
 6174
 6175
 6176
 6177
 6178
 6179
 6180
 6181
 6182
 6183
 6184
 6185
 6186
 6187
 6188
 6189
 6190
 6191
 6192
 6193
 6194
 6195
 6196
 6197
 6198
 6199
 6200
 6201
 6202
 6203
 6204
 6205
 6206
 6207
 6208
 6209
 6210
 6211
 6212
 6213
 6214
 6215
 6216
 6217
 6218
 6219
 6220
 6221
 6222
 6223
 6224
 6225
 6226
 6227
 6228
 6229
 6230
 6231
 6232
 6233
 6234
 6235
 6236
 6237
 6238
 6239
 6240
 6241
 6242
 6243
 6244
 6245
 6246
 6247
 6248
 6249
 6250
 6251
 6252
 6253
 6254
 6255
 6256
 6257
 6258
 6259
 6260
 6261
 6262
 6263
 6264
 6265
 6266
 6267
 6268
 6269
 6270
 6271
 6272
 6273
 6274
 6275
 6276
 6277
 6278
 6279
 6280
 6281
 6282
 6283
 6284
 6285
 6286
 6287
 6288
 6289
 6290
 6291
 6292
 6293
 6294
 6295
 6296
 6297
 6298
 6299
 6300
 6301
 6302
 6303
 6304
 6305
 6306
 6307
 6308
 6309
 6310
 6311
 6312
 6313
 6314
 6315
 6316
 6317
 6318
 6319
 6320
 6321
 6322
 6323
 6324
 6325
 6326
 6327
 6328
 6329
 6330
 6331
 6332
 6333
 6334
 6335
 6336
 6337
 6338
 6339
 6340
 6341
 6342
 6343
 6344
 6345
 6346
 6347
 6348
 6349
 6350
 6351
 6352
 6353
 6354
 6355
 6356
 6357
 6358
 6359
 6360
 6361
 6362
 6363
 6364
 6365
 6366
 6367
 6368
 6369
 6370
 6371
 6372
 6373
 6374
 6375
 6376
 6377
 6378
 6379
 6380
 6381
 6382
 6383
 6384
 6385
 6386
 6387
 6388
 6389
 6390
 6391
 6392
 6393
 6394
 6395
 6396
 6397
 6398
 6399
 6400
 6401
 6402
 6403
 6404
 6405
 6406
 6407
 6408
 6409
 6410
 6411
 6412
 6413
 6414
 6415
 6416
 6417
 6418
 6419
 6420
 6421
 6422
 6423
 6424
 6425
 6426
 6427
 6428
 6429
 6430
 6431
 6432
 6433
 6434
 6435
 6436
 6437
 6438
 6439
 6440
 6441
 6442
 6443
 6444
 6445
 6446
 6447
 6448
 6449
 6450
 6451
 6452
 6453
 6454
 6455
 6456
 6457
 6458
 6459
 6460
 6461
 6462
 6463
 6464
 6465
 6466
 6467
 6468
 6469
 6470
 6471
 6472
 6473
 6474
 6475
 6476
 6477
 6478
 6479
 6480
 6481
 6482
 6483
 6484
 6485
 6486
 6487
 6488
 6489
 6490
 6491
 6492
 6493
 6494
 6495
 6496
 6497
 6498
 6499
 6500
 6501
 6502
 6503
 6504
 6505
 6506
 6507
 6508
 6509
 6510
 6511
 6512
 6513
 6514
 6515
 6516
 6517
 6518
 6519
 6520
 6521
 6522
 6523
 6524
 6525
 6526
 6527
 6528
 6529
 6530
 6531
 6532
 6533
 6534
 6535
 6536
 6537
 6538
 6539
 6540
 6541
 6542
 6543
 6544
 6545
 6546
 6547
 6548
 6549
 6550
 6551
 6552
 6553
 6554
 6555
 6556
 6557
 6558
 6559
 6560
 6561
 6562
 6563
 6564
 6565
 6566
 6567
 6568
 6569
 6570
 6571
 6572
 6573
 6574
 6575
 6576
 6577
 6578
 6579
 6580
 6581
 6582
 6583
 6584
 6585
 6586
 6587
 6588
 6589
 6590
 6591
 6592
 6593
 6594
 6595
 6596
 6597
 6598
 6599
 6600
 6601
 6602
 6603
 6604
 6605
 6606
 6607
 6608
 6609
 6610
 6611
 6612
 6613
 6614
 6615
 6616
 6617
 6618
 6619
 6620
 6621
 6622
 6623
 6624
 6625
 6626
 6627
 6628
 6629
 6630
 6631
 6632
 6633
 6634
 6635
 6636
 6637
 6638
 6639
 6640
 6641
 6642
 6643
 6644
 6645
 6646
 6647
 6648
 6649
 6650
 6651
 6652
 6653
 6654
 6655
 6656
 6657
 6658
 6659
 6660
 6661
 6662
 6663
 6664
 6665
 6666
 6667
 6668
 6669
 6670
 6671
 6672
 6673
 6674
 6675
 6676
 6677
 6678
 6679
 6680
 6681
 6682
 6683
 6684
 6685
 6686
 6687
 6688
 6689
 6690
 6691
 6692
 6693
 6694
 6695
 6696
 6697
 6698
 6699
 6700
 6701
 6702
 6703
 6704
 6705
 6706
 6707
 6708
 6709
 6710
 6711
 6712
 6713
 6714
 6715
 6716
 6717
 6718
 6719
 6720
 6721
 6722
 6723
 6724
 6725
 6726
 6727
 6728
 6729
 6730
 6731
 6732
 6733
 6734
 6735
 6736
 6737
 6738
 6739
 6740
 6741
 6742
 6743
 6744
 6745
 6746
 6747
 6748
 6749
 6750
 6751
 6752
 6753
 6754
 6755
 6756
 6757
 6758
 6759
 6760
 6761
 6762
 6763
 6764
 6765
 6766
 6767
 6768
 6769
 6770
 6771
 6772
 6773
 6774
 6775
 6776
 6777
 6778
 6779
 6780
 6781
 6782
 6783
 6784
 6785
 6786
 6787
 6788
 6789
 6790
 6791
 6792
 6793
 6794
 6795
 6796
 6797
 6798
 6799
 6800
 6801
 6802
 6803
 6804
 6805
 6806
 6807
 6808
 6809
 6810
 6811
 6812
 6813
 6814
 6815
 6816
 6817
 6818
 6819
 6820
 6821
 6822
 6823
 6824
 6825
 6826
 6827
 6828
 6829
 6830
 6831
 6832
 6833
 6834
 6835
 6836
 6837
 6838
 6839
 6840
 6841
 6842
 6843
 6844
 6845
 6846
 6847
 6848
 6849
 6850
 6851
 6852
 6853
 6854
 6855
 6856
 6857
 6858
 6859
 6860
 6861
 6862
 6863
 6864
 6865
 6866
 6867
 6868
 6869
 6870
 6871
 6872
 6873
 6874
 6875
 6876
 6877
 6878
 6879
 6880
 6881
 6882
 6883
 6884
 6885
 6886
 6887
 6888
 6889
 6890
 6891
 6892
 6893
 6894
 6895
 6896
 6897
 6898
 6899
 6900
 6901
 6902
 6903
 6904
 6905
 6906
 6907
 6908
 6909
 6910
 6911
 6912
 6913
 6914
 6915
 6916
 6917
 6918
 6919
 6920
 6921
 6922
 6923
 6924
 6925
 6926
 6927
 6928
 6929
 6930
 6931
 6932
 6933
 6934
 6935
 6936
 6937
 6938
 6939
 6940
 6941
 6942
 6943
 6944
 6945
 6946
 6947
 6948
 6949
 6950
 6951
 6952
 6953
 6954
 6955
 6956
 6957
 6958
 6959
 6960
 6961
 6962
 6963
 6964
 6965
 6966
 6967
 6968
 6969
 6970
 6971
 6972
 6973
 6974
 6975
 6976
 6977
 6978
 6979
 6980
 6981
 6982
 6983
 6984
 6985
 6986
 6987
 6988
 6989
 6990
 6991
 6992
 6993
 6994
 6995
 6996
 6997
 6998
 6999
 7000
 7001
 7002
 7003
 7004
 7005
 7006
 7007
 7008
 7009
 7010
 7011
 7012
 7013
 7014
 7015
 7016
 7017
 7018
 7019
 7020
 7021
 7022
 7023
 7024
 7025
 7026
 7027
 7028
 7029
 7030
 7031
 7032
 7033
 7034
 7035
 7036
 7037
 7038
 7039
 7040
 7041
 7042
 7043
 7044
 7045
 7046
 7047
 7048
 7049
 7050
 7051
 7052
 7053
 7054
 7055
 7056
 7057
 7058
 7059
 7060
 7061
 7062
 7063
 7064
 7065
 7066
 7067
 7068
 7069
 7070
 7071
 7072
 7073
 7074
 7075
 7076
 7077
 7078
 7079
 7080
 7081
 7082
 7083
 7084
 7085
 7086
 7087
 7088
 7089
 7090
 7091
 7092
 7093
 7094
 7095
 7096
 7097
 7098
 7099
 7100
 7101
 7102
 7103
 7104
 7105
 7106
 7107
 7108
 7109
 7110
 7111
 7112
 7113
 7114
 7115
 7116
 7117
 7118
 7119
 7120
 7121
 7122
 7123
 7124
 7125
 7126
 7127
 7128
 7129
 7130
 7131
 7132
 7133
 7134
 7135
 7136
 7137
 7138
 7139
 7140
 7141
 7142
 7143
 7144
 7145
 7146
 7147
 7148
 7149
 7150
 7151
 7152
 7153
 7154
 7155
 7156
 7157
 7158
 7159
 7160
 7161
 7162
 7163
 7164
 7165
 7166
 7167
 7168
 7169
 7170
 7171
 7172
 7173
 7174
 7175
 7176
 7177
 7178
 7179
 7180
 7181
 7182
 7183
 7184
 7185
 7186
 7187
 7188
 7189
 7190
 7191
 7192
 7193
 7194
 7195
 7196
 7197
 7198
 7199
 7200
 7201
 7202
 7203
 7204
 7205
 7206
 7207
 7208
 7209
 7210
 7211
 7212
 7213
 7214
 7215
 7216
 7217
 7218
 7219
 7220
 7221
 7222
 7223
 7224
 7225
 7226
 7227
 7228
 7229
 7230
 7231
 7232
 7233
 7234
 7235
 7236
 7237
 7238
 7239
 7240
 7241
 7242
 7243
 7244
 7245
 7246
 7247
 7248
 7249
 7250
 7251
 7252
 7253
 7254
 7255
 7256
 7257
 7258
 7259
 7260
 7261
 7262
 7263
 7264
 7265
 7266
 7267
 7268
 7269
 7270
 7271
 7272
 7273
 7274
 7275
 7276
 7277
 7278
 7279
 7280
 7281
 7282
 7283
 7284
 7285
 7286
 7287
 7288
 7289
 7290
 7291
 7292
 7293
 7294
 7295
 7296
 7297
 7298
 7299
 7300
 7301
 7302
 7303
 7304
 7305
 7306
 7307
 7308
 7309
 7310
 7311
 7312
 7313
 7314
 7315
 7316
 7317
 7318
 7319
 7320
 7321
 7322
 7323
 7324
 7325
 7326
 7327
 7328
 7329
 7330
 7331
 7332
 7333
 7334
 7335
 7336
 7337
 7338
 7339
 7340
 7341
 7342
 7343
 7344
 7345
 7346
 7347
 7348
 7349
 7350
 7351
 7352
 7353
 7354
 7355
 7356
 7357
 7358
 7359
 7360
 7361
 7362
 7363
 7364
 7365
 7366
 7367
 7368
 7369
 7370
 7371
 7372
 7373
 7374
 7375
 7376
 7377
 7378
 7379
 7380
 7381
 7382
 7383
 7384
 7385
 7386
 7387
 7388
 7389
 7390
 7391
 7392
 7393
 7394
 7395
 7396
 7397
 7398
 7399
 7400
 7401
 7402
 7403
 7404
 7405
 7406
 7407
 7408
 7409
 7410
 7411
 7412
 7413
 7414
 7415
 7416
 7417
 7418
 7419
 7420
 7421
 7422
 7423
 7424
 7425
 7426
 7427
 7428
 7429
 7430
 7431
 7432
 7433
 7434
 7435
 7436
 7437
 7438
 7439
 7440
 7441
 7442
 7443
 7444
 7445
 7446
 7447
 7448
 7449
 7450
 7451
 7452
 7453
 7454
 7455
 7456
 7457
 7458
 7459
 7460
 7461
 7462
 7463
 7464
 7465
 7466
 7467
 7468
 7469
 7470
 7471
 7472
 7473
 7474
 7475
 7476
 7477
 7478
 7479
 7480
 7481
 7482
 7483
 7484
 7485
 7486
 7487
 7488
 7489
 7490
 7491
 7492
 7493
 7494
 7495
 7496
 7497
 7498
 7499
 7500
 7501
 7502
 7503
 7504
 7505
 7506
 7507
 7508
 7509
 7510
 7511
 7512
 7513
 7514
 7515
 7516
 7517
 7518
 7519
 7520
 7521
 7522
 7523
 7524
 7525
 7526
 7527
 7528
 7529
 7530
 7531
 7532
 7533
 7534
 7535
 7536
 7537
 7538
 7539
 7540
 7541
 7542
 7543
 7544
 7545
 7546
 7547
 7548
 7549
 7550
 7551
 7552
 7553
 7554
 7555
 7556
 7557
 7558
 7559
 7560
 7561
 7562
 7563
 7564
 7565
 7566
 7567
 7568
 7569
 7570
 7571
 7572
 7573
 7574
 7575
 7576
 7577
 7578
 7579
 7580
 7581
 7582
 7583
 7584
 7585
 7586
 7587
 7588
 7589
 7590
 7591
 7592
 7593
 7594
 7595
 7596
 7597
 7598
 7599
 7600
 7601
 7602
 7603
 7604
 7605
 7606
 7607
 7608
 7609
 7610
 7611
 7612
 7613
 7614
 7615
 7616
 7617
 7618
 7619
 7620
 7621
 7622
 7623
 7624
 7625
 7626
 7627
 7628
 7629
 7630
 7631
 7632
 7633
 7634
 7635
 7636
 7637
 7638
 7639
 7640
 7641
 7642
 7643
 7644
 7645
 7646
 7647
 7648
 7649
 7650
 7651
 7652
 7653
 7654
 7655
 7656
 7657
 7658
 7659
 7660
 7661
 7662
 7663
 7664
 7665
 7666
 7667
 7668
 7669
 7670
 7671
 7672
 7673
 7674
 7675
 7676
 7677
 7678
 7679
 7680
 7681
 7682
 7683
 7684
 7685
 7686
 7687
 7688
 7689
 7690
 7691
 7692
 7693
 7694
 7695
 7696
 7697
 7698
 7699
 7700
 7701
 7702
 7703
 7704
 7705
 7706
 7707
 7708
 7709
 7710
 7711
 7712
 7713
 7714
 7715
 7716
 7717
 7718
 7719
 7720
 7721
 7722
 7723
 7724
 7725
 7726
 7727
 7728
 7729
 7730
 7731
 7732
 7733
 7734
 7735
 7736
 7737
 7738
 7739
 7740
 7741
 7742
 7743
 7744
 7745
 7746
 7747
 7748
 7749
 7750
 7751
 7752
 7753
 7754
 7755
 7756
 7757
 7758
 7759
 7760
 7761
 7762
 7763
 7764
 7765
 7766
 7767
 7768
 7769
 7770
 7771
 7772
 7773
 7774
 7775
 7776
 7777
 7778
 7779
 7780
 7781
 7782
 7783
 7784
 7785
 7786
 7787
 7788
 7789
 7790
 7791
 7792
 7793
 7794
 7795
 7796
 7797
 7798
 7799
 7800
 7801
 7802
 7803
 7804
 7805
 7806
 7807
 7808
 7809
 7810
 7811
 7812
 7813
 7814
 7815
 7816
 7817
 7818
 7819
 7820
 7821
 7822
 7823
 7824
 7825
 7826
 7827
 7828
 7829
 7830
 7831
 7832
 7833
 7834
 7835
 7836
 7837
 7838
 7839
 7840
 7841
 7842
 7843
 7844
 7845
 7846
 7847
 7848
 7849
 7850
 7851
 7852
 7853
 7854
 7855
 7856
 7857
 7858
 7859
 7860
 7861
 7862
 7863
 7864
 7865
 7866
 7867
 7868
 7869
 7870
 7871
 7872
 7873
 7874
 7875
 7876
 7877
 7878
 7879
 7880
 7881
 7882
 7883
 7884
 7885
 7886
 7887
 7888
 7889
 7890
 7891
 7892
 7893
 7894
 7895
 7896
 7897
 7898
 7899
 7900
 7901
 7902
 7903
 7904
 7905
 7906
 7907
 7908
 7909
 7910
 7911
 7912
 7913
 7914
 7915
 7916
 7917
 7918
 7919
 7920
 7921
 7922
 7923
 7924
 7925
 7926
 7927
 7928
 7929
 7930
 7931
 7932
 7933
 7934
 7935
 7936
 7937
 7938
 7939
 7940
 7941
 7942
 7943
 7944
 7945
 7946
 7947
 7948
 7949
 7950
 7951
 7952
 7953
 7954
 7955
 7956
 7957
 7958
 7959
 7960
 7961
 7962
 7963
 7964
 7965
 7966
 7967
 7968
 7969
 7970
 7971
 7972
 7973
 7974
 7975
 7976
 7977
 7978
 7979
 7980
 7981
 7982
 7983
 7984
 7985
 7986
 7987
 7988
 7989
 7990
 7991
 7992
 7993
 7994
 7995
 7996
 7997
 7998
 7999
 8000
 8001
 8002
 8003
 8004
 8005
 8006
 8007
 8008
 8009
 8010
 8011
 8012
 8013
 8014
 8015
 8016
 8017
 8018
 8019
 8020
 8021
 8022
 8023
 8024
 8025
 8026
 8027
 8028
 8029
 8030
 8031
 8032
 8033
 8034
 8035
 8036
 8037
 8038
 8039
 8040
 8041
 8042
 8043
 8044
 8045
 8046
 8047
 8048
 8049
 8050
 8051
 8052
 8053
 8054
 8055
 8056
 8057
 8058
 8059
 8060
 8061
 8062
 8063
 8064
 8065
 8066
 8067
 8068
 8069
 8070
 8071
 8072
 8073
 8074
 8075
 8076
 8077
 8078
 8079
 8080
 8081
 8082
 8083
 8084
 8085
 8086
 8087
 8088
 8089
 8090
 8091
 8092
 8093
 8094
 8095
 8096
 8097
 8098
 8099
 8100
 8101
 8102
 8103
 8104
 8105
 8106
 8107
 8108
 8109
 8110
 8111
 8112
 8113
 8114
 8115
 8116
 8117
 8118
 8119
 8120
 8121
 8122
 8123
 8124
 8125
 8126
 8127
 8128
 8129
 8130
 8131
 8132
 8133
 8134
 8135
 8136
 8137
 8138
 8139
 8140
 8141
 8142
 8143
 8144
 8145
 8146
 8147
 8148
 8149
 8150
 8151
 8152
 8153
 8154
 8155
 8156
 8157
 8158
 8159
 8160
 8161
 8162
 8163
 8164
 8165
 8166
 8167
 8168
 8169
 8170
 8171
 8172
 8173
 8174
 8175
 8176
 8177
 8178
 8179
 8180
 8181
 8182
 8183
 8184
 8185
 8186
 8187
 8188
 8189
 8190
 8191
 8192
 8193
 8194
 8195
 8196
 8197
 8198
 8199
 8200
 8201
 8202
 8203
 8204
 8205
 8206
 8207
 8208
 8209
 8210
 8211
 8212
 8213
 8214
 8215
 8216
 8217
 8218
 8219
 8220
 8221
 8222
 8223
 8224
 8225
 8226
 8227
 8228
 8229
 8230
 8231
 8232
 8233
 8234
 8235
 8236
 8237
 8238
 8239
 8240
 8241
 8242
 8243
 8244
 8245
 8246
 8247
 8248
 8249
 8250
 8251
 8252
 8253
 8254
 8255
 8256
 8257
 8258
 8259
 8260
 8261
 8262
 8263
 8264
 8265
 8266
 8267
 8268
 8269
 8270
 8271
 8272
 8273
 8274
 8275
 8276
 8277
 8278
 8279
 8280
 8281
 8282
 8283
 8284
 8285
 8286
 8287
 8288
 8289
 8290
 8291
 8292
 8293
 8294
 8295
 8296
 8297
 8298
 8299
 8300
 8301
 8302
 8303
 8304
 8305
 8306
 8307
 8308
 8309
 8310
 8311
 8312
 8313
 8314
 8315
 8316
 8317
 8318
 8319
 8320
 8321
 8322
 8323
 8324
 8325
 8326
 8327
 8328
 8329
 8330
 8331
 8332
 8333
 8334
 8335
 8336
 8337
 8338
 8339
 8340
 8341
 8342
 8343
 8344
 8345
 8346
 8347
 8348
 8349
 8350
 8351
 8352
 8353
 8354
 8355
 8356
 8357
 8358
 8359
 8360
 8361
 8362
 8363
 8364
 8365
 8366
 8367
 8368
 8369
 8370
 8371
 8372
 8373
 8374
 8375
 8376
 8377
 8378
 8379
 8380
 8381
 8382
 8383
 8384
 8385
 8386
 8387
 8388
 8389
 8390
 8391
 8392
 8393
 8394
 8395
 8396
 8397
 8398
 8399
 8400
 8401
 8402
 8403
 8404
 8405
 8406
 8407
 8408
 8409
 8410
 8411
 8412
 8413
 8414
 8415
 8416
 8417
 8418
 8419
 8420
 8421
 8422
 8423
 8424
 8425
 8426
 8427
 8428
 8429
 8430
 8431
 8432
 8433
 8434
 8435
 8436
 8437
 8438
 8439
 8440
 8441
 8442
 8443
 8444
 8445
 8446
 8447
 8448
 8449
 8450
 8451
 8452
 8453
 8454
 8455
 8456
 8457
 8458
 8459
 8460
 8461
 8462
 8463
 8464
 8465
 8466
 8467
 8468
 8469
 8470
 8471
 8472
 8473
 8474
 8475
 8476
 8477
 8478
 8479
 8480
 8481
 8482
 8483
 8484
 8485
 8486
 8487
 8488
 8489
 8490
 8491
 8492
 8493
 8494
 8495
 8496
 8497
 8498
 8499
 8500
 8501
 8502
 8503
 8504
 8505
 8506
 8507
 8508
 8509
 8510
 8511
 8512
 8513
 8514
 8515
 8516
 8517
 8518
 8519
 8520
 8521
 8522
 8523
 8524
 8525
 8526
 8527
 8528
 8529
 8530
 8531
 8532
 8533
 8534
 8535
 8536
 8537
 8538
 8539
 8540
 8541
 8542
 8543
 8544
 8545
 8546
 8547
 8548
 8549
 8550
 8551
 8552
 8553
 8554
 8555
 8556
 8557
 8558
 8559
 8560
 8561
 8562
 8563
 8564
 8565
 8566
 8567
 8568
 8569
 8570
 8571
 8572
 8573
 8574
 8575
 8576
 8577
 8578
 8579
 8580
 8581
 8582
 8583
 8584
 8585
 8586
 8587
 8588
 8589
 8590
 8591
 8592
 8593
 8594
 8595
 8596
 8597
 8598
 8599
 8600
 8601
 8602
 8603
 8604
 8605
 8606
 8607
 8608
 8609
 8610
 8611
 8612
 8613
 8614
 8615
 8616
 8617
 8618
 8619
 8620
 8621
 8622
 8623
 8624
 8625
 8626
 8627
 8628
 8629
 8630
 8631
 8632
 8633
 8634
 8635
 8636
 8637
 8638
 8639
 8640
 8641
 8642
 8643
 8644
 8645
 8646
 8647
 8648
 8649
 8650
 8651
 8652
 8653
 8654
 8655
 8656
 8657
 8658
 8659
 8660
 8661
 8662
 8663
 8664
 8665
 8666
 8667
 8668
 8669
 8670
 8671
 8672
 8673
 8674
 8675
 8676
 8677
 8678
 8679
 8680
 8681
 8682
 8683
 8684
 8685
 8686
 8687
 8688
 8689
 8690
 8691
 8692
 8693
 8694
 8695
 8696
 8697
 8698
 8699
 8700
 8701
 8702
 8703
 8704
 8705
 8706
 8707
 8708
 8709
 8710
 8711
 8712
 8713
 8714
 8715
 8716
 8717
 8718
 8719
 8720
 8721
 8722
 8723
 8724
 8725
 8726
 8727
 8728
 8729
 8730
 8731
 8732
 8733
 8734
 8735
 8736
 8737
 8738
 8739
 8740
 8741
 8742
 8743
 8744
 8745
 8746
 8747
 8748
 8749
 8750
 8751
 8752
 8753
 8754
 8755
 8756
 8757
 8758
 8759
 8760
 8761
 8762
 8763
 8764
 8765
 8766
 8767
 8768
 8769
 8770
 8771
 8772
 8773
 8774
 8775
 8776
 8777
 8778
 8779
 8780
 8781
 8782
 8783
 8784
 8785
 8786
 8787
 8788
 8789
 8790
 8791
 8792
 8793
 8794
 8795
 8796
 8797
 8798
 8799
 8800
 8801
 8802
 8803
 8804
 8805
 8806
 8807
 8808
 8809
 8810
 8811
 8812
 8813
 8814
 8815
 8816
 8817
 8818
 8819
 8820
 8821
 8822
 8823
 8824
 8825
 8826
 8827
 8828
 8829
 8830
 8831
 8832
 8833
 8834
 8835
 8836
 8837
 8838
 8839
 8840
 8841
 8842
 8843
 8844
 8845
 8846
 8847
 8848
 8849
 8850
 8851
 8852
 8853
 8854
 8855
 8856
 8857
 8858
 8859
 8860
 8861
 8862
 8863
 8864
 8865
 8866
 8867
 8868
 8869
 8870
 8871
 8872
 8873
 8874
 8875
 8876
 8877
 8878
 8879
 8880
 8881
 8882
 8883
 8884
 8885
 8886
 8887
 8888
 8889
 8890
 8891
 8892
 8893
 8894
 8895
 8896
 8897
 8898
 8899
 8900
 8901
 8902
 8903
 8904
 8905
 8906
 8907
 8908
 8909
 8910
 8911
 8912
 8913
 8914
 8915
 8916
 8917
 8918
 8919
 8920
 8921
 8922
 8923
 8924
 8925
 8926
 8927
 8928
 8929
 8930
 8931
 8932
 8933
 8934
 8935
 8936
 8937
 8938
 8939
 8940
 8941
 8942
 8943
 8944
 8945
 8946
 8947
 8948
 8949
 8950
 8951
 8952
 8953
 8954
 8955
 8956
 8957
 8958
 8959
 8960
 8961
 8962
 8963
 8964
 8965
 8966
 8967
 8968
 8969
 8970
 8971
 8972
 8973
 8974
 8975
 8976
 8977
 8978
 8979
 8980
 8981
 8982
 8983
 8984
 8985
 8986
 8987
 8988
 8989
 8990
 8991
 8992
 8993
 8994
 8995
 8996
 8997
 8998
 8999
 9000
 9001
 9002
 9003
 9004
 9005
 9006
 9007
 9008
 9009
 9010
 9011
 9012
 9013
 9014
 9015
 9016
 9017
 9018
 9019
 9020
 9021
 9022
 9023
 9024
 9025
 9026
 9027
 9028
 9029
 9030
 9031
 9032
 9033
 9034
 9035
 9036
 9037
 9038
 9039
 9040
 9041
 9042
 9043
 9044
 9045
 9046
 9047
 9048
 9049
 9050
 9051
 9052
 9053
 9054
 9055
 9056
 9057
 9058
 9059
 9060
 9061
 9062
 9063
 9064
 9065
 9066
 9067
 9068
 9069
 9070
 9071
 9072
 9073
 9074
 9075
 9076
 9077
 9078
 9079
 9080
 9081
 9082
 9083
 9084
 9085
 9086
 9087
 9088
 9089
 9090
 9091
 9092
 9093
 9094
 9095
 9096
 9097
 9098
 9099
 9100
 9101
 9102
 9103
 9104
 9105
 9106
 9107
 9108
 9109
 9110
 9111
 9112
 9113
 9114
 9115
 9116
 9117
 9118
 9119
 9120
 9121
 9122
 9123
 9124
 9125
 9126
 9127
 9128
 9129
 9130
 9131
 9132
 9133
 9134
 9135
 9136
 9137
 9138
 9139
 9140
 9141
 9142
 9143
 9144
 9145
 9146
 9147
 9148
 9149
 9150
 9151
 9152
 9153
 9154
 9155
 9156
 9157
 9158
 9159
 9160
 9161
 9162
 9163
 9164
 9165
 9166
 9167
 9168
 9169
 9170
 9171
 9172
 9173
 9174
 9175
 9176
 9177
 9178
 9179
 9180
 9181
 9182
 9183
 9184
 9185
 9186
 9187
 9188
 9189
 9190
 9191
 9192
 9193
 9194
 9195
 9196
 9197
 9198
 9199
 9200
 9201
 9202
 9203
 9204
 9205
 9206
 9207
 9208
 9209
 9210
 9211
 9212
 9213
 9214
 9215
 9216
 9217
 9218
 9219
 9220
 9221
 9222
 9223
 9224
 9225
 9226
 9227
 9228
 9229
 9230
 9231
 9232
 9233
 9234
 9235
 9236
 9237
 9238
 9239
 9240
 9241
 9242
 9243
 9244
 9245
 9246
 9247
 9248
 9249
 9250
 9251
 9252
 9253
 9254
 9255
 9256
 9257
 9258
 9259
 9260
 9261
 9262
 9263
 9264
 9265
 9266
 9267
 9268
 9269
 9270
 9271
 9272
 9273
 9274
 9275
 9276
 9277
 9278
 9279
 9280
 9281
 9282
 9283
 9284
 9285
 9286
 9287
 9288
 9289
 9290
 9291
 9292
 9293
 9294
 9295
 9296
 9297
 9298
 9299
 9300
 9301
 9302
 9303
 9304
 9305
 9306
 9307
 9308
 9309
 9310
 9311
 9312
 9313
 9314
 9315
 9316
 9317
 9318
 9319
 9320
 9321
 9322
 9323
 9324
 9325
 9326
 9327
 9328
 9329
 9330
 9331
 9332
 9333
 9334
 9335
 9336
 9337
 9338
 9339
 9340
 9341
 9342
 9343
 9344
 9345
 9346
 9347
 9348
 9349
 9350
 9351
 9352
 9353
 9354
 9355
 9356
 9357
 9358
 9359
 9360
 9361
 9362
 9363
 9364
 9365
 9366
 9367
 9368
 9369
 9370
 9371
 9372
 9373
 9374
 9375
 9376
 9377
 9378
 9379
 9380
 9381
 9382
 9383
 9384
 9385
 9386
 9387
 9388
 9389
 9390
 9391
 9392
 9393
 9394
 9395
 9396
 9397
 9398
 9399
 9400
 9401
 9402
 9403
 9404
 9405
 9406
 9407
 9408
 9409
 9410
 9411
 9412
 9413
 9414
 9415
 9416
 9417
 9418
 9419
 9420
 9421
 9422
 9423
 9424
 9425
 9426
 9427
 9428
 9429
 9430
 9431
 9432
 9433
 9434
 9435
 9436
 9437
 9438
 9439
 9440
 9441
 9442
 9443
 9444
 9445
 9446
 9447
 9448
 9449
 9450
 9451
 9452
 9453
 9454
 9455
 9456
 9457
 9458
 9459
 9460
 9461
 9462
 9463
 9464
 9465
 9466
 9467
 9468
 9469
 9470
 9471
 9472
 9473
 9474
 9475
 9476
 9477
 9478
 9479
 9480
 9481
 9482
 9483
 9484
 9485
 9486
 9487
 9488
 9489
 9490
 9491
 9492
 9493
 9494
 9495
 9496
 9497
 9498
 9499
 9500
 9501
 9502
 9503
 9504
 9505
 9506
 9507
 9508
 9509
 9510
 9511
 9512
 9513
 9514
 9515
 9516
 9517
 9518
 9519
 9520
 9521
 9522
 9523
 9524
 9525
 9526
 9527
 9528
 9529
 9530
 9531
 9532
 9533
 9534
 9535
 9536
 9537
 9538
 9539
 9540
 9541
 9542
 9543
 9544
 9545
 9546
 9547
 9548
 9549
 9550
 9551
 9552
 9553
 9554
 9555
 9556
 9557
 9558
 9559
 9560
 9561
 9562
 9563
 9564
 9565
 9566
 9567
 9568
 9569
 9570
 9571
 9572
 9573
 9574
 9575
 9576
 9577
 9578
 9579
 9580
 9581
 9582
 9583
 9584
 9585
 9586
 9587
 9588
 9589
 9590
 9591
 9592
 9593
 9594
 9595
 9596
 9597
 9598
 9599
 9600
 9601
 9602
 9603
 9604
 9605
 9606
 9607
 9608
 9609
 9610
 9611
 9612
 9613
 9614
 9615
 9616
 9617
 9618
 9619
 9620
 9621
 9622
 9623
 9624
 9625
 9626
 9627
 9628
 9629
 9630
 9631
 9632
 9633
 9634
 9635
 9636
 9637
 9638
 9639
 9640
 9641
 9642
 9643
 9644
 9645
 9646
 9647
 9648
 9649
 9650
 9651
 9652
 9653
 9654
 9655
 9656
 9657
 9658
 9659
 9660
 9661
 9662
 9663
 9664
 9665
 9666
 9667
 9668
 9669
 9670
 9671
 9672
 9673
 9674
 9675
 9676
 9677
 9678
 9679
 9680
 9681
 9682
 9683
 9684
 9685
 9686
 9687
 9688
 9689
 9690
 9691
 9692
 9693
 9694
 9695
 9696
 9697
 9698
 9699
 9700
 9701
 9702
 9703
 9704
 9705
 9706
 9707
 9708
 9709
 9710
 9711
 9712
 9713
 9714
 9715
 9716
 9717
 9718
 9719
 9720
 9721
 9722
 9723
 9724
 9725
 9726
 9727
 9728
 9729
 9730
 9731
 9732
 9733
 9734
 9735
 9736
 9737
 9738
 9739
 9740
 9741
 9742
 9743
 9744
 9745
 9746
 9747
 9748
 9749
 9750
 9751
 9752
 9753
 9754
 9755
 9756
 9757
 9758
 9759
 9760
 9761
 9762
 9763
 9764
 9765
 9766
 9767
 9768
 9769
 9770
 9771
 9772
 9773
 9774
 9775
 9776
 9777
 9778
 9779
 9780
 9781
 9782
 9783
 9784
 9785
 9786
 9787
 9788
 9789
 9790
 9791
 9792
 9793
 9794
 9795
 9796
 9797
 9798
 9799
 9800
 9801
 9802
 9803
 9804
 9805
 9806
 9807
 9808
 9809
 9810
 9811
 9812
 9813
 9814
 9815
 9816
 9817
 9818
 9819
 9820
 9821
 9822
 9823
 9824
 9825
 9826
 9827
 9828
 9829
 9830
 9831
 9832
 9833
 9834
 9835
 9836
 9837
 9838
 9839
 9840
 9841
 9842
 9843
 9844
 9845
 9846
 9847
 9848
 9849
 9850
 9851
 9852
 9853
 9854
 9855
 9856
 9857
 9858
 9859
 9860
 9861
 9862
 9863
 9864
 9865
 9866
 9867
 9868
 9869
 9870
 9871
 9872
 9873
 9874
 9875
 9876
 9877
 9878
 9879
 9880
 9881
 9882
 9883
 9884
 9885
 9886
 9887
 9888
 9889
 9890
 9891
 9892
 9893
 9894
 9895
 9896
 9897
 9898
 9899
 9900
 9901
 9902
 9903
 9904
 9905
 9906
 9907
 9908
 9909
 9910
 9911
 9912
 9913
 9914
 9915
 9916
 9917
 9918
 9919
 9920
 9921
 9922
 9923
 9924
 9925
 9926
 9927
 9928
 9929
 9930
 9931
 9932
 9933
 9934
 9935
 9936
 9937
 9938
 9939
 9940
 9941
 9942
 9943
 9944
 9945
 9946
 9947
 9948
 9949
 9950
 9951
 9952
 9953
 9954
 9955
 9956
 9957
 9958
 9959
 9960
 9961
 9962
 9963
 9964
 9965
 9966
 9967
 9968
 9969
 9970
 9971
 9972
 9973
 9974
 9975
 9976
 9977
 9978
 9979
 9980
 9981
 9982
 9983
 9984
 9985
 9986
 9987
 9988
 9989
 9990
 9991
 9992
 9993
 9994
 9995
 9996
 9997
 9998
 9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
# This is a frozen state file generated by GNU M4 1.4.16
V1
T17,97
PinList_TL085_dil`In1-',`In1+',`Out1',`Out2',`In2+',`In2-',`Vcc-',`In3-',`In3+',`Out3',`Vcc+',`Out4',`In4+',`In4-'
T18,128
PinList_MAX233_dil`T2in',`T1in',`R1out',`R1in',`T1out',`Gnd',`Vcc',`C1+',`Gnd',`C2-',`C2+',`V-',`C1-',`V+',`C2+',`C2-',`V-',`T2out',`R2in',`R2out'
T17,3
Param2_MAX690_dil300
T9,28
PKG_ZIP20PKG_SD(`$1', `$2', `$3', 20)
T10,511
PKG_TO3_45Element(0x00 "$1" "`$2'" "$3" 480 510 0 100 0x00)
(
	PIN(750, 750, 90, 55, 1)
	PIN(960, 380, 90, 55, 2)
	PIN(1300, 830, 250, 177, 3)
	PIN(280, 210, 250, 177, 4)

	ElementLine(660 1010 1300 1010 20)
	ElementLine(1210 230 1470 770 20)
	ElementLine(110 270 375 810 20)
	ElementLine(280 30 920 30 20)

	ElementArc(790 520 420 420 0 360 20)
	ElementArc(790 520 510 510 215 40 20)
	ElementArc(790 520 510 510 35 40 20)

	ElementArc(1300 830 180 180 90 110 20)
	ElementArc(280 210 180 180 270 110 20)

	Mark(750 750)
)
T13,74
PKG_INDC4509MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 130,  170, 440, 700, 230, 200, 130)
T27,28
Description_geda_TQFP160_28`Square Quad-side flat pack'
T26,38
Description_geda_RESC3216N`Standard SMT resistor, capacitor etc'
T24,23
Description_GAL22V10_dilgeneric PAL replacement
T13,62
PKG_SOJ16_300COMMON_SMT_DIL_MIL(`$1',`$2',`$3',16,23622,86614,50000,196850)
T9,67
PKG_SO20MCOMMON_SMT_DIL_MIL(`$1',`$2',`$3', 20, 20000, 85000, 50000, 170000)
T13,150
PKG_SMD_DIODEdefine(`SMD_OUTLINE_EXTRA',
		`
		define(`XBAR', `eval(X1L+10)')
		ElementLine( XBAR Y1L XBAR Y2L 8 )
	')
	PKG_SMD_BASE(`$1', `$2', `$3', `$4', `$5')

T13,74
PKG_INDC4509NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 120,  150, 420, 610, 170, 190, 120)
T26,28
Description_geda_TQFP44_10`Square Quad-side flat pack'
T26,38
Description_geda_INDC2520L`Standard SMT resistor, capacitor etc'
T23,62
Description_geda_ACY600`Axial non-polar component (typically resistor or capacitor),'
T21,43
Description_74160_dil`syncronous decade counter w. async. clear'
T21,40
Description_74123_dil`retriggerable monostable multivibrator'
T18,127
PinList_MAX691_dil`Vbatt',`Vout',`Vcc',`Gnd',`BattOn',`/LowLine',`OSC_In',`OSC_Out',`PFI',`/PFO',`WDI',`/CE_Out',`/CE_In',`/WDO',`/Reset',`Reset'
T16,71
PinList_7402_dil`1Y',`1A',`1B',`2Y',`2A',`2B',`Gnd',`3A',`3B',`3Y',`4A',`4B',`4Y',`Vcc'
T17,3
Param2_MAX667_dil300
T16,3
Param2_74441_dil300
T12,921
PKG_TO126LAYElement(0x00 "$1" "`$2'" "$3" 80 480 1 100 0x00)
(

# From the JEDEC drawing, the pins are rectangular with dimensions
# 25-35 mil X 15-25 mil
#
# This gives a diagonal dimension of 29.2 to 43.0 mils.
# Pin pitch is 80 to 100 mils.
# 
# For a minimum clearance of 10 mils (probably not unreasonable if
# you are doing a design with leaded parts, this gives a max pad size
# of 80 mils.  A 52 mil drill will give 14 mil annular ring which should
# be plenty.
#
# The mounting hole is 100 to 130 mils diameter
	PIN(110, 600, 80, 52, 1)
	PIN(200, 600, 80, 52, 2)
	PIN(290, 600, 80, 52, 3) 

	# Befestigungsbohrung
	PIN(200, 170, 130, 110, 4)

	# Anschlussdraehte
	ElementLine(100 600 100 500 30)
	ElementLine(200 600 200 500 30)
	ElementLine(300 600 300 500 30)

	# Gehaeuse
	ElementLine( 50 500 350 500 20)
	ElementLine(350 500 350  70 20)
	ElementLine(350  70  50  70 20)
	ElementLine( 50  70  50 500 20)

	Mark(100 600)
)
T9,67
PKG_SO20NCOMMON_SMT_DIL_MIL(`$1',`$2',`$3', 20, 20000, 85000, 50000, 120000)
T29,7
Description_generic_diode_500`diode'
T23,31
Description_geda_PLCC44`Plastic leadless chip carrier'
T26,38
Description_geda_INDC3216L`Standard SMT resistor, capacitor etc'
T26,38
Description_geda_INDC2520M`Standard SMT resistor, capacitor etc'
T25,46
Description_geda_ACY1200P`Axial polar component (typically capacitor),'
T21,16
Description_conn_jtag`JTAG Connector'
T30,22
Description_DIN41_612_ac64maleDIN41.612 row a+c male
T21,36
Description_74352_dil`2 4-to-1 data selector/multiplexor'
T17,111
PinList_74221_dil`1A',`1A',`/1Clr',`/1Q',`2Q',`2Cext',`2Rext-Cext',`Gnd',`2A',`2B',`/2Clr',`/2Q',`1Q',`1Cext',`1Rext-Cext',`Vcc'
T16,3
Param2_74670_dil300
T14,41
PKG_TQFP128_28PKG_QFP_80(`$1',`$2',`$3',`128',`28',`0')
T9,30
PKG_SIP10PKG_CSIL(`$1', `$2', `$3', 10)
T10,38
PKG_RCY500PKG_RADIAL_CAN(`$1', `$2', `$3', 1000)
T26,38
Description_geda_INDC3216M`Standard SMT resistor, capacitor etc'
T26,38
Description_geda_INDC2520N`Standard SMT resistor, capacitor etc'
T20,13
Description_7420_dil`2 quad-NAND'
T21,32
Description_74174_dil`6 D-type FF single-rail output'
T21,33
Description_74137_dil`3-to-8 decoder w. address latch'
T19,2102
COMMON_SMT_2PAD_MILdefine(`sizX',     `$4')
	define(`sizY',     `$5')
	define(`metalX',   `eval((sizX * $6) / 100)')
	define(`addFRAME', `eval(sizY / 5)')
	define(`addTIN',   `eval(sizY / 5)')
	define(`padX',     `eval(metalX + 2*addTIN)')
	define(`padY',     `eval(sizY + 2*addTIN)')
	define(`width',    `eval(sizX/2 + addFRAME + addTIN)')
	define(`height',   `eval(sizY/2 + addFRAME + addTIN)')
	define(`centerX',  `eval((sizX - padX + 2*addTIN)/2)')
	define(`silkW',    `ifelse(eval(sizY >= 50), 1, 10, eval(sizY/5))')
	# how much to grow the pads by for soldermask
	define(`maskGrow', 3)
	# clearance from planes
	define(`clearance', 10)
Element(0x00 "$1" "`$2'" "$3" 0 0 eval(width + 20) 0 3 100 0x00)
(
	ifelse(eval($7 > 0), 1,
	   `ElementLine(eval(-width-silkW) eval(-height + addFRAME) eval(-width-silkW) eval(height-addFRAME) eval(2*silkW))
	    ElementLine(eval(-width-silkW) eval( height - addFRAME) eval(-width + padX/2 -silkW) height silkW)
	    ElementLine(eval(-width + padX/2 - silkW) height width height silkW)
	    ElementLine(width height width -height silkW)
	    ElementLine(width -height eval(-width + padX/2 -silkW) -height silkW)
	    ElementLine(eval(-width + padX/2 -silkW) -height eval(-width-silkW) eval(-height + addFRAME) silkW)
	   ', 
	   `ElementLine(-width -height -width height silkW)
	    ElementLine(-width height width height silkW)
	    ElementLine(width height width -height silkW)
	    ElementLine(width -height -width -height silkW)
	   ')

	ifelse(eval(padX > padY), 1,       
	   `Pad(eval((-2*centerX - padX + padY)/2) 0 
		eval((-2*centerX + padX - padY)/2) 0
		padY eval(2*clearance) eval(padY + 2*maskGrow) "1" "1" 0x00000100)
	    Pad(eval(( 2*centerX - padX + padY)/2) 0 
		eval(( 2*centerX + padX - padY)/2) 0
		padY eval(2*clearance) eval(padY + 2*maskGrow) "2" "2" 0x00000100)
	 ',
	   `Pad(-centerX eval((-padY+padX)/2) 
		-centerX eval((padY-padX)/2)
		padX eval(2*clearance) eval(padX + 2*maskGrow) "1" "1" 0x00000100)
	    Pad(centerX eval((-padY+padX)/2) 
		centerX eval((padY-padX)/2)
		padX eval(2*clearance) eval(padX + 2*maskGrow) "2" "2" 0x00000100)
	 ')

)
T16,87
PinList_7490_dil`ClkB',`R0(1)',`R0(2)',`NC',`Vcc',`R9(1)',`R9(2)',`Qc',`Qb',`Gnd',`Qd',`Qa',`NC',`ClkA'
T16,61
PinList_7453_dil`A',`C',`D',`E',`F',`NC',`Gnd',`Y',`G',`H',`X',`/X',`B',`Vcc'
T16,71
PinList_7416_dil`1A',`1Y',`2A',`2Y',`3A',`3Y',`Gnd',`4Y',`4A',`5Y',`5A',`6Y',`6A',`Vcc'
T17,2
Param1_MAX233_dil20
T9,28
PKG_ZIP24PKG_SD(`$1', `$2', `$3', 24)
T9,67
PKG_SO24MCOMMON_SMT_DIL_MIL(`$1',`$2',`$3', 24, 20000, 85000, 50000, 170000)
T9,30
PKG_SIP11PKG_CSIL(`$1', `$2', `$3', 11)
T19,11
Description_z80_dil`Zilog Z80'
T26,38
Description_geda_INDC3216N`Standard SMT resistor, capacitor etc'
T21,38
Description_74366_dil`6 bus drivers OC w. inverting output'
F6,6
substrsubstr
T15,22
PinList_uA7818C`In',`Com',`Out',`Com'
T17,103
PinList_74642_dil`DIR',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`Gnd',`B8',`B7',`B6',`B5',`B4',`B3',`B2',`B1',`/EN',`Vcc'
T16,3
Param2_74684_dil300
T16,3
Param2_74647_dil300
T19,1
Param1_r_025_csil_45
T16,2
Param1_74522_dil20
T9,30
PKG_SIP12PKG_CSIL(`$1', `$2', `$3', 12)
T21,38
Description_geda_SO28`Small outline package, wide (300mil)'
T27,39
Description_geda_QFN56_8_EP`Square Quad Flat Nolead (QFN) package'
T23,31
Description_geda_PLCC84`Plastic leadless chip carrier'
T22,17
Description_MAX232_dildual RS232 driver
T21,45
Description_74595_dil`8bit shift register w. output latch 3-state'
T20,2
Param2_smd_diode_60330
T17,2
Param1_MAX691_dil16
T16,2
Param1_74381_dil20
T9,30
PKG_SIP13PKG_CSIL(`$1', `$2', `$3', 13)
T27,37
Description_geda_HEADER34_1`Header connector, DIP pin numbering'
T21,156
PinList_PC_Centronics`/Strb',`D0',`D1',`D2',`D3',`D4',`D5',`D6',`D7',`/Ack',`Busy',`PaperE',`Sel',`AutoF',`/Fault',`/Res',`SelIn',`Gnd',`Gnd',`Gnd',`Gnd',`Gnd',`Gnd',`Gnd',`Gnd'
T21,187
PinList_AT90S2313_dil`/Reset',`PD0/RxD',`PD1/TxD',`XTAL2',`XTAL1',`PD2/INT0',`PD3/INT1',`PD4/T0',`PD5/T1',`Gnd',`PD6/ICP',`PB0/AIN0',`PB1/AIN1',`PB2/OC0',`PB3/OC1',`PB4', `PB5/MOSI',`PB6/MISO',`PB7/SCK',`Vcc'
T17,113
PinList_74693_dil`/CClr',`CCK',`A',`B',`C',`D',`ENP',`/RClr',`RCK',`Gnd',`R-/C',`/G',`/Load',`ENT',`Qd',`Qc',`Qb',`Qa',`RCO',`Vcc'
T19,1
Param1_r_025_csil_67
T16,2
Param1_74573_dil20
T16,2
Param1_74166_dil16
T27,42
Description_geda_HEADER34_2`Header connector, ribbon cable numbering'
T22,47
Description_MAX690_diluP supervisor w. watchdog and power-fail signal
T20,27
Description_7485_dil`4bit magnitude comperator'
T20,35
Description_7448_dil`BCD to 7-segment driver w. pullup'
T18,125
PinList_DS1220_dil`A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`/Ce',`A10',`/Oe',`/We',`A9',`A8',`Vcc'
T17,113
PinList_81C17_dil`D=',`D1',`/CS',`/Rd',`D2',`D3',`D4',`/Wr',`D5',`Gnd',`D6',`D7',`Clk',`/Int',`RS',`RxD',`TxD',`/CP1',`/CP2',`Vcc'
T16,3
Param2_27256_dil600
T19,1
Param1_r_025_csil_78
T14,3
Param1_LED_5MM100
T16,2
Param1_74395_dil16
T15,2
Param1_7406_dil14
T9,28
PKG_ZIP28PKG_SD(`$1', `$2', `$3', 28)
T12,1194
PKG_TO39BASEElement["" "$1" "`$2'" "$3" 18800 18800 6000 7000 0 100 ""]
(
# The JEDEC drawing shows a pin diameter of 16-21 mils
#
#
#         ___x_
#        /     \
# TO39:  |3   1|     <-- bottom view (supposed to be a circle)
#        \  2  /
#          ---
#       
# NOTE:  some vendors, ST for example, number the pins
# differently.  Here we follow the JEDEC drawing.
#
# the pins are arranged along a 200 mil diameter
# circle.  The can outline is 315 to 335 mils (320 nom)
# for the top of the can and 350 to 370 mils (360 nom)
# for the bottom edge of thecan
#
        Pin[0 -10000 5500 3000 6100 3500 "1" "1" "square"]
        Pin[-10000 0 5500 3000 6100 3500 "2" "2" ""]
        Pin[0 10000 5500 3000 6100 3500 "3" "3" ""]
# tab is 29 to 40 mils long, 28 to 34 wide
# and comes off at an angle of 45 deg clockwise from
# pin 1 when looking at the top of the board
        ElementLine [12700 -13900 14800 -16000 1000]
        ElementLine [13300 -13300 15400 -15400 1000]
        ElementLine [13900 -12700 16000 -14800 1000]
        ElementLine [16000 -14800 14800 -16000 1000]
# x, y, width, height, start angle, delta angle, thickness
        ElementArc [0 0 18300 18300 0 360 1000]

        )

T26,42
Description_geda_SOJ42_400`Small outline J-leaded package (400 mil)'
T19,1
Param1_r_025_csil_89
T21,2
Param1_generic52_plcc52
T20,50
PKG_PANASONIC_EXBS8VCOMMON_SMT_DIL_MM(`$1',`$2',`$3',8,63,120,127,110)
T12,40
PKG_ACY1500PPKG_AXIAL_LAY(`$1', `$2', `$3', 1500, 1)
T11,37
PKG_ACY1400PKG_AXIAL_LAY(`$1', `$2', `$3', 1400)
T22,42
Description_MAX667_dil5V/adjustable low-dropout linear regulator
T24,2
Param1_DIN41_651_14stand14
T15,1
Param1_7457_dil8
T10,46
PKG_SOD323PKG_SMT_DIODE(       `$1', `$2', `$3', 27, 13)
T15,4398
PKG_PCIPINARRAY
        define(`cnt',`1')
        define(`ARGS',`$4, $5, $6, $7')
	args(ARGS)
	define(`LEFTOFFSET',`100')
	define(`EDGEGAP',`12')
	define(`PINDIST',`50')
    	define(`PINWIDTH',`25')
	define(`NUMARRAYS',`GETNUMARRAYS(ARGS)')
        define(`TOTALPINS1',forloop(`IDX',0,eval(NUMARRAYS-1),
		``arg'eval((IDX*2)+2) + ')0)
	define(`TOTALPINS',eval(TOTALPINS1))
	ifelse(1,eval(NUMARRAYS>1),`
		define(`TOTALDIAMETER1',forloop(`IDX',0,eval(NUMARRAYS-2),
			``arg'eval((IDX*2)+3) + ')0)
		define(`TOTALDIAMETER',eval(TOTALDIAMETER1))
	')
    	define(`PINCENTER',`eval(LEFTOFFSET+(PINDIST/2))')
    	define(`PINRADIUS',`eval(PINWIDTH/2)')
    	define(`PINLEFT',`eval(PINCENTER-PINRADIUS)')
    	define(`PINRIGHT',`eval(PINCENTER+PINRADIUS)')
    	define(`PENWIDTH',`eval(PINRADIUS+4)')
    	define(`PENRADIUS',`eval(PENWIDTH/2)')
    	define(`MAXIDX',`eval(TOTALPINS - 1)')
    	define(`ARRAYWIDTH', `eval((TOTALPINS*PINDIST)+TOTALDIAMETER)')
    	define(`CENTERX', `eval(((ARRAYWIDTH+LEFTOFFSET)/2))')
    	define(`MINY',`20')
    	define(`MIDY',`220')
    	define(`MAXY',`270')
    	define(`ARCRADIUS',`12')
	define(`ARCDIAMETER',`eval(ARCRADIUS*2)')
    	define(`LMAXY',`eval(MAXY+ARCRADIUS)')
	define(`BOARDTOP',`eval(LMAXY-arg1)')
	define(`SCREWBORDER',275)
Element(0x00  "$1" "`$2'" "$3" CENTERX 10 1 30 0x00)
(
	Mark(CENTERX 135)
	define(`ADDSIDE',0)
	define(`FLAG',0x0)
	define(`LOOPIDX1',eval(NUMARRAYS-1))
	define(`LEFT1',`eval(PINLEFT-ARCRADIUS)')
	define(`ARCRADIUS2',`100')
	define(`SLOTWIDTH',`1000')
	define(`BRACKETLEFT',`-1525')
	define(`LEFT2',`eval(LEFT1-ARCRADIUS2)')
	define(`LEFT3',`eval(LEFT1+ARCRADIUS2-SLOTWIDTH)')
	define(`LEFT4',`eval(LEFT1-SLOTWIDTH)')
	ElementArc(LEFT2 0 ARCRADIUS2 ARCRADIUS2 180 90 1)
  	ElementLine(LEFT2 -ARCRADIUS2 LEFT3 -ARCRADIUS2 1)
	ElementArc(LEFT3 0 ARCRADIUS2 ARCRADIUS2 270 90 1)
	ElementLine(LEFT4 0 LEFT4 MAXY 1)
        define(`LEFT5',`eval(LEFT4-ARCRADIUS)')
	ElementArc(LEFT5 MAXY ARCRADIUS ARCRADIUS 90 90 1)
        ElementLine(LEFT5 LMAXY BRACKETLEFT LMAXY 1)
   	forloop(`SIDE',0,1,
   	`
		define(`IDX',`0')
		define(`ADDDIAMETER',`0')
		forloop(`IDX1',0,LOOPIDX1,
		`
			define(`CURRNUMPINS',`arg'eval((IDX1*2)+2))
			ifelse(SIDE,`0',`
				define(`CURRLEFT',`eval((PINDIST*IDX)+(ADDDIAMETER)+PINLEFT)')
				define(`CURRRIGHT',`eval(CURRLEFT+((CURRNUMPINS-1)*PINDIST)+PINWIDTH)')
				ElementLine(CURRLEFT LMAXY CURRRIGHT LMAXY 2)
				ElementArc(CURRLEFT MAXY ARCRADIUS ARCRADIUS 0 90 2)
				ElementArc(CURRRIGHT MAXY ARCRADIUS ARCRADIUS 90 90 2)
				define(`CURRLEFT1',`eval(CURRLEFT-ARCRADIUS)')
				define(`CURRRIGHT1',`eval(CURRRIGHT+ARCRADIUS)')
		                ElementLine(CURRLEFT1 0 CURRLEFT1 MAXY 1)
                                ElementLine(CURRRIGHT1 0 CURRRIGHT1 MAXY 1)
		                ifelse(1,eval((NUMARRAYS>1)&&(IDX1<LOOPIDX1)),`
					define(`CURRDIAMETER',`arg'eval((IDX1*2)+3))
					define(`CURRRADIUS',`eval(CURRDIAMETER/2)')
					ElementArc(eval(CURRRIGHT+EDGEGAP+(CURRDIAMETER/2)) 0 CURRRADIUS CURRRADIUS 180 180 1)
				')
	   			ifelse(1,eval(IDX1==LOOPIDX1),`
					ElementLine(BRACKETLEFT LMAXY BRACKETLEFT BOARDTOP 1)
					ElementLine(BRACKETLEFT BOARDTOP CURRRIGHT1 BOARDTOP 1)
					ElementLine(CURRRIGHT1 BOARDTOP CURRRIGHT1 0 1)
				        
				        ElementArc(eval(BRACKETLEFT+SCREWBORDER) eval(LMAXY-SCREWBORDER) 125 125 0 360 1)
				        ElementArc(eval(BRACKETLEFT+SCREWBORDER) eval(BOARDTOP+SCREWBORDER) 125 125 0 360 1)
				')
			')
   			forloop(`IDX2',0,eval(CURRNUMPINS-1),
   			`
				define(`CURRX',`eval((PINDIST*IDX)+(ADDDIAMETER))')
				define(`MINX',`eval(PINLEFT+CURRX)')
				define(`MIDX',`eval(PINCENTER+CURRX)')
				define(`MAXX',`eval(PINRIGHT+CURRX)')
				define(`PINIDX',`eval(IDX+1+ADDSIDE)')
	                        EDGECONN(MINX,MINY,MAXX,MINY,PENWIDTH,PINIDX,FLAG)
				EDGECONN(MINX,MINY,MINX,MIDY,PENWIDTH,PINIDX,FLAG)
				EDGECONN(MINX,MIDY,MIDX,MAXY,PENWIDTH,PINIDX,FLAG)
				EDGECONN(MIDX,MINY,MIDX,MAXY,PENWIDTH,PINIDX,FLAG)
				EDGECONN(MAXX,MINY,MAXX,MIDY,PENWIDTH,PINIDX,FLAG)
				EDGECONN(MAXX,MIDY,MIDX,MAXY,PENWIDTH,PINIDX,FLAG)				
				define(`IDX',incr(IDX))
			')
			
			ifelse(1,eval((NUMARRAYS>1)&&(IDX1<LOOPIDX1)),`
				define(`ADDDIAMETER1',forloop(`IDX2',0,eval(IDX1),
				``arg'eval((IDX2*2)+3)+')0)
				define(`ADDDIAMETER',eval(ADDDIAMETER1+(EDGEGAP*2)-PINDIST+PINWIDTH))
			')
		')
		define(`ADDSIDE',`TOTALPINS')
		define(`FLAG',0x80)
  	')
	 
)
T20,27
Description_uA78L10C+10V 0.1A voltage regulator
T9,67
PKG_SO20WCOMMON_SMT_DIL_MIL(`$1',`$2',`$3', 20, 20000, 80000, 50000, 280000)
T12,41
PKG_QFP64_14PKG_QFP_80(`$1',`$2',`$3', `64',`14',`0')
T12,58
PKG_HC49U_3HPKG_CRYSTAL_H(`$1', `$2', `$3',  96, 435, 515,  60, 32, 3)
T27,9
Description_generic8smd_dil`generic'
T17,2
Param1_DS1220_dil24
T10,34
PKG_SDIP20PKG_NS(`$1', `$2', `$3', 20,  300)
T39,17
Description_generic_capacitor_axial_600`capacitor_axial'
T29,39
Description_geda_TQFN68_10_EP`Square Quad Flat Nolead (QFN) package'
T24,64
Description_geda_RCY1100`Bottom lead non-polar circular component (typically capacitor)'
T20,3
Param2_generic14_dil300
T16,1
Param1_TL082_dil8
T18,3
Param1_MC68332_qfp132
T7,508
PKG_TO5Element(0x00 "$1" "`$2'" "$3" 110 110 0 100 0x00)
(

#
# The JEDEC drawing specifies a pin diameter of 16 to 21 mils
# This suggests a minimum drill size of 36 mils.  42 is a common
# standard drill (#58).  A 72 mil pad gives a 15 mil annular ring.
	PIN(100, 200, 72, 42, 1)
	PIN(200, 300, 72, 42, 2)
	PIN(300, 200, 72, 42, 3)

	ElementArc(200 200 150 150 0 360 10)
	ElementArc(200 200 170 170 0 360 20)
	ElementLine(65 95 35 65 20)
	ElementLine(35 65 65 35 20)
	ElementLine(65 35 95 65 20)

	Mark(100 200)
)
T6,50
PKG_JDPKG_DIL(`$1', `$2', `$3', `$4', `$5', 100, 60, 28)
T22,59
Description_geda_SME10`Surface mount electrolytic capacitor, number is dia in mm'
F5,5
ifdefifdef
T19,22
PinList_r_025_sil_4`1a', `1b', `2a', `2b'
T15,3
Param2_2532_dil600
T19,2
Param1_PIC16C64_dil40
T11,42
PKG_SSOP48WPKG_SSO(  `$1', `$2', `$3', 48, 420, 2500)
T13,62
PKG_SOJ26_450COMMON_SMT_DIL_MIL(`$1',`$2',`$3',26,23622,86614,50000,346457)
T9,67
PKG_SO24WCOMMON_SMT_DIL_MIL(`$1',`$2',`$3', 24, 20000, 80000, 50000, 280000)
T10,34
PKG_SDIP22PKG_NS(`$1', `$2', `$3', 22,  300)
T14,42
PKG_LQFP112_20PKG_LQFP_65(`$1',`$2',`$3',`112',`20',`0')
T14,39
PKG_HEADER14_1PKG_CONNECTOR_DIL(`$1', `$2', `$3',  7)
T21,44
Description_74240_dil`8 buffer/driver 3-state w. inverted output'
T20,3
Param2_generic28_dil300
T20,3
Param2_MC68HC11_plcc150
T16,3
Param2_74521_dil300
T16,3
Param2_74151_dil300
T16,3
Param2_74114_dil300
T14,38
PKG_HEADER14_2PKG_CONNECTOR(`$1', `$2', `$3',  7, 2)
T24,60
Description_geda_RCY900P`Bottom lead polar circular component (typically capacitor)'
T19,34
PinList_r_025_sil_6`1a', `1b', `2a', `2b', `3a', `3b'
T10,34
PKG_SDIP24PKG_NS(`$1', `$2', `$3', 24,  300)
T11,41
PKG_RCY500PPKG_RADIAL_CAN(`$1', `$2', `$3', 1000, 1)
T7,807
PKG_LEDdefine(`RADIUS1', `eval(`$4' /2)')
	define(`RADIUS2', `eval(`$4' /2 +20)')
Element(0x00 "$1" "`$2'" "$3" 100 70 0 100 0x00)
(
# typical LED is 0.5 mm or 0.020" square pin.  See for example
# http://www.lumex.com and part number SSL-LX3054LGD.
# 0.020" square is 0.0288" diagonal.  A number 57 drill is 
# 0.043" which should be enough.  a 65 mil pad gives 11 mils
# of annular ring.

	PIN(-50, 0, 65, 43, 1)
	PIN(50, 0, 65, 43, 2)
   ifelse( eval(RADIUS1 - 10 > 85), 1, 
	ElementArc(0 0 RADIUS1 RADIUS1     0 360 10)
,
	ElementArc(0 0 RADIUS1 RADIUS1    45  90 10)
	ElementArc(0 0 RADIUS1 RADIUS1   225  90 10)
)
   ifelse( eval(RADIUS2 - 10 > 85), 1, 
	ElementArc(0 0 RADIUS2 RADIUS2     0 360 10)
,
	ElementArc(0 0 RADIUS2 RADIUS2    45  90 10)
	ElementArc(0 0 RADIUS2 RADIUS2   225  90 10)
)
	Mark(0 0)
)
T6,50
PKG_JGPKG_DIL(`$1', `$2', `$3', `$4', `$5', 100, 60, 28)
T22,25
Description_geda_ZIP40`Zig-zag in-line package'
T21,63
Description_74624_dil`voltage controlled oscillator w. enable and complement output'
F6,6
syscmdsyscmd
T16,16
PinList_uA78L05C`In',`Com',`Out'
T17,86
PinList_74160_dil`/Clr',`Clk',`A',`B',`C',`D',`ENP',`Gnd',`/Load',`ENT',`Qd',`Qc',`Qb',`Qa',`RCO',`Vcc'
T17,111
PinList_74123_dil`1A',`1B',`/1Clr',`/1Q',`2Q',`2Cext',`2Rext-Cext',`Gnd',`2A',`2B',`/2Clr',`/2Q',`1Q',`1Cext',`1Rext-Cext',`Vcc'
T16,3
Param2_74165_dil300
T16,3
Param2_74128_dil300
T8,67
PKG_SO8MCOMMON_SMT_DIL_MIL(`$1',`$2',`$3',  8, 20000, 85000, 50000, 170000)
T9,67
PKG_SO28WCOMMON_SMT_DIL_MIL(`$1',`$2',`$3', 28, 20000, 80000, 50000, 305000)
T20,77
PKG_JOHNSTECH_QFN_50PKG_GENERIC_JOHNSTECH7248_QFN(`$1',`$2',`$3',`$4',`$5', `50',`36',`50', `$6')
T11,39
PKG_ACY600PPKG_AXIAL_LAY(`$1', `$2', `$3', 600, 1)
T20,40
Description_geda_SO8`Small outline package, narrow (150mil)'
T22,40
Description_geda_SO22M`Small outline package, medium (200mil)'
T26,28
Description_geda_LQFP80_12`Square Quad-side flat pack'
T21,60
Description_74446_dil`4 inverting bus tranceiver w. individual direction control'
T16,21
PinList_uA79M08C`Com',`In',`Out',`In'
T19,46
PinList_r_025_sil_8`1a', `1b', `2a', `2b', `3a', `3b', `4a', `4b'
T17,38
PinList_conn_jtag`1', `2', `3', `4', `5', `6', `7', `8'
T17,89
PinList_74352_dil`/1G',`B',`1C3',`1C2',`1C1',`1C0',`1Y',`Gnd',`2Y',`2C0',`2C1',`2C2',`2C3',`A',`/2G',`Vcc'
T17,3
Param2_uA748C_dil300
T15,3
Param2_7432_dil300
T8,1302
PKG_QFP2define(`QUARTER', `eval($4 /4)')
	define(`OFFSET', `eval((QUARTER +1) /2)')
	define(`WIDTH', `eval((QUARTER-1) *25 +2*50)')
	define(`CENTER', `eval(WIDTH / 2)')
	define(`NUMPINS', `$4')
Element(0x00 "$1" "`$2'" "$3" 100 CENTER 0 100 0x00)
(

	# left row
define(`X', 0)
define(`Y', 50)
#define(`count', `eval(OFFSET+1)')
define(`count', 1)
forloop(`i', 1, QUARTER,
	`PAD(eval(X-65), Y, eval(X+5), Y, 15, count)' `define(`count', incr(count))'
	`define(`Y', eval(Y+25))'
	)

	# bottom row
define(`X', 50)
define(`Y', WIDTH)
forloop(`i', 1, QUARTER,
	`PAD(X, eval(Y+65), X, eval(Y-5), 15, count)' `define(`count', incr(count))'
	`define(`X', eval(X+25))'
)

	# right row
define(`X', WIDTH)
define(`Y', eval(WIDTH-50))
forloop(`i', 1, QUARTER,
	`PAD(eval(X+65), Y, eval(X-5), Y, 15, count)' `define(`count', incr(count))'
	`define(`Y', eval(Y-25))'
)

	# top row
define(`X', eval(WIDTH-50))
define(`Y', 0)
forloop(`i', 1, QUARTER,
	`PAD(X, eval(Y-65), X, eval(Y+5), 15, count)' `define(`count', incr(count))'
	`ifelse(eval(count > NUMPINS), 1, `define(`count', 1)')'
	`define(`X', eval(X-25))'
)

	ElementLine(28 0 WIDTH 0 10)
	ElementLine(WIDTH 0 WIDTH WIDTH 10)
	ElementLine(WIDTH WIDTH 0 WIDTH 10)
	ElementLine(0 WIDTH 0 28 10)
	ElementLine(0 28 28 0 10)

	ElementArc(80 80 20 20 0 360 10)

	Mark(0 0)
)
T11,42
PKG_QFN36_6PKG_QFN_50(`$1',`$2',`$3', `36', `6', `0')
T26,42
Description_geda_SOJ30_300`Small outline J-leaded package (300 mil)'
T25,28
Description_geda_QFP52_10`Square Quad-side flat pack'
T22,29
Description_geda_DB37F`DSUB connector, female/male'
T21,58
Description_74638_dil`8 inverting bus tranceiver OC A-output, 3-state B-output'
F8,8
patsubstpatsubst
T17,84
PinList_74174_dil`/Clr',`1Q',`1D',`2D',`2Q',`3D',`3Q',`Gnd',`Clk',`4Q',`4D',`5Q',`5D',`6D',`6Q',`Vcc'
T17,80
PinList_74137_dil`A',`B',`C',`/GL',`/G2',`G1',`Y7',`Gnd',`Y6',`Y5',`Y4',`Y3',`Y2',`Y1',`Y0',`Vcc'
T27,79
PKG_NICHICON_WT_CAP_6p3_7p7PKG_NICHICON_WT_CAP(`$1', `$2', `$3',
	`80', `260', `220', `680', `680', `820')
T26,28
Description_geda_LQFP80_14`Square Quad-side flat pack'
T16,16
PinList_uA78L09C`In',`Com',`Out'
T28,96
PinList_DIN41_612_ac64femaleforloop(`i', 1, 32, `define(`P_'i, `a'i)')
	forloop(`i', 1, 32, `define(`P_'eval(i +64), `c'i)')
T26,96
PinList_DIN41_612_ab64maleforloop(`i', 1, 32, `define(`P_'i, `a'i)')
	forloop(`i', 1, 32, `define(`P_'eval(i +32), `b'i)')
T17,83
PinList_74366_dil`/G1',`1A',`1Y',`2A',`2Y',`3A',`3Y',`Gnd',`4Y',`4A',`5Y',`5A',`6Y',`6A',`/G2',`Vcc'
T15,3
Param2_7483_dil300
T15,3
Param2_7446_dil300
T15,3
Param2_7409_dil300
T16,2
Param1_74690_dil20
T16,2
Param1_74653_dil24
T16,2
Param1_74283_dil16
T22,10
Description_geda_UM1_3`Crystals'
T23,30
Description_geda_SOT23D`SMT diode (pin 1 is cathode)'
T26,42
Description_geda_SOJ44_300`Small outline J-leaded package (300 mil)'
T24,60
Description_geda_RCY200P`Bottom lead polar circular component (typically capacitor)'
T21,29
Description_74689_dil`8bit identity comperator OC'
T17,90
PinList_74595_dil`Qb',`Qc',`Qd',`Qe',`Qf',`Qg',`Qh',`Gnd',`Qh+',`/SRClr',`SRCK',`RCK',`/G',`SER',`Qa',`Vcc'
T17,463
PKG_TO126LAY_WIDEElement(0x00 "$1" "`$2'" "$3" 80 480 1 100 0x00)
(
	PIN(110, 600, 80, 52, 1)
	PIN(200, 700, 80, 52, 2)
	PIN(290, 600, 80, 52, 3)

	# Befestigungsbohrung
	PIN(200, 170, 130, 110, 4)

	# Anschlussdraehte
	ElementLine(100 600 100 500 30)
	ElementLine(200 700 200 500 30)
	ElementLine(300 600 300 500 30)

	# Gehaeuse
	ElementLine( 50 500 350 500 20)
	ElementLine(350 500 350  70 20)
	ElementLine(350  70  50  70 20)
	ElementLine( 50  70  50 500 20)

	Mark(100 600)
)
T12,42
PKG_LQFP48_7PKG_LQFP_50(`$1',`$2',`$3', `48', `7',`0')
T21,54
PKG_JOHNSTECH_QFN12_4PKG_JOHNSTECH_QFN_80(`$1',`$2',`$3', `12', `4', `210')
T24,12
Description_geda_TO220SW`Transistor'
T24,47
Description_geda_PLCC32X`Plastic leadless chip carrier with pin socket'
T24,46
Description_geda_ACY300P`Axial polar component (typically capacitor),'
T23,19
Description_connector20connector 2x10 pins
T15,3
Param2_7497_dil300
T14,2
Param1_SCSI_SE25
T16,2
Param1_74297_dil16
T9,42
PKG_SSOP8PKG_SSO(  `$1', `$2', `$3',  8, 323, 2559)
T10,37
PKG_ALF300PKG_DIODE_LAY(`$1', `$2', `$3',  300)
T31,26
Description_smd_EIA_B_capacitor`chip_capacitor_polarized'
T23,64
Description_geda_RCY700`Bottom lead non-polar circular component (typically capacitor)'
T17,1
Param2_connector22
T16,3
Param2_TL081_dil300
T24,2
Param1_DIN41_651_22stand22
T11,43
PKG_QFN40_6PKG_QFN_50S(`$1',`$2',`$3', `40', `6', `0')
T23,30
Description_geda_SOD110`SMT diode (pin 1 is cathode)'
T22,2
Param1_DIN41_651_22lay22
T13,62
PKG_SOJ14_350COMMON_SMT_DIL_MIL(`$1',`$2',`$3',14,23622,86614,50000,244094)
T21,14
Description_MTA_156_2MTA-156 header
T25,29
PinList_amphenol_ARFX1229`SIG',`GND',`GND',`GND',`GND'
T16,110
PinList_2114_dil`A6', `A5', `A4', `A3', `A0', `A1', `A2', `/Ce', `Gnd', `/We', `D3', `D2', `D1', `D0', `A9', `A8', `A7', `Vcc'
T17,1
Param2_connector42
T13,74
PKG_CAPC2012LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 140,  110, 160, 280, 170,   0,   0)
T22,44
Description_uA748C_dilSingle general purpose operational amplifier
T27,37
Description_geda_HEADER58_1`Header connector, DIP pin numbering'
T22,29
Description_geda_DB37M`DSUB connector, female/male'
T20,20
Description_conn_usb`USB Male Connector'
T13,62
PKG_SOJ28_350COMMON_SMT_DIL_MIL(`$1',`$2',`$3',28,23622,86614,50000,244094)
T13,74
PKG_CAPC2012MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 160,  150, 200, 440, 260,   0,   0)
T27,42
Description_geda_HEADER58_2`Header connector, ribbon cable numbering'
T27,24
Description_DIN41_651_34layDIN41.651 laying 34 pins
T17,1
Param2_connector62
T8,67
PKG_SO8WCOMMON_SMT_DIL_MIL(`$1',`$2',`$3',  8, 20000, 80000, 50000, 280000)
T13,74
PKG_CAPC2012NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 150,  130, 180, 350, 200,   0,   0)
T24,50
Description_geda_EMI1806`3-Pin SMT EMI Filter based on standard SMT sizes'
T24,17
Description_TI34010_plccgraphic processor
T21,31
Description_74320_dil`crystal-controlled oscillator'
T20,16
Description_6801_dilmicro controller
T16,155
PinList_2764_dil`Vpp', `A12', `A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`/Cs',`A10',`/Oe',`A11',`A9',`A8', `n/c', `/PGM', `Vcc'
T23,2
Param1_generic16smd_dil16
T11,42
PKG_PLCC84XPKG_PLCC_SOCKET(`$1', `$2', `$3', 84, 150)
T13,11
PinList_BC560`E',`B',`C'
T16,71
PinList_7421_dil`1A',`1B',`NC',`1C',`1D',`1Y',`Gnd',`2Y',`2A',`2B',`NC',`2C',`2D',`Vcc'
T17,1
Param2_connector82
T16,3
Param2_7451S_dil300
T16,3
Param2_74423_dil300
T20,2
Param1_oscillator_3232
T20,2
Param1_cy7c64603_qfp52
T29,31
Description_geda_DIN41651_26S`Header connector with latches'
T17,35
Description_LM317+1.2 to +37V 1.5A voltage regulator
T17,119
PinList_74240_dil`/1G',`1A1',`2Y4',`1A2',`2Y3',`1A3',`2Y2',`1A4',`2Y1',`Gnd',`2A1',`1Y4',`2A2',`1Y3',`2A3',`1Y2',`2A4',`1Y1',`/2G',`Vcc'
T16,3
Param2_74652_dil300
T16,3
Param2_74245_dil300
T16,2
Param1_74120_dil16
T16,2
Param1_44251_zip28
T10,43
PKG_TSOP28PKG_TSOP(  `$1', `$2', `$3', 28, 535, 2165)
T15,4635
PKG_PLCC_SOCKETdefine(`QUARTER', `eval($4 /4)')
	define(`OFFSET', eval((QUARTER +1) / 2))
	define(`BORDER', `$5')
	define(`WIDTH', `eval((OFFSET+1) *100 +2*BORDER)')
	define(`CENTER', `eval(WIDTH / 2)')
	define(`NUMPINS', `$4')
	define(`PADSIZE', `62')
	define(`DRILL', `35')
Element(0x00 "$1" "`$2'" "$3" eval(BORDER+200) CENTER 0 100 0x00)

# PLCC - 44 is a  special case, pad 1 in inner row

ifelse(eval(NUMPINS == 44 || NUMPINS == 28 || NUMPINS == 32), 1, `(

define(`X',eval(CENTER+50))
define(`Y',eval(BORDER+100))
define(`count',1)

ifelse(eval(NUMPINS == 44),1,`define(`ltr',3)',`define(`ltr',2)')
ifelse(eval(NUMPINS == 32),1,`define(`QUARTER',9)')

# top left row
forloop(`i', 1, ltr,
	`PIN(X, Y, PADSIZE, DRILL, count)' `define(`count', incr(count))'
	`PIN(eval(X-100), eval(Y-100), PADSIZE, DRILL, count)' `define(`count', incr(count))'
	`define(`X', eval(X-100))'
)

#left row
define(`X',eval(X-100))
forloop(`i', 1, eval((QUARTER-1)/2),
	`PIN(X, Y, PADSIZE, DRILL, count)' `define(`count', incr(count))'
	`PIN(eval(X+100), Y, PADSIZE, DRILL, count)' `define(`count', incr(count))'
	`define(`Y', eval(Y+100))'
)
PIN(X, Y, PADSIZE, DRILL, count)
define(`count', incr(count))

# bottom row
define(`X',eval(X+100))
define(`Y',eval(Y+100))
forloop(`i', 1, eval(ltr*2-1),
	`PIN(X, Y, PADSIZE, DRILL, count)' `define(`count', incr(count))'
	`PIN(X, eval(Y-100), PADSIZE, DRILL, count)' `define(`count', incr(count))'
	`define(`X', eval(X+100))'
)
PIN(X, Y, PADSIZE, DRILL, count)
define(`count', incr(count))

# right row
define(`X',eval(X+100))
define(`Y',eval(Y-100))
forloop(`i', 1, eval((QUARTER-1)/2),
	`PIN(X, Y, PADSIZE, DRILL, count)' `define(`count', incr(count))'
	`PIN(eval(X-100), Y, PADSIZE, DRILL, count)' `define(`count', incr(count))'
	`define(`Y', eval(Y-100))'
)
PIN(X, Y, PADSIZE, DRILL, count)
define(`count', incr(count))

# top rigth row
define(`X',eval(X-100))
define(`Y',eval(Y-100))
forloop(`i', 1, eval(ltr-1),
	`PIN(X, Y, PADSIZE, DRILL, count)' `define(`count', incr(count))'
	`PIN(X, eval(Y+100), PADSIZE, DRILL, count)' `define(`count', incr(count))'
	`define(`X', eval(X-100))'
)
PIN(X, Y, PADSIZE, DRILL, count)

ifelse(eval(NUMPINS == 32),1,`define(`HEIGHT',eval(WIDTH+100))',`define(`HEIGHT',WIDTH)')
	ElementLine(0 0 WIDTH 0 20)
	ElementLine(WIDTH 0 WIDTH HEIGHT 20)
	ElementLine(WIDTH HEIGHT 0 HEIGHT 20)
	ElementLine(0 HEIGHT 0 0 20)
	ElementLine(0 100 100 0 10)
	ElementLine(eval(CENTER-50) 0 CENTER 50 10)
	ElementLine(CENTER 50 eval(CENTER+50) 0 10)

	Mark(CENTER BORDER)


#------------------------------------------------------------------------
# all other sockets, currently 20,52,68 and 84 pins

)', `(

# the default case, Pad 1 is on outer top row, in the middle


#top left row

define(`X',CENTER)
define(`Y',BORDER)
define(`count',1)
forloop(`i', 1, eval((QUARTER-1)/4),
	`PIN(X, Y, PADSIZE, DRILL, count)' `define(`count', incr(count))'
	`PIN(X, eval(Y+100), PADSIZE, DRILL, count)' `define(`count', incr(count))'
	`define(`X',eval(X-100))'
)
PIN(X, Y, PADSIZE, DRILL, count)
define(`count', incr(count))

# left row
define(`Y',eval(BORDER+100))
define(`X',BORDER)
forloop(`i', 1, eval((QUARTER-1)/2),
	`PIN(X, Y, PADSIZE, DRILL, count)' `define(`count', incr(count))'
	`PIN(eval(X+100), Y, PADSIZE, DRILL, count)' `define(`count', incr(count))'
	`define(`Y',eval(Y+100))'
)
PIN(X, Y, PADSIZE, DRILL, count)
define(`count', incr(count))

# bottom row
define(`X',eval(BORDER+100))
define(`Y',eval(WIDTH-BORDER))
forloop(`i', 1, eval((QUARTER-1)/2),
	`PIN(X, Y, PADSIZE, DRILL, count)' `define(`count', incr(count))'
	`PIN(X, eval(Y-100), PADSIZE, DRILL, count)' `define(`count', incr(count))'
	`define(`X',eval(X+100))'
)
PIN(X, Y, PADSIZE, DRILL, count)
define(`count', incr(count))

# right row
define(`X',eval(WIDTH-BORDER))
define(`Y',eval(WIDTH-BORDER-100))
forloop(`i', 1, eval((QUARTER-1)/2),
	`PIN(X, Y, PADSIZE, DRILL, count)' `define(`count', incr(count))'
	`PIN(eval(X-100), Y, PADSIZE, DRILL, count)' `define(`count', incr(count))'
	`define(`Y',eval(Y-100))'
)
PIN(X, Y, PADSIZE, DRILL, count)
define(`count', incr(count))

#top right row

define(`X',eval(WIDTH-BORDER-100))
define(`Y',BORDER)
forloop(`i', 1, eval((QUARTER-1)/4),
	`PIN(X, Y, PADSIZE, DRILL, count)' `define(`count', incr(count))'
	`PIN(X, eval(Y+100), PADSIZE, DRILL, count)' `define(`count', incr(count))'
	`define(`X',eval(X-100))'
)

	ElementLine(0 0 WIDTH 0 20)
	ElementLine(WIDTH 0 WIDTH WIDTH 20)
	ElementLine(WIDTH WIDTH 0 WIDTH 20)
	ElementLine(0 WIDTH 0 0 20)
	ElementLine(0 100 100 0 10)
	ElementLine(eval(CENTER-50) 0 CENTER 50 10)
	ElementLine(CENTER 50 eval(CENTER+50) 0 10)

	Mark(CENTER BORDER)

)')
T27,37
Description_geda_HEADER62_1`Header connector, DIP pin numbering'
T23,62
Description_geda_ACY100`Axial non-polar component (typically resistor or capacitor),'
T22,18
Description_connector2connector 2x1 pins
T21,64
Description_74193_dil`syncronous 4bit binary up/down counter w. dual-clock and clear'
T21,21
Description_74156_dil`2 2-to-4 decoder OC'
T20,12
Description_7402_dil`4 dual-NOR'
F4,4
defndefn
T16,75
PinList_7472_dil`NC',`/Clr',`J1',`J2',`J3',`/Q',`Gnd',`Q',`K1',`K2',`K3',`Clk',`/Pre',`Vcc'
T34,3
Param1_generic_capacitor_axial_600600
T23,2
Param1_generic28smd_dil28
T17,44
PKG_TQFP128_14_EPPKG_LQFP_40(`$1',`$2',`$3',`128',`14',`970')
T6,50
PKG_NSPKG_DIL(`$1', `$2', `$3', `$4', `$5',  70, 55, 28)
T25,39
Description_geda_TQFN28_5`Square Quad Flat Nolead (QFN) package'
T26,42
Description_geda_SOJ40_450`Small outline J-leaded package (450 mil)'
T26,38
Description_geda_RESC1005L`Standard SMT resistor, capacitor etc'
T27,42
Description_geda_HEADER62_2`Header connector, ribbon cable numbering'
T21,28
Description_74385_dil`4 serial adder/substractor'
T21,32
Description_74348_dil`8-to-3 priority encode 3-state'
T17,89
PinList_74624_dil`Osc-Gnd',`RNG',`CX1',`CX2',`/En',`Y',`Gnd',`Z',`Vcc',`NC',`NC',`NC',`FreqCont',`Osc-Vcc'
T16,3
Param2_74629_dil300
T16,3
Param2_74259_dil300
T16,2
Param1_74541_dil20
T16,2
Param1_74171_dil16
T16,2
Param1_74134_dil16
T6,50
PKG_NTPKG_DIL(`$1', `$2', `$3', `$4', `$5', 100, 60, 28)
T26,38
Description_geda_RESC1005M`Standard SMT resistor, capacitor etc'
T22,18
Description_connector4connector 2x2 pins
T20,34
Description_7490_dil`decade counter w. clear/set-to-9'
T20,30
Description_7453_dil`AND-OR inverter (4x2 inputs)'
T20,29
Description_7416_dil`6 inverters OC high-voltage'
T16,71
PinList_7486_dil`1A',`1B',`1Y',`2A',`2B',`2Y',`Gnd',`3Y',`3A',`3B',`4Y',`4A',`4B',`Vcc'
T16,61
PinList_7449_dil`B',`C',`/BI',`D',`A',`e',`Gnd',`d',`c',`b',`a',`g',`f',`Vcc'
T17,93
PinList_74446_dil`/GBA',`A1',`Dir2',`A2',`A3',`Dir3',`A4',`Gnd',`B4',`Dir4',`B3',`B2',`Dir1',`B1',`/GAB',`Vcc'
T20,3
Param1_MOLEX_025_200200
T15,2
Param1_7411_dil14
T10,43
PKG_QSOP16PKG_SSO(   `$1', `$2', `$3', 16, 244, 2500)
T14,39
PKG_HEADER38_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 19)
T26,38
Description_geda_RESC1005N`Standard SMT resistor, capacitor etc'
T27,39
Description_geda_QFN40_6_EP`Square Quad Flat Nolead (QFN) package'
T21,37
Description_74399_dil`4 dual-input multiplexor w. storage'
T15,22
PinList_uA7805C`In',`Com',`Out',`Com'
T17,102
PinList_74638_dil`DIR',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`Gnd',`B8',`B7',`B6',`B5',`B4',`B3',`B2',`B1',`/G',`Vcc'
T16,2
Param1_74592_dil16
T16,2
Param1_74518_dil20
T16,2
Param1_74148_dil16
T14,38
PKG_HEADER38_2PKG_CONNECTOR(`$1', `$2', `$3', 19, 2)
T10,34
PKG_DIP16MPKG_N(`$1', `$2', `$3',  16,  400)
T24,12
Description_geda_TO126SW`Transistor'
T22,18
Description_connector6connector 2x3 pins
T16,2
Param1_74377_dil20
T15,2
Param1_7425_dil14
T38,16
Description_generic_resistor_axial_600`resistor_axial'
T23,24
Description_geda_SOT143`SMT transistor, 4 pins'
T26,42
Description_geda_SOJ24_400`Small outline J-leaded package (400 mil)'
T26,38
Description_geda_INDC1005L`Standard SMT resistor, capacitor etc'
T17,103
PinList_74689_dil`/G',`P0',`Q0',`P1',`Q1',`P2',`Q2',`P3',`Q3',`Gnd',`P4',`Q4',`P5',`Q5',`P6',`Q6',`P7',`Q7',`/P=Q',`Vcc'
T20,3
Param1_MOLEX_025_240240
T16,2
Param1_74199_dil24
T9,71
PKG_TO247GENERIC_PL_POWER(`$1', `$2', `$3',  3, 219, 630, 210, 130,100, 60,   0)
T14,44
PKG_QFN32_7_EPPKG_QFN_65(`$1',`$2',`$3', `32', `7', `470')
T19,28
Description_uA7885C+8.5V 1.5A voltage regulator
T25,39
Description_geda_TQFN32_5`Square Quad Flat Nolead (QFN) package'
T26,38
Description_geda_INDC1005M`Standard SMT resistor, capacitor etc'
T22,18
Description_connector8connector 2x4 pins
T21,48
Description_TL072_dilDual low noise JFET input operational amplifiers
T15,2
Param1_7476_dil16
T15,2
Param1_7439_dil14
T11,72
PKG_QFP_80LPKG_GENERIC_QFP(`$1',`$2',`$3',`$4',`$5', `80',`50',`20',`100',`0',`$6')
T26,42
Description_geda_SOJ38_400`Small outline J-leaded package (400 mil)'
T26,38
Description_geda_INDC1005N`Standard SMT resistor, capacitor etc'
T24,62
Description_geda_ACY1200`Axial non-polar component (typically resistor or capacitor),'
T21,38
Description_geda_0201`Standard SMT resistor, capacitor etc'
T23,14
Description_crystal_300crystal 300mil
T20,168
PinList_GAL22V10_dil`CLK/I1',`I2',`I3',`I4',`I5',`I6',`I7',`I8',`I9',`I10',`I11',`Gnd',`I12',`I/O/Qj',`I/O/Qi',`I/O/Qh',`I/O/Qg',`I/O/Qf',`I/O/Qe',`I/O/Qd',`I/O/Qc',`I/O/Qb',`I/O/Qa',`Vcc'
T33,3
Param1_generic_resistor_axial_400400
T13,41
PKG_QFP160_28PKG_QFP_65(`$1',`$2',`$3',`160',`28',`0')
T14,39
PKG_HEADER42_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 21)
T27,28
Description_geda_TQFP208_28`Square Quad-side flat pack'
T25,39
Description_geda_TQFN32_7`Square Quad Flat Nolead (QFN) package'
T28,31
Description_geda_DIN41651_40`Header connector with latches'
T12,55
PKG_TSSOP56NCOMMON_SMT_DIL_MM(`$1',`$2',`$3', 56, 25, 150, 40, 440)
T14,38
PKG_HEADER42_2PKG_CONNECTOR(`$1', `$2', `$3', 21, 2)
T15,60
PKG_CTS_743C_04COMMON_SMT_DIL_MIL(`$1',`$2',`$3',4,32000,47000,50000,28000)
T29,44
Description_amphenol_ARFX1229Amphenol ARFX1229 Vertical SMA Connector (M)
T16,2
Param1_Z8536_dil40
T25,28
Description_geda_QFP80_14`Square Quad-side flat pack'
T19,3
Param2_PIC16C64_dil600
T14,44
PKG_QFN28_5_EPPKG_QFN_50(`$1',`$2',`$3', `28', `5', `310')
T22,20
Description_geda_OSC14`Crystal oscillator'
T23,32
Description_geda_ALF500`Axial diode (pin 1 is cathode)'
T18,171
PinList_628128_dil`NC',`A16',`A14',`A12',`A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`GND',`D3',`D4',`D5',`D6',`D7',`/CS',`A10',`/OE',`A11',`A9',`A8',`A13',`/WE',`NC',`A15',`Vcc'
T15,3
Param2_L297_dil300
T16,3
Param2_74540_dil300
T16,3
Param2_74170_dil300
T16,3
Param2_74133_dil300
T22,2
Param1_DIN41_651_50lay50
T21,54
PKG_JOHNSTECH_QFN36_6PKG_JOHNSTECH_QFN_50(`$1',`$2',`$3', `36', `6', `370')
T10,58
PKG_HC49UHPKG_CRYSTAL_H(`$1', `$2', `$3', 192, 435, 515,  60, 32, 2)
T25,12
Description_oscillator_32`oscillator'
T28,39
Description_geda_TQFN16_4_EP`Square Quad Flat Nolead (QFN) package'
T22,12
Description_geda_TO220`Transistor'
T17,100
PinList_74320_dil`Tank1',`Tank2',`Gnd1',`FFQ',`FFD',`NC',`F',`Gnd2',`/F+',`F+',`Vcc+',`/F',`NC',`Xtal1',`Xtal2',`Vcc'
T21,3
Param2_generic44_plcc150
T15,3
Param2_7400_dil300
T15,60
PKG_CTS_743C_08COMMON_SMT_DIL_MIL(`$1',`$2',`$3',8,32000,47000,50000,28000)
T23,12
Description_geda_TO220S`Transistor'
T26,42
Description_geda_SOJ42_350`Small outline J-leaded package (350 mil)'
T17,20
Description_BC337bipolar-N transistor
T21,49
Description_74606_dil`8 2-input glitch-free multiplexed latch 3-state'
T21,22
Description_74273_dil`8 D-type FF w. clear'
T18,100
PinList_514100_dil`Din',`/We',`/Ras',`A0',`A1',`A2',`A3',`A4',`Vcc',`A5',`A6',`A7',`A8',`A9',`A10',`/Cas',`Dout',`Gnd'
T20,3
Param2_MAB8031AH_dil600
T16,3
Param2_74591_dil300
T16,3
Param2_74147_dil300
T21,18
Description_74465_dil`8 buffer 3-state'
T16,3
Param2_74376_dil300
T15,3
Param2_7414_dil300
T17,3
Param2_511000_dil300
T24,2
Param1_smd_capacitor_60360
T16,2
Param1_74621_dil20
T16,2
Param1_74251_dil16
T19,717
PKG_SUBD_FEMALE_LAYdefine(`SUBD_SUBFUNCTION',
		`
		define(`NOSMUDGE', 40)
		# Pin 1
		PIN(eval(BASEX+56), PY2, 60, 35, 1)
		ElementLine(eval(BASEX+56-NOSMUDGE) PY2 X2 PY2 20)

		# Plazierungsmarkierung == PIN 1
		# Changed PY1 to PY2 13-Dec-1999 LRD
		Mark(eval(BASEX +56) PY2)

		# Remainder of the first row
		forloop(`i', 1, eval($4/2),
			`define(`Y', eval(PY1 +($4/2-i)*108))
			PIN(eval(BASEX+56), Y, 60, 35, eval($4/2+i+2-OFFSET))
			ElementLine(eval(BASEX+56-NOSMUDGE) Y X2 Y 20)
		')

		# Second row
		forloop(`i', 1, eval($4/2),
			`define(`Y', eval(PY1 +($4/2-i)*108+54))
			PIN(eval(BASEX-56), Y, 60, 35, eval($4/2+i+1))
			ElementLine(eval(BASEX-56-NOSMUDGE) Y X2 Y 20)
		')
	')
	PKG_SUBD_LAY_BASE(`$1', `$2', `$3', `$4')

T10,35
PKG_PLCC32PKG_PLCC(`$1', `$2', `$3', 32, 150)
T13,39
PKG_HEADER6_1PKG_CONNECTOR_DIL(`$1', `$2', `$3',  3)
T20,26
Description_uA78L05C+5V 0.1A voltage regulator
T27,28
Description_geda_LQFP100_10`Square Quad-side flat pack'
T17,85
PinList_74193_dil`B',`Qb',`Qa',`Down',`Up',`Qc',`Qd',`Gnd',`D',`C',`/Load',`/CO',`/BO',`Clr',`A',`Vcc'
T17,90
PinList_74156_dil`1C',`/1G',`B',`1Y3',`1Y2',`1Y1',`1Y0',`Gnd',`2Y0',`2Y1',`2Y2',`2Y3',`A',`/2G',`/2C',`Vcc'
T16,3
Param2_74198_dil300
T16,2
Param1_74443_dil20
T17,2
Param1_628128_dil32
T13,74
PKG_RESC2012LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 130,  100, 160, 280, 160,  20, 130)
T13,38
PKG_HEADER6_2PKG_CONNECTOR(`$1', `$2', `$3',  3, 2)
T20,26
Description_uA79M08C-8V 0.5A voltage regulator
T25,29
Description_MOLEX_025_200Molex .025 pitch 200 pin plug
T17,123
PinList_74385_dil`Clk',`1Sum',`1S-/A',`1B',`1A',`2A',`2B',`2S-/A',`2Sum',`Gnd',`Clr',`3Sum',`3S-/A',`3B',`3A',`4A',`4B',`4S-/A',`4Sum',`Vcc'
T17,73
PinList_74348_dil`4',`5',`6',`7',`W1',`A2',`A1',`Gnd',`A0',`0',`1',`2',`3',`GS',`E0',`Vcc'
T15,3
Param2_7465_dil300
T15,3
Param2_7428_dil300
T25,3
Param1_smd_capacitor_1206120
T16,2
Param1_74672_dil20
T16,2
Param1_74265_dil16
T13,74
PKG_RESC2012MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 150,  140, 200, 440, 250,  20, 150)
T21,55
PKG_JOHNSTECH_QFN40_6PKG_JOHNSTECH_QFN_50S(`$1',`$2',`$3', `40', `6', `410')
T23,12
Description_geda_TO220W`Transistor'
T26,42
Description_geda_SOJ26_300`Small outline J-leaded package (300 mil)'
T20,3
Param2_AT90S1300_dil300
T17,2
Param1_514100_dil18
T10,46
PKG_SOT223PKG_SMT_TRANSISTOR4X(`$1', `$2', `$3', 46, 62)
T13,74
PKG_RESC2012NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 140,  120, 180, 350, 190,  20, 140)
T20,26
Description_uA78L09C+9V 0.1A voltage regulator
T44,56
Description_nichicon_NICHICON_WT_CAP_6p3_7p7`Nichicon WT series SMT Aluminum Electrolytic Capacitor'
T17,82
PinList_74399_dil`WS',`Qa',`A1',`A2',`B2',`B1',`Qb',`Gnd',`Clk',`Qc',`C1',`C2',`D2',`D1',`Qd',`Vcc'
T16,2
Param1_74686_dil24
T16,2
Param1_74649_dil24
T16,2
Param1_74279_dil16
T10,44
PKG_TANT_APKG_SMT_2PAD_EIA(  `$1', `$2', `$3', 32, 16)
T11,69
PKG_EMI0603COMMON_SMT_3PAD_MIL(  `$1', `$2', `$3', 24, 24,  63,  47, 16, 10, 10)
T22,16
Description_geda_TO264`diode in TO220'
T27,28
Description_geda_LQFP100_14`Square Quad-side flat pack'
T25,29
Description_MOLEX_025_240Molex .025 pitch 240 pin plug
T10,44
PKG_TANT_BPKG_SMT_2PAD_EIA(  `$1', `$2', `$3', 35, 28)
T25,33
Description_geda_QFP100_R`Rectangular Quad-side flat pack'
T21,2
Param1_generic28w_dil28
T10,44
PKG_TANT_CPKG_SMT_2PAD_EIA(  `$1', `$2', `$3', 60, 32)
T27,28
Description_geda_TQFP100_12`Square Quad-side flat pack'
T23,64
Description_geda_RCY200`Bottom lead non-polar circular component (typically capacitor)'
T26,38
Description_geda_INDC4509L`Standard SMT resistor, capacitor etc'
T17,55
PinList_TL072_dil`Out1',`In1-',`In1+',`Vcc-',`In2+',`In2-',`Out2',`Vcc+'
T17,3
Param2_MAX233_dil300
T10,44
PKG_TANT_DPKG_SMT_2PAD_EIA(  `$1', `$2', `$3', 73, 43)
T20,106
PKG_SMT_TRANSISTOR4XCOMMON_SMT_TRANSISTORX_MIL(`$1', `$2', `$3',
		  `eval(($4*1000)/254)', `eval(($5*1000)/254)', 50, `1234')
T15,40
PKG_DIN41651_40PKG_DIN41_651LAY(  `$1', `$2', `$3', 40)
T33,10
Description_ovenized_oscillator_5`ovenized'
T43,32
Description_minicircuits_MINICIRCUITS_CA531`Mini-Circuits CA Style Package'
T26,38
Description_geda_INDC4509M`Standard SMT resistor, capacitor etc'
T22,9
Description_511000_dilDRAM 1Mx1
T16,125
PinList_2732_dil`A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`/Cs',`A10',`/Oe',`A11',`A9',`A8',`Vcc'
T13,62
PKG_SOJ40_300COMMON_SMT_DIL_MIL(`$1',`$2',`$3',40,23622,86614,50000,196850)
T27,28
Description_geda_TQFP100_14`Square Quad-side flat pack'
T26,38
Description_geda_INDC4509N`Standard SMT resistor, capacitor etc'
T20,17
Description_2114_dil`Static RAM 1Kx4'
T16,22
PinList_uA78M10C`In',`Com',`Out',`Com'
T17,3
Param2_MAX691_dil300
T28,39
Description_geda_QFN68_10_EP`Square Quad Flat Nolead (QFN) package'
T27,37
Description_geda_HEADER16_1`Header connector, DIP pin numbering'
T16,3
Param2_74620_dil300
T15,3
Param2_6116_dil600
T28,39
Description_geda_TQFN24_4_EP`Square Quad Flat Nolead (QFN) package'
T27,42
Description_geda_HEADER16_2`Header connector, ribbon cable numbering'
T21,48
Description_74161_dil`syncronous 4bit binary counter w. async. clear'
T21,34
Description_74124_dil`2 voltage controlled oszillators'
T16,71
PinList_7440_dil`1A',`1B',`NC',`1C',`1D',`1Y',`Gnd',`2Y',`2A',`2B',`NC',`2C',`2D',`Vcc'
T16,71
PinList_7403_dil`1A',`1B',`1Y',`2A',`2B',`2Y',`Gnd',`3Y',`3A',`3B',`4Y',`4A',`4B',`Vcc'
T21,3
Param2_generic52_plcc150
T16,3
Param2_74442_dil300
T13,43
PKG_TQFN68_10PKG_QFN_50(`$1',`$2',`$3', `68', `10', `0')
T15,44
PKG_TQFN16_4_EPPKG_QFN_65(`$1',`$2',`$3', `16', `4', `210')
T24,37
Description_geda_EIA3528`Tantalum SMT capacitor (pin 1 is +)'
T29,31
Description_geda_DIN41612C64F`DIN connector, 96 pin housing'
T21,61
Description_74390_dil`2 decade counter w. individual clocks/clear (divide by 2/5)'
T21,44
Description_74353_dil`2 4-to-1 data selector/multiplexor 3-state'
T20,12
Description_2764_dil`EPROM 8Kx8'
T16,3
Param2_74671_dil300
T13,74
PKG_CAPC1608LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  90,   65, 120, 200, 120,   0,   0)
T20,12
Description_7421_dil`2 quad-AND'
T21,32
Description_74175_dil`4 D-type FF double-rail output'
T21,16
Description_74138_dil`3-to-8 decoder'
T16,69
PinList_7491_dil`NC',`NC',`NC',`NC',`Vcc',`NC',`NC',`NC',`Clk',`Gnd',`B',`A',`Q',`/Q'
T16,62
PinList_7454_dil`A',`C',`D',`E',`F',`NC',`Gnd',`Y',`G',`H',`NC',`NC',`B',`Vcc'
T19,104
PKG_SMT_TRANSISTOR2COMMON_SMT_TRANSISTOR_MIL(`$1', `$2', `$3',
		  `eval(($4*1000)/254)', `eval(($5*1000)/254)', 50, `231')
T13,74
PKG_CAPC1608MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 110,   85, 140, 270, 150,   0,   0)
T27,9
Description_generic208_lqfp`generic'
T25,39
Description_geda_TQFN56_8`Square Quad Flat Nolead (QFN) package'
T26,42
Description_geda_SOJ22_450`Small outline J-leaded package (450 mil)'
T29,31
Description_geda_DIN41651_50S`Header connector with latches'
T21,18
Description_74367_dil`6 bus drivers OC'
T17,144
PinList_74606_dil`Clk',`A-/B',`A1',`B1',`A2',`B2',`A3',`B3',`A4',`B4',`Y4',`Y3',`Y2',`Gnd',`Y1',`Y5',`Y6',`Y7',`Y8',`B8',`A8',`B7',`A7',`B6',`A6',`B5',`A5',`Vcc'
T17,104
PinList_74273_dil`/Clr',`1Q',`1D',`2D',`2Q',`3Q',`3D',`4D',`4Q',`Gnd',`Clk',`5Q',`5D',`6D',`6Q',`7Q',`7D',`8D',`8Q',`Vcc'
T16,3
Param2_74685_dil300
T16,3
Param2_74648_dil300
T16,3
Param2_74278_dil300
T16,2
Param1_74190_dil16
T16,2
Param1_74153_dil16
T16,2
Param1_74116_dil24
T19,104
PKG_SMT_TRANSISTOR3COMMON_SMT_TRANSISTOR_MIL(`$1', `$2', `$3',
		  `eval(($4*1000)/254)', `eval(($5*1000)/254)', 50, `123')
T10,63
PKG_QFN_40PKG_GENERIC_QFN(`$1',`$2',`$3',`$4',`$5', `40',`25',`60', `$6')
T7,695
PKG_OSCElement(0x00 "$1" "`$2'" "$3" 270 300 3 100 0x00)
(
	Pin(100 100 50 28 "NC" 0x01)
	Pin(100 700 50 28 "GND" 0x01)
	Pin(400 700 50 28 "CLK" 0x01)
	Pin(400 100 50 28 "VCC" 0x01)

	ElementLine(5 5 400 5 10)
	ElementArc(400 100 95 95 180 90 10)
	ElementLine(495 100 495 700 10)
	ElementArc(400 700 95 95 90 90 10)
	ElementLine(400 795 100 795 10)
	ElementArc(100 700 95 95 0 90 10)
	ElementLine(5 700 5 5 10)

	ElementLine(100 60 400 60 10)
	ElementArc(400 100 40 40 180 90 10)
	ElementLine(440 100 440 700 10)
	ElementArc(400 700 40 40 90 90 10)
	ElementLine(400 740 100 740 10)
	ElementArc(100 700 40 40 0 90 10)
	ElementLine(60 700 60 100 10)
	ElementArc(100 100 40 40 270 90 10)

	Mark(100 100)
)
T13,74
PKG_CAPC1608NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 100,   75, 130, 230, 130,   0,   0)
T24,47
Description_geda_PLCC68X`Plastic leadless chip carrier with pin socket'
T27,37
Description_geda_HEADER20_1`Header connector, DIP pin numbering'
T22,45
Description_MAX233_dildual RS232 driver without external components
T20,33
Description_7472_dil`AND-gated MS-FF w. preset/clear'
T21,40
Description_74596_dil`8bit shift register w. output latch OC'
T16,22
PinList_uA78M18C`In',`Com',`Out',`Com'
T16,103
PinList_7468_dil`1ClkA',`1Qb',`1Qd',`/1Clr',`2Qc',`NC',`2Qa',`Gnd',`2Clk',`2Qb',`/2Clr',`2Qd',`1Qc',`1Qa',`1ClkB',`Vcc'
T17,103
PinList_74465_dil`/G1',`A1',`Y1',`A2',`Y2',`A3',`Y3',`A4',`Y4',`Gnd',`Y5',`A5',`Y6',`A6',`Y7',`A7',`Y8',`A8',`/G2',`Vcc'
T24,2
Param2_smd_capacitor_80550
T17,3
Param2_DS1220_dil600
T16,2
Param1_74382_dil20
T15,2
Param1_7430_dil14
T19,105
PKG_SMT_TRANSISTOR4COMMON_SMT_TRANSISTOR_MIL(`$1', `$2', `$3',
		  `eval(($4*1000)/254)', `eval(($5*1000)/254)', 50, `1234')
T26,42
Description_geda_SOJ36_450`Small outline J-leaded package (450 mil)'
T27,42
Description_geda_HEADER20_2`Header connector, ribbon cable numbering'
T16,3
Param2_74699_dil300
T20,2
Param1_AT90S1200_dil20
T16,2
Param1_74574_dil20
T16,2
Param1_74167_dil16
T19,106
PKG_SMT_TRANSISTOR5COMMON_SMT_TRANSISTOR_MIL(`$1', `$2', `$3',
		  `eval(($4*1000)/254)', `eval(($5*1000)/254)', 50, `12345')
T20,49
PKG_PCI5V_MAX_HEIGHTPKG_PCIPINARRAY(`$1', `$2', `$3', 4200,49,100,11)
T38,42
Description_panasonic_PANASONIC_EXB34V`Panasonic EXB Series Chip Resistor Array'
T22,60
Description_MAX691_diluP supervisor w. watchdog, chip-enable and power-fail signal
T29,26
Description_DIN41_651_20standDIN41.651 standing 20 pins
T20,12
Description_7486_dil`4 dual-XOR'
T20,46
Description_7449_dil`BCD to 7-segment driver OC w. blanking input'
T16,2
Param1_LM324_dil14
T16,2
Param1_74396_dil16
T15,2
Param1_7407_dil14
T19,107
PKG_SMT_TRANSISTOR6COMMON_SMT_TRANSISTOR_MIL(`$1', `$2', `$3',
		  `eval(($4*1000)/254)', `eval(($5*1000)/254)', 50, `123456')
T10,63
PKG_QFN_80PKG_GENERIC_QFN(`$1',`$2',`$3',`$4',`$5', `80',`42',`60', `$6')
T13,879
PKG_AXIAL_LAYdefine(`X1', `eval(`$4' /4)')
	define(`X2', `eval(`$4' -X1)')
	define(`Y1', `eval(X1 /3)')
	define(`Y2', `eval(Y1 *2)')
	define(`PINSIZE', `ifelse(eval($4 >= 600), 1, 80, 55)')
	define(`DRILLSIZE', `ifelse(eval($4 >= 600), 1, 50, 30)')
	define(`YPT', `eval(Y1 - PINSIZE/2 - 10)')
	define(`YPC', `eval(YPT - 20)')
	define(`YPB', `eval(YPT - 40)')
Element(0x00 "$1" "`$2'" "$3" eval(X2+20) eval(Y2+20) 0 100 0x00)
(
	PIN(0, Y1, PINSIZE, DRILLSIZE, 1)
	PIN($4, Y1, PINSIZE, DRILLSIZE, 2)

	ElementLine(0 Y1 X1 Y1 10)
	ElementLine(X2 Y1 $4 Y1 10)

	ElementLine(X1 0 X2 0 10)
	ElementLine(X2 0 X2 Y2 10)
	ElementLine(X2 Y2 X1 Y2 10)
	ElementLine(X1 Y2 X1 0 10)

	ifelse(1, $5,
	ElementLine(0 YPB 0 YPT 10)
	ElementLine(-20 YPC 20 YPC 10)
	ElementLine(`eval($4 - 20)' YPC `eval($4 + 20)' YPC 10)
	)

#	ElementArc(X1 Y 50 50 270 180 10)
#	ElementArc(X2 Y 50 50 90 180 10)

	Mark(0 Y1)
)
T27,24
Description_DIN41_651_16layDIN41.651 laying 16 pins
T24,13
PinList_PCI5V_AVE_HEIGHTPinList_PCI5V
T8,30
PKG_LED3PKG_LED(`$1', `$2', `$3', 118)
T23,45
Description_geda_SSOP20`Shrink small outline package, .65mm, narrow'
T24,60
Description_geda_RCY350P`Bottom lead polar circular component (typically capacitor)'
T29,31
Description_geda_DIN41612C64M`DIN connector, 96 pin housing'
T15,2
Param1_7495_dil14
T38,42
Description_panasonic_PANASONIC_EXB38V`Panasonic EXB Series Chip Resistor Array'
T20,498
PinList_TI34010_plcc`Gnd',`Run/Emu',`/Reset',`VClk',`InClk',`/LInt1',`/LInt2',`/Hold',`LRdy',`LAD0',`LAD1',`LAD2',`LAD3',`LAD4',`LAD5',`LAD6',`LAD7',`Gnd',`LAD8',`LAD9',`LAD10',`LAD11',`LAD12',`LAD13',`LAD14',`LAD15',`Vcc',`LClk1',`LClk2',`/HSync',`/VSync',`/Blank',`/Hlda/Emu',`/LAL',`Gnd',`DDout',`/DEn',`/RAS',`/CAS',`/We',`/TRQE',`/HInt',`HRdy',`HD15',`HD14',`HD13',`HD12',`HD11',`HD10',`HD9',`HD8',`Gnd',`HD7',`HD6',`HD5',`HD4',`HD3',`HD2',`HD1',`HD0',`Vcc',`/HUDS',`/HLDS',`/HRead',`/HWrite',`/HCs',`HFS0',`HFS1'
T12,43
PKG_TQFN16_3PKG_QFN_50S(`$1',`$2',`$3', `16', `3', `0')
T8,30
PKG_LED5PKG_LED(`$1', `$2', `$3', 236)
T12,42
PKG_TQFN16_4PKG_QFN_65(`$1',`$2',`$3', `16', `4', `0')
T16,2
Param1_TL083_dil14
T12,42
PKG_TQFN16_5PKG_QFN_80(`$1',`$2',`$3', `16', `5', `0')
T24,49
Description_geda_TSSOP80`Thin shrink small outline package, wide (6.1mm)'
T23,45
Description_geda_SSOP24`Shrink small outline package, .65mm, narrow'
T24,30
Description_geda_DO214AB`SMT diode (pin 1 is cathode)'
T22,13
Description_DS1220_dil`NVSRAM 2Kx8'
T20,2
Param1_generic64_dil64
T13,62
PKG_SOJ20_400COMMON_SMT_DIL_MIL(`$1',`$2',`$3',20,23622,86614,50000,291339)
T21,43
Description_74241_dil`8 buffer/driver 3-state w. pos/neg enable'
T16,3
Param2_74522_dil300
T15,2
Param1_SUBD_15F15
T18,2
Param1_GAL20V8_dil24
T15,45
PKG_TQFN24_4_EPPKG_QFN_50S(`$1',`$2',`$3', `24', `4', `260')
T13,103
PinList_PCI5VPL_PCISideB1,PL_PCISideB2,PL_PCISideB3,PL_PCISideB5,PL_PCISideA1,PL_PCISideA2,PL_PCISideA3,PL_PCISideA5
T16,3
Param2_74381_dil300
T13,62
PKG_SOJ34_400COMMON_SMT_DIL_MIL(`$1',`$2',`$3',34,23622,86614,50000,291339)
T19,27
Description_uA7912C-12V 1.5A voltage regulator
T26,42
Description_geda_SOJ24_350`Small outline J-leaded package (350 mil)'
T21,54
Description_74625_dil`2 voltage controlled oscillator w. complement output'
T21,41
Description_74292_dil`programmable divider/timer (2 power 31)'
T16,16
PinList_uA79L05C`Out',`In',`Com'
T15,21
PinList_uA7910C`Com',`In',`Out',`In'
T17,86
PinList_74161_dil`/Clr',`Clk',`A',`B',`C',`D',`ENP',`Gnd',`/Load',`ENT',`Qd',`Qc',`Qb',`Qa',`RCO',`Vcc'
T17,109
PinList_74124_dil`2FC',`1FC',`1Rng',`1CX1',`1CX2',`/1En',`1Y',`Osc-Gnd',`Gnd',`2Y',`/2En',`2CX1',`2CX2',`2Rng',`Osc-Vcc',`Vcc'
T16,3
Param2_74573_dil300
T16,3
Param2_74166_dil300
T12,42
PKG_TQFN20_4PKG_QFN_50(`$1',`$2',`$3', `20', `4', `0')
T23,45
Description_geda_SSOP28`Shrink small outline package, .65mm, narrow'
T31,33
Description_bourns_BOURNS_3224G`Bourns 3224 Series SMT Trim Pot'
T17,105
PinList_74390_dil`1ClkA',`1Clr',`1Qa',`1ClkB',`1Qb',`1Qc',`1Qd',`Gnd',`2Qd',`2Qc',`2Qb',`2ClkB',`2Qa',`2Clr',`2ClkA',`Vcc'
T17,89
PinList_74353_dil`/1G',`B',`1C3',`1C2',`1C1',`1C0',`1Y',`Gnd',`2Y',`2C0',`2C1',`2C2',`2C3',`A',`/2G',`Vcc'
T15,3
Param2_7470_dil300
T16,3
Param2_74395_dil300
T15,3
Param2_7433_dil300
T24,3
Param1_smd_resistor_1206120
T16,2
Param1_74640_dil20
T12,42
PKG_TQFN20_5PKG_QFN_65(`$1',`$2',`$3', `20', `5', `0')
T32,12
Description_generic_smd_chip_805smd chip 805
T24,49
Description_geda_TSSOP48`Thin shrink small outline package, wide (6.1mm)'
T26,42
Description_geda_SOJ38_350`Small outline J-leaded package (350 mil)'
T22,30
Description_geda_DO214`SMT diode (pin 1 is cathode)'
T21,48
Description_74639_dil`8 bus tranceiver OC A-output, 3-state B-output'
F7,7
dumpdefdumpdef
T17,88
PinList_74175_dil`/Clr',`1Q',`/1Q',`1D',`2D',`/2Q',`2Q',`Gnd',`Clk',`3Q',`/3Q',`3D',`4D',`/4Q',`4Q',`Vcc'
T17,82
PinList_74138_dil`A',`B',`C',`/G2A',`/G2B',`G1',`Y7',`Gnd',`Y6',`Y5',`Y4',`Y3',`Y2',`Y1',`Y0',`Vcc'
T13,887
PKG_MOLEX_025define(`PINPAIRS',`eval($4/2)')
Element(0x00 "$1" "`$2'" "$3" 0 0 3 100 0x00)
(
	forloop(`i', 1, PINPAIRS,
		`define(`Y', eval(25*(i-1)) )'
		`PAD(  54, Y, 111, Y, 14, eval(i*2-1))'
		`PAD(-111, Y, -54, Y, 14, eval(i*2))'
	)
	define(`ENDY',eval(25*(PINPAIRS-1)))

	# Keying is done with two sizes of alignment pins: 35 and 28 mils
	Pin(0 -50 50 35 "M1" 0x01)
	Pin(0 eval(ENDY+50) 43 28 "M2" 0x01)

	# ends of mounting pads are 71 and 169 mils from end pad centers
	PAD(0, -110, 0, -130, 79, M3)
	PAD(0, eval(ENDY+110), 0, eval(ENDY+130), 79, M4)

	define(`BOXY',eval(ENDY+150))
	ElementLine(-100 -150   50 -150 10)
	ElementLine(  50 -150  100 -100 10)
	ElementLine( 100 -100  100 BOXY 10)
	ElementLine( 100 BOXY -100 BOXY 10)
	ElementLine(-100 BOXY -100 -150 10)

	# Support for aggregate parts built from this base, like
	# the nanoEngine below.
	ifdef(`MOLEX_EXTRA', `MOLEX_EXTRA', )
)
T17,95
PinList_74367_dil`/G1',`1A1',`1Y1',`1A2',`1Y2',`1A3',`1Y3',`Gnd',`1Y4',`1A4',`2Y1',`2A1',`2Y2',`2A2',`/G2',`Vcc'
T15,3
Param2_7447_dil300
T16,2
Param1_74691_dil20
T16,2
Param1_74247_dil16
T24,43
Description_geda_SSOP56W`Shrink small outline package, 25mil, wide'
T25,46
Description_geda_ACY1300P`Axial polar component (typically capacitor),'
T31,33
Description_bourns_BOURNS_3224J`Bourns 3224 Series SMT Trim Pot'
T25,33
Description_AT90S1200_dilAVR Enhanced RISC microcontroller
F4,4
evaleval
T17,90
PinList_74596_dil`Qb',`Qc',`Qd',`Qe',`Qf',`Qg',`Qh',`Gnd',`Qh+',`/SRClr',`SRCK',`RCK',`/G',`SER',`Qa',`Vcc'
T20,3
Param2_PEB2086N_plcc150
T19,2
Param1_MOLEX_025_2020
T16,40
PKG_DIN41651_34SPKG_DIN41_651STAND(`$1', `$2', `$3', 34)
T28,29
Description_geda_MULTIWATT11`Power IC, as in MULTIWATT15'
T15,2
Param1_SUBD_15M15
T16,2
Param1_74668_dil16
T16,2
Param1_74298_dil16
T13,41
PKG_QFP208_28PKG_QFP_50(`$1',`$2',`$3',`208',`28',`0')
T33,13
Description_generic_smd_chip_1206smd chip 1206
T22,38
Description_geda_01005`Standard SMT resistor, capacitor etc'
T15,21
PinList_uA7918C`Com',`In',`Out',`In'
T16,3
Param2_TL082_dil300
T35,3
Param1_generic_capacitor_radial_500500
T12,34
PKG_TO220ACSPKG_TO220ACSTAND(`$1', `$2', `$3')
T26,38
Description_geda_CAPC2012L`Standard SMT resistor, capacitor etc'
T24,28
Description_MOLEX_025_30Molex .025 pitch 30 pin plug
T19,2
Param1_MOLEX_025_6060
T13,74
PKG_RESC1608LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  90,   50, 120, 200, 120,   0,  90)
T10,36
PKG_ACY500PKG_AXIAL_LAY(`$1', `$2', `$3', 500)
T39,50
Description_johnstech_JOHNSTECH_QFN28_5`Johnstech QFN Socket, Series 1MM (724812-724839)'
T27,37
Description_geda_HEADER44_1`Header connector, DIP pin numbering'
T26,38
Description_geda_CAPC2012M`Standard SMT resistor, capacitor etc'
T25,2
Param2_smd_capacitor_120660
T13,74
PKG_RESC1608MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 110,   70, 150, 270, 150,  10, 110)
T25,79
PKG_NICHICON_WT_CAP_8_5p4PKG_NICHICON_WT_CAP(`$1', `$2', `$3',
	`80', `350', `230', `850', `850', `590')
T22,60
PKG_MINICIRCUITS_CA531COMMON_SMT_DIL_MIL(`$1',`$2',`$3',6,20000,50000,37000,40000)
T28,29
Description_geda_MULTIWATT15`Power IC, as in MULTIWATT15'
T27,42
Description_geda_HEADER44_2`Header connector, ribbon cable numbering'
T22,29
Description_geda_DB15F`DSUB connector, female/male'
T26,38
Description_geda_CAPC2012N`Standard SMT resistor, capacitor etc'
T35,23
Description_amp_AMP_MICTOR_767054_1`Amp Mictor Connectors'
T11,71
PKG_TO247_2GENERIC_PL_POWER(`$1', `$2', `$3',  2, 438, 630, 210, 130,100, 60,   0)
T13,62
PKG_SOJ22_300COMMON_SMT_DIL_MIL(`$1',`$2',`$3',22,23622,86614,50000,196850)
T13,74
PKG_RESC1608NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 100,   60, 140, 230, 130,   0,   0)
T35,23
Description_amp_AMP_MICTOR_767054_2`Amp Mictor Connectors'
T24,28
Description_MOLEX_025_70Molex .025 pitch 70 pin plug
T26,3
Param1_smd_EIA_A_capacitor120
T12,40
PKG_ACY1600PPKG_AXIAL_LAY(`$1', `$2', `$3', 1600, 1)
T25,9
Description_generic64_dil`generic'
T21,21
Description_geda_MPAK`Pressure transducer'
T35,23
Description_amp_AMP_MICTOR_767054_3`Amp Mictor Connectors'
T21,50
Description_74321_dil`crystal-controlled oscillator w. F/2,F/4 outputs'
T20,12
Description_2732_dil`EPROM 4Kx8'
T13,62
PKG_SOJ36_300COMMON_SMT_DIL_MIL(`$1',`$2',`$3',36,23622,86614,50000,196850)
T11,72
PKG_LQFP_65PKG_GENERIC_QFP(`$1',`$2',`$3',`$4',`$5', `65',`40', `5', `50',`0',`$6')
T20,27
Description_uA78M10C+10V 0.5A voltage regulator
T38,42
Description_panasonic_PANASONIC_EXBS8V`Panasonic EXB Series Chip Resistor Array'
T26,28
Description_geda_QFP304_40`Square Quad-side flat pack'
T26,28
Description_geda_QFP120_28`Square Quad-side flat pack'
T35,23
Description_amp_AMP_MICTOR_767054_4`Amp Mictor Connectors'
T21,41
Description_74180_dil`9bit /even/odd parity generator/checker'
T21,37
Description_74143_dil`4bit counter/latch 7-segment driver'
T16,71
PinList_7422_dil`1A',`1B',`NC',`1C',`1D',`1Y',`Gnd',`2Y',`2A',`2B',`NC',`2C',`2D',`Vcc'
T11,1302
PKG_OLD_QFPdefine(`QUARTER', `eval($4 /4)')
	define(`OFFSET', `eval((QUARTER +1) /2)')
	define(`WIDTH', `eval((QUARTER-1) *31 +2*42)')
	define(`CENTER', `eval(WIDTH / 2)')
	define(`NUMPINS', `$4')
Element(0x00 "$1" "`$2'" "$3" 100 CENTER 0 100 0x00)
(

	# left row
define(`X', 0)
define(`Y', 42)
#define(`count', `eval(OFFSET+1)')
define(`count', 1)
forloop(`i', 1, QUARTER,
	`PAD(eval(X-65), Y, eval(X+5), Y, 20, count)' `define(`count', incr(count))'
	`define(`Y', eval(Y+31))'
	)

	# bottom row
define(`X', 42)
define(`Y', WIDTH)
forloop(`i', 1, QUARTER,
	`PAD(X, eval(Y+65), X, eval(Y-5), 20, count)' `define(`count', incr(count))'
	`define(`X', eval(X+31))'
)

	# right row
define(`X', WIDTH)
define(`Y', eval(WIDTH-42))
forloop(`i', 1, QUARTER,
	`PAD(eval(X+65), Y, eval(X-5), Y, 20, count)' `define(`count', incr(count))'
	`define(`Y', eval(Y-31))'
)

	# top row
define(`X', eval(WIDTH-42))
define(`Y', 0)
forloop(`i', 1, QUARTER,
	`PAD(X, eval(Y-65), X, eval(Y+5), 20, count)' `define(`count', incr(count))'
	`ifelse(eval(count > NUMPINS), 1, `define(`count', 1)')'
	`define(`X', eval(X-31))'
)

	ElementLine(28 0 WIDTH 0 10)
	ElementLine(WIDTH 0 WIDTH WIDTH 10)
	ElementLine(WIDTH WIDTH 0 WIDTH 10)
	ElementLine(0 WIDTH 0 28 10)
	ElementLine(0 28 28 0 10)

	ElementArc(80 80 20 20 0 360 10)

	Mark(0 0)
)
T39,50
Description_johnstech_JOHNSTECH_QFN32_5`Johnstech QFN Socket, Series 1MM (724812-724839)'
T35,23
Description_amp_AMP_MICTOR_767054_5`Amp Mictor Connectors'
T17,119
PinList_74241_dil`/1G',`1A1',`2Y4',`1A2',`2Y3',`1A3',`2Y2',`1A4',`2Y1',`Gnd',`2A1',`1Y4',`2A2',`1Y3',`2A3',`1Y2',`2A4',`1Y1',`/2G',`Vcc'
T16,3
Param2_74690_dil300
T16,3
Param2_74653_dil300
T16,3
Param2_74283_dil300
T16,2
Param1_74121_dil14
T14,139
PKG_SOT323_CEL
	define(`WX', 32)
	define(`WY', 24)
	define(`DX', 67)
	define(`DY', 51)
	define(`OX', 26)
	define(`OY', 79)
	PKG_BASE_SOT(`$1',`$2',`$3')

T12,41
PKG_RCY1000PPKG_RADIAL_CAN(`$1', `$2', `$3', 2000, 1)
T35,23
Description_amp_AMP_MICTOR_767054_6`Amp Mictor Connectors'
T20,20
Description_7440_dil`2 quad-NAND buffer'
T21,36
Description_74194_dil`4bit bi-directional shift register'
T21,19
Description_74157_dil`4 2-to-1 selector'
T20,16
Description_7403_dil`4 dual-NAND OC'
T16,83
PinList_7473_dil`1Clk',`/1Clr',`1K',`Vcc',`2Clk',`/2Clr',`2J',`/2Q',`2Q',`2K',`Gnd',`1Q',`/1Q',`1J'
T39,50
Description_johnstech_JOHNSTECH_QFN32_7`Johnstech QFN Socket, Series 1MM (724812-724839)'
T28,9
Description_generic14smd_dil`generic'
T35,23
Description_amp_AMP_MICTOR_767054_7`Amp Mictor Connectors'
T21,12
Description_74386_dil`4 dual-XOR'
T17,115
PinList_74625_dil`Gnd',`1Z',`1Y',`1CX1',`1CX2',`1FC',`1Osc-Vcc',`1Osc-Gnd',`2Osc-Gnd',`2Osc-Vcc',`2FC',`2CX2',`2CX1',`2Y',`2Z',`Vcc'
T17,84
PinList_74292_dil`B',`E',`Tp1',`Clk1',`Clk2',`Tp2',`Q',`Gnd',`NC',`A',`/Clr',`NC',`Tp3',`D',`C',`Vcc'
T16,3
Param2_74297_dil300
T19,2
Param1_MOLEX_025_6868
T16,2
Param1_74172_dil24
T16,2
Param1_74135_dil16
T8,58
PKG_UM1HPKG_CRYSTAL_H(`$1', `$2', `$3', 148, 311, 322,  60, 32, 2)
T14,39
PKG_HEADER24_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 12)
T8,34
PKG_HC49PKG_CRYSTAL(`$1', `$2', `$3', 300)
T9,34
PKG_DIP40PKG_N(`$1', `$2', `$3',  40,  600)
T31,26
Description_smd_EIA_C_capacitor`chip_capacitor_polarized'
T40,18
Description_generic_capacitor_radial_200`capacitor_radial'
T23,64
Description_geda_RCY150`Bottom lead non-polar circular component (typically capacitor)'
T22,29
Description_geda_DB15M`DSUB connector, female/male'
T20,21
Description_7491_dil`8bit shift register'
T20,30
Description_7454_dil`AND-OR inverter (4x2 inputs)'
F6,6
divnumdivnum
T14,8
PinList_sm0805`1', `2'
T15,2
Param1_7412_dil14
T14,38
PKG_HEADER24_2PKG_CONNECTOR(`$1', `$2', `$3', 12, 2)
T26,42
Description_geda_SOJ18_450`Small outline J-leaded package (450 mil)'
T26,28
Description_geda_LQFP44_10`Square Quad-side flat pack'
T31,33
Description_bourns_BOURNS_3224W`Bourns 3224 Series SMT Trim Pot'
T17,102
PinList_74639_dil`DIR',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`Gnd',`B8',`B7',`B6',`B5',`B4',`B3',`B2',`B1',`/G',`Vcc'
T16,2
Param1_74593_dil20
T16,2
Param1_74519_dil20
T11,41
PKG_RCY600PPKG_RADIAL_CAN(`$1', `$2', `$3', 1200, 1)
T9,34
PKG_DIP42PKG_N(`$1', `$2', `$3',  42,  600)
T31,33
Description_bourns_BOURNS_3224X`Bourns 3224 Series SMT Trim Pot'
T20,23
Description_7468_dil`2 4bit decade counter'
T16,22
PinList_uA78M05C`In',`Com',`Out',`Com'
T16,2
Param1_74378_dil16
T15,2
Param1_7426_dil14
T15,72
PKG_MULTIWATT11GENERIC_PL_POWER(`$1', `$2', `$3', 11,  67, 800, 200, 180, 90, 60, 200) 
T10,37
PKG_ALF900PKG_DIODE_LAY(`$1', `$2', `$3',  900)
T11,39
PKG_ACY700PPKG_AXIAL_LAY(`$1', `$2', `$3', 700, 1)
T25,28
Description_geda_LQFP32_5`Square Quad-side flat pack'
T9,34
PKG_DIP44PKG_N(`$1', `$2', `$3',  44,  600)
T29,26
Description_DIN41_651_64standDIN41.651 standing 64 pins
T24,2
Param1_DIN41_651_16stand16
T16,2
Param1_27128_dil28
T13,41
PKG_QFP100_14PKG_QFP_50(`$1',`$2',`$3',`100',`14',`0')
T24,39
Description_geda_QFN16_3`Square Quad Flat Nolead (QFN) package'
T25,28
Description_geda_LQFP32_7`Square Quad-side flat pack'
T29,31
Description_geda_DIN41612C96F`DIN connector, 96 pin housing'
T16,22
PinList_uA78M09C`In',`Com',`Out',`Com'
T19,138
PinList_GAL16V8_dil`CLK/I1',`I2',`I3',`I4',`I5',`I6',`I7',`I8',`I9',`Gnd',`I10',`I/O/Qh',`I/O/Qg',`I/O/Qf',`I/O/Qe',`I/O/Qd',`I/O/Qc',`I/O/Qb',`I/O/Qa',`Vcc'
T20,3
Param2_generic20_dil300
T24,60
Description_geda_RCY300P`Bottom lead polar circular component (typically capacitor)'
T27,39
Description_geda_QFN32_7_EP`Square Quad Flat Nolead (QFN) package'
T24,39
Description_geda_QFN16_4`Square Quad Flat Nolead (QFN) package'
T14,8
PinList_sm1206`1', `2'
T20,2
Param1_generic32_dil32
T12,42
PKG_TQFN44_7PKG_QFN_50(`$1',`$2',`$3', `44', `7', `0')
T13,62
PKG_SOJ32_450COMMON_SMT_DIL_MIL(`$1',`$2',`$3',32,23622,86614,50000,346457)
T15,72
PKG_MULTIWATT15GENERIC_PL_POWER(`$1', `$2', `$3', 15,  50, 800, 200, 180, 90, 60, 200) 
T15,60
PKG_CTS_744C_04COMMON_SMT_DIL_MIL(`$1',`$2',`$3',4,32000,51000,50000,67000)
T24,39
Description_geda_QFN16_5`Square Quad Flat Nolead (QFN) package'
T24,46
Description_geda_ACY400P`Axial polar component (typically capacitor),'
T13,11
PinList_BC307`E',`B',`C'
T16,3
Param2_74120_dil300
T17,3
Param2_628128_dil600
T9,34
PKG_DIP48PKG_N(`$1', `$2', `$3',  48,  600)
T26,9
Description_generic44_plcc`generic'
T19,2
Param1_PIC16C84_dil18
T21,51
Description_74630_dil`16bit parallel error detection/correction 3-state'
T21,12
Description_74260_dil`2 pent-NOR'
F5,5
indirindir
T16,3
Param2_74541_dil300
T16,3
Param2_74171_dil300
T16,3
Param2_74134_dil300
T17,3
Param2_514100_dil300
T16,2
Param1_7451L_dil14
T18,10
Description_sm0805`SMT 0805'
T42,56
Description_nichicon_NICHICON_WT_CAP_8_5p4`Nichicon WT series SMT Aluminum Electrolytic Capacitor'
T24,16
Description_PIC16C64_dilmicro controller
T17,102
PinList_74321_dil`Tank1',`Tank2',`Gnd1',`FFQ',`FFD',`F/4',`F',`Gnd2',`/F+',`F+',`Vcc+',`/F',`F/2',`Xtal1',`Xtal2',`Vcc'
T15,3
Param2_7401_dil300
T11,55
PKG_TSSOP20COMMON_SMT_DIL_MM(`$1',`$2',`$3', 20, 33, 150, 65, 440)
T13,62
PKG_SOJ16_400COMMON_SMT_DIL_MIL(`$1',`$2',`$3',16,23622,86614,50000,291339)
T12,33
PKG_MENU_QFPesyscmd(qfp-ui "$1" "`$2'" "$3")

T15,60
PKG_CTS_744C_08COMMON_SMT_DIL_MIL(`$1',`$2',`$3',8,32000,51000,50000,67000)
T23,45
Description_geda_SDIP42`Shrink dual in-line package, wide (600 mil)'
T27,39
Description_geda_QFN28_5_EP`Square Quad Flat Nolead (QFN) package'
T24,39
Description_geda_QFN20_4`Square Quad Flat Nolead (QFN) package'
T26,37
Description_geda_HEADER6_1`Header connector, DIP pin numbering'
T23,62
Description_geda_ACY700`Axial non-polar component (typically resistor or capacitor),'
T21,34
Description_74681_dil`4bit parallel binary accumulator'
T21,47
Description_74644_dil`8 bus tranceiver OC w. inverting/normal logic'
T21,44
Description_74607_dil`8 2-input glitch-free multiplexed latch OC'
T15,22
PinList_uA7824C`In',`Com',`Out',`Com'
T19,914
PinList_MC68332_qfp`Vdd',`Vss(g)',`TpuCh11',`TpuCh10',`TpuCh9',`TpuCh8',`Vdd',`Vss(g)',`TpuCh7',`TpuCh6',`TpuCh5',`TpuCh4',`TpuCh3',`TpuCh2',`TpuCh1',`TpuCh0',`Vss(g)',`Vdd',`Vstby',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`Vdd',`Vss(g)',`A9',`A10',`A11',`A12',`Vss(g)',`A13',`A14',`A15',`A16',`Vdd',`Vss(g)',`A17',`A18',`MISO',`MOSI',`SCk',`/SS',`PCS1',`PCS2',`PCS3',`Vdd',`Vss(g)',`TxD',`RxD',`DSO',`DSI',`DSClk',`TSC',`Freeze',`Vss(g)',`Xtal',`VddSyn',`EXtal',`Vdd',`XFc',`Vdd',`ClkOut',`Vss(g)',`/Res',`/Halt',`/BErr',`PF7',`PF6',`PF5',`PF4',`PF3',`PF2',`PF1',`PF0',`R/W',`PE7',`PE6',`PE5',`Vss(g)',`Vdd',`PE4',`PE3',`PE2',`PE1',`PE0',`A0',`D15',`D14',`D13',`D12',`Vss(g)',`Vdd',`D11',`D10',`D9',`D8',`Vss(g)',`D7',`D6',`D5',`D4',`Vss(g)',`Vdd',`D3',`D2',`D1',`D0',`/CSboot',`/CS0',`/CS1',`/CS2',`Vdd',`Vss(g)',`/CS3',`/CS4',`/CS5',`/CS6',`/CS7',`/CS8',`/CS9',`/CS10',`Vdd',`Vss(g)',`T2Clk',`TpuCh15',`TpuCh14',`TpuCh13',`TpuCh12'
T17,75
PinList_74180_dil`G',`H',`Even',`Odd',`SumEven',`SumOdd',`Gnd',`A',`B',`C',`D',`E',`F',`Vcc'
T17,135
PinList_74143_dil`/SCEI',`Clk',`/Clr',`/RBI',`BI',`/BI-/RBO',`Dp',`dp',`d',`f',`e',`Gnd',`g',`c',`a',`b',`Qa',`Qb',`Qc',`Qd',`/StrB',`Max',`/PECI',`Vcc'
T21,3
Param2_generic28w_dil600
T16,3
Param2_74592_dil300
T16,3
Param2_74518_dil300
T16,3
Param2_74148_dil300
T24,2
Param1_generic28smdw_dil28
T12,86
PL_PCISideB1`-12V',`TCK',`Ground',`TD0',`+5V',`+5V',`INTB*',`INTD*',`PRSNT1*',`Reserved',`PRSNT2*'
T29,7
Description_generic_diode_600`diode'
T26,28
Description_geda_QFP240_32`Square Quad-side flat pack'
T24,39
Description_geda_QFN20_5`Square Quad Flat Nolead (QFN) package'
T26,42
Description_geda_HEADER6_2`Header connector, ribbon cable numbering'
T29,31
Description_geda_DIN41612C96M`DIN connector, 96 pin housing'
T21,27
Description_74466_dil`8 invering buffer 3-state'
F5,5
indexindex
T16,3
Param2_74377_dil300
T15,3
Param2_7415_dil300
T12,17
PL_PCISideB2`Ground',`Ground'
T10,38
PKG_RCY600PKG_RADIAL_CAN(`$1', `$2', `$3', 1200)
T20,26
Description_uA79L05C-5V 0.1A voltage regulator
T22,40
Description_geda_DIP20`Dual in-line package, narrow (300 mil)'
F6,6
formatformat
T17,86
PinList_74194_dil`/Clr',`SRSer',`A',`B',`C',`D',`SLSer',`Gnd',`S0',`S1',`Clk',`Qd',`Qc',`Qb',`Qa',`Vcc'
T17,83
PinList_74157_dil`/A-B',`1A',`1B',`1Y',`2A',`2B',`2Y',`Gnd',`3Y',`3B',`3A',`4Y',`4Y',`4A',`/G',`Vcc'
T16,3
Param2_74199_dil300
T16,2
Param1_74444_dil20
T12,315
PL_PCISideB3`Reserved',`Ground',`CLK',`Ground',`REQ*',`+5V',`AD[31]',`AD[29]',`Ground',`AD[27]',`AD[25]',`+3.3V',`C/BE[3]*',`AD[23]',`Ground',`AD[21]',`AD[19]',`+3.3V',`AD[17]',`C/BE[2]*',`Ground',`IRDY*',`+3.3V',`DEVSEL*',`Ground',`LOCK*',`PERR*',`+3.3V',`SERR*',`+3.3V',`C/BE[1]*',`AD[14]',`Ground',`AD[12]',`AD[10]',`Ground'
T19,2498
PKG_NICHICON_WT_CAP
	# max pin width (perpendicular to axis of package) (1/100 mil)
	define(`PINW',  `eval($4*10000/254)')

	# max pin length (parallel to axis of package) (1/100 mil)
	define(`PINL',  `eval($5*10000/254)')

	# gap between the pads (1/100 mil)
	define(`PINS', `eval($6*10000/254)')

	# package width (1/100 mil)
	define(`PACKW', `eval($7*10000/254)')

	# package height (1/100 mil)
	define(`PACKH', `eval($8*10000/254)')

	# component veritcal height off board (1/100 mil)
	define(`COMPH', `eval($9*10000/254)')

	# pad width and length
	define(`PADW', `eval(PINW + 2000)')
	define(`PADL', `eval(PINL + 2000)')

	# y values for drawing the pad.  The Y center of the pad is 0.5*(PINL + PINS)
	# we need a line segment of length PADL - PADW so we have end points:
	# 0.5*(PINL + PINS) +/- 0.5*(PADL - PADW)
	define(`PY1', `eval((PINL + PINS + PADL - PADW)/2)')
	define(`PY2', `eval((PINL + PINS - PADL + PADW)/2)')

	# width of soldermask relief (5 mil on each side)
	define(`MASKW', `eval(PADW + 1000)')

	# silkscreen width (1/100 mils)
	define(`SILKW', `1000')

	# how much space to leave around the part before the
	# silk screen (1/100 mils)
	define(`SILKS', `800')

	# lower left corner for silk screen (1/100 mil)
	define(`LLX', `eval( (PACKW + 2*SILKS + SILKW)/2)')
	define(`LLY', `eval( (PACKH + 2*SILKS + SILKW)/2)')

	# upper right corner for silk screen (1/100 mil)
	define(`URX', `eval( (PADW + 2*SILKS + SILKW)/2)')
	define(`URY', `eval( -LLY)')

	# how much to notch the corners by in silk to indicate polarity
	define(`NOTCH', `3000')
	define(`NOTCHX', `eval(LLX - NOTCH)')
	define(`NOTCHY', `eval(URY + NOTCH)')

# Element [SFlags "Desc" "Name" "Value" MX MY TX TY TDir TScale TSFlags]
Element[ "" "`$1'" "`$2'" "`$3'" 0 0 0 0 0 100 ""]
(

# Pad [rX1 rY1 rX2 rY2 Thickness Clearance Mask "Name" "Number" SFlags]                                                                                              
Pad[ 0 -PY1 0 -PY2 PADW 1000 MASKW "Plus"  "1" "square"]
Pad[ 0  PY1 0  PY2 PADW 1000 MASKW "Minus" "2" "square"]

# Silk screen around package
# ElementLine[ x1 y1 x2 y2 width]

ElementLine[ LLX    LLY     URX    LLY    SILKW]
ElementLine[ LLX    LLY     LLX    NOTCHY SILKW]
ElementLine[ LLX    NOTCHY  NOTCHX URY    SILKW]
ElementLine[ NOTCHX URY     URX    URY    SILKW]

ElementLine[ -LLX    LLY    -URX    LLY    SILKW]
ElementLine[ -LLX    LLY    -LLX    NOTCHY SILKW]
ElementLine[ -LLX    NOTCHY -NOTCHX URY    SILKW]
ElementLine[ -NOTCHX URY    -URX    URY    SILKW]



)
T17,71
PinList_74386_dil`1A',`1B',`1Y',`2Y',`2A',`2B',`Gnd',`3A',`3B',`3Y',`4Y',`4A',`4B',`Vcc'
T19,1
Param1_generic8_dil8
T16,2
Param1_74673_dil24
T16,2
Param1_74636_dil20
T16,2
Param1_74266_dil14
T12,17
PL_PCISideB4`Ground',`Ground'
T11,55
PKG_TSSOP24COMMON_SMT_DIL_MM(`$1',`$2',`$3', 24, 33, 150, 65, 440)
T22,40
Description_geda_DIP22`Dual in-line package, narrow (300 mil)'
T22,11
Description_628128_dilSRAM 128Kx8
T12,88
PL_PCISideB5`AD[08]',`AD[07]',`+3.3V',`AD[05]',`AD[03]',`Ground',`AD[01]',`+5V',`ACK64*',`+5V',`+5V'
T18,10
Description_sm1206`SMT 1206'
T20,3
Param2_AT90S8535_dil600
T16,2
Param1_74687_dil24
T12,288
PL_PCISideB6`Reserved',`Ground',`C/BE[6]*',`C/BE[4]*',`Ground',`AD[63]',`AD[61]',`+5V',`AD[59]',`AD[57]',`Ground',`AD[55]',`AD[53]',`Ground',`AD[51]',`AD[49]',`+5V',`AD[47]',`AD[45]',`Ground',`AD[43]',`AD[41]',`Ground',`AD[39]',`AD[37]',`+5V',`AD[35]',`AD[33]',`Ground',`Reserved',`Reserved',`Ground'
T12,55
PKG_TSSOP38NCOMMON_SMT_DIL_MM(`$1',`$2',`$3', 38, 30, 150, 50, 440)
T13,62
PKG_SOJ20_350COMMON_SMT_DIL_MIL(`$1',`$2',`$3',20,23622,86614,50000,244094)
T22,38
Description_geda_DIP24`Dual in-line package, wide (600 mil)'
T19,7
Description_LED_5MMLED 5mm
T17,20
Description_BC560bipolar-P transistor
T22,9
Description_514100_dilDRAM 4Mx1
T16,3
Param2_Z8536_dil600
T24,2
Param1_DIN41_651_24stand24
T11,55
PKG_TSSOP64COMMON_SMT_DIL_MM(`$1',`$2',`$3', 64, 30, 150, 50, 610)
T26,2
Param2_smd_EIA_A_capacitor50
T18,3
Param2_GAL20V8_dil300
T11,55
PKG_TSSOP28COMMON_SMT_DIL_MM(`$1',`$2',`$3', 28, 33, 150, 65, 440)
T13,62
PKG_SOJ34_350COMMON_SMT_DIL_MIL(`$1',`$2',`$3',34,23622,86614,50000,244094)
T14,39
PKG_HEADER48_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 24)
T18,1181
PKG_DIN41_651STANDdefine(`MAXY', `eval($4/2 *100 +400)')
	define(`CENTERY', `eval($4/2 *50 +425)')
Element(0x00 "$1" "`$2'" "$3" 50 100 3 200 0x00)
(
	forloop(`i', 1, eval($4 / 2),
		`PIN(200,  eval(100*i +400), 60, 40, eval(2*i-1))
		PIN(300, eval(100*i +400), 60, 40, eval(2*i))
	')
	# aeusserer Rahmen
	ElementLine(90 70 410 70 20)
	ElementLine(410 70 410 eval(MAXY +430) 20)
	ElementLine(410 eval(MAXY +430) 90 eval(MAXY +430) 20)
	ElementLine(90 eval(MAXY +430) 90 70 20)

	# innerer Rahmen mit Codieraussparung
	ElementLine(110  350 390  350 5)
	ElementLine(390  350 390 eval(MAXY +150) 5)
	ElementLine(390 eval(MAXY +150) 110 eval(MAXY +150) 5)
	ElementLine(110 eval(MAXY +150) 110 eval(CENTERY +100) 5)
	ElementLine(110 eval(CENTERY +100)  90 eval(CENTERY +100) 5)
	ElementLine(90  eval(CENTERY -50) 110 eval(CENTERY -50) 5)
	ElementLine(110 eval(CENTERY -50) 110  350 5)

	# Markierung Pin 1
	ElementLine(110 390 150 350 5)

	# Auswurfhebel oben
	ElementLine(200 70 200 350 5)
	ElementLine(300 70 300 350 5)

	# Auswurfhebel unten
	ElementLine(200 eval(MAXY+150) 200 eval(MAXY+430) 5)
	ElementLine(300 eval(MAXY+150) 300 eval(MAXY+430) 5)

	# Plazierungsmarkierung == Pin 1
	Mark(200 500)
)
T11,37
PKG_ACY1500PKG_AXIAL_LAY(`$1', `$2', `$3', 1500)
T39,50
Description_johnstech_JOHNSTECH_QFN56_8`Johnstech QFN Socket, Series 1MM (724812-724839)'
T26,28
Description_geda_LQFP72_10`Square Quad-side flat pack'
T15,21
PinList_uA7905C`Com',`In',`Out',`In'
T14,38
PKG_HEADER48_2PKG_CONNECTOR(`$1', `$2', `$3', 24, 2)
T25,9
Description_generic32_dil`generic'
T24,53
Description_geda_TSSOP8W`Thin shrink small outline package, standard (4.4mm)'
T22,38
Description_geda_DIP64`Dual in-line package, wide (900 mil)'
T28,23
Description_PCI5V_MAX_HEIGHTPCI 5V Array Max Height
T26,9
Description_generic52_plcc`generic'
T22,38
Description_geda_DIP28`Dual in-line package, wide (600 mil)'
T23,23
Description_GAL16V8_dilgeneric PAL replacement
T21,28
Description_74111_dil`2 JK-MS FF w. data lockout'
T16,1160
PKG_DIN41_651LAYdefine(`MAXY', `eval($4/2 *100 +400)')
	define(`CENTERY', `eval($4/2 *50 +425)')
Element(0x00 "$1" "`$2'" "$3" 400 250 3 200 0x00)
(
	forloop(`i', 1, eval($4 / 2),
		`PIN(100,  eval(100*i +400), 60, 40, eval(2*i-1))
		PIN(200, eval(100*i +400), 60, 40, eval(2*i))
	')

	# Befestigungsbohrung
	Pin(180  270 100 80 "M1" 0x01)
	Pin(180 eval(MAXY+230) 100 80 "M2" 0x01)

	# aeusserer Rahmen
	ElementLine(80 70 335 70 20)
	ElementLine(335 70 770 200 20)
	ElementLine(770 200 770 300 20)
	ElementLine(770 300 610 390 20)
	ElementLine(610 390 610 eval(MAXY+150) 20)
	ElementLine(610 eval(MAXY+150) 770 eval(MAXY+200) 20)
	ElementLine(770 eval(MAXY+200) 770 eval(MAXY+300) 20)
	ElementLine(770 eval(MAXY+300) 335 eval(MAXY+430) 20)
	ElementLine(335 eval(MAXY+430) 80 eval(MAXY+430) 20)
	ElementLine( 80 eval(MAXY+430) 80 70 20)

	# Codieraussparung
	ElementLine(610 eval(CENTERY -50) 435 eval(CENTERY -50) 5)
	ElementLine(435 eval(CENTERY -50) 435 eval(CENTERY +100) 5)
	ElementLine(435 eval(CENTERY +100) 610 eval(CENTERY +100) 5)

	# Markierung Pin 1
	ElementLine(610 450 500 500 5)
	ElementLine(500 500 610 550 5)

	# Plazierungsmarkierung == Pin 1
	Mark(100 500)
)
T24,64
Description_geda_RCY1200`Bottom lead non-polar circular component (typically capacitor)'
T25,28
Description_geda_QFP44_10`Square Quad-side flat pack'
T21,38
Description_geda_0805`Standard SMT resistor, capacitor etc'
T16,3
Param2_74621_dil300
T16,3
Param2_74251_dil300
T13,62
PKG_SOJ18_300COMMON_SMT_DIL_MIL(`$1',`$2',`$3',18,23622,86614,50000,196850)
T13,74
PKG_CAPC0402LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  26,   15,  31,  56,  28,   0,   0)
T26,28
Description_geda_TQFP64_10`Square Quad-side flat pack'
T26,38
Description_geda_CAPC1608L`Standard SMT resistor, capacitor etc'
T21,42
Description_74162_dil`syncronous decade counter w. sync. clear'
T21,40
Description_74125_dil`4 bus buffers 3-state inverted control'
T16,71
PinList_7404_dil`1A',`1Y',`2A',`2Y',`3A',`3Y',`Gnd',`4Y',`4A',`5Y',`5A',`6Y',`6A',`Vcc'
T16,3
Param2_74443_dil300
T14,39
PKG_HEADER52_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 26)
T13,74
PKG_CAPC0402MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  36,   35,  51, 106,  38,   0,   0)
T26,38
Description_geda_CAPC1608M`Standard SMT resistor, capacitor etc'
T21,63
Description_74354_dil`8-to-1 data selector/multiplexor/register transparent 3-state'
T17,171
PinList_74630_dil`DEF',`DB0',`DB1',`DB2',`DB3',`DB4',`DB5',`DB6',`DB7',`DB8',`DB9',`DB10',`DB11',`Gnd',`DB12',`DB13',`DB14',`DB15',`CB5',`CB4',`CB3',`CB2',`CB1',`CB0',`S0',`S1',`SEF',`Vcc'
T17,71
PinList_74260_dil`1A',`1B',`1C',`2A',`1Y',`2Y',`Gnd',`2B',`2C',`2D',`2E',`1D',`1E',`Vcc'
T16,3
Param2_74672_dil300
T16,3
Param2_74265_dil300
T16,2
Param1_74140_dil14
T14,38
PKG_HEADER52_2PKG_CONNECTOR(`$1', `$2', `$3', 26, 2)
T13,74
PKG_CAPC0402NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  26,   25,  41,  81,  33,   0,   0)
T33,27
Description_optek_OPTEK_OVSRWACR6`OPTEK Surface Mount LED's'
T26,38
Description_geda_CAPC1608N`Standard SMT resistor, capacitor etc'
T20,16
Description_7422_dil`2 quad-NAND OC'
T21,50
Description_74176_dil`presettable decade counter/latch (divide by 2/5)'
T21,18
Description_74139_dil`2 2-to-4 decoder'
T16,81
PinList_7492_dil`ClkB',`NC',`NC',`NC',`Vcc',`R0(1)',`R0(2)',`Qd',`Qc',`Gnd',`Qb',`Qa',`NC',`ClkA'
T16,62
PinList_7455_dil`A',`B',`C',`D',`NC',`NC',`Gnd',`Y',`NC',`E',`F',`G',`H',`Vcc'
T16,71
PinList_7418_dil`1A',`1B',`NC',`1C',`1D',`1Y',`Gnd',`2Y',`2A',`2B',`NC',`2C',`2D',`Vcc'
T10,42
PKG_SSOP14PKG_SSO(  `$1', `$2', `$3', 14, 323, 2559)
T28,39
Description_geda_TQFN48_7_EP`Square Quad Flat Nolead (QFN) package'
T21,38
Description_74368_dil`6 bus drivers OC w. inverting output'
T16,16
PinList_uA78L15C`In',`Com',`Out'
T17,123
PinList_74681_dil`Clk',`RS2',`RS1',`RS0',`LI-RO',`Cn',`/G',`Cn+4',`/P',`Gnd',`I-O3',`I-O2',`I-O1',`I-O0',`M',`AS2',`AS1',`AS0',`RI-LO',`Vcc'
T17,103
PinList_74644_dil`DIR',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`Gnd',`B8',`B7',`B6',`B5',`B4',`B3',`B2',`B1',`/EN',`Vcc'
T17,144
PinList_74607_dil`Clk',`A-/B',`A1',`B1',`A2',`B2',`A3',`B3',`A4',`B4',`Y4',`Y3',`Y2',`Gnd',`Y1',`Y5',`Y6',`Y7',`Y8',`B8',`A8',`B7',`A7',`B6',`A6',`B5',`A5',`Vcc'
T16,3
Param2_74686_dil300
T16,3
Param2_74649_dil300
T16,3
Param2_74279_dil300
T20,2
Param1_smd_diode_60360
T16,2
Param1_74191_dil16
T16,2
Param1_74154_dil24
T26,28
Description_geda_TQFP64_14`Square Quad-side flat pack'
T20,18
Description_7473_dil`2 JK FF w. clear'
T21,36
Description_74597_dil`8bit shift register w. input latch'
T26,96
PinList_DIN41_612_ac64maleforloop(`i', 1, 32, `define(`P_'i, `a'i)')
	forloop(`i', 1, 32, `define(`P_'eval(i +64), `c'i)')
T16,103
PinList_7469_dil`1ClkA',`1Qb',`1Qd',`/1Clr',`2Qc',`NC',`2Qa',`Gnd',`2Clk',`2Qb',`/2Clr',`2Qd',`1Qc',`1Qa',`1ClkB',`Vcc'
T17,103
PinList_74466_dil`/G1',`A1',`Y1',`A2',`Y2',`A3',`Y3',`A4',`Y4',`Gnd',`Y5',`A5',`Y6',`A6',`Y7',`A7',`Y8',`A8',`/G2',`Vcc'
T22,2
Param1_DIN41_651_14lay14
T15,2
Param1_7431_dil16
T10,42
PKG_SSOP16PKG_SSO(  `$1', `$2', `$3', 16, 244, 2559)
T8,67
PKG_SO14COMMON_SMT_DIL_MIL(`$1',`$2',`$3', 14, 20000, 85000, 50000, 120000)
T28,39
Description_geda_TQFN16_5_EP`Square Quad Flat Nolead (QFN) package'
T26,42
Description_geda_SOJ30_400`Small outline J-leaded package (400 mil)'
T23,45
Description_geda_DIP14M`Dual in-line package, medium wide (400 mil)'
T21,29
Description_geda_DB9F`DSUB connector, female/male'
T21,38
Description_geda_1206`Standard SMT resistor, capacitor etc'
T13,96
DefinePinListifelse($#, 1, ,
	`pushdef(`count')'
	`define(`count', 0)'
	`_DEFPINLIST($@)'
	`popdef(`count')')
T28,1
Param1_ovenized_oscillator_55
T16,2
Param1_74575_dil20
T16,2
Param1_74538_dil20
T7,29
PKG_US8PKG_US( `$1', `$2', `$3',  8)
T15,48
PKG_CTS_742C_16COMMON_SMT_DIL_MM(`$1',`$2',`$3',16,50,90,80,90)
T15,2
Param1_7445_dil16
T15,2
Param1_7408_dil14
T8,67
PKG_SO16COMMON_SMT_DIL_MIL(`$1',`$2',`$3', 16, 20000, 85000, 50000, 120000)
T29,16
Description_geda_TO220ACSTAND`diode in TO220'
T26,42
Description_geda_SOJ44_400`Small outline J-leaded package (400 mil)'
T27,24
Description_DIN41_651_26layDIN41.651 laying 26 pins
T21,250
PinList_cy7c64603_qfp`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'
T22,131
PinList_L298_multiwatt`I-Sens1', `Out1', `Out2', `Vcc', `In1', `Enable A', `In2', `Gnd', `Logic-Vcc', `In3', `Enable B', `In4', `Out3', `Out4', `I-Sens2'
T13,42
PKG_LQFP48_12PKG_LQFP_80(`$1',`$2',`$3', `48',`12',`0')
T8,55
EDGECONNPad($1 $2 $3 $4 $5 ifdef(`P_$6', "P_$6", "$6") "$6" $7)
T20,26
Description_uA78M05C+5V 0.5A voltage regulator
T23,45
Description_geda_DIP18M`Dual in-line package, medium wide (400 mil)'
T19,27
Description_SCSI_SEsingle-ended SCSI 2x25 pins
T15,2
Param1_7496_dil16
T9,34
PKG_DIP8MPKG_N(`$1', `$2', `$3',   8,  400)
T10,37
PKG_ALF400PKG_DIODE_LAY(`$1', `$2', `$3',  400)
T23,64
Description_geda_RCY800`Bottom lead non-polar circular component (typically capacitor)'
T6,50
DEFPINdefine(`count', incr(count)) define(`P_'count, $1)
T7,0
__gnu__
T16,1
Param1_TL070_dil8
T24,39
Description_geda_QFN44_7`Square Quad Flat Nolead (QFN) package'
T20,2
Param1_generic14_dil14
T13,62
PKG_SOJ14_450COMMON_SMT_DIL_MIL(`$1',`$2',`$3',14,23622,86614,50000,346457)
T17,50
PKG_DIN41612C96MSPKG_DIN41_612MALE_SMALL(  `$1', `$2', `$3', `abc')
T20,26
Description_uA78M09C+9V 0.5A voltage regulator
T20,3
Param2_generic16_dil300
T16,2
Param1_TL084_dil14
T14,42
PKG_LQFP176_24PKG_LQFP_50(`$1',`$2',`$3',`176',`24',`0')
T21,29
Description_geda_DB9M`DSUB connector, female/male'
T19,3
Param2_PIC16C84_dil300
T20,2
Param1_generic28_dil28
T20,2
Param1_MC68HC11_plcc52
T13,62
PKG_SOJ28_450COMMON_SMT_DIL_MIL(`$1',`$2',`$3',28,23622,86614,50000,346457)
T21,18
Description_74242_dil`4 bus tranceiver'
F6,6
m4exitm4exit
T17,99
PinList_74111_dil`1K',`/1Pre',`/1Clr',`1J',`1Clk',`/1Q',`1Q',`Gnd',`2Q',`/2Q',`2Clk',`2J',`/2Clr',`/2Pre',`2K',`Vcc'
T16,3
Param2_74190_dil300
T16,3
Param2_74153_dil300
T16,3
Param2_74116_dil300
T22,39
Description_geda_SO32W`Small outline package, wider (450mil)'
F9,9
changecomchangecom
T8,0
__unix__
T16,3
Param2_74382_dil300
T15,3
Param2_7420_dil300
T21,65
Description_74626_dil`2 voltage controlled oscillator w. enable and complement output'
T21,30
Description_74293_dil`4bit binary counter w. clear'
T17,86
PinList_74162_dil`/Clr',`Clk',`A',`B',`C',`D',`ENP',`Gnd',`/Load',`ENT',`Qd',`Qc',`Qb',`Qa',`RCO',`Vcc'
T17,75
PinList_74125_dil`/1G',`1A',`1Y',`/2G',`2A',`2Y',`Gnd',`3Y',`3A',`/3G',`4Y',`4A',`/4G',`Vcc'
T16,3
Param2_74574_dil300
T16,3
Param2_74167_dil300
T33,24
Description_candk_CANDK_ES02MSABE`C&K ES Series Switches'
T18,131
PinList_PC_V24_25P`PE',`TxD',`RxD',`RTS',`CTS',`DSR',`Gnd',`DCD',`9',`10',`11',`12',`13',`14',`15',`16',`17',`18',`19',`DTR',`21',`RI',`23',`24',`25'
T17,103
PinList_74354_dil`D7',`D6',`D5',`D4',`D3',`D2',`D1',`D0',`/DC',`Gnd',`/SC',`S2',`S1',`S0',`/G1',`/G2',`G3',`W',`Y',`Vcc'
T16,3
Param2_LM324_dil300
T16,3
Param2_74396_dil300
T19,2
Param1_GAL22V10_dil24
T16,2
Param1_74641_dil20
T16,2
Param1_74604_dil28
T15,45
PKG_TQFN48_7_EPPKG_QFN_50S(`$1',`$2',`$3', `48', `7', `560')
T10,1007
PKG_TO3_90Element(0x00 "$1" "`$2'" "$3" 400 800 0 100 0x00)
(

# The JEDEC drawing specifies that pins #1
# and #2 have a diameter from 38 to 43 mils.
# The mounting holes (pins 3 and 4 here) are
# 151 to 161 mils.  Increasing by 15 mils would
# give a drill diameter of 58 and 176 mils.  
# 55 and 177 are close in standard drill sizes.
# a #4 machine screw is 110 mils, a #6 is 140 mils and a 
# #8 is 160 mils in diameter.  Looks like you can not count
# on using a #8 for a TO3, but a #6 is fair.
# This would give something like a 90 pad size for a 
# 35 mil annular ring for pins 1 and 2.  
	PIN(650, 1000, 90, 55, 1)
	PIN(650, 550, 90, 55, 2)
	PIN(1320, 775, 250, 177, 3)
	PIN(125, 775, 250, 177, 4)

	ElementArc(700 775 500 500 70 40 20)
	ElementArc(700 775 500 500 250 40 20)
	ElementArc(1320 775 180 180 125 110 20)
	ElementArc(125 775 180 180 305 110 20)
	ElementLine(25 925 530 1245 20)
	ElementLine(25 625 530 305 20)
	ElementLine(870 305 1430 630 20)
	ElementLine(870 1245 1430 920 20)

	Mark(650 775)
)
T14,44
PKG_QFN36_6_EPPKG_QFN_50(`$1',`$2',`$3', `36', `6', `370')
T25,12
Description_smd_diode_603`chip_diode'
T26,42
Description_geda_SOJ32_300`Small outline J-leaded package (300 mil)'
T27,37
Description_geda_HEADER26_1`Header connector, DIP pin numbering'
T23,62
Description_geda_ACY200`Axial non-polar component (typically resistor or capacitor),'
T17,76
PinList_74176_dil`/Load',`Qc',`C',`A',`Qa',`Clk2',`Gnd',`Clk1',`Qb',`B',`D',`Qd',`/Clr',`Vcc'
T17,91
PinList_74139_dil`/G1',`A1',`B1',`Y10',`Y11',`Y12',`Y13',`Gnd',`Y23',`Y22',`Y21',`Y20',`B2',`A2',`/G2',`Vcc'
T7,272
PKG_QFPdefine(`PITCH', 8000)
	define(`PAD_WIDTH', 20)
	define(`PAD_LENGTH', 90)
	define(`XPADS', `eval($4 /4)')
	define(`YPADS', `eval($4 /4)')
	define(`X_LENGTH', `eval((PITCH*(XPADS-1)+127)/254+232)')
	define(`Y_LENGTH', X_LENGTH)
	define(`ISTART', 1)
	PKG_GEN_QFP($1, $2, $3)

T10,34
PKG_DIP22MPKG_N(`$1', `$2', `$3',  22,  400)
T21,38
Description_geda_SO32`Small outline package, wide (300mil)'
T27,42
Description_geda_HEADER26_2`Header connector, ribbon cable numbering'
T13,11
PinList_BS240`D',`G',`S'
T17,95
PinList_74368_dil`/G1',`1A1',`1Y1',`1A2',`1Y2',`1A3',`1Y3',`Gnd',`1Y4',`1A4',`2Y1',`2A1',`2Y2',`2A2',`/G2',`Vcc'
T19,3
Param2_generic8_dil300
T15,3
Param2_7485_dil300
T15,3
Param2_7448_dil300
T16,2
Param1_74285_dil16
T16,2
Param1_74248_dil16
T15,44
PKG_TQFN16_5_EPPKG_QFN_80(`$1',`$2',`$3', `16', `5', `310')
T10,37
PKG_RCY100PKG_RADIAL_CAN(`$1', `$2', `$3', 200)
T13,666
PKG_CRYSTAL_Hdefine(`base',     `$4')
	define(`sizX',     `$5')
	define(`sizY',     `$6')
	define(`pad',      `$7')
	define(`drill',    `$8')
	define(`pinX',     `eval((sizX - base * (`$9'-1)) /2)')
	define(`pinY',     `ifelse(eval(sizX > 500),1,eval(sizY+200),eval(sizY+100))')
	define(`maxY',     `eval(sizY + offset)')

Element(0x00 "$1" "$2" "$3" 0 eval(0 - 60) 0 100 0x00)
(
	PIN(pinX, pinY, pad, drill, 1)
	PIN(eval(pinX + base), pinY, pad, drill, 2)
	ifelse(eval(`$9' == 3), 1,
	PIN(eval(pinX + 2 * base), pinY, pad, drill, 3))

	ElementLine(0 0 sizX 0 20)
	ElementLine(sizX 0 sizX sizY 20)
	ElementLine(sizX sizY 0 sizY 20)
	ElementLine(0 sizY 0 0 20)

	Mark(pinX pinY)
)
T23,31
Description_geda_PLCC52`Plastic leadless chip carrier'
T17,87
PinList_74597_dil`B',`C',`D',`E',`F',`G',`H',`Gnd',`Qh+',`/SRClr',`SRCK',`RCK',`/SRLoad',`SER',`A',`Vcc'
T27,3
Param1_generic_smd_chip_603603
T13,72
PKG_PENTAWATTGENERIC_PL_POWER(`$1', `$2', `$3',  5,  67, 409, 189, 177, 90, 60, 157) 
T29,26
Description_DIN41_651_14standDIN41.651 standing 14 pins
T15,22
PinList_uA7815C`In',`Com',`Out',`Com'
T17,2
Param1_PC_V24_25P25
T24,2
Param1_DIN41_651_40stand40
T16,2
Param1_74669_dil16
T16,2
Param1_74299_dil20
T13,74
PKG_RESC0402LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  26,   15,  31,  56,  28,   0,   0)
T11,69
PKG_CRYSTALPKG_CRYSTAL_V(`$1',`$2',`$3',`eval($4-100)',`$4',`100',`60',`28',`2')
T16,3
Param2_TL083_dil300
T13,74
PKG_RESC0402MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  36,   35,  51, 106,  38,   0,   0)
T27,37
Description_geda_HEADER30_1`Header connector, DIP pin numbering'
T13,62
PKG_SOJ16_350COMMON_SMT_DIL_MIL(`$1',`$2',`$3',16,23622,86614,50000,244094)
T13,74
PKG_RESC0402NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  26,   25,  41,  81,  33,   0,   0)
T43,32
Description_minicircuits_MINICIRCUITS_CB539`Mini-Circuits CB Style Package'
T27,42
Description_geda_HEADER30_2`Header connector, ribbon cable numbering'
T8,29
PKG_US14PKG_US( `$1', `$2', `$3', 14)
T25,9
Description_generic14_dil`generic'
T24,62
Description_geda_ACY1300`Axial non-polar component (typically resistor or capacitor),'
T27,37
Description_cts_CTS_742X_08`CTS 742C Series Chip Resistor Array'
T20,348
PinList_PIC16C64_dil`/MCLR',`RA0',`RA1',`RA2',`RA3',`RA4/T0CKI',`RA5/SS',`RE0/RD',`RE1/WR',`RE2/CS',`VDD',`VSS',`OSC1',`OSC2',`RC0/T0OSO/T1CKI',`RC1/T0OSI',`RC2/CCPI',`RC3/SCK/SCL',`RD0/PSP0',`RD1/PSP1',`RD2/PSP2',`RD3/PSP3',`RC4/SDI/SDA',`RC5/SDO',`RC6',`RC7',`RD4/PSP4',`RD5/PSP5',`RD6/PSP6',`RD7/PSP7',`VSS',`VDD',`RB0/INT',`RB1',`RB2',`RB3',`RB4',`RB5',`RB6',`RB7'
T33,3
Param1_generic_resistor_axial_500500
T14,39
PKG_HEADER80_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 40)
T11,37
PKG_ACY1000PKG_AXIAL_LAY(`$1', `$2', `$3', 1000)
T8,29
PKG_US16PKG_US( `$1', `$2', `$3', 16)
T14,38
PKG_HEADER80_2PKG_CONNECTOR(`$1', `$2', `$3', 40, 2)
T25,9
Description_generic28_dil`generic'
T25,16
Description_MC68HC11_plccmicro controller
T21,36
Description_74322_dil`8bit shift register w. sign extend'
T8,81
_forloop$4`'ifelse($1, `$3', ,
	`define(`$1', incr($1))_forloop(`$1', `$2', `$3', `$4')')
T16,3
Param2_74640_dil300
T16,2
Param1_L297A_dil20
T21,24
Description_74181_dil`ALU function generator'
T21,18
Description_74107_dil`2 JK FF w. clear'
T16,81
PinList_7423_dil`1X',`1A',`1B',`1G',`1C',`1D',`1Y',`Gnd',`2Y',`2A',`2B',`2G',`2C',`2D',`/X',`Vcc'
T18,2
Param1_MAX233A_dil20
T11,42
PKG_QFN28_5PKG_QFN_50(`$1',`$2',`$3', `28', `5', `0')
T11,39
PKG_ACY150PPKG_AXIAL_LAY(`$1', `$2', `$3', 150, 1)
T23,32
Description_geda_ALF600`Axial diode (pin 1 is cathode)'
T21,38
Description_74373_dil`8 D-type transparent latches 3-state'
T17,74
PinList_74242_dil`/Gab',`NC',`A1',`A2',`A3',`A4',`Gnd',`B4',`B3',`B2',`B1',`NC',`Gba',`Vcc'
T16,3
Param2_74691_dil300
T16,3
Param2_74247_dil300
T16,2
Param1_74122_dil14
T23,5
Description_MC68681_dilDUART
T21,37
Description_74195_dil`4bit parallel-access shift register'
T21,35
Description_74158_dil`4 2-to-1 selector inverted output'
T20,13
Description_7404_dil`6 inverters'
T16,89
PinList_7474_dil`/1Clr',`1D',`1Clk',`/1Pre',`1Q',`/1Q',`Gnd',`/2Q',`2Q',`/2Pre',`2Clk',`2D',`/2Clr',`Vcc'
T16,71
PinList_7437_dil`1A',`1B',`1Y',`2A',`2B',`2Y',`Gnd',`3Y',`3A',`3B',`4Y',`4A',`4B',`Vcc'
T28,4
Param1_generic_smd_chip_12061206
T14,39
PKG_HEADER10_1PKG_CONNECTOR_DIL(`$1', `$2', `$3',  5)
T16,40
PKG_DIN41651_16SPKG_DIN41_651STAND(`$1', `$2', `$3', 16)
T26,42
Description_geda_SOJ42_450`Small outline J-leaded package (450 mil)'
T27,24
Description_DIN41_651_10layDIN41.651 laying 10 pins
T17,105
PinList_74626_dil`Gnd',`1Z',`1Y',`/1EN',`1CX1',`1CX2',`Osc-Vcc',`Osc-Gnd',`1FC',`2FC',`2CX2',`2CX1',`/2EN',`2Y',`2Z',`Vcc'
T17,79
PinList_74293_dil`NC',`NC',`NC',`Qc',`Qb',`NC',`Gnd',`Qd',`Qa',`CKA',`CKB',`R0(1)',`R0(2)',`Vcc'
T16,3
Param2_74668_dil300
T16,3
Param2_74298_dil300
T16,2
Param1_74580_dil20
T16,2
Param1_74173_dil16
T16,2
Param1_74136_dil14
T10,34
PKG_SDIP30PKG_NS(`$1', `$2', `$3', 30,  400)
T14,38
PKG_HEADER10_2PKG_CONNECTOR(`$1', `$2', `$3',  5, 2)
T28,39
Description_geda_TQFN32_5_EP`Square Quad Flat Nolead (QFN) package'
T20,31
Description_7492_dil`divide by 12 counter w. clear'
T20,30
Description_7455_dil`AND-OR inverter (2x4 inputs)'
T20,29
Description_7418_dil`2 quad-NAND Schmitt trigger'
F8,8
translittranslit
T24,2
Param1_generic24smdw_dil24
T15,2
Param1_7450_dil14
T16,2
Param1_74365_dil16
T15,2
Param1_7413_dil14
T14,44
PKG_QFN12_4_EPPKG_QFN_80(`$1',`$2',`$3', `12', `4', `210')
T12,701
PKG_BASE_SOTElement(0x00 "$1" "`$2'" "$3" 0 eval(DY+WY/2+10) 0 100 0x00)
(
	define(`WID', WY)
	define(`RX',  `eval((WX-WID)/2)')
	define(`X1', 0)
	define(`Y1', DY)
	define(`X2', 0)
	define(`Y2', 0)
	define(`X3', DX)
	define(`Y3', `eval(DY/2)')
	# Use Pad instead of PAD so all pads come out square
	Pad(eval(X1-RX)  Y1  eval(X1+RX)  Y1  WID  "1"  0x100)
	Pad(eval(X2-RX)  Y2  eval(X2+RX)  Y2  WID  "2"  0x100)
	Pad(eval(X3-RX)  Y3  eval(X3+RX)  Y3  WID  "3"  0x100)

	define(`LX', `eval((DX-OX)/2)')
	define(`LY', `eval((DY-OY)/2)')
	define(`MX', `eval((DX+OX)/2)')
	define(`MY', `eval((DY+OY)/2)')
	ElementLine(LX LY LX MY 6)
	ElementLine(LX MY MX MY 6)
	ElementLine(MX MY MX LY 6)
	ElementLine(MX LY LX LY 6)

)
T20,27
Description_uA78L15C+15V 0.1A voltage regulator
T24,12
Description_oscillator_1`oscillator'
T16,16
PinList_uA78L02C`In',`Com',`Out'
T16,1
Param1_PC_V24_9P9
T16,2
Param1_74594_dil16
T10,34
PKG_SDIP32PKG_NS(`$1', `$2', `$3', 32,  400)
T11,43
PKG_QFN32_5PKG_QFN_50S(`$1',`$2',`$3', `32', `5', `0')
T13,701
PKG_CRYSTAL_Vdefine(`spacing',  `$4')
	define(`sizX',     `$5')
	define(`sizY',     `$6')
	define(`pad',      `$7')
	define(`drill',    `$8')
	define(`centerY',  `eval(sizY / 2)')
	define(`pinX',    `eval((sizX - spacing * (`$9'-1)) /2)')

Element(0x00 "$1" "$2" "$3" 0 eval(0 - 60) 0 100 0x00)
(
	PIN(pinX, centerY, pad, drill, 1)
	PIN(eval(pinX + spacing), centerY, pad, drill, 2)
	ifelse(eval(`$9' == 3), 1,
	PIN(eval(pinX + 2 * spacing), centerY, pad, drill, 3))

	ElementLine(centerY 0 eval(sizX-centerY) 0 20)
	ElementArc(eval(sizX-centerY) centerY centerY centerY 90 180 20)
	ElementLine(eval(sizX-centerY) sizY centerY sizY 20)
	ElementArc(centerY centerY centerY centerY 270 180 20)

	Mark(pinX centerY)
)
T24,12
Description_oscillator_2`oscillator'
T29,26
Description_DIN41_651_22standDIN41.651 standing 22 pins
T20,23
Description_7469_dil`2 4bit binary counter'
T16,21
PinList_uA79M05C`Com',`In',`Out',`In'
T15,2
Param1_7464_dil14
T16,2
Param1_74379_dil16
T15,2
Param1_7427_dil14
T22,25
Description_geda_ZIP12`Zig-zag in-line package'
T26,42
Description_geda_SOJ26_400`Small outline J-leaded package (400 mil)'
T25,29
PinList_amphenol_ARFX1230`SIG',`GND',`GND',`GND',`GND'
T19,2
Param1_RTC62421_dil18
T10,46
PKG_SOT323PKG_SMT_TRANSISTOR3( `$1', `$2', `$3', 13, 18)
T11,42
PKG_QFN32_7PKG_QFN_65(`$1',`$2',`$3', `32', `7', `0')
T20,49
PKG_PCI5V_AVE_HEIGHTPKG_PCIPINARRAY(`$1', `$2', `$3', 2810,49,100,11)
T14,42
PKG_LQFP160_24PKG_LQFP_50(`$1',`$2',`$3',`160',`24',`0')
T28,15
Description_smd_resistor_805`chip_resistor'
T24,12
Description_oscillator_4`oscillator'
T27,37
Description_cts_CTS_742C_04`CTS 742C Series Chip Resistor Array'
T21,48
Description_TL074_dilQuad low noise JFET input operational amplifiers
T16,16
PinList_uA78L06C`In',`Com',`Out'
T25,29
PinList_amphenol_ARFX1231`SIG',`GND',`GND',`GND',`GND'
T26,3
Param1_smd_EIA_B_capacitor140
T15,2
Param1_7478_dil14
T24,12
Description_oscillator_5`oscillator'
T25,29
PinList_amphenol_ARFX1232`SIG',`GND',`GND',`GND',`GND'
T10,46
PKG_SOT325PKG_SMT_TRANSISTOR5( `$1', `$2', `$3', 13, 18)
T12,38
PKG_JUMPER10PKG_CONNECTOR(`$1', `$2', `$3', 10, 1)
T25,28
Description_geda_TQFP32_7`Square Quad-side flat pack'
T25,46
Description_geda_ACY1400P`Axial polar component (typically capacitor),'
T19,2
Param1_PIC16C71_dil18
T10,46
PKG_SOT326PKG_SMT_TRANSISTOR6( `$1', `$2', `$3', 13, 18)
T6,432
PKG_SDdefine(`MAXY', `eval(`$4' / 2 * 100 + 50)')
Element(0x00 "$1" "`$2'" "$3" 275 50 3 100 0x00)
(
	forloop(`i', 1, eval($4 / 2),
		`PIN(50,  eval(100*(i-1)+50), 60, 35, eval(2*i-1))
		PIN(150, eval(100*(i-1)+100), 60, 35, eval(2*i))
	')

	ElementLine(0 0 0 MAXY 20)
	ElementLine(0 MAXY 200 MAXY 20)
	ElementLine(200 MAXY 200 0 20)
	ElementLine(200 0 0 0 20)
	ElementLine(100 0 100 100 10)
	ElementLine(100 100 0 100 10)

	Mark(50 50)
)
T12,38
PKG_JUMPER11PKG_CONNECTOR(`$1', `$2', `$3', 11, 1)
T22,25
Description_geda_ZIP16`Zig-zag in-line package'
T24,30
Description_geda_SOD106A`SMT diode (pin 1 is cathode)'
T23,64
Description_geda_RCY300`Bottom lead non-polar circular component (typically capacitor)'
T24,37
Description_geda_EIA3216`Tantalum SMT capacitor (pin 1 is +)'
T26,15
Description_BNC_rightangleright angle BNC
T16,3
Param2_74121_dil300
T15,3
Param2_6801_dil600
T12,38
PKG_JUMPER12PKG_CONNECTOR(`$1', `$2', `$3', 12, 1)
T24,12
Description_oscillator_8`oscillator'
T27,37
Description_cts_CTS_742C_08`CTS 742C Series Chip Resistor Array'
T21,160
PinList_AT90S1200_dil`/Reset',`PD0',`PD1',`XTAL2',`XTAL1',`PD2/INT0',`PD3',`PD4/T0',`PD5',`Gnd' ,`PD6',`PB0/AIN0',`PB1/AIN1',`PB2',`PB3',`PB4',`PB5/MOSI',`PB6/MISO',`PB7/S CK',`Vcc'
T13,62
PKG_SOJ40_400COMMON_SMT_DIL_MIL(`$1',`$2',`$3',40,23622,86614,50000,291339)
T12,38
PKG_JUMPER13PKG_CONNECTOR(`$1', `$2', `$3', 13, 1)
T26,9
Description_generic28w_dil`generic'
T22,25
Description_geda_ZIP18`Zig-zag in-line package'
T26,42
Description_geda_SOJ30_350`Small outline J-leaded package (350 mil)'
T26,28
Description_geda_QFP128_28`Square Quad-side flat pack'
T21,46
Description_74631_dil`16bit parallel error detection/correction OC'
T21,43
Description_74261_dil`2bit by 4bit parallel binary multiplexors'
T16,3
Param2_74172_dil300
T16,3
Param2_74135_dil300
T19,2
Param1_PIC17C42_dil40
T12,38
PKG_JUMPER14PKG_CONNECTOR(`$1', `$2', `$3', 14, 1)
T20,77
PKG_JOHNSTECH_QFN_65PKG_GENERIC_JOHNSTECH7248_QFN(`$1',`$2',`$3',`$4',`$5', `65',`36',`50', `$6')
T31,26
Description_smd_EIA_D_capacitor`chip_capacitor_polarized'
T27,37
Description_geda_HEADER54_1`Header connector, DIP pin numbering'
T21,23
Description_74490_dil`4 4bit decade counter'
T17,125
PinList_74322_dil`/G',`S-/P',`D0',`a-Qa',`C-Qc',`E-Qe',`G-Qg',`/OE',`/Clr',`Gnd',`Clk',`Qh+',`H-Qh',`F-Qf',`D-Qd',`B-Qb',`D1',`/SE',`DS',`Vcc'
T15,3
Param2_7402_dil300
T20,2
Param1_MAB8031AH_dil40
T12,38
PKG_JUMPER15PKG_CONNECTOR(`$1', `$2', `$3', 15, 1)
T26,42
Description_geda_SOJ44_350`Small outline J-leaded package (350 mil)'
T27,42
Description_geda_HEADER54_2`Header connector, ribbon cable numbering'
T21,40
Description_geda_DIP6`Dual in-line package, narrow (300 mil)'
T21,44
Description_74682_dil`8bit magnitute comperator w. input pull-up'
T21,26
Description_74645_dil`8 bus tranceiver 3-state'
T18,529
PinList_BT484_plcc`PA0',`PA1',`PA2',`PA3',`PA4',`PA5',`PA6',`PA7',`PB0',`PB1',`PB2',`PB3',`PB4',`PB5',`PB6',`PB7',`PC0',`PC1',`PC2',`PC3',`PC4',`PC5',`PC6',`PC7',`PD0',`PD1',`PD2',`PD3',`PD4',`PD5',`PD6',`PD7',`Adjust',`Gnd',`Red',`Gnd',`Green',`Gnd',`Blue',`Vaa',`Comp',`Vaa',`VRefIn',`VRefOut',`Vaa',`/Sense',`/Reset',`/Wr',`/Rd',`RS0',`RS1',`RS2',`RS3',`D0',`D1',`D2',`D3',`D4',`D5',`D6',`D7',`/OddEven',`CDE',`/CSync',`/CBlank',`PortSel',`V0',`V1',`V2',`V3',`V4',`V5',`V6',`V7',`Vaa',`PClk1',`Vaa',`PClk0',`Vaa',`Gnd',`LClk',`Gnd',`SClk',`Gnd'
T17,136
PinList_74181_dil`/B0',`/A0',`S3',`S2',`S1',`S0',`Cn',`M',`/F0',`/F1',`/F2',`Gnd',`/F3',`A=B',`/P',`/Cn+4',`/G',`/B3',`/A3',`/B2',`/A2',`/B1',`/A1',`Vcc'
T17,83
PinList_74107_dil`1J',`/1Q',`1Q',`1K',`2Q',`/2Q',`Gnd',`2J',`2Clk',`/2Clr',`2K',`1Clk',`/1Clr',`Vcc'
T16,3
Param2_74593_dil300
T16,3
Param2_74519_dil300
T14,41
PKG_TQFP160_28PKG_QFP_65(`$1',`$2',`$3',`160',`28',`0')
T12,38
PKG_JUMPER16PKG_CONNECTOR(`$1', `$2', `$3', 16, 1)
T21,45
Description_74467_dil`8 buffer 3-state w. seperate enable signals'
T16,22
PinList_uA78M24C`In',`Com',`Out',`Com'
T17,101
PinList_74373_dil`/OC',`1Q',`1D',`2D',`2Q',`3Q',`3D',`4D',`4Q',`Gnd',`C',`5Q',`5D',`6D',`6Q',`7Q',`7D',`8D',`8Q',`Vcc'
T19,3
Param2_GAL22V10_dil300
T15,3
Param2_7490_dil300
T15,3
Param2_7453_dil300
T16,3
Param2_74378_dil300
T15,3
Param2_7416_dil300
T16,2
Param1_74623_dil20
T16,2
Param1_74290_dil14
T16,2
Param1_74253_dil16
T11,42
PKG_PLCC44XPKG_PLCC_SOCKET(`$1', `$2', `$3', 44, 150)
T12,38
PKG_JUMPER17PKG_CONNECTOR(`$1', `$2', `$3', 17, 1)
T26,42
Description_geda_SOJ14_300`Small outline J-leaded package (300 mil)'
T26,38
Description_geda_RESC0603L`Standard SMT resistor, capacitor etc'
T21,40
Description_geda_DIP8`Dual in-line package, narrow (300 mil)'
T21,57
Description_74696_dil`4bit synchronous decade counter w. direct clear 3-state'
T13,11
PinList_BC160`E',`B',`C'
T17,84
PinList_74195_dil`/Clr',`J',`/K',`A',`B',`C',`D',`Gnd',`SH-/Ld',`Clk',`/Qd',`Qd',`Qc',`Qb',`Qa',`Vcc'
T17,87
PinList_74158_dil`/A-B',`1A',`1B',`/1Y',`2A',`2B',`/2Y',`Gnd',`/3Y',`3B',`3A',`4Y',`/4Y',`4A',`/G',`Vcc'
T15,45
PKG_TQFN32_5_EPPKG_QFN_50S(`$1',`$2',`$3', `32', `5', `310')
T14,44
PKG_QFN20_4_EPPKG_QFN_50(`$1',`$2',`$3', `20', `4', `210')
T12,38
PKG_JUMPER18PKG_CONNECTOR(`$1', `$2', `$3', 18, 1)
T23,30
Description_geda_SOD123`SMT diode (pin 1 is cathode)'
T26,38
Description_geda_RESC0603M`Standard SMT resistor, capacitor etc'
T29,31
Description_geda_DIN41651_60S`Header connector with latches'
T26,23
Description_L298_multiwattdual full-bridge driver
T16,3
Param2_27128_dil600
T20,2
Param1_AT90S1300_dil20
T16,2
Param1_74674_dil24
T16,2
Param1_74637_dil20
T10,43
PKG_QSOP20PKG_SSO(   `$1', `$2', `$3', 20, 244, 2500)
T12,38
PKG_JUMPER19PKG_CONNECTOR(`$1', `$2', `$3', 19, 1)
T8,74
PKG_0603PKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 100,   75, 130, 230, 130,   0,   0)
T25,39
Description_geda_TQFN24_4`Square Quad Flat Nolead (QFN) package'
T26,42
Description_geda_SOJ28_300`Small outline J-leaded package (300 mil)'
T26,38
Description_geda_RESC0603N`Standard SMT resistor, capacitor etc'
T24,3
Description_MC68008_plccCPU
T17,2
Param1_BT484_plcc84
T12,41
PKG_RCY1100PPKG_RADIAL_CAN(`$1', `$2', `$3', 2200, 1)
T16,2
Param1_74688_dil20
T20,106
PKG_SMT_TRANSISTOR5ACOMMON_SMT_TRANSISTOR_MIL(`$1', `$2', `$3',
		  `eval(($4*1000)/254)', `eval(($5*1000)/254)', 50, `45123')
T11,63
PKG_QFN_50SPKG_GENERIC_QFN(`$1',`$2',`$3',`$4',`$5', `50',`28',`40', `$6')
T29,31
Description_geda_DIN41651_64S`Header connector with latches'
T21,38
Description_geda_2706`Standard SMT resistor, capacitor etc'
T28,96
PinList_DIN41_612_ab64femaleforloop(`i', 1, 32, `define(`P_'i, `a'i)')
	forloop(`i', 1, 32, `define(`P_'eval(i +32), `b'i)')
T9,71
PKG_TO251GENERIC_PL_POWER(`$1', `$2', `$3',  3,  90, 265, 100,  50, 70, 40,   0)
T6,58
PKG_SOCOMMON_SMT_DUALINLINE(`$1',`$2',`$3',`$4',`$5',`$6',20,50)
T14,39
PKG_HEADER34_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 17)
T12,40
PKG_ACY1000PPKG_AXIAL_LAY(`$1', `$2', `$3', 1000, 1)
T24,33
Description_geda_QFP80_R`Rectangular Quad-side flat pack'
T29,47
Description_amphenol_ARFX1230Amphenol ARFX1230 Right Angle SMA Connector (M)
T10,43
PKG_QSOP24PKG_SSO(   `$1', `$2', `$3', 24, 244, 2500)
T22,62
PKG_MINICIRCUITS_CB539COMMON_SMT_DIL_MIL(`$1',`$2',`$3',10,30000,90000,50000,135000)
T14,38
PKG_HEADER34_2PKG_CONNECTOR(`$1', `$2', `$3', 17, 2)
T27,28
Description_geda_LQFP120_16`Square Quad-side flat pack'
T29,44
Description_amphenol_ARFX1231Amphenol ARFX1231 Vertical SMA Connector (F)
F8,8
errprinterrprint
F4,4
decrdecr
T17,97
PinList_TL074_dil`Out1',`In1-',`In1+',`Vcc+',`In2+',`In2-',`Out2',`Out3',`In3-',`In3+',`Vcc-',`In4+',`In4-',`Out4'
T18,118
PinList_MAX222_dil`NC',`C1+',`V+',`C1-',`C2+',`C2-',`V-',`T2out',`R2in',`R2out',`T2in',`T1in',`R1out',`R1in',`T1out',`GND',`Vcc',`/Shdn'
T16,3
Param2_7451L_dil300
T13,41
PKG_TQFP52_10PKG_QFP_65(`$1',`$2',`$3', `52',`10',`0')
T11,41
PKG_RCY700PPKG_RADIAL_CAN(`$1', `$2', `$3', 1400, 1)
T29,47
Description_amphenol_ARFX1232Amphenol ARFX1232 Right Angle SMA Connector (F)
T13,62
PKG_SOJ42_300COMMON_SMT_DIL_MIL(`$1',`$2',`$3',42,23622,86614,50000,196850)
T21,54
PKG_JOHNSTECH_QFN28_5PKG_JOHNSTECH_QFN_50(`$1',`$2',`$3', `28', `5', `310')
T11,39
PKG_ACY800PPKG_AXIAL_LAY(`$1', `$2', `$3', 800, 1)
T19,26
Description_uA7808C+8V 1.5A voltage regulator
T17,9
Description_r_025`R 0.25W'
T26,38
Description_geda_CAPC0402L`Standard SMT resistor, capacitor etc'
T23,62
Description_geda_ACY150`Axial non-polar component (typically resistor or capacitor),'
T21,30
Description_74112_dil`2 JK edge FF w. preset/clear'
T18,3231
COMMON_SMT_DIL_MIL
	# number of pads
	define(`NPADS', `$4')
	# pad width in 1/1000 mil
        define(`PADWIDTH', `$5')
	# pad length in 1/1000 mil
        define(`PADLENGTH',`$6')
	# pad pitch 1/1000 mil
	define(`PITCH',`$7')
	# seperation between pads on opposite sides 1/1000 mil
	define(`PADSEP',`$8')

	# X coordinates for the right hand column of pads (1/100 mils)
        define(`X1', `eval( (PADSEP/2 + PADLENGTH - PADWIDTH/2)/10)')
        define(`X2', `eval( (PADSEP/2 + PADWIDTH/2)/10)')

	# pad clearance to plane layer in 1/100 mil
        define(`PADCLEAR', 1000)

	# pad soldermask width in 1/100 mil
        define(`PADMASK', eval(PADWIDTH/10 + 1000))

	# silk screen width (1/100 mils)
	define(`SILKW', `1000')
	define(`SILKSEP', `500')


	# figure out if we have an even or odd number of pins per side
	define(`TMP1', eval(NPADS/4))
	define(`TMP2', eval((4*TMP1 - NPADS) == 0))
	ifelse(TMP2, 1, `define(`EVEN',"yes")', `define(`EVEN',"no")')

	# silk bounding box is -XMAX,-YMAX, XMAX,YMAX (1/100 mils)
	define(`XMAX', `eval( (PADSEP/2 + PADLENGTH + 5*SILKW)/10 + SILKSEP )')
	ifelse(EVEN,"yes",
		`define(`YMAX', `eval( ((NPADS/4)*PITCH - PITCH/2 + PADWIDTH/2 + 5*SILKW)/10 + SILKSEP )')',
		`define(`YMAX', `eval( ((NPADS/4)*PITCH           + PADWIDTH/2 + 5*SILKW)/10 + SILKSEP )')'
	)

	define(`REV', `$9')

	ifelse(REV,"reverse",
		`define(`CURPIN', NPADS)'
	,
		`define(`CURPIN', `1')'
	)	
# element_flags, description, pcb-name, value, mark_x, mark_y,
# text_x, text_y, text_direction, text_scale, text_flags
Element[0x00000000 "$1" "`$2'" "$3" 0 0 -2000 -6000 0 100 0x00000000]
(
# 
# Pad[x1, y1, x2, y2, thickness, clearance, mask, name , pad number, flags]
        forloop(`i', 1, eval(NPADS / 2),
                `ifelse(EVEN,"yes",
		 `Pad[   -X1 eval( (-(NPADS/4)*PITCH - PITCH/2 + i*PITCH)/10) 
			 -X2 eval( (-(NPADS/4)*PITCH - PITCH/2 + i*PITCH)/10) 
			eval(PADWIDTH/10) PADCLEAR PADMASK "CURPIN" "CURPIN" 0x00000100]',
		 `Pad[   -X1 eval( (-(NPADS/4)*PITCH - PITCH   + i*PITCH)/10) 
			 -X2 eval( (-(NPADS/4)*PITCH - PITCH   + i*PITCH)/10) 
			eval(PADWIDTH/10) PADCLEAR PADMASK "CURPIN" "CURPIN" 0x00000100]')

		ifelse(REV,"reverse", 
			`define(`CURPIN', decr(CURPIN))',
			`define(`CURPIN', incr(CURPIN))'
			)
        ')
        forloop(`i', eval((NPADS / 2) + 1), NPADS,
                `ifelse(EVEN,"yes",
		 `Pad[   X1 eval( ((NPADS/4)*PITCH + PITCH/2 - (i-NPADS/2)*PITCH)/10) 
			 X2 eval( ((NPADS/4)*PITCH + PITCH/2 - (i-NPADS/2)*PITCH)/10) 
			eval(PADWIDTH/10) PADCLEAR PADMASK "CURPIN" "CURPIN" 0x00000100]',
		 `Pad[   X1 eval( ((NPADS/4)*PITCH + PITCH   - (i-NPADS/2)*PITCH)/10) 
			 X2 eval( ((NPADS/4)*PITCH + PITCH   - (i-NPADS/2)*PITCH)/10) 
			eval(PADWIDTH/10) PADCLEAR PADMASK "CURPIN" "CURPIN" 0x00000100]')
		ifelse(REV,"reverse", 
			`define(`CURPIN', decr(CURPIN))',
			`define(`CURPIN', incr(CURPIN))'
			)
        ')

	ElementLine[-XMAX -YMAX -XMAX  YMAX SILKW]
	ElementLine[-XMAX  YMAX  XMAX  YMAX SILKW]
	ElementLine[ XMAX  YMAX  XMAX -YMAX SILKW]
	ElementLine[-XMAX -YMAX -2500 -YMAX SILKW]
	ElementLine[ XMAX -YMAX  2500 -YMAX SILKW]

	# punt on the arc on small parts as it can cover the pads
	ifelse(eval((PADSEP)/1000 > 70), 1, `ElementArc[0 -YMAX 2500 2500 0 180 SILKW]', )
	
)
T15,22
PinList_uA7806C`In',`Com',`Out',`Com'
T18,45
PinList_MAX680_dil`C1-',`C2+',`C2-',`V-',`GND',`Vcc',`C1+',`V+'
T9,71
PKG_TO218GENERIC_PL_POWER(`$1', `$2', `$3',  3, 219, 615, 200, 120,100, 60,   0)
T23,24
Description_geda_SC70_3`SMT transistor, 3 pins'
T26,38
Description_geda_CAPC0402M`Standard SMT resistor, capacitor etc'
T10,43
PKG_QSOP28PKG_SSO(   `$1', `$2', `$3', 28, 244, 2500)
T23,24
Description_geda_SC70_4`SMT transistor, 4 pins'
T28,31
Description_geda_DIN41651_10`Header connector with latches'
T26,38
Description_geda_CAPC0402N`Standard SMT resistor, capacitor etc'
T21,47
Description_74163_dil`syncronous 4bit binary counter w. sync. clear'
T21,36
Description_74126_dil`4 buffers 3-state positive control'
T16,67
PinList_7442_dil`0',`1',`2',`3',`4',`5',`6',`Gnd',`7',`8',`9',`D',`C',`B',`A',`Vcc'
T16,71
PinList_7405_dil`1A',`1Y',`2A',`2Y',`3A',`3Y',`Gnd',`4Y',`4A',`5Y',`5A',`6Y',`6A',`Vcc'
T16,3
Param2_74444_dil300
T17,2
Param1_MAX222_dil18
T15,2
Param1_2532_dil24
T11,43
PKG_QFN56_8PKG_QFN_50S(`$1',`$2',`$3', `56', `8', `0')
T29,16
Description_smd_capacitor_603`chip_capacitor'
T23,24
Description_geda_SC70_5`SMT transistor, 5 pins'
T24,60
Description_geda_RCY400P`Bottom lead polar circular component (typically capacitor)'
T22,10
Description_geda_HC49U`Crystals'
T25,16
Description_MAB8031AH_dilmicro controller
T21,58
Description_74355_dil`8-to-1 data selector/multiplexor/register transparent OC'
T17,171
PinList_74631_dil`DEF',`DB0',`DB1',`DB2',`DB3',`DB4',`DB5',`DB6',`DB7',`DB8',`DB9',`DB10',`DB11',`Gnd',`DB12',`DB13',`DB14',`DB15',`CB5',`CB4',`CB3',`CB2',`CB1',`CB0',`S0',`S1',`SEF',`Vcc'
T17,81
PinList_74261_dil`B3',`B4',`C',`M2',`/Q4',`Q3',`Q2',`Gnd',`Q1',`Q0',`M0',`M1',`B0',`B1',`B2',`Vcc'
T16,3
Param2_74673_dil300
T16,3
Param2_74636_dil300
T16,3
Param2_74266_dil300
T15,2
Param1_SUBD_25F25
T8,74
PKG_1008PKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 230,  110, 260, 410, 280,  70, 230)
T30,28
Description_geda_TQFP128_14_EP`Square Quad-side flat pack'
T23,24
Description_geda_SC70_6`SMT transistor, 6 pins'
T24,46
Description_geda_ACY500P`Axial polar component (typically capacitor),'
T20,24
Description_7423_dil`2 quad-NOR with strobe'
T21,50
Description_74177_dil`presettable binary counter/latch (divide by 2/8)'
T16,81
PinList_7493_dil`ClkB',`R0(1)',`R0(2)',`NC',`Vcc',`NC',`NC',`Qc',`Qb',`Gnd',`Qd',`Qa',`NC',`ClkA'
T17,103
PinList_74490_dil`1Clk',`1Clr',`1Qa',`1Set9',`1Qb',`1Qc',`1Qd',`Gnd',`2Qd',`2Qc',`2Qb',`2Set9',`2Qa',`2Clr',`2Clk',`Vcc'
T16,71
PinList_7419_dil`1A',`1Y',`2A',`2Y',`3A',`3Y',`Gnd',`4Y',`4A',`5Y',`5A',`6Y',`6A',`Vcc'
T17,1
Param1_MAX680_dil8
T21,55
PKG_JOHNSTECH_QFN32_5PKG_JOHNSTECH_QFN_50S(`$1',`$2',`$3', `32', `5', `310')
T11,39
PKG_ACY100PPKG_AXIAL_LAY(`$1', `$2', `$3', 100, 1)
T26,42
Description_geda_SOJ24_450`Small outline J-leaded package (450 mil)'
T28,31
Description_geda_DIN41651_50`Header connector with latches'
T21,11
Description_27512_dilEPROM 64Kx8
F8,8
maketempmaketemp
T16,16
PinList_uA79L15C`Out',`In',`Com'
T17,105
PinList_74682_dil`/P>Q',`P0',`Q0',`P1',`Q1',`P2',`Q2',`P3',`Q3',`Gnd',`P4',`Q4',`P5',`Q5',`P6',`Q6',`P7',`Q7',`/P=Q',`Vcc'
T17,103
PinList_74645_dil`DIR',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`Gnd',`B8',`B7',`B6',`B5',`B4',`B3',`B2',`B1',`/EN',`Vcc'
T16,3
Param2_74687_dil300
T16,2
Param1_74192_dil16
T16,2
Param1_74155_dil16
T28,31
Description_geda_DIN41651_14`Header connector with latches'
T20,38
Description_7474_dil`2 D-type pos-edge FF w. preset/clear'
T21,59
Description_74598_dil`8bit shift register w. input register/parallel 3-state IO'
T20,20
Description_7437_dil`4 dual-NAND buffer'
T15,8
PinList_LED_3MM`-', `+'
T17,119
PinList_74467_dil`/1G',`1A1',`1Y1',`1A2',`1Y2',`1A3',`1Y3',`1A4',`1Y4',`Gnd',`2Y1',`2A1',`2Y2',`2A2',`2Y3',`2A3',`2Y4',`2A4',`/2G',`Vcc'
T22,2
Param1_DIN41_651_24lay24
T16,2
Param1_74384_dil16
T15,2
Param1_7432_dil14
T21,54
PKG_JOHNSTECH_QFN32_7PKG_JOHNSTECH_QFN_65(`$1',`$2',`$3', `32', `7', `470')
T16,40
PKG_DIN41651_40SPKG_DIN41_651STAND(`$1', `$2', `$3', 40)
T8,74
PKG_1825PKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 680,  160, 400, 610, 730, 160, 680)
T26,42
Description_geda_SOJ38_450`Small outline J-leaded package (450 mil)'
T27,28
Description_geda_LQFP144_20`Square Quad-side flat pack'
T17,30
Description_BC307PNP general purpose transistor
T25,33
Description_AT90S1300_dilAVR Enhanced RISC microcontroller
T17,115
PinList_74696_dil`U-/D',`CCK',`A',`B',`C',`D',`/ENP',`/CClr',`RCK',`Gnd',`R-/C',`/G',`/Load',`/ENT',`Qd',`Qc',`Qb',`Qa',`/RCO',`Vcc'
T26,2
Param2_smd_EIA_B_capacitor90
T23,2
Param1_generic18smd_dil18
T16,2
Param1_74169_dil16
T28,31
Description_geda_DIN41651_16`Header connector with latches'
T15,21
PinList_uA7924C`Com',`In',`Out',`In'
T15,2
Param1_7483_dil16
T15,2
Param1_7446_dil16
T15,2
Param1_7409_dil14
T13,39
PKG_HEADER2_1PKG_CONNECTOR_DIL(`$1', `$2', `$3',  1)
T20,26
Description_uA78L02C+2V 0.1A voltage regulator
T20,9
Description_menu_qfp`generic'
F7,7
includeinclude
T19,3
Param2_RTC62421_dil300
T24,3
Param1_generic_diode_800800
T13,38
PKG_HEADER2_2PKG_CONNECTOR(`$1', `$2', `$3',  1, 2)
T20,26
Description_uA79M05C-5V 0.5A voltage regulator
T15,2
Param1_SUBD_25M25
T24,2
Param1_DIN41_651_18stand18
T15,2
Param1_7497_dil16
T13,41
PKG_LQFP128_RPKG_LQFP_50(`$1',`$2',`$3',`128',`0',`0')
T20,3
Param2_generic40_dil600
T18,3
Param2_MAX233A_dil300
T35,3
Param1_generic_capacitor_radial_600600
T16,1
Param1_TL071_dil8
T20,26
Description_uA78L06C+6V 0.1A voltage regulator
T16,173
PinList_6551_dil`Vss',`CS0',`/CS1',`/Reset',`RxC',`XTLI',`XTLO',`/RTS',`/CTS',`TxD',`/DTR',`RxD',`RS0',`RS1',`Vcc',`/DCD',`/DSR',`D0',`D1',`D2',`D3',`D4',`D5',`D6',`D7',`/Irq',`Phi2',`R-/W'
T19,3
Param2_PIC16C71_dil300
T15,3
Param2_2114_dil300
T9,67
PKG_SO16WCOMMON_SMT_DIL_MIL(`$1',`$2',`$3', 16, 20000, 80000, 50000, 280000)
T10,36
PKG_ACY600PKG_AXIAL_LAY(`$1', `$2', `$3', 600)
T28,9
Description_generic20smd_dil`generic'
T16,3
Param2_74140_dil300
T16,2
Param1_TL085_dil14
T10,35
PKG_PLCC44PKG_PLCC(`$1', `$2', `$3', 44, 150)
T16,619
GENERIC_PL_POWERdefine(`pin1X', `eval((`$6' - (`$4' - 1) * `$5')/2)')
Element(0x00 "$1" "`$2'" "$3" eval(`$6'+60) 50 3 100 0x00)
(
       forloop(`i', 1, `$4',
               `PIN(eval(pin1X + (i-1)*`$5'), ifelse(eval(i % 2 == 0), 0, eval(`$8'+`$11'), `$8'), `$9', `$10', i)
       ')
       ElementLine(0 0 0 `$7' 20)
       ElementLine(0 `$7' `$6' `$7' 20)
       ElementLine(`$6' `$7' `$6' 0 20)
       ElementLine(`$6' 0 0 0 20)
       ElementLine(0 50 `$6' 50 10)
       ElementLine(eval(`$6'/2 - 75) 0 eval(`$6'/2 - 75) 50 10)
       ElementLine(eval(`$6'/2 + 75) 0 eval(`$6'/2 + 75) 50 10)
       Mark(pin1X eval(`$7'+`$10'))
 )
T22,29
Description_geda_DB25F`DSUB connector, female/male'
T13,62
PKG_SOJ22_400COMMON_SMT_DIL_MIL(`$1',`$2',`$3',22,23622,86614,50000,291339)
T13,74
PKG_CAPC4532LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 330,  140, 380, 540, 370, 160, 330)
T21,40
Description_74280_dil`9bit odd/even parity generator/checker'
T21,39
Description_74243_dil`4 bus tranceiver w. inverting outputs'
T17,99
PinList_74112_dil`1Clk',`1K',`1J',`/1Pre',`1Q',`/1Q',`/2Q',`Gnd',`2Q',`/2Pre',`2J',`2K',`2Clk',`/2Clr',`/1Clr',`Vcc'
T19,3
Param2_PIC17C42_dil600
T16,3
Param2_74191_dil300
T16,3
Param2_74154_dil300
T15,3
Param2_2764_dil600
T14,39
PKG_HEADER58_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 29)
T15,40
PKG_DIN41651_10PKG_DIN41_651LAY(  `$1', `$2', `$3', 10)
T13,74
PKG_CAPC4532MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 350,  180, 420, 700, 450, 160, 350)
T25,39
Description_geda_TQFN48_7`Square Quad Flat Nolead (QFN) package'
T24,16
Description_PIC16C84_dilmicro controller
T4,114
args
	ifelse($#, 0, , $#, 1,`define(`arg'cnt,`$1')',
	`define(`arg'cnt,`$1') define(`cnt',incr(cnt)) args(shift($@))')
T15,3
Param2_7421_dil300
T16,2
Param1_74221_dil16
T13,62
PKG_SOJ36_400COMMON_SMT_DIL_MIL(`$1',`$2',`$3',36,23622,86614,50000,291339)
T11,41
PKG_QFP64_RPKG_QFP_100(`$1',`$2',`$3', `64',`0',`0')
T16,2284
PKG_PQFP52_10X10Element(0x00 "$1" "`$2'" "$3" 250 200 0 150 0x00)
(
	Pad(0 129 80 129 16 "1" 0x00000101)
	Pad(0 155 80 155 16 "2" 0x00000001)
	Pad(0 180 80 180 16 "3" 0x00000001)
	Pad(0 206 80 206 16 "4" 0x00000001)
	Pad(0 232 80 232 16 "5" 0x00000001)
	Pad(0 257 80 257 16 "6" 0x00000001)
	Pad(0 283 80 283 16 "7" 0x00000001)
	Pad(0 308 80 308 16 "8" 0x00000001)
	Pad(0 334 80 334 16 "9" 0x00000001)
	Pad(0 359 80 359 16 "10" 0x00000001)
	Pad(0 385 80 385 16 "11" 0x00000001)
	Pad(0 411 80 411 16 "12" 0x00000001)
	Pad(0 436 80 436 16 "13" 0x00000001)

	Pad(129 565 129 485 16 "14" 0x00000001)
	Pad(155 565 155 485 16 "15" 0x00000001)
	Pad(180 565 180 485 16 "16" 0x00000001)
	Pad(206 565 206 485 16 "17" 0x00000001)
	Pad(232 565 232 485 16 "18" 0x00000001)
	Pad(257 565 257 485 16 "19" 0x00000001)
	Pad(283 565 283 485 16 "20" 0x00000001)
	Pad(308 565 308 485 16 "21" 0x00000001)
	Pad(334 565 334 485 16 "22" 0x00000001)
	Pad(359 565 359 485 16 "23" 0x00000001)
	Pad(385 565 385 485 16 "24" 0x00000001)
	Pad(411 565 411 485 16 "25" 0x00000001)
	Pad(436 565 436 485 16 "26" 0x00000001)

	Pad(485 436 565 436 16 "27" 0x00000001)
	Pad(485 411 565 411 16 "28" 0x00000001)
	Pad(485 385 565 385 16 "29" 0x00000001)
	Pad(485 359 565 359 16 "30" 0x00000001)
	Pad(485 334 565 334 16 "31" 0x00000001)
	Pad(485 308 565 308 16 "32" 0x00000001)
	Pad(485 283 565 283 16 "33" 0x00000001)
	Pad(485 257 565 257 16 "34" 0x00000001)
	Pad(485 232 565 232 16 "35" 0x00000001)
	Pad(485 206 565 206 16 "36" 0x00000001)
	Pad(485 180 565 180 16 "37" 0x00000001)
	Pad(485 155 565 155 16 "38" 0x00000001)
	Pad(485 129 565 129 16 "39" 0x00000001)

	Pad(436 0 436 80 16 "40" 0x00000001)
	Pad(411 0 411 80 16 "41" 0x00000001)
	Pad(385 0 385 80 16 "42" 0x00000001)
	Pad(359 0 359 80 16 "43" 0x00000001)
	Pad(334 0 334 80 16 "44" 0x00000001)
	Pad(308 0 308 80 16 "45" 0x00000001)
	Pad(283 0 283 80 16 "46" 0x00000001)
	Pad(257 0 257 80 16 "47" 0x00000001)
	Pad(232 0 232 80 16 "48" 0x00000001)
	Pad(206 0 206 80 16 "49" 0x00000001)
	Pad(180 0 180 80 16 "50" 0x00000001)
	Pad(155 0 155 80 16 "51" 0x00000001)
	Pad(129 0 129 80 16 "52" 0x00000001)

	ElementLine( 135 129 436 129 20)
	ElementLine( 129 135 129 436 20)
	ElementLine( 129 436 436 436 20)
	ElementLine( 436 436 436 129 20)
	ElementLine( 129 135 135 129 20)

	Mark(0 0)
)
T10,35
PKG_PLCC84PKG_PLCC(`$1', `$2', `$3', 84, 150)
T14,38
PKG_HEADER58_2PKG_CONNECTOR(`$1', `$2', `$3', 29, 2)
T13,74
PKG_CAPC4532NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 340,  160, 400, 610, 390, 160, 340)
T20,27
Description_uA78M20C+20V 0.5A voltage regulator
T26,42
Description_geda_SOJ26_350`Small outline J-leaded package (350 mil)'
T24,47
Description_geda_PLCC20X`Plastic leadless chip carrier with pin socket'
T21,33
Description_74627_dil`2 voltage controlled oscillator'
T21,41
Description_74294_dil`programmable divider/timer (2 power 15)'
T21,35
Description_74257_dil`4 2-to-1 selectors/demultiplexors'
T17,86
PinList_74163_dil`/Clr',`Clk',`A',`B',`C',`D',`ENP',`Gnd',`/Load',`ENT',`Qd',`Qc',`Qb',`Qa',`RCO',`Vcc'
T17,71
PinList_74126_dil`1G',`1A',`1Y',`2G',`2A',`2Y',`Gnd',`3Y',`3A',`3G',`4Y',`4A',`4G',`Vcc'
T16,3
Param2_74575_dil300
T16,3
Param2_74538_dil300
T9,46
PKG_SOD80PKG_SMT_2PAD_EIA(    `$1', `$2', `$3', 37, 16)
T27,37
Description_geda_HEADER12_1`Header connector, DIP pin numbering'
T21,50
Description_74449_dil`4 bus tranceiver w. individual direction control'
T18,117
PinList_uA747C_dil`1 In-',`1 In+',`1 OfsN2',`Vcc-',`2 OfsN2',`2 In+',`2 In-',`2 OfsN1',`2 Vcc+',`2 Out',`NC',`1 Out',`1 Vcc+',`1 OfsN1'
T17,103
PinList_74355_dil`D7',`D6',`D5',`D4',`D3',`D2',`D1',`D0',`/DC',`Gnd',`/SC',`S2',`S1',`S0',`/G1',`/G2',`G3',`W',`Y',`Vcc'
T16,124
PinList_4016_dil`A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`/Cs',`A10',`/Oe',`/W',`A9',`A8',`Vcc'
T15,3
Param2_7472_dil300
T16,2
Param1_74642_dil20
T13,41
PKG_TQFP80_12PKG_QFP_50(`$1',`$2',`$3', `80',`12',`0')
T15,40
PKG_DIN41651_50PKG_DIN41_651LAY(  `$1', `$2', `$3', 50)
T27,28
Description_geda_TQFP144_28`Square Quad-side flat pack'
T22,40
Description_geda_SO18M`Small outline package, medium (200mil)'
T27,42
Description_geda_HEADER12_2`Header connector, ribbon cable numbering'
T17,76
PinList_74177_dil`/Load',`Qc',`C',`A',`Qa',`Clk2',`Gnd',`Clk1',`Qb',`B',`D',`Qd',`/Clr',`Vcc'
T21,77
PKG_JOHNSTECH_QFN_50SPKG_GENERIC_JOHNSTECH7248_QFN(`$1',`$2',`$3',`$4',`$5', `50',`36',`50', `$6')
T15,40
PKG_DIN41651_14PKG_DIN41_651LAY(  `$1', `$2', `$3', 14)
T20,27
Description_uA78M24C+24V 0.5A voltage regulator
T22,40
Description_geda_SO18N`Small outline package, narrow (150mil)'
T21,38
Description_geda_1806`Standard SMT resistor, capacitor etc'
T17,149
PinList_27512_dil`A15',`A12',`A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`/Cs',`A10',`/Oe',`A11',`A9',`A8',`A13',`A14',`Vcc'
T20,3
Param2_AT90S4434_dil300
T15,3
Param2_7486_dil300
T15,3
Param2_7449_dil300
T20,2
Param1_PEB2086N_plcc44
T16,2
Param1_74693_dil20
T13,41
PKG_TQFP80_14PKG_QFP_65(`$1',`$2',`$3', `80',`14',`0')
T14,39
PKG_HEADER62_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 31)
T40,18
Description_generic_capacitor_radial_300`capacitor_radial'
T23,64
Description_geda_RCY250`Bottom lead non-polar circular component (typically capacitor)'
T27,39
Description_geda_QFN36_6_EP`Square Quad Flat Nolead (QFN) package'
T22,29
Description_geda_DB25M`DSUB connector, female/male'
T17,139
PinList_74598_dil`A-Qa',`B-Qb',`C-Qc',`D-Qd',`E-Qe',`F-Qf',`G-Qg',`H-Qh',`/SRLoad',`Gnd',`Qh+',`/SRClr',`SRCK',`/SRCKEn',`RCK',`/G',`Ser1',`Ser0',`DS',`Vcc'
T16,3
Param2_TL070_dil300
T16,2
Param1_81C17_dil20
T14,38
PKG_HEADER62_2PKG_CONNECTOR(`$1', `$2', `$3', 31, 2)
T11,44
PKG_EIA7343PKG_SMT_2PAD_EIA(  `$1', `$2', `$3', 73, 43)
T15,40
PKG_DIN41651_16PKG_DIN41_651LAY(  `$1', `$2', `$3', 16)
T29,31
Description_geda_DIN41651_10S`Header connector with latches'
T17,2
Param1_uA747C_dil14
T13,62
PKG_SOJ40_350COMMON_SMT_DIL_MIL(`$1',`$2',`$3',40,23622,86614,50000,244094)
T24,47
Description_geda_PLCC28X`Plastic leadless chip carrier with pin socket'
T16,22
PinList_uA78M15C`In',`Com',`Out',`Com'
T20,3
Param2_generic80_qfp150
T16,3
Param2_TL084_dil300
T24,2
Param1_DIN41_651_26stand26
T14,72
PKG_MULTIWATT8GENERIC_PL_POWER(`$1', `$2', `$3',  8, 100, 800, 200, 115, 90, 60,   0) 
T22,14
Description_PC_V24_25PPC V24 25-pins
T14,271
PKG_TO126STANDElement(0x00 "$1" "`$2'" "$3" 60 170 0 100 0x00)
(
	PIN(110, 100, 80, 52, 1)
	PIN(200, 100, 80, 52, 2)
	PIN(290, 100, 80, 52, 3)

	ElementLine(50 50 350 50 20)
	ElementLine(350 50 350 150 20)
	ElementLine(350 150 50 150 20)
	ElementLine(50 150 50 50 20)

	Mark(100 100)
)
T9,46
PKG_SOD87PKG_SMT_2PAD_EIA(    `$1', `$2', `$3', 37, 21)
T29,31
Description_geda_DIN41651_14S`Header connector with latches'
T10,63
PKG_QFN_50PKG_GENERIC_QFN(`$1',`$2',`$3',`$4',`$5', `50',`28',`60', `$6')
T22,38
Description_geda_SO14W`Small outline package, wide (300mil)'
T16,127
PinList_2716_dil`n/c',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`/CeP',`A10',`/Oe',`Vpp',`A9',`A8',`Vcc'
T13,62
PKG_SOJ24_300COMMON_SMT_DIL_MIL(`$1',`$2',`$3',24,23622,86614,50000,196850)
T21,55
PKG_JOHNSTECH_QFN56_8PKG_JOHNSTECH_QFN_50S(`$1',`$2',`$3', `56', `8', `665')
T27,24
Description_DIN41_651_64layDIN41.651 laying 64 pins
T16,71
PinList_7410_dil`A1',`B1',`A2',`B2',`C2',`Y2',`Gnd',`Y3',`A3',`B3',`C3',`Y1',`C1',`Vcc'
T24,49
Description_geda_TSSOP10`Thin shrink small outline package, narrow (3mm)'
T28,27
Description_PCI5V_AVE_HEIGHTPCI 5V Array Average Height
T21,39
Description_74323_dil`8bit universal shift/storage register'
T16,3
Param2_74641_dil300
T16,3
Param2_74604_dil300
T14,41
PKG_TQFP208_28PKG_QFP_50(`$1',`$2',`$3',`208',`28',`0')
T8,30
PKG_TO92PKG_TO92BASE(`$1', `$2', `$3')
T8,30
PKG_TO18PKG_TO18BASE(`$1', `$2', `$3')
T13,62
PKG_SOJ38_300COMMON_SMT_DIL_MIL(`$1',`$2',`$3',38,23622,86614,50000,196850)
T7,401
PKG_SILdefine(`MAXY', `eval(`$4' * 100 -50)')
Element(0x00 "$1" "`$2'" "$3" 160 10 3 100 0x00)
(
	forloop(`i', 1, $4,
		`PIN(50, eval(i * 100 -50), 60, 28, i)
	')
	ElementLine(  0 50   0 MAXY 20)
	ElementLine(100 50 100 MAXY 20)
	ElementArc(50  50 50 50 180 180 20)
	ElementArc(50 MAXY 50 50   0 180 20)
	forloop(`i', 1, eval($4 /2 -1),
		`ElementLine(0 eval(i * 200) 100 eval(i * 200) 10)
	')
	Mark(50 50)
)
T15,4504
PKG_GENERIC_QFN
	# number of pins on left/right sides (pin1 is upper pin on left side)
	define(`LRPINS',  `eval($4 / 4)')
	# number of pins on top/bottom sides
        define(`TBPINS', `eval(`$4' / 2 - LRPINS)')
	# pin pitch (1/1000 mil)
	define(`PITCH',`eval(`$6'*100000/254)')
	# y-coordinate for upper pin on left/right sides  (1/1000 mil)
	define(`LRYMAX', `eval((LRPINS-1)*PITCH/2)')
	# x-coordinate for right pin on top/bottom sides  (1/1000 mil)
	define(`TBXMAX', `eval((TBPINS-1)*PITCH/2)')
	# total horizontal package width (1/1000 mil)
	define(`LRWIDTHMM', `ifelse(0,`$5',`787',`eval($5)')')
	define(`LRWIDTH', `ifelse(0,`$5',`787',`eval(`$5'*10000000/254)')')
	# total vertical package width (1/1000 mil)
	define(`TBWIDTH',`ifelse(0,`$5',`551',`eval(`$5'*10000000/254)')')
	# how much pads extend beyond the package edge (1/1000 mil) (the 25 is 0.25 mm)
	define(`EXTOUT', eval(25*100000/254))
	# how much pads extend inward from the package pad edge (1/1000 mil)
	define(`EXTIN', eval(5*100000/254))
	# pad length/width (1/1000 mil)
	define(`PADLENGTH', `eval(`$8'*100000/254)')
	define(`PADWIDTH', `eval(`$7'*100000/254)')
	# pad width (mil/100)
	define(`PADWIDTHMIL100', `eval(PADWIDTH/10)')
	# min/max x coordinates for the pads on the left/right sides of the package (mil/100)
	define(`LRXMAX',`eval((LRWIDTH/2 + EXTOUT - PADWIDTH/2)/10)')
	define(`LRXMIN',`eval((LRWIDTH/2 -PADLENGTH - EXTIN + PADWIDTH/2)/10)')
	# min/max y coordinates for the pads on the top/bottom sides of the package (mil/100)
	define(`TBYMAX',`eval((TBWIDTH/2 + EXTOUT - PADWIDTH/2)/10)')
	define(`TBYMIN',`eval((TBWIDTH/2 -PADLENGTH - EXTIN + PADWIDTH/2)/10)')

	# silkscreen width (mils/100)
	define(`SILKW', 1000)
	# how much the silk screen is moved away from the package (1/1000 mil)
	define(`SILKEXT', `eval(EXTOUT + SILKW*10/2 + 5*1000)')
	# upper right corner for silk screen (mil/100)
	define(`SILKX', `eval((LRWIDTH/2 + SILKEXT )/10)')
	define(`SILKY', `eval((TBWIDTH/2 + SILKEXT )/10)')
	# refdes text size (mil/100)
	define(`TEXTSIZE', 100)
	# x,y coordinates for refdes label (mil/100)
	define(`TEXTX', -SILKX)
	define(`TEXTY', `eval(-SILKY - 1000 - TEXTSIZE/2)')
	# square exposed paddle size (mil/100)
	define(`EPSIZE', `eval(`$9'*10000/254)')

   # pad clearance to polygons (1/100 mil)
   define(`PADCLEAR', `2000')

   # width of the pad solder mask relief (1/100 mil). 
   # grow by 1.5 mils on each side
   define(`PADMASK', `eval(2*150 + PADWIDTHMIL100)')

   # width of the paddle soldermask relief (1/100 mil)
   # grow by 200 mils on each side
   define(`EPMASK', `eval(2*200 + EPSIZE)')

# element_flags, description, pcb-name, value, mark_x, mark_y,
# text_x, text_y, text_direction, text_scale, text_flags
Element[0x00000000 "$1" "`$2'" "$3" 0 0 TEXTX TEXTY 0 TEXTSIZE 0x00000000]
(


# Pad[X1, Y1, X2, Y3, width, clearance,
#     soldermask, "pin name", "pin number", flags]

# left row
define(`CURPIN', 1)
define(`idx',0)
forloop(`i', 1, LRPINS,
	`define(`Y', `eval((-LRYMAX + PITCH*idx)/10)')'
	`Pad[-LRXMAX  Y  -LRXMIN  Y  PADWIDTHMIL100  PADCLEAR PADMASK "CURPIN" "CURPIN"  0x00000100]'
	`define(`CURPIN', incr(CURPIN))'
	`define(`idx',incr(idx))'
)

# bottom row
define(`idx',0)
forloop(`i', 1, TBPINS,
	`define(`X', `eval((-TBXMAX + PITCH*idx)/10)')'
	`Pad[X  TBYMAX  X  TBYMIN  PADWIDTHMIL100 PADCLEAR PADMASK "CURPIN" "CURPIN"  0x00000900]'
	`define(`CURPIN', incr(CURPIN))'
	`define(`idx',incr(idx))'
)

# right row
define(`idx',0)
forloop(`i', 1, LRPINS,
	`define(`Y', `eval(( LRYMAX - PITCH*idx)/10)')'
	`Pad[LRXMAX  Y  LRXMIN  Y  PADWIDTHMIL100  PADCLEAR PADMASK "CURPIN" "CURPIN"  0x00000100]'
	`define(`CURPIN', incr(CURPIN))'
	`define(`idx',incr(idx))'
)

# top row
define(`idx',0)
forloop(`i', 1, TBPINS,
	`define(`X', `eval((TBXMAX - PITCH*idx)/10)')'
	`Pad[X  -TBYMAX  X  -TBYMIN  PADWIDTHMIL100 PADCLEAR PADMASK "CURPIN" "CURPIN" 0x00000900]'
	`define(`CURPIN', incr(CURPIN))'
	`define(`idx',incr(idx))'
)

# Exposed paddle (if this is an exposed paddle part)
ifelse(1, eval(EPSIZE>0), 
# Pad(X1, Y1, X2, Y3, width, clearance,
#     soldermask, "pin name", "pin number", flags)
	Pad[0 0 0 0 EPSIZE 0 EPMASK "CURPIN" "CURPIN" 0x00000100]
	define(`CURPIN', incr(CURPIN))
)

# Silk screen around package
ElementLine[ SILKX  SILKY  SILKX -SILKY SILKW]
ElementLine[ SILKX -SILKY -SILKX -SILKY SILKW]
ElementLine[-SILKX -SILKY -SILKX  SILKY SILKW]
ElementLine[-SILKX  SILKY  SILKX  SILKY SILKW]

# Pin 1 indicator
ElementLine[-SILKX -SILKY eval(-SILKX - 1500) eval(-SILKY - 1500) SILKW]

)
T22,38
Description_geda_SO18W`Small outline package, wide (300mil)'
T25,35
Description_geda_MTA100_2`MTA Connector, (0.100 inch pitch)'
T21,28
Description_74182_dil`look-ahead carry generator'
T21,24
Description_74145_dil`BCD to decimal decoder'
T16,71
PinList_7424_dil`1A',`1B',`1Y',`2A',`2B',`2Y',`Gnd',`3Y',`3A',`3B',`4Y',`4A',`4B',`Vcc'
T12,42
PKG_TQFN12_4PKG_QFN_80(`$1',`$2',`$3', `12', `4', `0')
T29,15
Description_smd_resistor_1206`chip_resistor'
T25,35
Description_geda_MTA100_3`MTA Connector, (0.100 inch pitch)'
T23,10
Description_geda_HC51UH`Crystals'
T21,19
Description_74374_dil`8 edge FF 3-state'
T17,71
PinList_74280_dil`G',`H',`NC',`I',`SumEven',`SumOdd',`Gnd',`A',`B',`C',`D',`E',`F',`Vcc'
T17,74
PinList_74243_dil`/Gab',`NC',`A1',`A2',`A3',`A4',`Gnd',`B4',`B3',`B2',`B1',`NC',`Gba',`Vcc'
T23,2
Param2_smd_resistor_60330
T16,3
Param2_74285_dil300
T16,3
Param2_74248_dil300
T15,2
Param1_L297_dil20
T16,2
Param1_74160_dil16
T16,2
Param1_74123_dil16
T9,37
PKG_TO126PKG_TO126LAY(       `$1', `$2', `$3')
T15,3643
PKG_GENERIC_QFPdefine(`QUARTER',  `ifelse(0,`$5',`eval($4 * 3 / 10)',`eval($4 / 4)')')
        define(`QUARTER2', `eval(`$4' / 2 - QUARTER)')
	define(`OFFSET', `eval((QUARTER +1) /2)')
	define(`WIDTH', `ifelse(0,`$5',`78740',`eval(`$5'*1000000/254)')')
	define(`WIDTH2',`ifelse(0,`$5',`55118',`eval(`$5'*1000000/254)')')
	define(`PITCH',`eval(`$6'*100000/254)')
	define(`PINREACH',  `eval(((QUARTER-1)*PITCH/10)/2)')
	define(`PINREACH2', `eval(((QUARTER2-1)*PITCH/10)/2)')
	define(`HALFWIDTH', `eval(WIDTH / 2)')
	define(`HALFWIDTH2', `eval(WIDTH2 / 2)')
	define(`NUMPINS', `$4')
	define(`PADTHICKNESS',`eval(`$7'*10000/254)')
	define(`PADMINOFFSET',`eval(`$8'*100+PADTHICKNESS/2)')
	define(`PADMAXOFFSET',`eval(`$9'*100-PADTHICKNESS/2)')
	define(`PIN1INMIDDLE',`$10')
	define(`CUTSIZE',`3300')
	define(`EDGECUT',`ifelse(1,eval(PIN1INMIDDLE),`HALFWIDTH',`eval(HALFWIDTH-CUTSIZE)')')
	define(`EDGECUT2',`ifelse(1,eval(PIN1INMIDDLE),`HALFWIDTH2',`eval(HALFWIDTH2-CUTSIZE)')')
	define(`STARTPIN',`ifelse(1,eval(PIN1INMIDDLE),`eval(((QUARTER+1)/2)+1)',`1')')
	define(`CIRCLECENTRE',`eval(-EDGECUT)')
	define(`CIRCLECENTRE2',`ifelse(1,eval(PIN1INMIDDLE),`0',`eval(-EDGECUT2)')')
	define(`PADMASK', `eval(2*150 + PADTHICKNESS)')
	define(`PADCLEAR', `3000')
	define(`EPCLEAR', `500')
	define(`EPSIZE', `eval(`$11'*10000/254)')
	define(`EPMASK', `eval(2*200 + EPSIZE)')
	define(`SILKW', `800')
	define(`SLX', `eval(-HALFWIDTH2 + SILKW/2)')
	define(`SRX', `eval( HALFWIDTH2 - SILKW/2)')
	define(`SUY', `eval(-HALFWIDTH  + SILKW/2)')
	define(`SLY', `eval( HALFWIDTH  - SILKW/2)')


Element[0x00000000 "$1" "`$2'" "$3" 0 0 -2000 -6000 0 100 0x00000000]
(

	# left row
define(`QFPPIN',`STARTPIN')
define(`idx',0)
define(`PADIN',`eval(-HALFWIDTH2-PADMINOFFSET)')
define(`PADOUT',`eval(-HALFWIDTH2-PADMAXOFFSET)')
forloop(`i', 1, QUARTER,
	`define(`Y', `eval(-PINREACH+((PITCH*idx)/10))')'
	`Pad[PADOUT  Y  PADIN  Y  PADTHICKNESS  PADCLEAR PADMASK "QFPPIN" "QFPPIN"  0x00000100]'
	`define(`QFPPIN', incr(QFPPIN))'
	`define(`idx',incr(idx))'
)

	# bottom row
define(`idx',0)
define(`PADIN',`eval(HALFWIDTH+PADMINOFFSET)')
define(`PADOUT',`eval(HALFWIDTH+PADMAXOFFSET)')
forloop(`i', 1, QUARTER2,
	`define(`X', `eval(-PINREACH2+((PITCH*idx)/10))')'
	`Pad[X PADOUT  X  PADIN  PADTHICKNESS  PADCLEAR PADMASK "QFPPIN" "QFPPIN"  0x00000900]'
	`define(`QFPPIN', incr(QFPPIN))'
	`define(`idx',incr(idx))'
)

	# right row
define(`idx',0)
define(`PADIN',`eval(HALFWIDTH2+PADMINOFFSET)')
define(`PADOUT',`eval(HALFWIDTH2+PADMAXOFFSET)')
forloop(`i', 1, QUARTER,
	`define(`Y', `eval(PINREACH-((PITCH*idx)/10))')'
	`Pad[PADOUT  Y  PADIN  Y  PADTHICKNESS  PADCLEAR PADMASK "QFPPIN" "QFPPIN"  0x00000100]'
	`define(`QFPPIN', incr(QFPPIN))'
	`define(`idx',incr(idx))'
)

	# top row
define(`idx',0)
define(`PADIN',`eval(-HALFWIDTH-PADMINOFFSET)')
define(`PADOUT',`eval(-HALFWIDTH-PADMAXOFFSET)')
forloop(`i', 1, QUARTER2,
	`define(`X',`eval(PINREACH2-((PITCH*idx)/10))')'
	`Pad[X PADOUT  X  PADIN  PADTHICKNESS  PADCLEAR PADMASK "QFPPIN" "QFPPIN"  0x00000900]'
	`define(`QFPPIN', incr(QFPPIN))'
	`ifelse(eval(QFPPIN > NUMPINS), 1, `define(`QFPPIN', 1)')'
	`define(`idx',incr(idx))'
)

	# exposed paddle (if this is an exposed paddle part) 
ifelse(1, eval(EPSIZE>0), 
	`Pad[0 0 0 0 EPSIZE EPCLEAR EPMASK "QFPPIN" "QFPPIN" 0x00000100]'
	`define(`QFPPIN', incr(QFPPIN))'
)

	# top
	ElementLine[-EDGECUT2 SUY SRX SUY SILKW]
	# right
	ElementLine[SRX SUY SRX SLY SILKW]
	# bottom
	ElementLine[SRX SLY SLX SLY SILKW]
	# left
	ElementLine[SLX SLY SLX -EDGECUT SILKW]
	# angled corner
	ElementLine[SLX -EDGECUT -EDGECUT2 SUY SILKW]

	ElementArc[CIRCLECENTRE2 CIRCLECENTRE 1000 1000 0 360 SILKW]

)
T19,41
PKG_CANDK_ES01MSABEPKG_CANDK_ES_SMT_SWITCH(`$1', `$2', `$3')
T25,35
Description_geda_MTA100_4`MTA Connector, (0.100 inch pitch)'
T20,17
Description_7442_dil`4-to-10 decoder'
T21,50
Description_74196_dil`presettable decade counter/latch (divide by 2/5)'
T21,20
Description_74159_dil`4-to-16 decoder OC'
T20,16
Description_7405_dil`6 inverters OC'
T20,311
PinList_MC68008_plcc`A2',`A3',`A4',`A5',`A6',`A7',`A8',`A9',`A10',`A11',`A12',`A13',`A21',`A14',`Vcc',`A15',`Gnd',`A16',`A17',`A18',`A19',`A20',`D7',`D6',`D5',`D4',`D3',`D2',`D1',`D0',`/As',`/Ds',`R/W',`/Dtack',`/Bg',`/BgAck',`/Br',`Clk',`Gnd',`/Halt',`/Reset',`E',`/Vpa',`/Berr',`/Ipl1',`/Ipl2',`/Ipl0',`Fc2',`Fc1',`Fc0',`A0',`A1'
T16,91
PinList_7475_dil`/1Q',`1D',`2D',`3C-4C',`Vcc',`3D',`4D',`/4Q',`4Q',`3Q',`/3Q',`Gnd',`1C-2C',`/2Q',`2Q',`1Q'
T16,71
PinList_7438_dil`1A',`1B',`1Y',`2A',`2B',`2Y',`Gnd',`3Y',`3A',`3B',`4Y',`4A',`4B',`Vcc'
T20,3
Param1_MOLEX_025_120120
T16,2
Param1_74352_dil16
T15,2
Param1_7400_dil14
T10,46
PKG_SOT23DPKG_SMT_TRANSISTOR2( `$1', `$2', `$3', 20, 21)
T24,53
Description_geda_TSSOP14`Thin shrink small outline package, standard (4.4mm)'
T25,35
Description_geda_MTA100_5`MTA Connector, (0.100 inch pitch)'
T23,62
Description_geda_ACY800`Axial non-polar component (typically resistor or capacitor),'
T23,3
Description_MC68881_pgaFPU
T27,24
Description_DIN41_651_20layDIN41.651 laying 20 pins
T17,105
PinList_74627_dil`1Osc-Vcc',`1FC',`1CX1',`1CX2',`1Osc-Gnd',`1Y',`Gnd',`2Y',`2Osc-Gnd',`2CX2',`2CX1',`2FC',`2Osc-Vcc',`Vcc'
T17,82
PinList_74294_dil`B',`A',`Tp',`Clk1',`Clk2',`NC',`Q',`Gnd',`NC',`NC',`/Clr',`NC',`NC',`D',`C',`Vcc'
T17,83
PinList_74257_dil`/A-B',`1A',`1B',`1Y',`2A',`2B',`2Y',`Gnd',`3Y',`3B',`3A',`4Y',`4B',`4A',`/G',`Vcc'
T16,3
Param2_74669_dil300
T16,3
Param2_74299_dil300
T16,2
Param1_74174_dil16
T16,2
Param1_74137_dil16
T13,74
PKG_CAPC3225LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 260,  110, 280, 400, 290,  90, 260)
T32,12
Description_generic_smd_chip_402smd chip 402
T25,35
Description_geda_MTA100_6`MTA Connector, (0.100 inch pitch)'
T20,30
Description_7493_dil`4bit binary counter w. clear'
T20,28
Description_7419_dil`6 inverter Schmitt trigger'
T17,93
PinList_74449_dil`/GBA',`A1',`Dir2',`A2',`A3',`Dir3',`A4',`Gnd',`B4',`Dir4',`B3',`B2',`Dir1',`B1',`/GAB',`Vcc'
T14,15
PinList_2N3055`E',`B',`C',`C'
T16,2
Param1_74366_dil16
T15,2
Param1_7414_dil14
T10,38
PKG_RCY700PKG_RADIAL_CAN(`$1', `$2', `$3', 1400)
T13,74
PKG_CAPC3225MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 280,  150, 320, 560, 380, 100, 280)
T20,27
Description_uA79L15C-15V 0.1A voltage regulator
T24,53
Description_geda_TSSOP16`Thin shrink small outline package, standard (4.4mm)'
T25,35
Description_geda_MTA100_7`MTA Connector, (0.100 inch pitch)'
T26,28
Description_geda_LQFP64_10`Square Quad-side flat pack'
T25,6
Description_PEB2086N_plccISAC-S
T20,3
Param1_MOLEX_025_160160
T16,2
Param1_74595_dil16
T10,46
PKG_SOD110PKG_SMT_DIODE(       `$1', `$2', `$3', 21, 14)
T13,74
PKG_CAPC3225NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 270,  130, 300, 470, 320, 100, 270)
T25,35
Description_geda_MTA100_8`MTA Connector, (0.100 inch pitch)'
T15,2
Param1_7465_dil14
T15,2
Param1_7428_dil14
T9,46
PKG_SOT89PKG_SMT_TRANSISTOR4X(`$1', `$2', `$3', 31, 31)
T13,74
PKG_RESC4532LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 330,  140, 380, 540, 370, 160, 330)
T14,42
PKG_LQFP100_10PKG_LQFP_40(`$1',`$2',`$3',`100',`10',`0')
T28,39
Description_geda_TQFN56_8_EP`Square Quad Flat Nolead (QFN) package'
T27,39
Description_geda_QFN12_4_EP`Square Quad Flat Nolead (QFN) package'
T25,35
Description_geda_MTA100_9`MTA Connector, (0.100 inch pitch)'
T24,2
Param1_DIN41_651_34stand34
T13,74
PKG_RESC4532MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 350,  180, 420, 700, 450, 160, 350)
T33,13
Description_generic_smd_chip_1210smd chip 1210
T24,49
Description_geda_TSSOP56`Thin shrink small outline package, wide (6.1mm)'
T27,37
Description_geda_HEADER36_1`Header connector, DIP pin numbering'
T27,37
Description_cts_CTS_743C_04`CTS 743C Series Chip Resistor Array'
T21,38
Description_TL075_dilQuad JFET input operational amplifiers
T20,2
Param1_generic20_dil20
T12,55
PKG_TSSOP48NCOMMON_SMT_DIL_MM(`$1',`$2',`$3', 48, 25, 150, 40, 440)
T13,62
PKG_SOJ20_450COMMON_SMT_DIL_MIL(`$1',`$2',`$3',20,23622,86614,50000,346457)
T13,74
PKG_RESC4532NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 340,  160, 400, 610, 390, 160, 340)
T26,28
Description_geda_LQFP64_14`Square Quad-side flat pack'
T27,42
Description_geda_HEADER36_2`Header connector, ribbon cable numbering'
T20,2
Param2_smd_diode_80550
T16,3
Param2_L297A_dil300
T24,3
Param1_generic_diode_300300
T13,62
PKG_SOJ34_450COMMON_SMT_DIL_MIL(`$1',`$2',`$3',34,23622,86614,50000,346457)
T14,42
PKG_LQFP100_14PKG_LQFP_50(`$1',`$2',`$3',`100',`14',`0')
T11,37
PKG_ACY1600PKG_AXIAL_LAY(`$1', `$2', `$3', 1600)
T22,24
Description_geda_SOT23`SMT transistor, 3 pins'
T23,34
Description_geda_MSOP10`Mini small outline package, .5mm'
T15,21
PinList_uA7952C`Com',`In',`Out',`In'
T15,21
PinList_uA7915C`Com',`In',`Out',`In'
T16,3
Param2_74122_dil300
T15,3
Param2_2732_dil600
T20,2
Param1_generic28_zip28
T39,50
Description_johnstech_JOHNSTECH_QFN24_4`Johnstech QFN Socket, Series 1MM (724812-724839)'
T27,37
Description_cts_CTS_743C_08`CTS 743C Series Chip Resistor Array'
T17,8
Description_BS240P-MOSFET
T21,36
Description_74440_dil`4 tridirectional bus tranceiver OC'
T20,20
Description_6551_dilACIA for 65xx series
T19,2
Param1_MOLEX_025_3030
T14,41
PKG_TQFP100_12PKG_QFP_40(`$1',`$2',`$3',`100',`12',`0')
T11,42
PKG_SSOP64WPKG_SSO(  `$1', `$2', `$3', 64, 545, 3150)
T10,72
PKG_QFP_40PKG_GENERIC_QFP(`$1',`$2',`$3',`$4',`$5', `40',`25',`20', `80',`0',`$6')
T11,44
PKG_EIA6032PKG_SMT_2PAD_EIA(  `$1', `$2', `$3', 60, 32)
T10,36
PKG_ACY100PKG_AXIAL_LAY(`$1', `$2', `$3', 100)
T22,24
Description_geda_SOT25`SMT transistor, 5 pins'
T27,37
Description_geda_HEADER40_1`Header connector, DIP pin numbering'
T16,21
PinList_uA79M20C`Com',`In',`Out',`In'
T17,3
Param2_BT484_plcc150
T16,3
Param2_74580_dil300
T16,3
Param2_74173_dil300
T16,3
Param2_74136_dil300
T39,17
Description_generic_capacitor_axial_800`capacitor_axial'
T22,24
Description_geda_SOT26`SMT transistor, 6 pins'
T21,59
Description_geda_SME3`Surface mount electrolytic capacitor, number is dia in mm'
T27,42
Description_geda_HEADER40_2`Header connector, ribbon cable numbering'
T18,25
Description_2N3055high-power NPN transistor
F11,11
__program____program__
T17,124
PinList_74323_dil`S0',`/G1',`/G2',`G-Qg',`E-Qe',`C-Qc',`A-Qa',`Qa+',`/Clr',`Gnd',`SR',`Clk',`B-Qb',`D-Qd',`F-Qf',`H-Qh',`Qh+',`SL',`S1',`Vcc'
T15,3
Param2_7440_dil300
T16,3
Param2_74365_dil300
T15,3
Param2_7403_dil300
T16,2
Param1_74240_dil20
T15,2
Param1_6116_dil24
T14,41
PKG_TQFP100_14PKG_QFP_50(`$1',`$2',`$3',`100',`14',`0')
T13,62
PKG_SOJ18_400COMMON_SMT_DIL_MIL(`$1',`$2',`$3',18,23622,86614,50000,291339)
T11,38
PKG_RCY1000PKG_RADIAL_CAN(`$1', `$2', `$3', 2000)
T21,59
Description_geda_SME4`Surface mount electrolytic capacitor, number is dia in mm'
T24,28
Description_MOLEX_025_40Molex .025 pitch 40 pin plug
T21,47
Description_74683_dil`8bit magnitute comperator OC w. input pull-up'
T21,35
Description_74646_dil`8 bus tranceiver/register 3-state'
T21,11
Description_74276_dil`4 J-/K FF'
T17,95
PinList_74182_dil`/G1',`/P1',`/G0',`/P0',`/G3',`/P3',`/P',`Gnd',`Cn+Z',`/G',`Cn+Y',`Cn+X',`Cn',`/G2',`/P2',`Vcc'
T17,67
PinList_74145_dil`0',`1',`2',`3',`4',`5',`6',`Gnd',`7',`8',`9',`D',`C',`B',`A',`Vcc'
T16,3
Param2_74594_dil300
T19,2
Param1_MOLEX_025_7070
T10,72
PKG_QFP_80PKG_GENERIC_QFP(`$1',`$2',`$3',`$4',`$5', `80',`40',`20', `80',`0',`$6')
T14,39
PKG_HEADER16_1PKG_CONNECTOR_DIL(`$1', `$2', `$3',  8)
T21,12
Description_geda_TO39`Transistor'
T21,59
Description_geda_SME5`Surface mount electrolytic capacitor, number is dia in mm'
T25,29
Description_MOLEX_025_120Molex .025 pitch 120 pin plug
T27,24
Description_DIN41_651_18layDIN41.651 laying 18 pins
T21,55
Description_74468_dil`8 inverting buffer 3-state w. seperate enable signals'
T16,21
PinList_uA79M24C`Com',`In',`Out',`In'
T24,13
PinList_PCI5V_MIN_HEIGHTPinList_PCI5V
T17,101
PinList_74374_dil`/OC',`1Q',`1D',`2D',`2Q',`3Q',`3D',`4D',`4Q',`Gnd',`C',`5Q',`5D',`6D',`6Q',`7Q',`7D',`8D',`8Q',`Vcc'
T15,3
Param2_7491_dil300
T15,3
Param2_7454_dil300
T16,3
Param2_74379_dil300
T22,1
Param1_generic8smd_dil8
T16,2
Param1_74624_dil14
T9,42
PKG_MSOP8PKG_SSO(   `$1', `$2', `$3', 8, 199, 2559)
T14,38
PKG_HEADER16_2PKG_CONNECTOR(`$1', `$2', `$3',  8, 2)
T21,59
Description_geda_SME6`Surface mount electrolytic capacitor, number is dia in mm'
T23,45
Description_geda_DIP20M`Dual in-line package, medium wide (400 mil)'
T21,57
Description_74697_dil`4bit synchronous binary counter w. direct clear 3-state'
T17,76
PinList_74196_dil`/Load',`Qc',`C',`A',`Qa',`Clk2',`Gnd',`Clk1',`Qb',`B',`D',`Qd',`/Clr',`Vcc'
T17,109
PinList_74159_dil`0',`1',`2',`3',`4',`5',`6',`7',`8',`9',`10',`Gnd',`11',`12',`13',`14',`15',`/G1',`/G2',`D',`C',`B',`A',`Vcc'
T16,2
Param1_74446_dil16
T10,46
PKG_SOT143PKG_SMT_TRANSISTOR4( `$1', `$2', `$3', 19, 21)
T10,341
PKG_R_AJ_HElement(0x00 "$1" "`$2'" "$3" 100 325 0 100 0x00)
(
        PIN(50, 450, 80, 30, 1)
        PIN(250, 450, 80, 30, 3)
        PIN(150, 50, 80, 30, 2)
	ElementLine(0 150 0 500 20)
	ElementLine(0 500 300 500 20)
	ElementLine(300 500 300 150 20)
	ElementArc(150 150 100 100 0 360 10)
	ElementArc(150 150 150 150 0 -180 20)
        Mark(50 450)
)
T11,40
PKG_RCY150PPKG_RADIAL_CAN(`$1', `$2', `$3', 300, 1)
T39,26
Description_smd_capacitor_polarized_603`chip_capacitor_polarized'
T21,24
Description_geda_SIP1`Single in line package'
T25,28
Description_geda_LQFP24_4`Square Quad-side flat pack'
T24,28
Description_MOLEX_025_80Molex .025 pitch 80 pin plug
T20,17
Description_4016_dil`Static RAM 2Kx8'
T15,3
Param2_7468_dil300
T26,3
Param1_smd_EIA_C_capacitor240
T16,2
Param1_74638_dil20
T21,59
Description_geda_SME8`Surface mount electrolytic capacitor, number is dia in mm'
T21,24
Description_geda_SIP2`Single in line package'
T25,29
Description_MOLEX_025_160Molex .025 pitch 160 pin plug
T21,495
PinList_MC68HC11_plcc`Vss',`MdB_StB',`MdA_/LIR',`StA_/AS',`E',`StB_R/W',`EXTAL',`XTAL',`PC0_AD0',`PC1_AD1',`PC2_AD2',`PC3_AD3',`PC4_AD4',`PC5_AD5',`PC6_AD6',`PC7_AD7',`/RESET',`/XIRQ',`/IRQ',`PD0_RxD',`PD1_Txd',`PD2_MISO',`PD3_MOSI',`PD4_SCK',`PD5_/SS',`Vdd',`PA7_OCAI',`PA6_OC2',`PA5_OC3',`PA4_OC4',`PA3_OCIC',`PA2_IC1',`PA1_IC2',`PA0_IC3',`PB7_A15',`PB6_A14',`PB5_A13',`PB4_A12',`PB3_A11',`PB2_A10',`PB1_A9',`PB0_A8',`PE0_AN0',`PE4_AN4',`PE1_AN1',`PE5_AN5',`PE2_AN2',`PE6_AN6',`PE3_AN3',`PE7_AN7',`VRef_l',`VRef_h'
T20,2
Param1_AT90S8535_dil40
T21,24
Description_geda_SIP3`Single in line package'
T27,39
Description_geda_QFN20_4_EP`Square Quad Flat Nolead (QFN) package'
T23,45
Description_geda_DIP24M`Dual in-line package, medium wide (400 mil)'
T29,26
Description_DIN41_651_16standDIN41.651 standing 16 pins
T13,21
PinList_LM337`Adj',`In',`Out',`In'
T16,2
Param1_74689_dil20
T15,45
PKG_TQFN56_8_EPPKG_QFN_50S(`$1',`$2',`$3', `56', `8', `665')
T13,62
PKG_SOJ22_350COMMON_SMT_DIL_MIL(`$1',`$2',`$3',22,23622,86614,50000,244094)
T14,44
PKG_QFN44_7_EPPKG_QFN_50(`$1',`$2',`$3', `44', `7', `470')
T14,39
PKG_HEADER20_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 10)
T13,74
PKG_CAPC4564LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 670,  140, 380, 540, 700, 160, 670)
T21,25
Description_geda_ZIP9`Zig-zag in-line package'
T21,24
Description_geda_SIP4`Single in line package'
T24,33
Description_geda_JUMPER1`Jumper, i.e. single row headers'
T23,40
Description_geda_DIP24N`Dual in-line package, narrow (300 mil)'
T22,18
Description_BT484_plcccolor lookup table
T17,3
Param2_MAX222_dil300
T12,42
PKG_TQFN36_6PKG_QFN_50(`$1',`$2',`$3', `36', `6', `0')
T14,38
PKG_HEADER20_2PKG_CONNECTOR(`$1', `$2', `$3', 10, 2)
T13,74
PKG_CAPC4564MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 690,  180, 420, 700, 790, 160, 690)
T25,9
Description_generic20_dil`generic'
T20,38
Description_geda_US8`Ultra (Micro?) Small outline package'
T21,24
Description_geda_SIP5`Single in line package'
T24,33
Description_geda_JUMPER2`Jumper, i.e. single row headers'
T13,62
PKG_SOJ36_350COMMON_SMT_DIL_MIL(`$1',`$2',`$3',36,23622,86614,50000,244094)
T13,74
PKG_CAPC4564NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 680,  160, 400, 610, 730, 160, 680)
T20,27
Description_uA78M15C+15V 0.5A voltage regulator
T21,24
Description_geda_SIP6`Single in line package'
T24,47
Description_geda_PLCC52X`Plastic leadless chip carrier with pin socket'
T24,33
Description_geda_JUMPER3`Jumper, i.e. single row headers'
T23,45
Description_geda_DIP28M`Dual in-line package, medium wide (400 mil)'
T21,10
Description_43256_dilSRAM 32Kx8
T17,97
PinList_TL075_dil`In1-',`In1+',`Out1',`Out2',`In2+',`In2-',`Vcc-',`In3-',`In3+',`Out3',`Vcc+',`Out4',`In4+',`In4-'
T17,3
Param2_MAX680_dil300
T12,43
PKG_QFN68_10PKG_QFN_50(`$1',`$2',`$3', `68', `10', `0')
T10,37
PKG_ALF500PKG_DIODE_LAY(`$1', `$2', `$3',  500)
T21,24
Description_geda_SIP7`Single in line package'
T23,64
Description_geda_RCY900`Bottom lead non-polar circular component (typically capacitor)'
T24,33
Description_geda_JUMPER4`Jumper, i.e. single row headers'
T23,40
Description_geda_DIP28N`Dual in-line package, narrow (300 mil)'
T23,3
Description_MC68000_dilCPU
T20,121
PinList_PIC16C84_dil`RA2',`RA3',`RA4/T0CKI',`/MCLR',`VSS',`RB0/INT',`RB1',`RB2',`RB3',`RB4',`RB5',`RB6',`RB7',`VDD',`OSC2',`OSC1',`RA0',`RA1'
T16,1
Param1_MTA_156_22
T10,153
PKG_SM0805Element(0x00 "$1" "`$2'" "$3" 0 100 0 100 0x00)
(
	Pad(100  100  100  100 50 "1" 0x00000100)
	Pad(100  180  100  180 50 "2" 0x00000100)

	Mark(100 100)
)
T13,74
PKG_RESC3225LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 260,  110, 280, 400, 290,  90, 260)
T9,34
PKG_DIP14PKG_N(`$1', `$2', `$3',  14,  300)
T25,9
Description_generic28_zip`generic'
T21,24
Description_geda_SIP8`Single in line package'
T24,33
Description_geda_JUMPER5`Jumper, i.e. single row headers'
T24,12
Description_SMA_verticalvertical SMA
T21,43
Description_74520_dil`8bit identity comperator w. input pull-up'
T21,18
Description_74150_dil`1-of-16 selector'
T21,24
Description_74113_dil`2 JK edge FF w. preset'
T10,37
PKG_TO220SPKG_TO220LAY_WIDE(  `$1', `$2', `$3')
T13,74
PKG_RESC3225MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 280,  150, 320, 560, 380, 100, 280)
T13,33
PKG_MTA100_10PKG_MTA_100(`$1', `$2', `$3', 10)
T21,24
Description_geda_SIP9`Single in line package'
T24,33
Description_geda_JUMPER6`Jumper, i.e. single row headers'
T20,12
Description_2716_dil`EPROM 2Kx8'
T16,22
PinList_uA78M06C`In',`Com',`Out',`Com'
T18,58
PinList_TLC271_dil`OfsN1',`In-',`In+',`Gnd',`OfsN2',`Out',`Vdd',`BiasSelect'
T16,3
Param2_74623_dil300
T16,3
Param2_74290_dil300
T16,3
Param2_74253_dil300
T12,43
PKG_TQFN40_6PKG_QFN_50S(`$1',`$2',`$3', `40', `6', `0')
T13,74
PKG_RESC3225NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 270,  130, 300, 470, 320, 100, 270)
T13,33
PKG_MTA100_11PKG_MTA_100(`$1', `$2', `$3', 11)
T9,34
PKG_DIP16PKG_N(`$1', `$2', `$3',  16,  300)
T29,9
Description_generic28smdw_dil`generic'
T24,39
Description_geda_QFN12_4`Square Quad Flat Nolead (QFN) package'
T24,33
Description_geda_JUMPER7`Jumper, i.e. single row headers'
T21,34
Description_74164_dil`8bit parallel-out shift register'
T20,15
Description_7410_dil`3 triple-NAND'
T17,105
PinList_74440_dil`/CS',`B1',`C1',`C2',`B2',`B3',`C3',`C4',`B4',`Gnd',`S0',`S1',`A4',`A3',`A2',`A1',`/GA',`/GB',`/GC',`Vcc'
T16,71
PinList_7406_dil`1A',`1Y',`2A',`2Y',`3A',`3Y',`Gnd',`4Y',`4A',`5Y',`5A',`6Y',`6A',`Vcc'
T14,1
Param1_SUBD_9F9
T16,2
Param1_74320_dil16
T16,45
PKG_TQFN68_10_EPPKG_QFN_50(`$1',`$2',`$3', `68', `10', `770')
T13,41
PKG_QFP144_28PKG_QFP_65(`$1',`$2',`$3',`144',`28',`0')
T13,33
PKG_MTA100_12PKG_MTA_100(`$1', `$2', `$3', 12)
T24,33
Description_geda_JUMPER8`Jumper, i.e. single row headers'
T25,46
Description_geda_ACY1500P`Axial polar component (typically capacitor),'
T21,50
Description_74393_dil`2 4bit binary counter w. individual clocks/clear'
T21,66
Description_74356_dil`8-to-1 data selector/multiplexor/register edge-triggered 3-state'
T16,3
Param2_74674_dil300
T16,3
Param2_74637_dil300
T13,33
PKG_MTA100_13PKG_MTA_100(`$1', `$2', `$3', 13)
T9,34
PKG_DIP18PKG_N(`$1', `$2', `$3',  18,  300)
T42,32
Description_minicircuits_MINICIRCUITS_KK81`Mini-Circuits KK Style Package'
T24,33
Description_geda_JUMPER9`Jumper, i.e. single row headers'
T22,40
Description_MAX222_dilhigh-speed dual RS232 driver w. shutdown
T20,29
Description_7424_dil`4 dual-NAND Schmitt trigger'
T21,37
Description_74178_dil`4bit parallel-access shift register'
F7,7
mkstempmkstemp
T16,46
PinList_7457_dil`ClkB',`Vcc',`Qa',`Gnd',`ClkA',`Clr',`Qb',`Qc'
T10,37
PKG_TO220WPKG_TO220STAND(     `$1', `$2', `$3')
T13,33
PKG_MTA100_14PKG_MTA_100(`$1', `$2', `$3', 14)
T25,28
Description_geda_QFP64_14`Square Quad-side flat pack'
T25,10
Description_geda_HC49U_3H`Crystals'
T17,105
PinList_74683_dil`/P>Q',`P0',`Q0',`P1',`Q1',`P2',`Q2',`P3',`Q3',`Gnd',`P4',`Q4',`P5',`Q5',`P6',`Q6',`P7',`Q7',`/P=Q',`Vcc'
T17,126
PinList_74646_dil`CAB',`SAB',`DIR',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`Gnd',`B8',`B7',`B6',`B5',`B4',`B3',`B2',`B1',`/G',`SBA',`CBA',`Vcc'
T17,117
PinList_74276_dil`/Clr',`1J',`1Clk',`/1K',`1Q',`2Q',`/2K',`2Clk',`2J',`Gnd',`/Pre',`3J',`3Clk',`/3K',`3Q',`4Q',`/4K',`4Clk',`4J',`Vcc'
T16,3
Param2_74688_dil300
T17,1
Param1_TLC271_dil8
T16,2
Param1_74193_dil16
T16,2
Param1_74156_dil16
T10,153
PKG_SM1206Element(0x00 "$1" "`$2'" "$3" 0 100 0 100 0x00)
(
	Pad(100  100  100  100 60 "1" 0x00000100)
	Pad(100  230  100  230 60 "2" 0x00000100)

	Mark(100 100)
)
T13,33
PKG_MTA100_15PKG_MTA_100(`$1', `$2', `$3', 15)
T17,49
PKG_DIN41612C64MSPKG_DIN41_612MALE_SMALL(  `$1', `$2', `$3', `ac')
T22,23
Description_MAX680_dil+-10V voltage converter
T20,40
Description_7475_dil`4bit bi-stable latch w. compl. outputs'
T21,40
Description_74599_dil`8bit shift register w. output latch OC'
T20,23
Description_7438_dil`4 dual-NAND buffer OC'
T19,128
PinList_MAX233A_dil`T2in',`T1in',`R1out',`R1in',`T1out',`Gnd',`Vcc',`C1+',`Gnd',`C2-',`C2+',`V-',`C1-',`V+',`C2+',`C2-',`V-',`T2out',`R2in',`R2out'
T17,119
PinList_74468_dil`/1G',`1A1',`1Y1',`1A2',`1Y2',`1A3',`1Y3',`1A4',`1Y4',`Gnd',`2Y1',`2A1',`2Y2',`2A2',`2Y3',`2A3',`2Y4',`2A4',`/2G',`Vcc'
T22,2
Param1_DIN41_651_34lay34
T15,2
Param1_7470_dil14
T16,2
Param1_74385_dil20
T16,2
Param1_74348_dil16
T15,2
Param1_7433_dil14
T10,282
PKG_R_AJ_VElement(0x00 "$1" "`$2'" "$3" 100 45 0 100 0x00)
(
        PIN(50, 50, 80, 30, 1)
        PIN(250, 50, 80, 30, 3)
        PIN(150, 0, 80, 30, 2)
	ElementLine(0 0 0 100 20)
	ElementLine(0 0 300 0 20)
	ElementLine(300 0 300 100 20)
	ElementLine(0 100 300 100 20)
        Mark(50 50)
)
T26,42
Description_geda_SOJ32_400`Small outline J-leaded package (400 mil)'
T27,37
Description_geda_HEADER64_1`Header connector, DIP pin numbering'
T26,37
Description_geda_HEADER2_1`Header connector, DIP pin numbering'
T23,62
Description_geda_ACY300`Axial non-polar component (typically resistor or capacitor),'
T17,115
PinList_74697_dil`U-/D',`CCK',`A',`B',`C',`D',`/ENP',`/CClr',`RCK',`Gnd',`R-/C',`/G',`/Load',`/ENT',`Qd',`Qc',`Qb',`Qa',`/RCO',`Vcc'
T34,3
Param1_generic_capacitor_axial_800800
T27,42
Description_geda_HEADER64_2`Header connector, ribbon cable numbering'
T26,42
Description_geda_HEADER2_2`Header connector, ribbon cable numbering'
T21,39
Description_TL080_dilSingle JFET input operational amplifier
T29,26
Description_DIN41_651_24standDIN41.651 standing 24 pins
T25,33
Description_AT90S8535_dilAVR Enhanced RISC microcontroller
T24,2
Param1_DIN41_651_50stand50
T15,2
Param1_7447_dil16
T16,2
Param1_74399_dil16
T10,37
PKG_RCY200PKG_RADIAL_CAN(`$1', `$2', `$3', 400)
T39,50
Description_johnstech_JOHNSTECH_QFN48_7`Johnstech QFN Socket, Series 1MM (724812-724839)'
T27,28
Description_geda_LQFP128_14`Square Quad-side flat pack'
T14,1
Param1_SUBD_9M9
T28,39
Description_geda_TQFN40_6_EP`Square Quad Flat Nolead (QFN) package'
T14,44
PKG_QFN20_5_EPPKG_QFN_65(`$1',`$2',`$3', `20', `5', `310')
T13,74
PKG_CAPC3216LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 170,  110, 280, 400, 200,  90, 170)
T28,9
Description_generic16smd_dil`generic'
T24,15
Description_RTC62421_dilreal-time clock
T34,2
Param1_smd_capacitor_polarized_60360
T16,1
Param1_TL072_dil8
T11,55
PKG_TSSOP32COMMON_SMT_DIL_MM(`$1',`$2',`$3', 32, 33, 150, 65, 610)
T13,74
PKG_CAPC3216MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 190,  150, 320, 560, 290, 100, 190)
T21,915
PKG_AMPHENOL_ARFX1229define(`PAD_SIZE', `100')
	define(`HOLE_SIZE', `67')
	define(`CPAD_SIZE', `100')
	define(`CHOLE_SIZE', `67')
	define(`PAD_SPACE', `200')
	define(`CENTER', `eval(PAD_SPACE/2)')
	define(`SILK', `70')
	define(`XMIN', `eval(-1*SILK)')
	define(`XMAX', `eval(PAD_SPACE+SILK)')
	define(`YMIN', `eval(-1*SILK)')
	define(`YMAX', `eval(PAD_SPACE+SILK)')
Element(0x00 "$1" "`$2'" "$3" eval(XMIN+20) eval(YMAX+20) 0 100 0x00)
(

	Pin(CENTER     CENTER     CPAD_SIZE  CHOLE_SIZE  "1" 0x01)
 	Pin(0          0          PAD_SIZE   HOLE_SIZE   "2" 0x01)
 	Pin(0          PAD_SPACE  PAD_SIZE   HOLE_SIZE   "3" 0x01)
 	Pin(PAD_SPACE  0          PAD_SIZE   HOLE_SIZE   "4" 0x01)
 	Pin(PAD_SPACE  PAD_SPACE  PAD_SIZE   HOLE_SIZE   "5" 0x01)

	# silk screen
	# ends
	ElementLine(XMIN YMIN XMIN YMAX 10)
	ElementLine(XMAX YMAX XMAX YMIN 10)
	ElementLine(XMIN YMIN XMAX YMIN 10)
	ElementLine(XMAX YMAX XMIN YMAX 10)
	Mark(CENTER CENTER)
)
T38,16
Description_generic_resistor_axial_800`resistor_axial'
T20,2
Param1_generic16_dil16
T19,2
Param1_PIC16C54_dil18
T13,62
PKG_SOJ16_450COMMON_SMT_DIL_MIL(`$1',`$2',`$3',16,23622,86614,50000,346457)
T12,41
PKG_RCY1200PPKG_RADIAL_CAN(`$1', `$2', `$3', 2400, 1)
T13,74
PKG_CAPC3216NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 180,  130, 300, 470, 230, 100, 180)
T27,28
Description_geda_TQFP128_14`Square Quad-side flat pack'
T23,45
Description_geda_SDIP18`Shrink dual in-line package, wide (300 mil)'
T26,38
Description_geda_CAPC4532L`Standard SMT resistor, capacitor etc'
T17,18
Description_BC160bipolar transistor
F6,6
ifelseifelse
T17,149
PinList_43256_dil`A14',`A12',`A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`GND',`D3',`D4',`D5',`D6',`D7',`/CS',`A10',`/OE',`A11',`A9',`A8',`A13',`/WE',`Vcc'
T20,3
Param2_generic18_dil300
T28,9
Description_generic28smd_dil`generic'
T22,38
Description_geda_DIP32`Dual in-line package, wide (600 mil)'
T26,38
Description_geda_CAPC4532M`Standard SMT resistor, capacitor etc'
T24,62
Description_geda_ACY1400`Axial non-polar component (typically resistor or capacitor),'
T24,16
Description_PIC16C71_dilmicro controller
T21,61
Description_74422_dil`retriggerable monostable multivibrator w. internal resistor'
T33,3
Param1_generic_resistor_axial_600600
T14,39
PKG_HEADER44_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 22)
T12,40
PKG_ACY1100PPKG_AXIAL_LAY(`$1', `$2', `$3', 1100, 1)
T11,37
PKG_ACY1100PKG_AXIAL_LAY(`$1', `$2', `$3', 1100)
T23,12
Description_geda_TO126S`Transistor'
T25,28
Description_geda_LQFP48_7`Square Quad-side flat pack'
T26,38
Description_geda_CAPC4532N`Standard SMT resistor, capacitor etc'
T21,38
Description_geda_0402`Standard SMT resistor, capacitor etc'
T21,72
Description_74651_dil`8 inverting bus tranceiver/register 3-state A-output, 3-state B-output'
T21,25
Description_74244_dil`8 buffer/driver 3-state'
T17,105
PinList_74520_dil`/OEN',`P0',`Q0',`P1',`Q1',`P2',`Q2',`P3',`Q3',`Gnd',`P4',`Q4',`P5',`Q5',`P6',`Q6',`P7',`Q7',`/P=Q',`Vcc'
T17,122
PinList_74150_dil`E7',`E6',`E5',`E4',`E3',`E2',`E1',`E0',`/G',`W',`D',`Gnd',`C',`B',`A',`E15',`E14',`E13',`E12',`E11',`E10',`E9',`E8',`Vcc'
T17,83
PinList_74113_dil`1Clk',`1K',`1J',`/1Pre',`1Q',`/1Q',`Gnd',`/2Q',`2Q',`/2Pre',`2J',`2K',`2Clk',`Vcc'
T16,3
Param2_74192_dil300
T16,3
Param2_74155_dil300
T14,45
PKG_QFN16_3_EPPKG_QFN_50S(`$1',`$2',`$3', `16', `3', `150')
T14,38
PKG_HEADER44_2PKG_CONNECTOR(`$1', `$2', `$3', 22, 2)
T21,1382
COMMON_SMT_DUALINLINEdefine(`pinCOUNT', `$4')
	define(`pinS100',  `$6')
	define(`padY',    `$7')
	define(`addTIN',  `eval(padY / 5)')
	define(`maxX',    `eval($5 + 2*addTIN)')
	define(`padX',    `eval($8 + 2*addTIN)')
	define(`maxY',    `eval((pinCOUNT/2 * pinS100) / 100)')
	define(`lowX1',   `eval(padY/2)')
	define(`highX1',  `eval(padX-padY)')
	define(`lowX2',   `eval(maxX - (padX-padY))')
	define(`highX2',  `eval(maxX - padY/2)')
	define(`centerX', `eval(maxX / 2)')
Element(0x00 "$1" "`$2'" "$3" eval(centerX + 20) 50 3 100 0x00)
(
	forloop(`i', 1, eval(pinCOUNT/2),
		`PAD(lowX1, eval((i*pinS100 - pinS100/2)/100),
		    highX1, eval((i*pinS100 - pinS100/2)/100), padY, i)
	')
	forloop(`i', 1, eval(pinCOUNT/2),
		`PAD(lowX2, eval(maxY - (i*pinS100 - pinS100/2)/100),
		    highX2, eval(maxY - (i*pinS100 - pinS100/2)/100), padY, eval(i + pinCOUNT/2))
	')
	define(`smaxX', `eval(maxX+rSILK)')
	define(`smaxY', `eval(maxY+rSILK)')
	define(`rSh', `eval(-rSILK)')
	define(`radW', `eval($5/3)')
	define(`radP', `eval(pinS100/100)')
	define(`rad', `ifelse(1,eval(radW<radP),radW,radP)')
	ElementLine(rSh rSh eval(centerX - rad) rSh rSILK)
	ElementArc(centerX rSh rad rad 0 180 rSILK)
	ElementLine(eval(centerX + rad) rSh smaxX rSh rSILK)
	ElementLine(smaxX rSh smaxX smaxY rSILK)
	ElementLine(smaxX smaxY rSh smaxY rSILK)
	ElementLine(rSh smaxY rSh rSh rSILK)
	Mark(eval(padX/2) eval(pinS100/200))
)
T17,3
Param2_uA747C_dil300
T16,3
Param2_74384_dil300
T15,3
Param2_7422_dil300
T27,2
Param1_DIN41_612_ac64femaleac
T13,74
PKG_RESC4564LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 670,  140, 380, 540, 700, 160, 670)
T11,41
PKG_RCY800PPKG_RADIAL_CAN(`$1', `$2', `$3', 1600, 1)
T20,27
Description_uA79M20C-20V 0.5A voltage regulator
T26,42
Description_geda_SOJ20_300`Small outline J-leaded package (300 mil)'
T24,16
Description_PIC17C42_dilmicro controller
T21,63
Description_74628_dil`voltage controlled oscillator w. enable and complement output'
T21,41
Description_74295_dil`4bit left/right-shift registers 3-state'
T21,56
Description_74258_dil`4 2-to-1 selectors/demultiplexors w. inverting outputs'
T14,16
PinList_MJE340`E',`C',`B', `C'
T17,72
PinList_74164_dil`A',`B',`Qa',`Qb',`Qc',`Qd',`Gnd',`Clk',`/Clr',`Qe',`Qf',`Qg',`Qh',`Vcc'
T26,2
Param2_smd_EIA_C_capacitor90
T16,3
Param2_74169_dil300
T13,74
PKG_RESC4564MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 690,  180, 420, 700, 790, 160, 690)
T11,39
PKG_ACY900PPKG_AXIAL_LAY(`$1', `$2', `$3', 900, 1)
T19,26
Description_uA7908C-8V 1.5A voltage regulator
T39,17
Description_generic_capacitor_axial_300`capacitor_axial'
T22,38
Description_geda_DIP36`Dual in-line package, wide (600 mil)'
T23,32
Description_geda_ALF700`Axial diode (pin 1 is cathode)'
T15,21
PinList_uA7906C`Com',`In',`Out',`In'
T17,87
PinList_74393_dil`1Clk',`1Clr',`1Qa',`1Qb',`1Qc',`1Qd',`Gnd',`2Qd',`2Qc',`2Qb',`2Qa',`2Clr',`2Clk',`Vcc'
T17,103
PinList_74356_dil`D7',`D6',`D5',`D4',`D3',`D2',`D1',`D0',`Clk',`Gnd',`/SC',`S2',`S1',`S0',`/G1',`/G2',`G3',`W',`Y',`Vcc'
T15,3
Param2_7473_dil300
T16,2
Param1_74606_dil28
T16,2
Param1_74273_dil20
T13,74
PKG_RESC4564NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 680,  160, 400, 610, 730, 160, 680)
T23,12
Description_geda_TO126W`Transistor'
T24,43
Description_geda_SSOP48W`Shrink small outline package, 25mil, wide'
T26,42
Description_geda_SOJ34_300`Small outline J-leaded package (300 mil)'
T17,74
PinList_74178_dil`B',`A',`SER',`Qa',`Clk',`Qb',`Gnd',`Qc',`Load',`Qd',`Shift',`D',`C',`Vcc'
T16,2
Param1_74465_dil20
T16,40
PKG_DIN41651_26SPKG_DIN41_651STAND(`$1', `$2', `$3', 26)
T20,27
Description_uA79M24C-24V 0.5A voltage regulator
T10,42
PKG_SSOP20PKG_SSO(  `$1', `$2', `$3', 20, 260, 2559)
T13,140
PKG_SOT23_CEL
	define(`WX', 40)
	define(`WY', 32)
	define(`DX', 95)
	define(`DY', 78)
	define(`OX', 46)
	define(`OY', 114)
	PKG_BASE_SOT(`$1',`$2',`$3')

T16,94
PKG_SMT_2PAD_EIACOMMON_SMT_2PAD_MIL(`$1', `$2', `$3',
		  `eval(($4*1000)/254)', `eval(($5*1000)/254)', 20, 1)
T11,37
PKG_ALF1000PKG_DIODE_LAY(`$1', `$2', `$3', 1000)
T24,60
Description_geda_RCY500P`Bottom lead polar circular component (typically capacitor)'
T21,38
Description_geda_1210`Standard SMT resistor, capacitor etc'
T17,94
PinList_74599_dil`Qb',`Qc',`Qd',`Qe',`Qf',`Qg',`Qh',`Gnd',`Qh+',`/SRClr',`/SRCK',`RCK',`/RClr',`SER',`Qa',`Vcc'
T16,3
Param2_TL071_dil300
T11,46
PKG_SOT323DPKG_SMT_TRANSISTOR2( `$1', `$2', `$3', 13, 18)
T11,40
PKG_RCY100PPKG_RADIAL_CAN(`$1', `$2', `$3', 200, 1)
T13,39
PKG_HEADER8_1PKG_CONNECTOR_DIL(`$1', `$2', `$3',  4)
T23,17
Description_r_025_sil_4`2xR-array 0.25W'
T24,46
Description_geda_ACY600P`Axial polar component (typically capacitor),'
T23,56
Description_MAX233A_dilhigh-speed dual RS232 driver without external components
T16,16
PinList_uA78L12C`In',`Com',`Out'
T18,3
Param1_crystal_300300
T13,38
PKG_HEADER8_2PKG_CONNECTOR(`$1', `$2', `$3',  4, 2)
T11,39
PKG_ACY200PPKG_AXIAL_LAY(`$1', `$2', `$3', 200, 1)
T24,39
Description_geda_QFN36_6`Square Quad Flat Nolead (QFN) package'
T16,21
PinList_uA79M15C`Com',`In',`Out',`In'
T17,55
PinList_TL080_dil`N1Comp',`In-',`In+',`Vcc-',`OfsN2',`Out',`Vcc+',`Comp'
T21,333
PinList_MAB8031AH_dil`P1.0',`P1.1',`P1.2',`P1.3',`P1.4',`P1.5',`P1.6',`P1.7',`RST',`RxD/P3.0',`TxD/P3.1',`/INT0/P3.2',`/INT1/P3.3',`T0/P3.4',`T1/P3.5',`/WR/P3.6',`/RD/P3.7',`Xtal2',`Xtal1',`Uss',`P2.0/A8',`P2.1/A9',`P2.2/A10',`P2.3/A11',`P2.4/A12',`P2.5/A13',`P2.6/A14',`P2.7/A15',`/PSEN',`ALE',`/EA',`AD7',`AD6',`AD5',`AD4',`AD3',`AD2',`AD1',`AD0',`Ucc'
T27,150
PinList_DIN41_612_abc96maleforloop(`i', 1, 32, `define(`P_'i, `a'i)')
	forloop(`i', 1, 32, `define(`P_'eval(i +32), `b'i)')
	forloop(`i', 1, 32, `define(`P_'eval(i +64), `c'i)')
T20,3
Param2_generic44_qfp150
T16,3
Param2_TL085_dil300
T24,2
Param1_smd_capacitor_80580
T15,45
PKG_TQFN40_6_EPPKG_QFN_50S(`$1',`$2',`$3', `40', `6', `410')
T15,4344
PKG_MC68030_pgaElement(0x00 "$1" "`$2'" "$3" 450 650 0 100 0x00)
	(
	Pin(50 50 50 20 "/BR" 0x201)
	Pin(150 50 50 20 "A0" 0x01)
	Pin(250 50 50 20 "A30" 0x01)
	Pin(350 50 50 20 "A28" 0x01)
	Pin(450 50 50 20 "A26" 0x01)
	Pin(550 50 50 20 "A24" 0x01)
	Pin(650 50 50 20 "A23" 0x01)
	Pin(750 50 50 20 "A21" 0x01)
	Pin(850 50 50 20 "A19" 0x01)
	Pin(950 50 50 20 "A17" 0x01)
	Pin(1050 50 50 20 "A15" 0x01)
	Pin(1150 50 50 20 "A13" 0x01)
	Pin(1250 50 50 20 "A10" 0x01)
	Pin(50 150 50 20 "/RMC" 0x01)
	Pin(150 150 50 20 "/BG" 0x01)
	Pin(250 150 50 20 "A31" 0x01)
	Pin(350 150 50 20 "A29" 0x01)
	Pin(450 150 50 20 "A27" 0x01)
	Pin(550 150 50 20 "A25" 0x01)
	Pin(650 150 50 20 "A22" 0x01)
	Pin(750 150 50 20 "A20" 0x01)
	Pin(850 150 50 20 "A16" 0x01)
	Pin(950 150 50 20 "A14" 0x01)
	Pin(1050 150 50 20 "A12" 0x01)
	Pin(1150 150 50 20 "A8" 0x01)
	Pin(1250 150 50 20 "A7" 0x01)
	Pin(50 250 50 20 "FC1" 0x01)
	Pin(150 250 50 20 "/CIOUT" 0x01)
	Pin(250 250 50 20 "/BGACK" 0x01)
	Pin(350 250 50 20 "A1" 0x01)
	Pin(450 250 50 20 "GND" 0x01)
	Pin(550 250 50 20 "VCC" 0x01)
	Pin(650 250 50 20 "GND" 0x01)
	Pin(750 250 50 20 "A18" 0x01)
	Pin(850 250 50 20 "GND" 0x01)
	Pin(950 250 50 20 "A11" 0x01)
	Pin(1050 250 50 20 "A9" 0x01)
	Pin(1150 250 50 20 "A5" 0x01)
	Pin(1250 250 50 20 "A4" 0x01)
	Pin(50 350 50 20 "FC2" 0x01)
	Pin(150 350 50 20 "FC0" 0x01)
	Pin(250 350 50 20 "/OCS" 0x01)
	Pin(350 350 50 20 "VCC" 0x01)
	Pin(450 350 50 20 "NC" 0x01)
	Pin(950 350 50 20 "VCC" 0x01)
	Pin(1050 350 50 20 "A6" 0x01)
	Pin(1150 350 50 20 "A3" 0x01)
	Pin(1250 350 50 20 "A2" 0x01)
	Pin(50 450 50 20 "CLK" 0x01)
	Pin(150 450 50 20 "/AVEC" 0x01)
	Pin(250 450 50 20 "GND" 0x01)
	Pin(1050 450 50 20 "GND" 0x01)
	Pin(1150 450 50 20 "NC" 0x01)
	Pin(1250 450 50 20 "/IPEND" 0x01)
	Pin(50 550 50 20 "/DSACK0" 0x01)
	Pin(150 550 50 20 "VCC" 0x01)
	Pin(250 550 50 20 "GND" 0x01)
	Pin(350 550 50 20 "NC" 0x01)
	Pin(950 550 50 20 "NC" 0x01)
	Pin(1050 550 50 20 "VCC" 0x01)
	Pin(1150 550 50 20 "/RESET" 0x01)
	Pin(1250 550 50 20 "/MMUDIS" 0x01)
	Pin(50 650 50 20 "/STERM" 0x01)
	Pin(150 650 50 20 "/DSACK1" 0x01)
	Pin(250 650 50 20 "GND" 0x01)
	Pin(1050 650 50 20 "GND" 0x01)
	Pin(1150 650 50 20 "/IPL2" 0x01)
	Pin(1250 650 50 20 "/IPL1" 0x01)
	Pin(50 750 50 20 "/BERR" 0x01)
	Pin(150 750 50 20 "/HALT" 0x01)
	Pin(250 750 50 20 "VCC" 0x01)
	Pin(1050 750 50 20 "VCC" 0x01)
	Pin(1150 750 50 20 "/CDIS" 0x01)
	Pin(1250 750 50 20 "/IPL0" 0x01)
	Pin(50 850 50 20 "/CBACK" 0x01)
	Pin(150 850 50 20 "/AS" 0x01)
	Pin(250 850 50 20 "GND" 0x01)
	Pin(1050 850 50 20 "GND" 0x01)
	Pin(1150 850 50 20 "/STATUS" 0x01)
	Pin(1250 850 50 20 "/REFILL" 0x01)
	Pin(50 950 50 20 "/CBREQ" 0x01)
	Pin(150 950 50 20 "/DS" 0x01)
	Pin(250 950 50 20 "SIZ1" 0x01)
	Pin(350 950 50 20 "VCC" 0x01)
	Pin(450 950 50 20 "NC" 0x01)
	Pin(950 950 50 20 "VCC" 0x01)
	Pin(1050 950 50 20 "D5" 0x01)
	Pin(1150 950 50 20 "D1" 0x01)
	Pin(1250 950 50 20 "D0" 0x01)
	Pin(50 1050 50 20 "/CIIN" 0x01)
	Pin(150 1050 50 20 "SIZ0" 0x01)
	Pin(250 1050 50 20 "R/W" 0x01)
	Pin(350 1050 50 20 "D30" 0x01)
	Pin(450 1050 50 20 "GND" 0x01)
	Pin(550 1050 50 20 "VCC" 0x01)
	Pin(650 1050 50 20 "GND" 0x01)
	Pin(750 1050 50 20 "GND" 0x01)
	Pin(850 1050 50 20 "GND" 0x01)
	Pin(950 1050 50 20 "D10" 0x01)
	Pin(1050 1050 50 20 "D7" 0x01)
	Pin(1150 1050 50 20 "D4" 0x01)
	Pin(1250 1050 50 20 "D2" 0x01)
	Pin(50 1150 50 20 "/DBEN" 0x01)
	Pin(150 1150 50 20 "/ECS" 0x01)
	Pin(250 1150 50 20 "D29" 0x01)
	Pin(350 1150 50 20 "D27" 0x01)
	Pin(450 1150 50 20 "D24" 0x01)
	Pin(550 1150 50 20 "D22" 0x01)
	Pin(650 1150 50 20 "D20" 0x01)
	Pin(750 1150 50 20 "D17" 0x01)
	Pin(850 1150 50 20 "D14" 0x01)
	Pin(950 1150 50 20 "D12" 0x01)
	Pin(1050 1150 50 20 "D9" 0x01)
	Pin(1150 1150 50 20 "D6" 0x01)
	Pin(1250 1150 50 20 "D3" 0x01)
	Pin(50 1250 50 20 "D31" 0x01)
	Pin(150 1250 50 20 "D28" 0x01)
	Pin(250 1250 50 20 "D26" 0x01)
	Pin(350 1250 50 20 "D25" 0x01)
	Pin(450 1250 50 20 "D23" 0x01)
	Pin(550 1250 50 20 "D21" 0x01)
	Pin(650 1250 50 20 "D19" 0x01)
	Pin(750 1250 50 20 "D18" 0x01)
	Pin(850 1250 50 20 "D16" 0x01)
	Pin(950 1250 50 20 "D15" 0x01)
	Pin(1050 1250 50 20 "D13" 0x01)
	Pin(1150 1250 50 20 "D11" 0x01)
	Pin(1250 1250 50 20 "D8" 0x01)
	ElementLine(30 0 1300 0 20)
	ElementLine(1300 0 1300 1300 20)
	ElementLine(1300 1300 0 1300 20)
	ElementLine(0 1300 0 30 20)
	ElementLine(0 30 30 0 20)
	ElementLine(0 100 100 100 10)
	ElementLine(100 100 100 0 10)
	Mark(50 50)
	)

T22,43
Description_uA747C_dilDual general purpose operational amplifiers
T23,17
Description_r_025_sil_6`3xR-array 0.25W'
T11,43
PKG_TSOP32APKG_TSOP(  `$1', `$2', `$3', 32, 795, 2000)
T10,42
PKG_SSOP24PKG_SSO(  `$1', `$2', `$3', 24, 323, 2559)
T13,62
PKG_SOJ18_350COMMON_SMT_DIL_MIL(`$1',`$2',`$3',18,23622,86614,50000,244094)
T26,3
Param1_DIN41_612_abc96maleabc
T11,43
PKG_TSOP32BPKG_TSOP(  `$1', `$2', `$3', 32, 559, 2000)
T23,17
Description_r_025_sil_8`4xR-array 0.25W'
T25,9
Description_generic16_dil`generic'
T27,29
Description_geda_MULTIWATT8`Power IC, as in MULTIWATT15'
T16,3
Param2_74221_dil300
T10,1859
PKG_QFP132Element(0x00 "$1" "`$2'" "$3" 250 200 0 150 0x00)
(
	forloop(`i', 1, 17,
		`define(`XPOS', eval(625 -i*25))'
		`PAD(XPOS, 40, XPOS, 90, 15, i)
	')
	forloop(`i', 1, 16,
		`define(`XPOS', eval(1025 -i*25))'
		`PAD(XPOS, 40, XPOS, 90, 15, eval(i+116))
	')
	forloop(`i', 1, 33,
		`define(`YPOS', eval(175 +i*25))'
		`PAD(30, YPOS, 80, YPOS, 15, i)
	')
	forloop(`i', 1, 33,
		`define(`XPOS', eval(175 +i*25))'
		`PAD(XPOS, 1160, XPOS, 1110, 15, eval(i+50))
	')
	forloop(`i', 1, 33,
		`define(`YPOS', eval(1025 -i*25))'
		`PAD(1120, YPOS, 1170, YPOS, 15, i)
	')

	# Markierung pin 1
	ElementArc(600 150 10 10 0 360 5)

	# Nase links oben (PIN 17/18)
	ElementLine( 125 175  75 150 20)
	ElementLine(  75 150  75 125 20)
	ElementLine(  75 125 125  75 20)
	ElementLine( 125  75 150  75 20)
	ElementLine( 150  75 175 125 20)

	# Verbindungsline zur Ecke rechts oben
	ElementLine( 175  125 1025 125 20)

	# Nase rechts oben (PIN 116/117)
	ElementLine(1025 125 1050  75 20)
	ElementLine(1050  75 1075  75 20)
	ElementLine(1075  75 1125 125 20) 
	ElementLine(1125 125 1125 150 20)
	ElementLine(1125 150 1075 175 20)

	# Verbindungsline zur Ecke rechts unten
	ElementLine(1075 175  1075 1025 20)

	# Nase rechts unten (PIN 83/84)
	ElementLine(1075 1025 1125 1050 20)
	ElementLine(1125 1050 1125 1075 20)
	ElementLine(1125 1075 1075 1125 20)
	ElementLine(1075 1125 1050 1125 20)
	ElementLine(1050 1125 1025 1075 20)

	# Verbindungsline zur Ecke links unten 
	ElementLine(1025 1075  175 1075 20)

	# Nase links unten (PIN 50/51)
	ElementLine( 175 1075 150 1125 20)
	ElementLine( 150 1125 125 1125 20)
	ElementLine( 125 1125  75 1075 20)
	ElementLine(  75 1075  75 1050 20)
	ElementLine(  75 1050 125 1025 20)

	# Verbindungsline zur Ecke links oben
	ElementLine( 125 1025 125 175 20)

	# Markierung so anordnen, dass Pinanchse im 25-MIL-Raster zu liegen kommt
	Mark(200 200)
)
T9,139
PKG_NEC19
	define(`WX', 24)
	define(`WY', 24)
	define(`DX', 50)
	define(`DY', 40)
	define(`OX', 18)
	define(`OY', 62)
	PKG_BASE_SOT(`$1',`$2',`$3')

T17,50
PKG_DIN41612C96FSPKG_DIN41_612FEMALE_SMALL(`$1', `$2', `$3', `abc')
T18,20
Description_MJE340bipolar-N transistor
T21,29
Description_74132_dil`4 dual NAND Schmitt trigger'
T21,160
PinList_AT90S1300_dil`/Reset',`PD0',`PD1',`XTAL2',`XTAL1',`PD2/INT0',`PD3',`PD4/T0',`PD5',`Gnd' ,`PD6',`PB0/AIN0',`PB1/AIN1',`PB2',`PB3',`PB4',`PB5/MOSI',`PB6/MISO',`PB7/S CK',`Vcc'
T16,71
PinList_7411_dil`A1',`B1',`A2',`B2',`C2',`Y2',`Gnd',`Y3',`A3',`B3',`C3',`Y1',`C1',`Vcc'
T34,2
Param2_smd_capacitor_polarized_60330
T11,69
PKG_EMI0805COMMON_SMT_3PAD_MIL(  `$1', `$2', `$3', 32, 24,  79,  75, 24, 10, 10)
T23,64
Description_geda_RCY400`Bottom lead non-polar circular component (typically capacitor)'
T24,39
Description_geda_QFN40_6`Square Quad Flat Nolead (QFN) package'
T16,3
Param2_74642_dil300
T10,42
PKG_SSOP28PKG_SSO(  `$1', `$2', `$3', 28, 323, 2559)
T12,41
PKG_QFP128_RPKG_QFP_50L(`$1',`$2',`$3',`128',`0',`0')
T21,48
Description_74590_dil`8bit binary counter w. output register 3-state'
T21,26
Description_74183_dil`2 carry-save full adders'
T21,36
Description_74109_dil`2 J-/K pos-edge FF w. preset/clear'
T17,83
PinList_74422_dil`A1',`A2',`B1',`B2',`/Clr',`/Q',`Gnd',`Q',`Rint',`NC',`Cext',`NC',`Rext-Cext',`Vcc'
T16,71
PinList_7425_dil`1A',`1B',`1G',`1C',`1D',`1Y',`Gnd',`2Y',`2A',`2B',`2G',`2C',`2D',`Vcc'
T11,910
PKG_MTA_100
        define(`PITCH', `100')
        define(`NPINS', `eval($4)')
        define(`SILKW', `10')
        define(`SILKXOFS', `75')
        define(`SILKYOFS', `115')
        define(`SILKX1', `-SILKXOFS')
        define(`SILKX2', `eval((NPINS-1)*PITCH + SILKXOFS)')
        define(`SILKY1', `-SILKYOFS')
        define(`SILKY2', `SILKYOFS')
        define(`SILKY3', `eval(SILKYOFS+2*SILKW)')

Element(0x00 "$1" "`$2'" "$3" 0  140 0 150 0x00)
(
        forloop(`i', 1, `$4',
                `PIN(eval((i-1)*100), 0, 60, 38, `i')
        ')
        define(`X1',-78)
        define(`X2', `eval(`$4'*100-78)')
        ElementLine(SILKX1  SILKY1 SILKX2 SILKY1 SILKW) 
        ElementLine(SILKX2  SILKY1 SILKX2 SILKY3 SILKW) 
        ElementLine(SILKX2  SILKY2 SILKX1 SILKY2 SILKW) 
        ElementLine(SILKX1  SILKY3 SILKX1 SILKY1 SILKW) 

        ElementLine(SILKX2  SILKY3 SILKX1 SILKY3 SILKW) 

        Mark(0 0)
)
T20,26
Description_uA78M06C+6V 0.5A voltage regulator
T26,42
Description_geda_SOJ30_450`Small outline J-leaded package (450 mil)'
T21,21
Description_74375_dil`4bit bistable latch'
T17,127
PinList_74651_dil`CAB',`SAB',`GAB',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`Gnd',`B8',`B7',`B6',`B5',`B4',`B3',`B2',`B1',`/GBA',`SA',`CBA',`Vcc'
T17,119
PinList_74244_dil`/1G',`1A1',`2Y4',`1A2',`2Y3',`1A3',`2Y2',`1A4',`2Y1',`Gnd',`2A1',`1Y4',`2A2',`1Y3',`2A3',`1Y2',`2A4',`1Y1',`/2G',`Vcc'
T16,3
Param2_74693_dil300
T16,2
Param1_74161_dil16
T16,2
Param1_74124_dil16
T8,67
PKG_SO28COMMON_SMT_DIL_MIL(`$1',`$2',`$3', 28, 20000, 80000, 50000, 280000)
T13,42
PKG_LQFP52_10PKG_LQFP_65(`$1',`$2',`$3', `52',`10',`0')
T27,37
Description_geda_HEADER18_1`Header connector, DIP pin numbering'
T26,38
Description_geda_CAPC3225L`Standard SMT resistor, capacitor etc'
T21,50
Description_74197_dil`presettable binary counter/latch (divide by 2/8)'
T20,29
Description_7406_dil`6 inverters OC high-voltage'
T16,99
PinList_7476_dil`1Clk',`/1Pre',`/1Clr',`1J',`Vcc',`2Clk',`/2Pre',`/2Clr',`2J',`/2Q',`2Q',`2K',`Gnd',`/1Q',`1Q',`1K'
T16,71
PinList_7439_dil`1Y',`1A',`1B',`2Y',`2A',`2B',`Gnd',`3A',`3B',`3Y',`4A',`4B',`4Y',`Vcc'
T16,3
Param2_81C17_dil300
T16,2
Param1_74390_dil16
T16,2
Param1_74353_dil16
T15,2
Param1_7401_dil14
T13,74
PKG_RESC3216LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 170,  110, 280, 400, 200,  90, 170)
T26,42
Description_geda_SOJ44_450`Small outline J-leaded package (450 mil)'
T27,42
Description_geda_HEADER18_2`Header connector, ribbon cable numbering'
T26,38
Description_geda_CAPC3225M`Standard SMT resistor, capacitor etc'
T17,83
PinList_74628_dil`Osc-Gnd',`RNG',`CX1',`CX2',`/EN',`Y',`Gnd',`Z',`Vcc',`NC',`RX',`RX',`FC',`Osc-Vcc'
T17,73
PinList_74295_dil`Ser',`A',`B',`C',`D',`LD-/SH',`Gnd',`OC',`Clk',`Qd',`Qc',`Qb',`Qa',`Vcc'
T17,83
PinList_74258_dil`/A-B',`1A',`1B',`1Y',`2A',`2B',`2Y',`Gnd',`3Y',`3B',`3A',`4Y',`4B',`4A',`/G',`Vcc'
T16,2
Param1_74175_dil16
T16,2
Param1_74138_dil16
T13,74
PKG_RESC3216MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 190,  150, 320, 560, 290, 100, 190)
T25,53
Description_geda_TSSOP56N`Thin shrink small outline package, standard (4.4mm)'
T24,47
Description_geda_PLCC84X`Plastic leadless chip carrier with pin socket'
T26,38
Description_geda_CAPC3225N`Standard SMT resistor, capacitor etc'
T20,19
Description_7457_dil`frequency divider'
T16,2
Param1_74367_dil16
T15,2
Param1_7415_dil14
T13,74
PKG_RESC3216NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 180,  130, 300, 470, 230, 100, 180)
T8,296
PKG_R025Element(0x00 "$1" "`$2'" "$3" 120 30 0 100 0x00)
(
	PIN(0, 50, 68, 38, 1)
	PIN(400, 50, 68, 38, 2)
	ElementLine(100 0 300 0 20)
	ElementLine(300 0 300 100 20)
	ElementLine(300 100 100 100 20)
	ElementLine(100 100 100 0 20)
	ElementLine(0 50 100 50 20)
	ElementLine(300 50 400 50 20)
	Mark(0 50)
)
T11,69
PKG_EMI1206COMMON_SMT_3PAD_MIL(  `$1', `$2', `$3', 32, 28, 126,  79, 39, 10, 10)
T26,42
Description_geda_SOJ14_400`Small outline J-leaded package (400 mil)'
T29,26
Description_DIN41_651_40standDIN41.651 standing 40 pins
T16,2
Param1_74596_dil16
T13,41
PKG_TQFP44_10PKG_QFP_80(`$1',`$2',`$3', `44',`10',`0')
T21,24
Description_geda_SC90`SMT transistor, 3 pins'
T17,509
PKG_CONNECTOR_DILdefine(`MAXY', `eval(`$4' * 100)')
	define(`MAXX', `200')
Element(0x00 "$1" "`$2'" "$3" eval(MAXX + 60) 0 3 100 0x00)
(
	forloop(`row', 1, eval(`$4'),
		`PIN(50, eval(row * 100 -50), 60, 38, eval(row))
	')
	forloop(`row', 1, eval(`$4'),
		`PIN(150, eval(($4 + 1 - row) * 100 -50), 60, 38, eval($4 + row))
	')
	ElementLine(0 0 0 MAXY 10)
	ElementLine(0 MAXY MAXX MAXY 10)
	ElementLine(MAXX MAXY MAXX 0 10)
	ElementLine(MAXX 0 0 0 10)
	ElementLine(0 100 100 100 10)
	ElementLine(100 100 100 0 10)
	Mark(50 50)
)
T19,27
Description_uA7810C+10V 1.5A voltage regulator
T26,42
Description_geda_SOJ28_400`Small outline J-leaded package (400 mil)'
T23,31
Description_geda_PLCC20`Plastic leadless chip carrier'
T27,37
Description_geda_HEADER22_1`Header connector, DIP pin numbering'
T6,2
rSILK220
T34,3
Param1_generic_capacitor_axial_300300
T11,41
PKG_QFP32_7PKG_QFP_80(`$1',`$2',`$3', `32', `7',`0')
T17,44
PKG_LQFP128_14_EPPKG_LQFP_40(`$1',`$2',`$3',`128',`14',`970')
T27,42
Description_geda_HEADER22_2`Header connector, ribbon cable numbering'
T27,37
Description_cts_CTS_744C_04`CTS 744C Series Chip Resistor Array'
T6,2
rSILK330
T9,44
PKG_SME10PKG_SMT_2PAD_EIA(  `$1', `$2', `$3',104,104)
T22,10
Description_geda_HC51U`Crystals'
T30,31
Description_geda_DIN41612C96MS`DIN connector, 96 pin housing'
T15,22
PinList_uA7812C`In',`Com',`Out',`Com'
T13,11
PinList_BC635`E',`B',`C'
T19,3
Param2_PIC16C54_dil300
T13,11
PinList_BC636`E',`B',`C'
T16,3
Param2_74160_dil300
T16,3
Param2_74123_dil300
T9,28
PKG_ZIP40PKG_SD(`$1', `$2', `$3', 40)
T15,61
PKG_CTS_745X_10COMMON_SMT_DIL_MIL(`$1',`$2',`$3',10,32000,51000,50000,67000)
T38,16
Description_generic_resistor_axial_300`resistor_axial'
T27,37
Description_cts_CTS_744C_08`CTS 744C Series Chip Resistor Array'
T21,46
Description_74441_dil`4 tridirectional inverting bus tranceiver OC'
T16,3
Param2_74352_dil300
T13,62
PKG_SOJ42_400COMMON_SMT_DIL_MIL(`$1',`$2',`$3',42,23622,86614,50000,291339)
T9,67
PKG_SO22MCOMMON_SMT_DIL_MIL(`$1',`$2',`$3', 22, 20000, 85000, 50000, 170000)
T19,27
Description_uA7818C+18V 1.5A voltage regulator
T26,42
Description_geda_SOJ32_350`Small outline J-leaded package (350 mil)'
T21,38
Description_geda_SO44`Small outline package, wide (525mil)'
T21,30
Description_74670_dil`4-by-4 register file 3-state'
T17,71
PinList_74132_dil`1A',`1B',`1Y',`2A',`2B',`2Y',`Gnd',`3Y',`3A',`3B',`4Y',`4A',`4B',`Vcc'
T16,3
Param2_74174_dil300
T16,3
Param2_74137_dil300
T23,2
Param1_generic24smd_dil24
T22,2
Param1_DIN41_651_16lay16
T11,72
PKG_QFP_50LPKG_GENERIC_QFP(`$1',`$2',`$3',`$4',`$5', `50',`28',`20',`100',`0',`$6')
T13,74
PKG_INDC2012LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 140,  110, 160, 280, 170,   0,   0)
T9,41
PKG_DB37FPKG_SUBD_FEMALE_LAY(`$1', `$2', `$3', 37)
T16,3
Param2_74366_dil300
T15,3
Param2_7404_dil300
T16,2
Param1_74241_dil20
T10,37
PKG_RCY150PKG_RADIAL_CAN(`$1', `$2', `$3', 300)
T13,74
PKG_INDC2012MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 160,  150, 200, 440, 260,   0,   0)
T13,74
PKG_CAPC1005LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  55,   40,  90, 150,  80,   0,   0)
T23,31
Description_geda_PLCC28`Plastic leadless chip carrier'
T21,27
Description_74684_dil`8bit magnitute comperator'
T21,30
Description_74647_dil`8 bus tranceiver/register OC'
T17,92
PinList_74590_dil`Qb',`Qc',`Qd',`Qe',`Qf',`Qg',`Qh',`Gnd',`/RCO',`/CClr',`CCK',`/CCKEn',`RCK',`/G',`Qa',`Vcc'
T17,83
PinList_74183_dil`1A',`NC',`1B',`1Cn',`1Cn+1',`1Sum',`Gnd',`2Sum',`NC',`2Cn+1',`2Cn',`2B',`2A',`Vcc'
T17,101
PinList_74109_dil`/1Clr',`1J',`/1K',`1Clk',`/1Pre',`1Q',`/1Q',`Gnd',`/2Q',`2Q',`/2Pre',`2Clk',`/2K',`2J',`/2Clr',`Vcc'
T16,3
Param2_74595_dil300
T9,58
PKG_UM1_3PKG_CRYSTAL_V(`$1', `$2', `$3',  74, 311, 126,  60, 32, 3)
T13,74
PKG_INDC2012NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 150,  130, 180, 350, 200,   0,   0)
T5,40
PKG_DCOMMON_D_DW(`$1', `$2', `$3', `$4', 244)
T13,74
PKG_CAPC1005MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  75,   60, 100, 200, 120,   0,   0)
T29,9
Description_generic24smdw_dil`generic'
T15,293
PinList_z80_dil`A11', `A12', `A13', `A14', `A15', `theta', `D3',  `D4',  `D5',  `D6', `+5v', `D2',  `D7',  `D0',  `D1', `/INT', `/NMI', `/HALT', `/MREQ', `/IORQ', `/RD',  `/WR',  `/BUSAK', `/WAIT', `/BUSRQ', `/RESET', `/M1', `/RFSH', `GND', `A0', `A1',  `A2', `A3', `A4', `A5', `A6',  `A7', `A8', `A9', `A10'
T17,91
PinList_74375_dil`1D',`/1Q',`1Q',`1C-2C',`2Q',`/2Q',`2D',`Gnd',`3D',`/3Q',`3Q',`3C-4C',`4Q',`/4Q',`4D',`Vcc'
T15,3
Param2_7492_dil300
T15,3
Param2_7455_dil300
T15,3
Param2_7418_dil300
T23,2
Param1_smd_resistor_60360
T28,4
Param1_generic_smd_chip_12101210
T16,2
Param1_74625_dil16
T16,2
Param1_74292_dil16
T11,43
PKG_QFN24_4PKG_QFN_50S(`$1',`$2',`$3', `24', `4', `0')
T13,74
PKG_CAPC1005NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  65,   50,  90, 170, 100,   0,   0)
T26,42
Description_geda_SOJ16_300`Small outline J-leaded package (300 mil)'
T17,76
PinList_74197_dil`/Load',`Qc',`C',`A',`Qa',`Clk2',`Gnd',`Clk1',`Qb',`B',`D',`Qd',`/Clr',`Vcc'
T12,604
PKG_SMA_VERTdefine(`BASEX', 0)
	define(`BASEY', 0)
Element(0x00 "$1" "`$2'" "$3" BASEX eval(BASEY+150) 3 100 0x00)
(
	define(`X1', `eval(BASEX-160)')
	define(`Y1', `eval(BASEY-160)')
	define(`X2', `eval(BASEX+160)')
	define(`Y2', `eval(BASEY+160)')
	ElementLine(X1 Y1 X2 Y1 10)
	ElementLine(X2 Y1 X2 Y2 10)
	ElementLine(X2 Y2 X1 Y2 10)
	ElementLine(X1 Y2 X1 Y1 10)
	PIN(     BASEX     ,      BASEY     , 80, 30, 1)
	PIN(eval(BASEX-100), eval(BASEY+100), 80, 30, 2)
	PIN(eval(BASEX-100), eval(BASEY-100), 80, 30, 3)
	PIN(eval(BASEX+100), eval(BASEY+100), 80, 30, 4)
	PIN(eval(BASEX+100), eval(BASEY-100), 80, 30, 5)
)
T12,814
PKG_OVEN_OSCElement(0x00 "$1" "`$2'" "$3" 580 280 0 100 0x00)
(
	Pin(320 320 150 35 "NC" 0x01)
	Pin(320 1000 150 35 "VCC" 0x01)
	Pin(320 1680 150 35 "CLK" 0x01)
	Pin(1680 320 150 35 "+12V" 0x01)
	Pin(1680 1680 150 35 "GND" 0x01)

	ElementLine(2020 1125 2020 875 10)
	ElementLine(2100 875 2020 875 10)
	ElementLine(2100 975 2100 875 10)
	ElementLine(2075 975 2100 975 10)
	ElementLine(2075 1025 2075 975 10)
	ElementLine(2100 1025 2075 1025 10)
	ElementLine(2100 1125 2100 1025 10)
	ElementLine(2100 1125 2020 1125 10)

	ElementLine(2000 320 2000 1680 10)
	ElementLine(320 0 1680 0 10)
	ElementLine(0 1680 0 320 10)
	ElementLine(1680 2000 320 2000 10)

	ElementArc(320 320 320 320 270 90 10)
	ElementArc(320 1680 320 320 0 90 10)
	ElementArc(1680 320 320 320 180 90 10)
	ElementArc(1680 1680 320 320 90 90 10)

	Mark(320 320)
)
T16,43
PKG_DIN41612C64FPKG_DIN41_612FEMALE(`$1', `$2', `$3', `ac')
T23,31
Description_geda_PLCC68`Plastic leadless chip carrier'
T21,13
Description_27256_dil`EPROM 32Kx8'
T15,3
Param2_7469_dil300
T16,2
Param1_74639_dil20
T26,38
Description_geda_CAPC4564L`Standard SMT resistor, capacitor etc'
T20,111
PinList_RTC62421_dil`Std.P',`/Cs0',`Ale',`A0',`A1',`A2',`A3',`/Read',`Gnd',`/Write',`D3',`D2',`D1',`D0',`Cs1',`(Vdd)',`(Vdd)',`Vdd'
T16,40
PKG_DIN41651_50SPKG_DIN41_651STAND(`$1', `$2', `$3', 50)
T26,38
Description_geda_CAPC4564M`Standard SMT resistor, capacitor etc'
T9,41
PKG_DB37MPKG_SUBD_MALE_LAY(  `$1', `$2', `$3', 37)
T26,38
Description_geda_CAPC4564N`Standard SMT resistor, capacitor etc'
T13,42
PKG_LQFP80_12PKG_LQFP_50(`$1',`$2',`$3', `80',`12',`0')
T5,50
PKG_JPKG_DIL(`$1', `$2', `$3', `$4', `$5', 100, 60, 28)
T20,27
Description_uA78L12C+12V 0.1A voltage regulator
T20,141
PinList_PIC16C71_dil`RA2/AIN2',`RA3/AIN3',`RA4/T0CKI',`/MCLR',`VSS',`RB0/INT',`RB1',`RB2',`RB3',`RB4',`RB5',`RB6',`RB7',`VDD',`OSC2',`OSC1',`RA0/AIN0',`RA1/AIN1'
T19,1
Param1_oscillator_11
T13,62
PKG_SOJ30_300COMMON_SMT_DIL_MIL(`$1',`$2',`$3',30,23622,86614,50000,196850)
T22,49
PKG_PCI5V_SMALL_HEIGHTPKG_PCIPINARRAY(`$1', `$2', `$3', 2063,49,100,11)
T20,27
Description_uA79M15C-15V 0.5A voltage regulator
T27,39
Description_geda_QFN44_7_EP`Square Quad Flat Nolead (QFN) package'
T19,1
Param1_oscillator_22
T14,516
PKG_TO220STANDElement(0x00 "$1" "`$2'" "$3" 0 10 0 100 0x00)
(
	PIN(100, 200, 90, 60, 1)
	PIN(200, 200, 90, 60, 2)
	PIN(300, 200, 90, 60, 3)

	# Gehaeuse
	ElementLine(  0  80 400  80 20)
	ElementLine(400  80 400 260 20)
	ElementLine(400 260   0 260 20) 
	ElementLine(  0 260   0  80 20) 

	# Kuehlfahne icl. Bohrung
	ElementLine(  0  80 400  80 20)
	ElementLine(400  80 400 140 20)
	ElementLine(400 140   0 140 20)
	ElementLine(  0 140   0  80 20)

	ElementLine(130 80 130 140 10)
	ElementLine(270 80 270 140 10)

	Mark(100 200)
)
T13,42
PKG_LQFP80_14PKG_LQFP_65(`$1',`$2',`$3', `80',`14',`0')
T40,50
Description_johnstech_JOHNSTECH_QFN68_10`Johnstech QFN Socket, Series 1MM (724812-724839)'
T26,2204
COMMON_SMT_TRANSISTORX_MILdefine(`spaceX',   `$4')
	define(`spaceY',   `$5')
	define(`padY',     `eval((spaceY * $6) / 100)')
	define(`padX',     `ifelse(eval(len(`$7') >= 5), 1,
			       `eval((spaceX * 21) / 100)',
			       `eval((spaceX * 31) / 100)'
			     )')
	define(`addFRAME', `eval(padY / 5)')
	define(`maxX',     `eval(2*addFRAME+spaceX+padX)')
	define(`maxY',     `eval(2*addFRAME+spaceY+padY)')
	define(`centerX',  `eval(maxX / 2)')
	define(`centerY1', `eval(addFRAME + padY/2)')
	define(`centerX1', `eval(addFRAME + padX/2)')
	define(`deltaY',   `eval((padY-padX)/2)')
	define(`silkW',    `ifelse(eval(spaceY >= 50), 1, 10, eval(spaceY/5))')
	define(`indeX',    `0')

Element(0x00 "$1" "`$2'" "$3" eval(maxX+20) 0 3 100 0x00)
(
	ElementLine(0 0 0 maxY silkW)
	ElementLine(0 maxY maxX maxY silkW)
	ElementLine(maxX maxY maxX 0 silkW)
	ElementLine(maxX 0 0 0 silkW)

	# 1st pin on pin side
	Pad(centerX1 eval(centerY1+spaceY-deltaY)
	    centerX1 eval(centerY1+spaceY+deltaY)
			   padX "substr(`$7',indeX,1)" "substr(`$7',indeX,1)" 0x100)
	define(`indeX',incr(indeX))

	ifelse(eval(len(`$7') == 4), 1,
	  `Pad(centerX eval(centerY1+spaceY-deltaY)
	       centerX eval(centerY1+spaceY+deltaY)
			   padX "substr(`$7',indeX,1)" "substr(`$7',indeX,1)" 0x100)
	   define(`indeX',incr(indeX))
	 ')
	ifelse(eval(len(`$7') == 5), 1,
	  `Pad(eval(centerX1+spaceX/3) eval(centerY1+spaceY-deltaY)
	       eval(centerX1+spaceX/3) eval(centerY1+spaceY+deltaY)
			   padX "substr(`$7',indeX,1)" "substr(`$7',indeX,1)" 0x100)
	   define(`indeX',incr(indeX))
	   Pad(eval(centerX1+2*spaceX/3) eval(centerY1+spaceY-deltaY)
	       eval(centerX1+2*spaceX/3) eval(centerY1+spaceY+deltaY)
			   padX "substr(`$7',indeX,1)" "substr(`$7',indeX,1)" 0x100)
	   define(`indeX',incr(indeX))
	 ')

	# last pin on pin side
	Pad(eval(centerX1+spaceX) eval(centerY1+spaceY-deltaY)
	    eval(centerX1+spaceX) eval(centerY1+spaceY+deltaY)
			   padX "substr(`$7',indeX,1)" "substr(`$7',indeX,1)" 0x100)
	define(`indeX',incr(indeX))

	# extra wide pin on opposite side
	Pad(eval(centerX+spaceX/4) centerY1
	    eval(centerX-spaceX/4) centerY1
			   padY "substr(`$7',indeX,1)" "substr(`$7',indeX,1)" 0x100)

	Mark(centerX1 eval(centerY1+spaceY))
)
T17,3
Param2_TLC271_dil300
T16,3
Param2_74240_dil300
T20,2
Param1_generic20_zif20
T13,62
PKG_SOJ44_300COMMON_SMT_DIL_MIL(`$1',`$2',`$3',44,23622,86614,50000,196850)
T19,1144
PKG_DIN41_612FEMALEdefine(`MAXX', 420)
	define(`MAXX1', `eval(MAXX -170)')
	define(`MAXX2', `eval(MAXX -40)')
Element(0x00 "$1" "`$2'" "$3" 50 100 3 200 0x00)
(
	# Reihe a
	ifelse(index(`$4', `a'), `-1', ,
		forloop(`i', 1, 32, `PIN(200, eval(300 + 100 *i), 60, 30, i)
	'))

	# Reihe b
	ifelse(index(`$4', `b'), `-1', ,
		forloop(`i', 1, 32, `PIN(300, eval(300 + 100 *i), 60, 30, eval(32 + i))
	'))

	# Reihe c
	ifelse(index(`$4', `c'), `-1', , `define(`MAXX', 520)'
		forloop(`i', 1, 32, `PIN(400, eval(300 + 100 *i), 60, 30, eval(64 + i))
	'))

	# Befestigungsbohrung
	Pin(290  180 120 80 "M1" 0x01)
	Pin(290 3720 120 80 "M2" 0x01)

	# Aeussere Begrenzung
	ElementLine( 80  80 MAXX   80 20)
	ElementLine(MAXX  80 MAXX 3820 20)
	ElementLine(MAXX 3820 80 3820 20)
	ElementLine( 80 3820 80   80 20)

	# Innere Begrenzung
	ElementLine(120  320 MAXX1  320 10)
	ElementLine(MAXX1  320 MAXX1  360 10)
	ElementLine(MAXX1  360 MAXX2  360 10)
	ElementLine(MAXX2  360 MAXX2 3540 10)
	ElementLine(MAXX2 3540 MAXX1 3540 10)
	ElementLine(MAXX1 3540 MAXX1 3580 10)
	ElementLine(MAXX1 3580 120 3580 10)
	ElementLine(120 3580 120  320 10)

	# Markierung: Pin 1a
	Mark(200 400)
)
T16,43
PKG_DIN41612C64MPKG_DIN41_612MALE(  `$1', `$2', `$3', `ac')
T22,25
Description_geda_ZIP20`Zig-zag in-line package'
T24,50
Description_geda_EMI0603`3-Pin SMT EMI Filter based on standard SMT sizes'
T21,26
Description_74521_dil`8bit identity comperator'
T21,17
Description_74151_dil`1-of-8 selector'
T21,43
Description_74114_dil`2 JK edge FF w. preset and common Clr/Clk'
T20,379
PinList_PIC17C42_dil`VDD',`RC0/AD0',`RC1/AD1',`RC2/AD2',`RC3/AD3',`RC4/AD4',`RC5/AD5',`RC6/AD6',`RC7/AD7',`VSS',`RB0/CAP1',`RB1/CAP2',`RB2/PWM1',`RB3/PWM2',`RB4/TCLK12',`RB5/TCLK3',`RB6',`RB7',`OSC1',`OSC2',`RA5/TX/CK',`RA4/RX/DT',`RA3',`RA2',`RA1/T0CKI',`RA0/INT',`TEST',`RE2/WR',`RE1/OE',`RE0/ALE',`VSS',`/MCLR',`RD7/AD15',`RD6/AD14',`RD5/AD13',`RD4/AD12',`RD3/AD11',`RD2/AD10',`RD1/AD9',`RD0/AD8'
T21,277
PinList_PEB2086N_plcc`AD4',`AD5',`AD6',`AD7',`SDAR',`A1',`SDAX/SDS1',`SCA/SDS2',`RST',`A5',`Vssd',`DCL',`FSC1',`FSC2',`M1',`X2',`A4',`A3',`NC',`X1',`M0',`CP/BCL',`/INT',`Vssa',`XTAL2',`XTAL1',`SR2',`SR1',`NC',`NC',`Vdd',`SX1',`SX2',`IDP0',`IDP1',`ALE',`/CS',`/WR',`/RD',`A0',`AD0',`AD1',`AD2',`AD3'
T16,62
PinList_7430_dil`A',`B',`C',`D',`E',`F',`Gnd',`Y',`NC',`NC',`G',`H',`NC',`Vcc'
T19,1
Param1_oscillator_44
T10,34
PKG_SDIP42PKG_NS(`$1', `$2', `$3', 42,  600)
T5,50
PKG_NPKG_DIL(`$1', `$2', `$3', `$4', `$5', 100, 60, 28)
T10,36
PKG_ACY700PKG_AXIAL_LAY(`$1', `$2', `$3', 700)
T23,10
Description_geda_UM1_3H`Crystals'
T22,40
Description_geda_SO20M`Small outline package, medium (200mil)'
T27,37
Description_geda_HEADER46_1`Header connector, DIP pin numbering'
T16,21
PinList_uA79M06C`Com',`In',`Out',`In'
T18,53
PinList_TLC272_dil`Out1',`In1-',`In1+',`Gnd',`In2+',`In2-',`Out2',`Vdd'
T16,3
Param2_74624_dil300
T19,1
Param1_oscillator_55
T15,61
PKG_CTS_745C_10COMMON_SMT_DIL_MIL(`$1',`$2',`$3',10,32000,51000,50000,67000)
T22,40
Description_geda_SO20N`Small outline package, narrow (150mil)'
T27,42
Description_geda_HEADER46_2`Header connector, ribbon cable numbering'
T21,35
Description_74165_dil`parallel-load 8bit shift register'
T21,16
Description_74128_dil`4 line drivers'
T20,14
Description_7411_dil`3 triple-AND'
T17,105
PinList_74441_dil`/CS',`B1',`C1',`C2',`B2',`B3',`C3',`C4',`B4',`Gnd',`S0',`S1',`A4',`A3',`A2',`A1',`/GA',`/GB',`/GC',`Vcc'
T16,71
PinList_7407_dil`1A',`1Y',`2A',`2Y',`3A',`3Y',`Gnd',`4Y',`4A',`5Y',`5A',`6Y',`6A',`Vcc'
T16,3
Param2_74446_dil300
T16,2
Param1_74321_dil16
T5,50
PKG_PPKG_DIL(`$1', `$2', `$3', `$4', `$5', 100, 60, 28)
T22,24
Description_geda_SIP10`Single in line package'
T17,83
PinList_74670_dil`D2',`D3',`D4',`Rb',`Ra',`Q4',`Q3',`Gnd',`Q2',`Q1',`/Gr',`/Gw',`Wb',`Wa',`D1',`Vcc'
T16,3
Param2_74638_dil300
T26,3
Param1_smd_EIA_D_capacitor280
T16,2
Param1_74180_dil14
T16,2
Param1_74143_dil24
T19,41
PKG_CANDK_ES03MSABEPKG_CANDK_ES_SMT_SWITCH(`$1', `$2', `$3')
T22,25
Description_geda_ZIP24`Zig-zag in-line package'
T22,40
Description_geda_SO24M`Small outline package, medium (200mil)'
T22,24
Description_geda_SIP11`Single in line package'
T20,22
Description_7425_dil`2 quad-NOR w. strobe'
T16,74
PinList_7495_dil`Ser',`A',`B',`C',`D',`Mode',`Gnd',`Clk2',`Clk1',`Qd',`Qc',`Qb',`Qa',`Vcc'
T19,1
Param1_oscillator_88
T15,2
Param1_7420_dil14
T12,38
PKG_JUMPER20PKG_CONNECTOR(`$1', `$2', `$3', 20, 1)
T25,39
Description_geda_TQFN16_3`Square Quad Flat Nolead (QFN) package'
T26,42
Description_geda_SOJ26_450`Small outline J-leaded package (450 mil)'
T22,24
Description_geda_SIP12`Single in line package'
T27,37
Description_cts_CTS_742C_16`CTS 742C Series Chip Resistor Array'
T17,105
PinList_74684_dil`/P>Q',`P0',`Q0',`P1',`Q1',`P2',`Q2',`P3',`Q3',`Gnd',`P4',`Q4',`P5',`Q5',`P6',`Q6',`P7',`Q7',`/P=Q',`Vcc'
T17,126
PinList_74647_dil`CAB',`SAB',`DIR',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`Gnd',`B8',`B7',`B6',`B5',`B4',`B3',`B2',`B1',`/G',`SBA',`CBA',`Vcc'
T16,3
Param2_74689_dil300
T17,1
Param1_TLC272_dil8
T16,2
Param1_74194_dil16
T16,2
Param1_74157_dil16
T12,38
PKG_JUMPER21PKG_CONNECTOR(`$1', `$2', `$3', 21, 1)
T25,39
Description_geda_TQFN16_4`Square Quad Flat Nolead (QFN) package'
T22,24
Description_geda_SIP13`Single in line package'
T27,37
Description_geda_HEADER50_1`Header connector, DIP pin numbering'
T20,25
Description_7476_dil`2 JK FF w. preset/clear'
T20,23
Description_7439_dil`4 dual-NAND buffer OC'
T16,2
Param1_74386_dil14
T15,45
PKG_QFN68_10_EPPKG_QFN_50(`$1',`$2',`$3', `68', `10', `770')
T12,38
PKG_JUMPER22PKG_CONNECTOR(`$1', `$2', `$3', 22, 1)
T25,39
Description_geda_TQFN16_5`Square Quad Flat Nolead (QFN) package'
T27,42
Description_geda_HEADER50_2`Header connector, ribbon cable numbering'
T22,51
Description_TLC271_dilSingle programmable low power operational amplifier
T14,16
PinList_BUK453`G',`D',`S', `D'
T12,38
PKG_JUMPER23PKG_CONNECTOR(`$1', `$2', `$3', 23, 1)
T7,1241
PKG_DIL
# retain backwards compatibility to older versions of PKG_DIL 
# which did not have $6,$7,$8 args

        ifelse("`$6'","",
                `define(`PINSPACE', `100')'
        ,
                `define(`PINSPACE', eval(`$6'))'
        )      
        ifelse("`$7'","",
                `define(`PADSIZE', `60')'
        ,
                `define(`PADSIZE', `$7')'
        )      
        ifelse("`$8'","",
                `define(`DRILLSIZE', `28')'
        ,
                `define(`DRILLSIZE', `$8')'
        )      
	define(`MAXY', `eval(`$4' / 2 * PINSPACE)')
	define(`MAXX', `eval(`$5' + 100)')
	define(`CENTERX', `eval(MAXX / 2)')
	define(`MARKY', `eval(PINSPACE / 2)')
Element(0x00 "$1" "`$2'" "$3" eval(CENTERX + 20) 100 3 100 0x00)
(
	forloop(`i', 1, eval($4 / 2),
		`PIN(50, eval((2*i-1) * PINSPACE/2), 
			eval(PADSIZE), eval(DRILLSIZE), i)
	')
	forloop(`i', 1, eval($4 / 2),
		`PIN(eval(MAXX -50), eval(MAXY - (2*i-1) * PINSPACE/2), 
			eval(PADSIZE), eval(DRILLSIZE), eval(i + $4/2))
	')
	ElementLine(0 0 0 MAXY 10)
	ElementLine(0 MAXY MAXX MAXY 10)
	ElementLine(MAXX MAXY MAXX 0 10)
	ElementLine(0 0 eval(CENTERX - 50) 0 10)
	ElementLine(eval(CENTERX + 50) 0 MAXX 0 10)
	ElementArc(CENTERX 0 50 50 0 180 10)
	Mark(50 MARKY)
)
T22,25
Description_geda_ZIP28`Zig-zag in-line package'
T21,39
Description_TL081_dilSingle JFET input operational amplifier
T18,153
PinList_DS1225_dil`n/c', `A12', `A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`/Ce',`A10',`/Oe',`A11',`A9',`A8',`n/c', `/We', `Vcc'
T17,154
PinList_27256_dil`Vpp', `A12', `A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`/Cs',`A10',`/Oe',`A11',`A9',`A8', `A13', `A14', `Vcc'
T15,2
Param1_7485_dil16
T15,2
Param1_7448_dil16
T12,38
PKG_JUMPER24PKG_CONNECTOR(`$1', `$2', `$3', 24, 1)
T14,39
PKG_HEADER26_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 13)
T8,74
PKG_0201PKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  40,   40,  60, 130,  80,   0,   0)
T40,18
Description_generic_capacitor_radial_400`capacitor_radial'
T23,64
Description_geda_RCY350`Bottom lead non-polar circular component (typically capacitor)'
T26,38
Description_geda_CAPC3216L`Standard SMT resistor, capacitor etc'
T20,2
Param1_generic20_zip20
T12,38
PKG_JUMPER25PKG_CONNECTOR(`$1', `$2', `$3', 25, 1)
T14,38
PKG_HEADER26_2PKG_CONNECTOR(`$1', `$2', `$3', 13, 2)
T29,31
Description_geda_DIN41651_20S`Header connector with latches'
T26,38
Description_geda_CAPC3216M`Standard SMT resistor, capacitor etc'
T14,3
Param2_z80_dil600
T20,2
Param1_oscillator_1010
T20,2
Param1_generic40_dil40
T13,62
PKG_SOJ40_450COMMON_SMT_DIL_MIL(`$1',`$2',`$3',40,23622,86614,50000,346457)
T13,74
PKG_RESC1005LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  55,   35,  90, 150,  80,   0,   0)
T11,40
PKG_RCY250PPKG_RADIAL_CAN(`$1', `$2', `$3', 500, 1)
T12,38
PKG_JUMPER26PKG_CONNECTOR(`$1', `$2', `$3', 26, 1)
T25,39
Description_geda_TQFN20_4`Square Quad Flat Nolead (QFN) package'
T22,38
Description_geda_SO20W`Small outline package, wide (300mil)'
T26,38
Description_geda_CAPC3216N`Standard SMT resistor, capacitor etc'
T19,2
Param1_MC68008_plcc52
T13,74
PKG_RESC1005MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  75,   55, 110, 200, 120,   0,   0)
T9,25
PKG_OSC14PKG_OSC(`$1', `$2', `$3')
T25,39
Description_geda_TQFN20_5`Square Quad Flat Nolead (QFN) package'
T16,3
Param2_74320_dil300
T20,2
Param1_oscillator_1212
T19,2
Param1_PIC16C55_dil28
T17,2
Param1_DS1225_dil28
T9,37
PKG_TO220PKG_TO220LAY(       `$1', `$2', `$3')
T13,74
PKG_RESC1005NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  65,   45, 100, 170, 100,   0,   0)
T6,40
PKG_DWCOMMON_D_DW(`$1', `$2', `$3', `$4', 419)
T25,9
Description_generic20_zif`generic'
T27,39
Description_geda_QFN20_5_EP`Square Quad Flat Nolead (QFN) package'
T32,24
Description_DIN41_612_ac64femaleDIN41.612 row a+c female
T11,43
PKG_QFN48_7PKG_QFN_50S(`$1',`$2',`$3', `48', `7', `0')
T14,39
PKG_HEADER30_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 15)
T22,38
Description_geda_SO24W`Small outline package, wide (300mil)'
T24,5
Description_MC68681_plccDUART
T21,33
Description_7451S_dil`2 AND-OR inverters (2x2 inputs)'
T21,40
Description_74423_dil`retriggerable monostable multivibrator'
T13,62
PKG_SOJ24_400COMMON_SMT_DIL_MIL(`$1',`$2',`$3',24,23622,86614,50000,291339)
T14,38
PKG_HEADER30_2PKG_CONNECTOR(`$1', `$2', `$3', 15, 2)
T28,39
Description_geda_TQFN32_7_EP`Square Quad Flat Nolead (QFN) package'
T26,42
Description_geda_SOJ14_350`Small outline J-leaded package (350 mil)'
T21,62
Description_74652_dil`8 bus tranceiver/register 3-state A-output, 3-state B-output'
T21,26
Description_74245_dil`8 bus tranceiver 3-state'
T17,105
PinList_74521_dil`/OEN',`P0',`Q0',`P1',`Q1',`P2',`Q2',`P3',`Q3',`Gnd',`P4',`Q4',`P5',`Q5',`P6',`Q6',`P7',`Q7',`/P=Q',`Vcc'
T17,76
PinList_74151_dil`D3',`D2',`D1',`D0',`Y',`W',`/G',`Gnd',`C',`B',`A',`D7',`D6',`D5',`D4',`Vcc'
T17,82
PinList_74114_dil`/Clr',`1K',`1J',`/1Pre',`1Q',`/1Q',`Gnd',`/2Q',`2Q',`/2Pre',`2J',`2K',`Clk',`Vcc'
T16,3
Param2_74193_dil300
T16,3
Param2_74156_dil300
T21,55
PKG_JOHNSTECH_QFN24_4PKG_JOHNSTECH_QFN_50S(`$1',`$2',`$3', `24', `4', `210')
T21,40
Description_geda_SO8M`Small outline package, medium (200mil)'
T17,35
Description_LM337-1.2 to -37V 1.5A voltage regulator
T16,3
Param2_74385_dil300
T16,3
Param2_74348_dil300
T15,3
Param2_7423_dil300
T20,2
Param1_oscillator_1616
T16,2
Param1_74630_dil28
T16,2
Param1_74260_dil14
T13,62
PKG_SOJ38_400COMMON_SMT_DIL_MIL(`$1',`$2',`$3',38,23622,86614,50000,291339)
T19,26
Description_uA7805C+5V 1.5A voltage regulator
T25,16
Description_geda_TO220ACS`diode in TO220'
T26,42
Description_geda_SOJ28_350`Small outline J-leaded package (350 mil)'
T22,39
Description_geda_SO28W`Small outline package, wider (325mil)'
T18,8
Description_BUK453N-MOSFET
T21,35
Description_74629_dil`2 controlled oscillator w. enable'
T21,26
Description_74259_dil`8bit addressable latches'
T17,85
PinList_74165_dil`SH-/LD',`Clk',`E',`F',`G',`H',`/Qh',`Gnd',`Qh',`SER',`A',`B',`C',`D',`Clk_Inh',`Vcc'
T17,71
PinList_74128_dil`1Y',`1A',`1B',`2Y',`2A',`2B',`Gnd',`3A',`3B',`3Y',`4A',`4B',`4Y',`Vcc'
T6,308
PKG_TP
	define(`DRILL', `$4')
	define(`SILK',  `eval($5/2)')
	define(`PADDIA', `eval(DRILL + 20)')
	define(`SILKW', `10')
Element(0x00 "$1" "`$2'" "$3" -20 eval(-SILK - 60) 0 100 0x00)
(
	Pin( 0 0 PADDIA DRILL "1" "1" 0x0)
	ElementArc(0 0 SILK SILK 0 360 SILKW)
	
	# Mark at the common centroid
        Mark(0 0)
)
T10,34
PKG_DIP14MPKG_N(`$1', `$2', `$3',  14,  400)
T27,39
Description_geda_QFN16_3_EP`Square Quad Flat Nolead (QFN) package'
T13,11
PinList_BC546`E',`B',`C'
T15,3
Param2_7474_dil300
T16,3
Param2_74399_dil300
T15,3
Param2_7437_dil300
T16,2
Param1_74681_dil20
T16,2
Param1_74644_dil20
T16,2
Param1_74607_dil28
T20,49
PKG_PCI5V_MIN_HEIGHTPKG_PCIPINARRAY(`$1', `$2', `$3', 1420,49,100,11)
T11,58
PKG_HC49U_3PKG_CRYSTAL_V(`$1', `$2', `$3',  96, 435, 183,  60, 32, 3)
T13,11
PinList_BC547`E',`B',`C'
T20,2
Param1_AT90S4434_dil28
T16,2
Param1_74466_dil20
T9,71
PKG_TO264GENERIC_PL_POWER(`$1', `$2', `$3',  3, 219, 800, 210, 130,100, 60,   0)
T3,74
PADPad($1 $2 $3 $4 $5 ifdef(`P_$6', "P_$6", "$6") ifelse($6, 1, 0x00, 0x100))
T28,39
Description_geda_TQFN28_5_EP`Square Quad Flat Nolead (QFN) package'
T26,37
Description_geda_HEADER8_1`Header connector, DIP pin numbering'
T23,62
Description_geda_ACY900`Axial non-polar component (typically resistor or capacitor),'
T33,26
Description_DIN41_612_abc96femaleDIN41.612 row a+b+c female
T13,11
PinList_BC548`E',`B',`C'
T12,42
PKG_LQFP64_7PKG_LQFP_40(`$1',`$2',`$3', `64', `7',`0')
T13,74
PKG_INDC1608LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  90,   65, 120, 200, 120,   0,   0)
T10,34
PKG_DIP18MPKG_N(`$1', `$2', `$3',  18,  400)
T29,7
Description_generic_diode_800`diode'
T26,42
Description_geda_HEADER8_2`Header connector, ribbon cable numbering'
T25,46
Description_geda_ACY1600P`Axial polar component (typically capacitor),'
T16,3
Param2_TL072_dil300
T10,38
PKG_RCY800PKG_RADIAL_CAN(`$1', `$2', `$3', 1600)
T13,74
PKG_INDC1608MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 110,   85, 140, 270, 150,   0,   0)
T22,45
Description_geda_SSOP8`Shrink small outline package, .65mm, narrow'
T28,31
Description_geda_DIN41651_20`Header connector with latches'
T29,26
Description_DIN41_651_18standDIN41.651 standing 18 pins
T16,16
PinList_uA79L12C`Out',`In',`Com'
T20,2
Param1_generic80_qfp80
T13,62
PKG_SOJ42_350COMMON_SMT_DIL_MIL(`$1',`$2',`$3',42,23622,86614,50000,244094)
T13,74
PKG_INDC1608NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 100,   75, 130, 230, 130,   0,   0)
T12,12
GETNUMARRAYSeval(($#)/2)
T25,9
Description_generic20_zip`generic'
T15,22
PinList_uA7885C`In',`Com',`Out',`Com'
T17,52
PinList_TL081_dil`OfsN1',`In-',`In+',`Vcc-',`OfsN2',`Out',`Vcc+',`NC'
T25,12
Description_oscillator_10`oscillator'
T25,9
Description_generic40_dil`generic'
T27,28
Description_geda_TQFP304_40`Square Quad-side flat pack'
T27,28
Description_geda_TQFP120_28`Square Quad-side flat pack'
T25,60
Description_geda_RCY1000P`Bottom lead polar circular component (typically capacitor)'
T20,47
PKG_PANASONIC_EXBV4VCOMMON_SMT_DIL_MM(`$1',`$2',`$3',4,43,70,80,80)
T28,31
Description_geda_DIN41651_60`Header connector with latches'
T17,1374
PKG_DIN41_612MALEdefine(`XPOS', `eval(300 + 100 * i)')
	define(`MINY', 300)
Element(0x00 "$1" "`$2'" "$3" 520 550 0 200 0x00)
(
	# Reihe a
	ifelse(index(`$4', `a'), `-1', ,
		forloop(`i', 1, 32, `PIN(eval(3600 - 100 *i), 300, 60, 30, i)
	'))

	# Reihe b
	ifelse(index(`$4', `b'), `-1', , `define(`MINY', 200)'
		forloop(`i', 1, 32, `PIN(eval(3600 - 100 *i), 200, 60, 30, eval(32 + i))
	'))

	# Reihe c
	ifelse(index(`$4', `c'), `-1', , `define(`MINY', 100)'
		forloop(`i', 1, 32, `PIN(eval(3600 - 100 *i), 100, 60, 30, eval(64 + i))
	'))
    # Rueckseite Kontaktstifte
	forloop(`i', 1, 32, `ElementLine(XPOS MINY XPOS 375 40)
	')

	# Befestigungsbohrung
	Pin( 200 400 120 80 "M1" 0x01)
	Pin(3700 400 120 80 "M2" 0x01)

	# Begrenzung M1
	ElementLine( 100  300  320  300 20)
	ElementLine( 320  300  320  395 20)
	ElementLine( 320  395  320  620 10)
	ElementLine( 320  620  200  620 10)
	ElementLine( 200  620  100  620 20)
	ElementLine( 100  620  100  300 20)

	# Begrenzung M2
	ElementLine(3580  300 3800  300 20)
	ElementLine(3800  300 3800  620 20)
	ElementLine(3800  620 3700  620 20)
	ElementLine(3700  620 3580  620 10)
	ElementLine(3580  620 3580  395 10)
	ElementLine(3580  395 3580  300 20)

	# Kante Pins
	ElementLine( 320  395 3580  395 20)

	# Kanten Stifte
	ElementLine( 200 620  200 800 20)
	ElementLine( 200 800 3700 800 20)
	ElementLine(3700 800 3700 620 20)

	Mark(3500 300)
)
T25,12
Description_oscillator_12`oscillator'
T21,38
Description_geda_SO8W`Small outline package, wide (300mil)'
T24,3
Param1_generic_diode_400400
T13,62
PKG_SOJ26_300COMMON_SMT_DIL_MIL(`$1',`$2',`$3',26,23622,86614,50000,196850)
T21,35
Description_74540_dil`8 inverting buffer/driver 3-state'
T21,26
Description_74170_dil`4-by-4 register files OC'
T21,15
Description_74133_dil`13 input NAND'
T16,71
PinList_7412_dil`A1',`B1',`A2',`B2',`C2',`Y2',`Gnd',`Y3',`A3',`B3',`C3',`Y1',`C1',`Vcc'
T26,3
Param2_smd_EIA_D_capacitor100
T20,47
PKG_PANASONIC_EXBV8VCOMMON_SMT_DIL_MM(`$1',`$2',`$3',8,43,70,80,80)
T16,44
PKG_DIN41612C96FPKG_DIN41_612FEMALE(`$1', `$2', `$3', `abc')
T28,31
Description_geda_DIN41651_26`Header connector with latches'
T21,372
PinList_AT90S8535_dil`PB0/T0',`PB1/T1',`PB2/AIN0',`PB3/AIN1',`PB4//SS',`PB5/MOSI',`PB6/MISO',`PB7/SCK',`/Reset',`Vcc',`Gnd',`XTAL2',`XTAL1',`PD0/RxD',`PD1/TxD',`PD2/INT0', `PD3/INT1',`PD4/OC1B',`PD5/OC1A',`PD6/ICP',`PD7/OC2',`PC0',`PC1',`PC2',`PC3',`PC4',`PC5',`PC6/TOSC1',`PC7/TOSC2',`AVcc',`AGnd',`AREF',`PA7/ADC7',`PA6/ADC6',`PA5/ADC5',`PA4/ADC4',`PA3/ADC3',`PA2/ADC2',`PA1/ADC1',`PA0/ADC0'
T16,3
Param2_74606_dil300
T16,3
Param2_74273_dil300
T35,3
Param1_generic_capacitor_radial_200200
T20,2
Param1_generic16_zif16
T16,2
Param1_74111_dil16
T15,2
Param1_6801_dil40
T15,44
PKG_TQFN32_7_EPPKG_QFN_65(`$1',`$2',`$3', `32', `7', `470')
T26,28
Description_geda_QFP160_28`Square Quad-side flat pack'
T28,31
Description_geda_DIN41651_64`Header connector with latches'
T21,43
Description_74591_dil`8bit binary counter w. output register OC'
T20,12
Description_7430_dil`octal-NAND'
T21,17
Description_74147_dil`10-to-4 encoder'
T17,71
PinList_7451S_dil`1A',`2A',`2B',`2C',`2D',`2Y',`Gnd',`1Y',`1C',`1D',`NC',`NC',`1B',`Vcc'
T17,111
PinList_74423_dil`1A',`1B',`/1Clr',`/1Q',`2Q',`2Cext',`2Rext-Cext',`Gnd',`2A',`2B',`/2Clr',`/2Q',`1Q',`1Cext',`1Rext-Cext',`Vcc'
T16,71
PinList_7426_dil`1A',`1B',`1Y',`2A',`2B',`2Y',`Gnd',`3Y',`3A',`3B',`4Y',`4A',`4B',`Vcc'
T16,3
Param2_74465_dil300
T10,36
PKG_ACY200PKG_AXIAL_LAY(`$1', `$2', `$3', 200)
T20,26
Description_uA79M06C-6V 0.5A voltage regulator
T25,12
Description_oscillator_16`oscillator'
T21,9
Description_74376_dil`4 JK FF'
T17,127
PinList_74652_dil`CAB',`SAB',`GAB',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`Gnd',`B8',`B7',`B6',`B5',`B4',`B3',`B2',`B1',`/GBA',`SA',`CBA',`Vcc'
T17,102
PinList_74245_dil`Dir',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`Gnd',`B8',`B7',`B6',`B5',`B4',`B3',`B2',`B1',`/G',`Vcc'
T16,2
Param1_74162_dil16
T16,2
Param1_74125_dil14
T24,16
Description_geda_TO247_2`diode in TO220'
T21,21
Description_74198_dil`8bit shift register'
T20,14
Description_7407_dil`6 buffers OC'
T16,2
Param1_74354_dil20
T15,2
Param1_7402_dil14
T11,38
PKG_RCY1100PKG_RADIAL_CAN(`$1', `$2', `$3', 2200)
T10,35
PKG_PLCC52PKG_PLCC(`$1', `$2', `$3', 52, 150)
T27,24
Description_DIN41_651_40layDIN41.651 laying 40 pins
F5,5
shiftshift
T17,109
PinList_74629_dil`2FC',`1FC',`1RNG',`1CX1',`1CX2',`/1EN',`1Y',`Osc-Gnd',`Gnd',`2Y',`/2EN',`2CX1',`2CX2',`2RNG',`Osc-Vcc',`Vcc'
T17,82
PinList_74259_dil`S0',`S1',`S2',`Q0',`Q1',`Q2',`Q3',`Gnd',`Q4',`Q5',`Q6',`Q7',`D',`/G',`/Clr',`Vcc'
T18,1
Param1_connector105
T16,2
Param1_74176_dil14
T16,2
Param1_74139_dil16
T14,39
PKG_HEADER54_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 27)
T12,40
PKG_ACY1200PPKG_AXIAL_LAY(`$1', `$2', `$3', 1200, 1)
T25,39
Description_geda_TQFN44_7`Square Quad Flat Nolead (QFN) package'
T25,33
Description_AT90S4434_dilAVR Enhanced RISC microcontroller
T20,37
Description_7495_dil`4bit parallel-access shift register'
T18,153
PinList_DS1230_dil`A14', `A12', `A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`/Ce',`A10',`/Oe',`A11',`A9',`A8',`A13', `/We', `Vcc'
T19,2
Param1_WD33C93A_dil40
T15,2
Param1_7490_dil14
T15,2
Param1_7453_dil14
T16,2
Param1_74368_dil16
T15,2
Param1_7416_dil14
T15,44
PKG_TQFN28_5_EPPKG_QFN_50(`$1',`$2',`$3', `28', `5', `325')
T14,44
PKG_QFN16_4_EPPKG_QFN_65(`$1',`$2',`$3', `16', `4', `210')
T22,55
PKG_JOHNSTECH_QFN68_10PKG_JOHNSTECH_QFN_50(`$1',`$2',`$3', `68', `10', `770')
T8,2736
PKG_ISA8Element(0x00 "$1" "`$2'" "$3" 4000 0 0 100 0x00)
(
    # Pins, entspr. Anschl. auf Loetseite (b31..b1)
	Pin( 200 3850 60 35 "Gnd (b31)" 0x01)
	Pin( 300 3850 60 35 "Osc" 0x01)
	Pin( 400 3850 60 35 "+5V" 0x01)
	Pin( 500 3850 60 35 "BALE" 0x01)
	Pin( 600 3850 60 35 "TC" 0x01)
	Pin( 700 3850 60 35 "/DAck2" 0x01)
	Pin( 800 3850 60 35 "IRq3" 0x01)
	Pin( 900 3850 60 35 "IRq4" 0x01)
	Pin(1000 3850 60 35 "IRq5" 0x01)
	Pin(1100 3850 60 35 "IRq6" 0x01)
	Pin(1200 3850 60 35 "IRq7" 0x01)
	Pin(1300 3850 60 35 "Clock" 0x01)
	Pin(1400 3850 60 35 "/Ref" 0x01)
	Pin(1500 3850 60 35 "DRq1" 0x01)
	Pin(1600 3850 60 35 "/DAck1" 0x01)
	Pin(1700 3850 60 35 "DRq3" 0x01)
	Pin(1800 3850 60 35 "/DAck3" 0x01)
	Pin(1900 3850 60 35 "/IOR" 0x01)
	Pin(2000 3850 60 35 "/IOW" 0x01)
	Pin(2100 3850 60 35 "/SMEMR" 0x01)
	Pin(2200 3850 60 35 "/SMEMW" 0x01)
	Pin(2300 3850 60 35 "Gnd" 0x01)
	Pin(2400 3850 60 35 "+12V" 0x01)
	Pin(2500 3850 60 35 "/0WS" 0x01)
	Pin(2600 3850 60 35 "-12V" 0x01)
	Pin(2700 3850 60 35 "DRq2" 0x01)
	Pin(2800 3850 60 35 "-5V" 0x01)
	Pin(2900 3850 60 35 "IEQ2" 0x01)
	Pin(3000 3850 60 35 "+5V" 0x01)
	Pin(3100 3850 60 35 "ResDrv" 0x01)
	Pin(3200 3850 60 35 "Gnd (b1)" 0x01)

      # Pins, entspr. Anschl. auf Bestueckseite
	Pin( 200 3950 60 35 "SA0 (a31)" 0x01)
	Pin( 300 3950 60 35 "SA1" 0x01)
	Pin( 400 3950 60 35 "SA2" 0x01)
	Pin( 500 3950 60 35 "SA3" 0x01)
	Pin( 600 3950 60 35 "SA4" 0x01)
	Pin( 700 3950 60 35 "SA5" 0x01)
	Pin( 800 3950 60 35 "SA6" 0x01)
	Pin( 900 3950 60 35 "SA7" 0x01)
	Pin(1000 3950 60 35 "SA8" 0x01)
	Pin(1100 3950 60 35 "SA9" 0x01)
	Pin(1200 3950 60 35 "SA10" 0x01)
	Pin(1300 3950 60 35 "SA11" 0x01)
	Pin(1400 3950 60 35 "SA12" 0x01)
	Pin(1500 3950 60 35 "SA13" 0x01)
	Pin(1600 3950 60 35 "SA14" 0x01)
	Pin(1700 3950 60 35 "SA15" 0x01)
	Pin(1800 3950 60 35 "SA16" 0x01)
	Pin(1900 3950 60 35 "SA17" 0x01)
	Pin(2000 3950 60 35 "SA18" 0x01)
	Pin(2100 3950 60 35 "SA19" 0x01)
	Pin(2200 3950 60 35 "AEN" 0x01)
	Pin(2300 3950 60 35 "IOChRdy" 0x01)
	Pin(2400 3950 60 35 "SD0" 0x01)
	Pin(2500 3950 60 35 "SD1" 0x01)
	Pin(2600 3950 60 35 "SD2" 0x01)
	Pin(2700 3950 60 35 "SD3" 0x01)
	Pin(2800 3950 60 35 "SD4" 0x01)
	Pin(2900 3950 60 35 "SD5" 0x01)
	Pin(3000 3950 60 35 "SD6" 0x01)
	Pin(3100 3950 60 35 "SD7" 0x01)
	Pin(3200 3950 60 35 "/IOChCk (a1)" 0x01)

      # Umrahmung
	ElementLine(   0  100  100  100 2)
	ElementLine( 100    0  100  100 2)
	ElementLine( 100  100 4250  100 5)
	ElementLine(4250  100 4250 3810 5)
	ElementLine(4250 3810 3620 3810 5)
	ElementLine(3620 3810 3620 3510 5)
	ElementLine(3620 3510 3300 3510 5)
	ElementLine(3300 3510 3300 3810 5)
	ElementLine(3300 3810  100 3810 5)
	ElementLine( 100 3810  100 3510 5)
	ElementLine( 100 3510    0 3510 2)

      # Markierung == Pin B1
	Mark(3200 3850)
)
T14,38
PKG_HEADER54_2PKG_CONNECTOR(`$1', `$2', `$3', 27, 2)
T18,1
Param1_connector124
T16,2
Param1_74597_dil16
T11,41
PKG_RCY900PPKG_RADIAL_CAN(`$1', `$2', `$3', 1800, 1)
T16,44
PKG_DIN41612C96MPKG_DIN41_612MALE(  `$1', `$2', `$3', `abc')
T21,22
Description_sot_nec19`NEC SOT-NE19 package'
T29,26
Description_DIN41_651_26standDIN41.651 standing 26 pins
T18,2
Param1_connector5025
T20,47
PKG_PANASONIC_EXB14VCOMMON_SMT_DIL_MM(`$1',`$2',`$3',4,30,30,50,30)
T15,40
PKG_DIN41651_20PKG_DIN41_651LAY(  `$1', `$2', `$3', 20)
T3,71
PINPin($1 $2 $3 $4 ifdef(`P_$5', "P_$5", "$5") ifelse($5, 1, 0x101, 0x01))
T25,9
Description_generic80_qfp`generic'
T22,16
Description_geda_TO247`diode in TO220'
T18,1
Param1_connector147
T23,43
PKG_AMP_MICTOR_767054_1COMMON_AMP_MICTOR_767054(`$1',`$2',`$3',38)
T26,38
Description_geda_RESC2012L`Standard SMT resistor, capacitor etc'
T24,67
COMMON_AMP_MICTOR_767054COMMON_AMP_MICTOR_MIL(`$1',`$2',`$3',`$4',17000,50000,25000,278000)
T20,2
Param1_smd_diode_80580
T18,1
Param1_connector155
T17,2
Param1_DS1230_dil28
T13,62
PKG_SOJ22_450COMMON_SMT_DIL_MIL(`$1',`$2',`$3',22,23622,86614,50000,346457)
T21,55
PKG_JOHNSTECH_QFN48_7PKG_JOHNSTECH_QFN_50S(`$1',`$2',`$3', `48', `7', `560')
T13,465
PKG_CONNECTORdefine(`MAXY', `eval(`$4' * 100)')
	define(`MAXX', `eval(`$5' * 100)')
Element(0x00 "$1" "`$2'" "$3" eval(MAXX + 60) 0 3 100 0x00)
(
	forloop(`row', 1, $4, `forloop(`col', 1, $5,
		`PIN(eval(col * 100 -50), eval(row * 100 -50), 60, 38, eval((row-1)*$5+col))
	') ')
	ElementLine(0 0 0 MAXY 10)
	ElementLine(0 MAXY MAXX MAXY 10)
	ElementLine(MAXX MAXY MAXX 0 10)
	ElementLine(MAXX 0 0 0 10)
	ElementLine(0 100 100 100 10)
	ElementLine(100 100 100 0 10)
	Mark(50 50)
)
T23,43
PKG_AMP_MICTOR_767054_2COMMON_AMP_MICTOR_767054(`$1',`$2',`$3',76)
T26,38
Description_geda_RESC2012M`Standard SMT resistor, capacitor etc'
T20,20
Description_SUBD_15FSUB-D female 15 pins
T14,23
PinList_TL431C`Cathode',`Anode',`Ref'
T29,150
PinList_DIN41_612_abc96femaleforloop(`i', 1, 32, `define(`P_'i, `a'i)')
	forloop(`i', 1, 32, `define(`P_'eval(i +32), `b'i)')
	forloop(`i', 1, 32, `define(`P_'eval(i +64), `c'i)')
T20,3
Param2_generic24_dil300
T19,3
Param2_MC68008_plcc150
T18,1
Param1_connector168
T18,2
Param1_GAL16V8_dil20
T15,40
PKG_DIN41651_60PKG_DIN41_651LAY(  `$1', `$2', `$3', 60)
T23,44
PKG_AMP_MICTOR_767054_3COMMON_AMP_MICTOR_767054(`$1',`$2',`$3',114)
T26,38
Description_geda_RESC2012N`Standard SMT resistor, capacitor etc'
T24,60
Description_geda_RCY600P`Bottom lead polar circular component (typically capacitor)'
T19,3
Param2_PIC16C55_dil600
T19,2
Param1_PIC16C74_dil40
T13,62
PKG_SOJ36_450COMMON_SMT_DIL_MIL(`$1',`$2',`$3',36,23622,86614,50000,346457)
T11,40
PKG_RCY200PPKG_RADIAL_CAN(`$1', `$2', `$3', 400, 1)
T23,44
PKG_AMP_MICTOR_767054_4COMMON_AMP_MICTOR_767054(`$1',`$2',`$3',152)
T27,28
Description_geda_TQFP240_32`Square Quad-side flat pack'
T24,46
Description_geda_ACY700P`Axial polar component (typically capacitor),'
T21,37
Description_74620_dil`8 inverting bus tranceivers 3-state'
T7,63
forlooppushdef(`$1', `$2')_forloop(`$1', `$2', `$3', `$4')popdef(`$1')
T16,22
PinList_uA78M12C`In',`Com',`Out',`Com'
T16,3
Param2_74161_dil300
T16,3
Param2_74124_dil300
T18,1
Param1_connector186
T11,37
PKG_TO220SWPKG_TO220STAND_WIDE(`$1', `$2', `$3')
T11,42
PKG_PLCC32XPKG_PLCC_SOCKET(`$1', `$2', `$3', 32, 150)
T15,61
PKG_CTS_746X_10COMMON_SMT_DIL_MIL(`$1',`$2',`$3',10,14000,32000,25000,28000)
T23,44
PKG_AMP_MICTOR_767054_5COMMON_AMP_MICTOR_767054(`$1',`$2',`$3',190)
T10,37
PKG_ALF600PKG_DIODE_LAY(`$1', `$2', `$3',  600)
T11,39
PKG_ACY300PPKG_AXIAL_LAY(`$1', `$2', `$3', 300, 1)
T30,16
Description_smd_capacitor_1206`chip_capacitor'
T26,38
Description_geda_INDC2012L`Standard SMT resistor, capacitor etc'
T24,16
Description_PIC16C54_dilmicro controller
T21,41
Description_74442_dil`4 tridirectional bus tranceiver 3-state'
T16,3
Param2_74390_dil300
T16,3
Param2_74353_dil300
T14,42
PKG_LQFP120_16PKG_LQFP_50(`$1',`$2',`$3',`120',`16',`0')
T15,40
PKG_DIN41651_26PKG_DIN41_651LAY(  `$1', `$2', `$3', 26)
T23,44
PKG_AMP_MICTOR_767054_6COMMON_AMP_MICTOR_767054(`$1',`$2',`$3',228)
T25,9
Description_generic16_zif`generic'
T26,38
Description_geda_INDC2012M`Standard SMT resistor, capacitor etc'
T26,38
Description_geda_CAPC1005L`Standard SMT resistor, capacitor etc'
T21,61
Description_74671_dil`4bit universal shift register/latch 3-state w. direct clear'
T17,103
PinList_74540_dil`/G1',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`Gnd',`Y8',`Y7',`Y6',`Y5',`Y4',`Y3',`Y2',`Y1',`/G2',`Vcc'
T17,83
PinList_74170_dil`D2',`D3',`D4',`Rb',`Ra',`Q4',`Q3',`Gnd',`Q2',`Q1',`/Gr',`/Gw',`Wb',`Wa',`D1',`Vcc'
T17,67
PinList_74133_dil`A',`B',`C',`D',`E',`F',`G',`Gnd',`Y',`H',`I',`J',`K',`L',`M',`Vcc'
T16,3
Param2_74175_dil300
T16,3
Param2_74138_dil300
T22,2
Param1_DIN41_651_26lay26
T9,46
PKG_DO214PKG_SMT_DIODE(       `$1', `$2', `$3', 77, 33)
T15,40
PKG_DIN41651_64PKG_DIN41_651LAY(  `$1', `$2', `$3', 64)
T23,44
PKG_AMP_MICTOR_767054_7COMMON_AMP_MICTOR_767054(`$1',`$2',`$3',266)
T25,53
Description_geda_TSSOP38N`Thin shrink small outline package, standard (4.4mm)'
T26,38
Description_geda_INDC2012N`Standard SMT resistor, capacitor etc'
T26,38
Description_geda_CAPC1005M`Standard SMT resistor, capacitor etc'
F6,6
sysvalsysval
T15,3
Param2_7442_dil300
T16,3
Param2_74367_dil300
T15,3
Param2_7405_dil300
T16,2
Param1_74242_dil14
T26,42
Description_geda_SOJ40_300`Small outline J-leaded package (300 mil)'
T26,38
Description_geda_CAPC1005N`Standard SMT resistor, capacitor etc'
T19,19
Description_SUBD_9FSUB-D female 9 pins
T21,30
Description_74685_dil`8bit magnitute comperator OC'
T21,45
Description_74648_dil`8 inverting bus tranceiver/register 3-state'
T21,36
Description_74278_dil`4bit cascadable priority registers'
T17,92
PinList_74591_dil`Qb',`Qc',`Qd',`Qe',`Qf',`Qg',`Qh',`Gnd',`/RCO',`/CClr',`CCK',`/CCKEn',`RCK',`/G',`Qa',`Vcc'
T17,68
PinList_74147_dil`4',`5',`6',`7',`8',`C',`B',`Gnd',`A',`9',`1',`2',`3',`D',`NC',`Vcc'
T16,3
Param2_74596_dil300
T20,18
Description_SUBD_15MSUB-D male 15 pins
T17,88
PinList_74376_dil`/Clr',`1J',`/1K',`1Q',`2Q',`/2K',`2J',`Gnd',`Clk',`3J',`/3K',`3Q',`4Q',`/4K',`4J',`Vcc'
T15,3
Param2_7493_dil300
T15,3
Param2_7419_dil300
T16,2
Param1_74626_dil16
T16,2
Param1_74293_dil14
T21,56
Description_74699_dil`4bit synchronous binary counter w. sync. clear 3-state'
F8,8
__line____line__
T17,122
PinList_74198_dil`S0',`SPSer',`A',`Qa',`B',`Qb',`C',`Qc',`D',`Qd',`Clk',`Gnd',`/Clr',`Qe',`E',`Qf',`F',`Qg',`G',`Qh',`H',`SLSer',`S1',`Vcc'
T14,45
PKG_QFN24_4_EPPKG_QFN_50S(`$1',`$2',`$3', `24', `4', `210')
T11,69
PKG_EMI1806COMMON_SMT_3PAD_MIL(  `$1', `$2', `$3', 39, 39, 177, 102, 59, 10, 10)
T9,74
PKG_01005PKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  26,   25,  41,  81,  33,   0,   0)
T19,17
Description_sot_323`SOT-323 package'
T26,39
Description_geda_TQFN68_10`Square Quad Flat Nolead (QFN) package'
T24,53
Description_geda_TSSOP20`Thin shrink small outline package, standard (4.4mm)'
T18,36
Description_TL431CAdjustable precision shunt regulator
T29,26
Description_DIN41_651_34standDIN41.651 standing 34 pins
T19,402
PKG_TO126STAND_WIDEElement(0x00 "$1" "`$2'" "$3" 270 170 0 100 0x00)
(
	PIN(110, 100, 80, 52, 1)
	PIN(200, 200, 80, 52, 2)
	PIN(290, 100, 80, 52, 3)

	# Gehaeuse
	ElementLine(200 200 200 150 30)
	ElementLine( 50  50 350  50 20)
	ElementLine(350  50 350 150 20)
	ElementLine(350 150  50 150 20)
	ElementLine( 50 150  50  50 20) 

	# Bohrung
	ElementLine(150 50 150 150 10)
	ElementLine(250 50 250 150 10)

	Mark(100 100)
)
T12,41
PKG_QFP52_10PKG_QFP_65(`$1',`$2',`$3', `52',`10',`0')
T25,78
PKG_NICHICON_WT_CAP_3_5p4PKG_NICHICON_WT_CAP(`$1', `$2', `$3',
	`80', `170', `80', `350', `350', `590')
T27,37
Description_geda_HEADER28_1`Header connector, DIP pin numbering'
T23,62
Description_geda_ACY400`Axial non-polar component (typically resistor or capacitor),'
T13,62
PKG_SOJ24_350COMMON_SMT_DIL_MIL(`$1',`$2',`$3',24,23622,86614,50000,244094)
T9,41
PKG_DB15FPKG_SUBD_FEMALE_LAY(`$1', `$2', `$3', 15)
T29,7
Description_generic_diode_300`diode'
T27,42
Description_geda_HEADER28_2`Header connector, ribbon cable numbering'
T10,37
PKG_RCY300PKG_RADIAL_CAN(`$1', `$2', `$3', 600)
T10,63
PKG_QFN_65PKG_GENERIC_QFN(`$1',`$2',`$3',`$4',`$5', `65',`37',`60', `$6')
T14,42
PKG_LQFP144_20PKG_LQFP_50(`$1',`$2',`$3',`144',`20',`0')
T20,27
Description_uA79L12C-12V 0.1A voltage regulator
T25,12
Description_smd_diode_805`chip_diode'
T19,17
Description_SUBD_9MSUB-D male 9 pins
T20,267
PinList_MC68681_plcc`NC',`RS1',`IP3',`RS2',`IP1',`RS3',`RS4',`IP0',`R-/W',`/DTAck',`RxD1',`NC',`TxD1',`OP1',`OP3',`OP5',`OP7',`D1',`D3',`D5',`D7',`Gnd',`NC',`/Irq',`D6',`D4',`D2',`D0',`OP6',`OP4',`OP2',`OP0',`TxD0',`NC',`RxD0',`X1-Clk',`X2',`/Reset',`/CS',`IP2',`/IAck',`IP5',`IP4',`Vcc'
T20,3
Param2_AT90S2313_dil300
T13,62
PKG_SOJ38_350COMMON_SMT_DIL_MIL(`$1',`$2',`$3',38,23622,86614,50000,244094)
T24,53
Description_geda_TSSOP24`Thin shrink small outline package, standard (4.4mm)'
T23,16
Description_MC68332_qfpmicro controller
T16,71
PKG_TO220ACSTANDGENERIC_PL_POWER(`$1', `$2', `$3',  2, 200, 400, 180, 100, 80, 40,   0)
T24,81
PKG_NICHICON_WT_CAP_8_10PKG_NICHICON_WT_CAP(`$1', `$2', `$3',
	`110', `310', `310', `850', `850', `1050')
T8,67
PKG_MPAKCOMMON_SMT_TRANSISTORX_MIL(`$1', `$2', `$3', 150, 437, 20, `12345')
T11,562
PKG_BNC_LAYdefine(`BASEX', 200)
	define(`BASEY', -200)
Element(0x00 "$1" "`$2'" "$3" BASEX eval(BASEY+200) 3 100 0x00)
(
	define(`X1', `eval(BASEX-260)')
	define(`Y1', `eval(BASEY-90)')
	define(`X2', `eval(BASEX+290)')
	define(`Y2', `eval(BASEY+490)')
	ElementLine(X1 Y1 X2 Y1 10)
	ElementLine(X2 Y1 X2 Y2 10)
	ElementLine(X2 Y2 X1 Y2 10)
	ElementLine(X1 Y2 X1 Y1 10)
	PIN(eval(BASEX-200), eval(BASEY+200), 60, 35, 1)
	PIN(eval(BASEX-200), eval(BASEY+100), 60, 35, 2)
	PIN(eval(BASEX),     eval(BASEY),     100, 81, m1)
	PIN(eval(BASEX),     eval(BASEY+400), 100, 81, m2)
)
T39,50
Description_johnstech_JOHNSTECH_QFN16_4`Johnstech QFN Socket, Series 1MM (724812-724839)'
T17,3
Param2_TLC272_dil300
T16,3
Param2_74241_dil300
T15,3
Param2_6551_dil600
T27,3
Param1_generic_smd_chip_805805
T11,37
PKG_TO126SWPKG_TO126STAND_WIDE(`$1', `$2', `$3')
T19,27
Description_uA7910C-10V 1.5A voltage regulator
T39,50
Description_johnstech_JOHNSTECH_QFN16_5`Johnstech QFN Socket, Series 1MM (724812-724839)'
T27,37
Description_geda_HEADER32_1`Header connector, DIP pin numbering'
T21,46
Description_74522_dil`8bit identity comperator OC w. input pull-up'
F6,6
m4wrapm4wrap
T16,81
PinList_7431_dil`1A',`1Y',`2A',`2Y',`3A',`3B',`3Y',`Gnd',`4Y',`4A',`4B',`5Y',`5A',`6Y',`6A',`Vcc'
T15,2
Param1_2114_dil18
T24,49
Description_geda_TSSOP64`Thin shrink small outline package, wide (6.1mm)'
T27,42
Description_geda_HEADER32_2`Header connector, ribbon cable numbering'
T21,44
Description_74381_dil`ALU function generator w. look-ahead carry'
T17,104
PinList_74620_dil`GAB',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`Gnd',`B8',`B7',`B6',`B5',`B4',`B3',`B2',`B1',`/GBA',`Vcc'
T16,3
Param2_74625_dil300
T16,3
Param2_74292_dil300
T14,2
Param1_LED_3MM60
T24,53
Description_geda_TSSOP28`Thin shrink small outline package, standard (4.4mm)'
T24,62
Description_geda_ACY1500`Axial non-polar component (typically resistor or capacitor),'
T21,36
Description_74573_dil`8 D-type transparent latch 3-state'
T21,35
Description_74166_dil`parallel-load 8bit shift register'
T20,18
Description_7412_dil`3 triple-NAND OC'
T16,67
PinList_7445_dil`0',`1',`2',`3',`4',`5',`6',`Gnd',`7',`8',`9',`D',`C',`B',`A',`Vcc'
T17,105
PinList_74442_dil`/CS',`B1',`C1',`C2',`B2',`B3',`C3',`C4',`B4',`Gnd',`S0',`S1',`A4',`A3',`A2',`A1',`/GA',`/GB',`/GC',`Vcc'
T16,71
PinList_7408_dil`1A',`1B',`1Y',`2A',`2B',`2Y',`Gnd',`3Y',`3A',`3B',`4Y',`4A',`4B',`Vcc'
T16,2
Param1_74322_dil20
T9,41
PKG_DB15MPKG_SUBD_MALE_LAY(  `$1', `$2', `$3', 15)
T11,37
PKG_ACY1200PKG_AXIAL_LAY(`$1', `$2', `$3', 1200)
T23,49
Description_geda_TSSOP8`Thin shrink small outline package, narrow (3mm)'
T21,40
Description_74395_dil`4bit cascadable shift register 3-state'
T15,21
PinList_uA7912C`Com',`In',`Out',`In'
T17,114
PinList_74671_dil`Ser-R',`SRCK',`A',`B',`C',`D',`Ser-L',`/SRClr',`RCK',`Gnd',`R-/S',`/G',`S1',`S0',`Qd',`Qc',`Qb',`Qa',`CASC',`Vcc'
T16,3
Param2_74639_dil300
T16,2
Param1_74181_dil24
T16,2
Param1_74107_dil14
T15,2
Param1_2764_dil28
T10,46
PKG_SOD123PKG_SMT_DIODE(       `$1', `$2', `$3', 40, 15)
T7,1358
PKG_BGAdefine(`XBLOCK', `$4')
	define(`YBLOCK', `$5')
	define(`PITCH', `50')
	define(`DIAMETER', `25')
	define(`NUMPINS', `eval(4*(XBLOCK-4)*YBLOCK)')
Element(0x00 "$1" "`$2'" "$3" 100 0 0 100 0x00)
(
	forloop(`i', 0, eval(XBLOCK-1),
		`forloop(`j', 0, eval(YBLOCK-1),
			`PAD(eval(i*PITCH), eval(j*PITCH), eval(i*PITCH), eval(j*PITCH), DIAMETER, 1)'
			`PAD(eval((XBLOCK+YBLOCK-j-1)*PITCH), eval(i*PITCH), eval((XBLOCK+YBLOCK-j-1)*PITCH), eval(i*PITCH), DIAMETER, 1)'
			`PAD(eval((XBLOCK+YBLOCK-i-1)*PITCH), eval((XBLOCK+YBLOCK-j-1)*PITCH), eval((XBLOCK+YBLOCK-i-1)*PITCH), eval((XBLOCK+YBLOCK-j-1)*PITCH), DIAMETER, 1)'
			`PAD(eval(j*PITCH), eval((XBLOCK+YBLOCK-i-1)*PITCH), eval(j*PITCH), eval((XBLOCK+YBLOCK-i-1)*PITCH), DIAMETER, 1)'
		)'
	)
	ElementLine(eval(-PITCH/2) eval(-1*PITCH) eval((XBLOCK+YBLOCK)*PITCH) eval(-1*PITCH) 10)
	ElementLine(eval((XBLOCK+YBLOCK)*PITCH) eval(-1*PITCH) eval((XBLOCK+YBLOCK)*PITCH) eval((XBLOCK+YBLOCK)*PITCH) 10)
	ElementLine(eval(-1*PITCH) eval((XBLOCK+YBLOCK)*PITCH) eval((XBLOCK+YBLOCK)*PITCH) eval((XBLOCK+YBLOCK)*PITCH) 10)
	ElementLine(eval(-1*PITCH) eval(-PITCH/2) eval(-1*PITCH) eval((XBLOCK+YBLOCK)*PITCH) 10)
	ElementLine(eval(-PITCH/2) eval(-PITCH) eval(-PITCH/2) eval(-PITCH/2) 10)
	ElementLine(eval(-PITCH) eval(-PITCH/2) eval(-PITCH/2) eval(-PITCH/2) 10)
	Mark(eval((YBLOCK+1)*PITCH) eval((YBLOCK+1)*PITCH))
)
T39,50
Description_johnstech_JOHNSTECH_QFN20_4`Johnstech QFN Socket, Series 1MM (724812-724839)'
T20,26
Description_7426_dil`4 dual NAND high-voltage'
T16,81
PinList_7496_dil`Clk',`A',`B',`C',`Vcc',`D',`E',`Pre',`Ser',`Qe',`Qd',`Gnd',`Qc',`Qb',`Qa',`/Clr'
T21,3
Param1_smd_diode_1206120
T16,2
Param1_74373_dil20
T15,2
Param1_7421_dil14
T29,7643
PKG_GENERIC_JOHNSTECH7248_QFN
	# number of pins on left/right sides (pin1 is upper pin on left side)
	define(`LRPINS',  `eval($4 / 4)')
	# number of pins on top/bottom sides
        define(`TBPINS', `eval(`$4' / 2 - LRPINS)')
	# pin pitch (1/1000 mil)
	define(`PITCH',`eval(`$6'*100000/254)')
	# y-coordinate for upper pin on left/right sides  (1/1000 mil)
	define(`LRYMAX', `eval((LRPINS-1)*PITCH/2)')
	# x-coordinate for right pin on top/bottom sides  (1/1000 mil)
	define(`TBXMAX', `eval((TBPINS-1)*PITCH/2)')
	# total horizontal package width (1/1000 mil)
	define(`LRWIDTHMM', `ifelse(0,`$5',`787',`eval($5)')')
	define(`LRWIDTH', `ifelse(0,`$5',`787',`eval(`$5'*10000000/254)')')
	# total vertical package width (1/1000 mil)
	define(`TBWIDTHMM', `ifelse(0,`$5',`551',`eval($5)')')
	define(`TBWIDTH',`ifelse(0,`$5',`551',`eval(`$5'*10000000/254)')')
	# how much pads extend beyond the package edge (1/1000 mil) (the 75 is 0.75 mm)
	define(`EXTOUT', eval(75*100000/254))
	# how much pads extend inward from the package pad edge (1/1000 mil)
	define(`EXTIN', eval(5*100000/254))
	# pad length/width (1/1000 mil)
	define(`PADLENGTH', `eval(`$8'*100000/254)')
	define(`PADWIDTH', `eval(`$7'*100000/254)')
	# pad width (mil/100)
	define(`PADWIDTHMIL100', `eval(PADWIDTH/10)')
	# min/max x coordinates for the pads on the left/right sides of the package (mil/100)
	define(`LRXMAX',`eval((LRWIDTH/2 + EXTOUT - PADWIDTH/2)/10)')
	define(`LRXMIN',`eval((LRWIDTH/2 -PADLENGTH - EXTIN + PADWIDTH/2)/10)')
	# min/max y coordinates for the pads on the top/bottom sides of the package (mil/100)
	define(`TBYMAX',`eval((TBWIDTH/2 + EXTOUT - PADWIDTH/2)/10)')
	define(`TBYMIN',`eval((TBWIDTH/2 -PADLENGTH - EXTIN + PADWIDTH/2)/10)')

	# pad size and drill size (mil/100) for the mounting holes
	define(`MOUNTPAD', 7700)
	define(`MOUNTDRILL', 2000)
	# soldermask relief size for mounting holes (mil/100) 
	define(`MOUNTMASK', `eval(MOUNTPAD + 1000)')

	# silkscreen width (mils/100)
	define(`SILKW', 1000)
	# how much the silk screen is moved away from the package (1/1000 mil)
	define(`SILKEXT', `eval(200*100000/254 + SILKW*10/2 + 5*1000)')
	# upper right corner for silk screen (mil/100)
	define(`SILKX', `eval((LRWIDTH/2 + SILKEXT )/10)')
	define(`SILKY', `eval((TBWIDTH/2 + SILKEXT )/10)')
	# refdes text size (mil/100)
	define(`TEXTSIZE', 100)
	# x,y coordinates for refdes label (mil/100)
	define(`TEXTX', -SILKX)
	define(`TEXTY', `eval(-SILKY - 1000 - TEXTSIZE/2)')
	# square exposed paddle size (mil/100)
	define(`EPSIZE', `eval(`$9'*10000/254)')

	# location of mounting holes (mil/100)
	define(`MOUNTX', `eval((LRWIDTH/2 + 39370)/10)')
	define(`MOUNTY', `eval((TBWIDTH/2 + 39370)/10)')

	# latch silkscreen width (mils/100)
	define(`LSILKW', 100)
	# points for latch silk on the left/right sides of the part (mil/100)
	define(`LATCHLRYMIN', `eval((-TBWIDTH/2 - 25*100000/254 )/10)')
	define(`LATCHLRYMAX', `eval(( TBWIDTH/2 + 25*100000/254 )/10)')
	define(`LATCHLRXMIN', SILKX)
	define(`LATCHLRXMAX', `eval(( LRWIDTH/2 + 400*100000/254 )/10)')
	# points for latch silk on the top/bottom sides of the part (mil/100)
	define(`LATCHTBXMIN', `eval((-LRWIDTH/2 - 25*100000/254 )/10)')
	define(`LATCHTBXMAX', `eval(( LRWIDTH/2 + 25*100000/254 )/10)')
	define(`LATCHTBYMIN', SILKY)
	define(`LATCHTBYMAX', `eval(( TBWIDTH/2 + 400*100000/254 )/10)')

	# points for silk showing where the exposed paddle contacts are (mil/100)
	define(`CONTL', 100)
	ifelse(1, eval(TBWIDTHMM>4), define(`CONTL', 200))
	ifelse(1, eval(TBWIDTHMM>5), define(`CONTL', 300))

	# spacing between rows of EP contacts in 1/100 mm.
	define(`CONTS', 0)
	ifelse(1, eval(TBWIDTHMM>5), define(`CONTS', `eval(TBWIDTHMM*100 - 430)'))

	define(`EPY', `eval((CONTL*100000/254)/10)')
	define(`EPXMIN', `eval(((CONTS/2 - 20/2)*100000/254)/10)')
	define(`EPXMAX', `eval(((CONTS/2 + 20/2)*100000/254)/10)')

	# soldermask opening (mil/100)
	define(`MASKSIZE', `eval((400*100000/254 + TBWIDTH)/10)')


# element_flags, description, pcb-name, value, mark_x, mark_y,
# text_x, text_y, text_direction, text_scale, text_flags
Element[0x00000000 "$1" "`$2'" "$3" 0 0 TEXTX TEXTY 0 TEXTSIZE 0x00000000]
(

# left row
define(`CURPIN', 1)
define(`idx',0)
forloop(`i', 1, LRPINS,
	`define(`Y', `eval((-LRYMAX + PITCH*idx)/10)')'
	`Pad[-LRXMAX  Y  -LRXMIN  Y  PADWIDTHMIL100  0 0 "CURPIN" "CURPIN"  0x00000000]'
	`define(`CURPIN', incr(CURPIN))'
	`define(`idx',incr(idx))'
)

# bottom row
define(`idx',0)
forloop(`i', 1, TBPINS,
	`define(`X', `eval((-TBXMAX + PITCH*idx)/10)')'
	`Pad[X  TBYMAX  X  TBYMIN  PADWIDTHMIL100 0 0 "CURPIN" "CURPIN"  0x00000800]'
	`define(`CURPIN', incr(CURPIN))'
	`define(`idx',incr(idx))'
)

# right row
define(`idx',0)
forloop(`i', 1, LRPINS,
	`define(`Y', `eval(( LRYMAX - PITCH*idx)/10)')'
	`Pad[LRXMAX  Y  LRXMIN  Y  PADWIDTHMIL100  0 0 "CURPIN" "CURPIN"  0x00000000]'
	`define(`CURPIN', incr(CURPIN))'
	`define(`idx',incr(idx))'
)

# top row
define(`idx',0)
forloop(`i', 1, TBPINS,
	`define(`X', `eval((TBXMAX - PITCH*idx)/10)')'
	`Pad[X  -TBYMAX  X  -TBYMIN  PADWIDTHMIL100 0 0 "CURPIN" "CURPIN" 0x00000800]'
	`define(`CURPIN', incr(CURPIN))'
	`define(`idx',incr(idx))'
)

# Exposed paddle.  Note that this pad also sets the soldermask
# relief for the entire part.
# Pad(X1, Y1, X2, Y3, width, clearance,
#     soldermask, "pin name", "pin number", flags)
Pad[0 0 0 0 EPSIZE 0 MASKSIZE "CURPIN" "CURPIN" 0x00000100]
define(`CURPIN', incr(CURPIN))
# Mounting pins

# Pin(x, y, thickness, clearance, mask, drilling hole, name,
#     number, flags 
Pin[ MOUNTX MOUNTY MOUNTPAD 1000 MOUNTMASK MOUNTDRILL "Mount1" "CURPIN" 0x0]
define(`CURPIN', incr(CURPIN))
Pin[ -MOUNTX MOUNTY MOUNTPAD 1000 MOUNTMASK MOUNTDRILL "Mount2" "CURPIN" 0x0]
define(`CURPIN', incr(CURPIN))
Pin[ -MOUNTX -MOUNTY MOUNTPAD 1000 MOUNTMASK MOUNTDRILL "Mount3" "CURPIN" 0x0]
define(`CURPIN', incr(CURPIN))
Pin[ MOUNTX -MOUNTY MOUNTPAD 1000 MOUNTMASK MOUNTDRILL "Mount4" "CURPIN" 0x0]

# Silk screen around package
ElementLine[ SILKX  SILKY  SILKX -SILKY SILKW]
ElementLine[ SILKX -SILKY -SILKX -SILKY SILKW]
ElementLine[-SILKX -SILKY -SILKX  SILKY SILKW]
ElementLine[-SILKX  SILKY  SILKX  SILKY SILKW]

# Pin 1 indicator
ElementLine[-SILKX -SILKY eval(-SILKX - 1500) eval(-SILKY - 1500) SILKW]

# Silk showing latch area

# top
ElementLine[ LATCHTBXMIN -LATCHTBYMIN LATCHTBXMIN -LATCHTBYMAX LSILKW ]
ElementLine[ LATCHTBXMIN -LATCHTBYMAX LATCHTBXMAX -LATCHTBYMAX LSILKW ]
ElementLine[ LATCHTBXMAX -LATCHTBYMIN LATCHTBXMAX -LATCHTBYMAX LSILKW ]

# bottom
ElementLine[ LATCHTBXMIN LATCHTBYMIN LATCHTBXMIN LATCHTBYMAX LSILKW ]
ElementLine[ LATCHTBXMIN LATCHTBYMAX LATCHTBXMAX LATCHTBYMAX LSILKW ]
ElementLine[ LATCHTBXMAX LATCHTBYMIN LATCHTBXMAX LATCHTBYMAX LSILKW ]

# left
ElementLine[ -LATCHLRXMIN LATCHLRYMAX -LATCHLRXMAX LATCHLRYMAX LSILKW ]
ElementLine[ -LATCHLRXMAX LATCHLRYMAX -LATCHLRXMAX LATCHLRYMIN LSILKW ]
ElementLine[ -LATCHLRXMIN LATCHLRYMIN -LATCHLRXMAX LATCHLRYMIN LSILKW ]

# right
ElementLine[ LATCHLRXMIN LATCHLRYMAX LATCHLRXMAX LATCHLRYMAX LSILKW ]
ElementLine[ LATCHLRXMAX LATCHLRYMAX LATCHLRXMAX LATCHLRYMIN LSILKW ]
ElementLine[ LATCHLRXMIN LATCHLRYMIN LATCHLRXMAX LATCHLRYMIN LSILKW ]

# Silk showing area for exposed paddle socket contacts
ElementLine[ EPXMIN -EPY EPXMIN  EPY LSILKW ]
ElementLine[ EPXMAX -EPY EPXMAX  EPY LSILKW ]
ElementLine[ EPXMIN  EPY EPXMAX  EPY LSILKW ]
ElementLine[ EPXMIN -EPY EPXMAX -EPY LSILKW ]

# packages with width >= 6.0 mm have 2 rows of contacts
ifelse(1, eval(TBWIDTHMM>5), 
ElementLine[ -EPXMIN -EPY -EPXMIN  EPY LSILKW ]
ElementLine[ -EPXMAX -EPY -EPXMAX  EPY LSILKW ]
ElementLine[ -EPXMIN  EPY -EPXMAX  EPY LSILKW ]
ElementLine[ -EPXMIN -EPY -EPXMAX -EPY LSILKW ]
)

)
T39,50
Description_johnstech_JOHNSTECH_QFN20_5`Johnstech QFN Socket, Series 1MM (724812-724839)'
T26,42
Description_geda_SOJ20_400`Small outline J-leaded package (400 mil)'
T19,2008
COMMON_SMT_3PAD_MIL
	define(`PADW', `$4')
	define(`PADL', `$5')
	define(`PADS', `$6')
	define(`PADW2',`$7')
	define(`PADL2',`$8')
	define(`SLKW', `$9')
	define(`SLKL', `$10')

	# silk screen width (mils)
	define(`SILKW', `10')
	
	# silk screen bounding box
	define(`XMIN', `eval( -PADS/2 - PADL/2 - SLKL - SILKW/2)')	
	define(`XMAX', `eval(  PADS/2 + PADL/2 + SLKL + SILKW/2)')
	define(`YMIN', `eval(-PADW2/2 - SLKW - SILKW/2)')	
	define(`YMAX', `eval( PADW2/2 + SLKW + SILKW/2)')
	define(`SKIP_SILK', `$11')

		
Element(0x00 "$1" "`$2'" "$3" eval(XMIN+20) eval(YMAX+20) 0 100 0x00)
(
	ifelse(0, eval(PADW>PADL),
	# Pads which have the perpendicular pad dimension less
	# than or equal to the parallel pad dimension 	
	Pad(eval(-1*(   PADS + PADL - PADW)/2) 0 
            eval((-1*PADS + PADL - PADW)/2) 0 eval(PADW) "1" 0x100)
	Pad(eval(-1*(-1*PADS + PADL - PADW)/2) 0 
            eval((   PADS + PADL - PADW)/2) 0 eval(PADW) "3" 0x100)
        ,
	# Pads which have the perpendicular pad dimension greater
	# than or equal to the parallel pad dimension 
 	Pad(eval(-1*PADS/2) eval(-1*(PADW - PADL)/2) 
            eval(-1*PADS/2)  eval((PADW - PADL)/2) eval(PADL) "1" 0x100)
 	Pad(eval(   PADS/2) eval(-1*(PADW - PADL)/2) 
            eval(   PADS/2)  eval((PADW - PADL)/2) eval(PADL) "3" 0x100)
	)

	ifelse(0, eval(PADW2>PADL2),
	# Pads which have the perpendicular pad dimension less
	# than or equal to the parallel pad dimension 	
	Pad(eval((-PADL2 + PADW2)/2) 0 
            eval(( PADL2 - PADW2)/2) 0 PADW2 "2" 0x100)
        ,
	# Pads which have the perpendicular pad dimension greater
	# than or equal to the parallel pad dimension 
 	Pad(0 eval((-PADW2 + PADL2)/2) 
            0 eval(( PADW2 - PADL2)/2) PADL2 "2" 0x100)
	)

	# silk screen
	# ends
	ElementLine(XMIN YMIN XMIN YMAX SILKW)
	ElementLine(XMAX YMAX XMAX YMIN SILKW)
	# sides
ifelse(SKIP_SILK,"no",
	#skip side silk
	,
	ElementLine(XMIN YMIN XMAX YMIN SILKW)
	ElementLine(XMAX YMAX XMIN YMAX SILKW)
)
	# Mark the common centroid of the part
	Mark(0 0)
)
T17,105
PinList_74685_dil`/P>Q',`P0',`Q0',`P1',`Q1',`P2',`Q2',`P3',`Q3',`Gnd',`P4',`Q4',`P5',`Q5',`P6',`Q6',`P7',`Q7',`/P=Q',`Vcc'
T17,126
PinList_74648_dil`CAB',`SAB',`DIR',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`Gnd',`B8',`B7',`B6',`B5',`B4',`B3',`B2',`B1',`/G',`SBA',`CBA',`Vcc'
T17,73
PinList_74278_dil`Strb',`D3',`D4',`P0',`P1',`Y4',`Gnd',`Y3',`Y2',`Y1',`NC',`D1',`D2',`Vcc'
T15,3
Param2_4016_dil600
T16,2
Param1_74195_dil16
T16,2
Param1_74158_dil16
T19,27
Description_uA7918C-18V 1.5A voltage regulator
T39,17
Description_generic_capacitor_axial_400`capacitor_axial'
T23,32
Description_geda_ALF800`Axial diode (pin 1 is cathode)'
T17,20
Description_BC635bipolar-N transistor
T19,3
Param2_WD33C93A_dil600
T17,3
Param2_DS1225_dil600
T15,2
Param1_7472_dil14
T11,72
PKG_LQFP_40PKG_GENERIC_QFP(`$1',`$2',`$3',`$4',`$5', `40',`25', `5', `50',`0',`$6')
T26,42
Description_geda_SOJ34_400`Small outline J-leaded package (400 mil)'
T22,37
Description_TLC272_dilDual precision operational amplifiers
T17,20
Description_BC636bipolar-P transistor
T17,115
PinList_74699_dil`U-/D',`CCK',`A',`B',`C',`D',`/ENP',`/CClr',`RCK',`Gnd',`R-/C',`/G',`/Load',`/ENT',`Qd',`Qc',`Qb',`Qa',`/RCO',`Vcc'
T19,2
Param1_MOLEX_025_4040
T12,42
PKG_TQFN28_5PKG_QFN_50(`$1',`$2',`$3', `28', `5', `0')
T10,72
PKG_QFP_50PKG_GENERIC_QFP(`$1',`$2',`$3',`$4',`$5', `50',`28',`20', `80',`0',`$6')
T13,41
PKG_QFP304_40PKG_QFP_50(`$1',`$2',`$3',`304',`40',`0')
T13,41
PKG_QFP120_28PKG_QFP_80(`$1',`$2',`$3',`120',`28',`0')
T14,39
PKG_HEADER12_1PKG_CONNECTOR_DIL(`$1', `$2', `$3',  6)
T25,15
Description_isa_eight_bit`isa_eight_bit'
T21,38
Description_geda_LED3`LED, size in mm (pin 1 is +, 2 is -)'
T21,38
Description_TL082_dilDual JFET input operational amplifiers
T15,2
Param1_7486_dil14
T15,2
Param1_7449_dil14
T14,41
PKG_TQFP144_28PKG_QFP_65(`$1',`$2',`$3',`144',`28',`0')
T14,38
PKG_HEADER12_2PKG_CONNECTOR(`$1', `$2', `$3',  6, 2)
T27,79
PKG_NICHICON_WT_CAP_6p3_5p4PKG_NICHICON_WT_CAP(`$1', `$2', `$3',
	`80', `260', `220', `680', `680', `590')
T11,72
PKG_LQFP_80PKG_GENERIC_QFP(`$1',`$2',`$3',`$4',`$5', `80',`40', `5', `50',`0',`$6')
T21,38
Description_geda_LED5`LED, size in mm (pin 1 is +, 2 is -)'
T28,23
Description_PCI5V_MIN_HEIGHTPCI 5V Array Min Height
T24,28
Description_MOLEX_025_50Molex .025 pitch 50 pin plug
T19,2
Param1_MOLEX_025_8080
T10,36
PKG_ACY150PKG_AXIAL_LAY(`$1', `$2', `$3', 150)
T16,2
Param1_TL074_dil14
T22,2
Param1_DIN41_651_10lay10
T10,46
PKG_SC70_3PKG_SMT_TRANSISTOR3( `$1', `$2', `$3', 13, 18)
T42,56
Description_nichicon_NICHICON_WT_CAP_3_5p4`Nichicon WT series SMT Aluminum Electrolytic Capacitor'
T19,3
Param2_PIC16C74_dil600
T16,3
Param2_74321_dil300
T20,2
Param1_generic18_dil18
T12,43
PKG_TQFN32_5PKG_QFN_50S(`$1',`$2',`$3', `32', `5', `0')
T13,62
PKG_SOJ18_450COMMON_SMT_DIL_MIL(`$1',`$2',`$3',18,23622,86614,50000,346457)
T10,46
PKG_SC70_4PKG_SMT_TRANSISTOR4( `$1', `$2', `$3', 13, 18)
T13,42
PKG_LQFP44_10PKG_LQFP_80(`$1',`$2',`$3', `44',`10',`0')
T26,28
Description_geda_QFP208_28`Square Quad-side flat pack'
T24,28
Description_MOLEX_025_90Molex .025 pitch 90 pin plug
T16,3
Param2_74180_dil300
T16,3
Param2_74143_dil300
T15,3
Param2_2716_dil600
T10,46
PKG_SC70_5PKG_SMT_TRANSISTOR5A(`$1', `$2', `$3', 13, 18)
T27,79
PKG_NICHICON_WT_CAP_6p3_5p8PKG_NICHICON_WT_CAP(`$1', `$2', `$3',
	`80', `260', `220', `680', `680', `630')
T22,13
Description_DS1225_dil`NVSRAM 8Kx8'
T27,24
Description_DIN41_651_22layDIN41.651 laying 22 pins
T18,1
Param2_connector102
T15,3
Param2_7410_dil300
T12,42
PKG_TQFN32_7PKG_QFN_65(`$1',`$2',`$3', `32', `7', `0')
T10,46
PKG_SC70_6PKG_SMT_TRANSISTOR6( `$1', `$2', `$3', 13, 18)
T20,27
Description_uA78M12C+12V 0.5A voltage regulator
T26,38
Description_geda_RESC1608L`Standard SMT resistor, capacitor etc'
T21,74
Description_74690_dil`4bit synchronous decade counter w. direct clear, output register 3-state'
T21,67
Description_74653_dil`8 inverting bus tranceiver/register OC A-output, 3-state B-output'
T21,39
Description_74283_dil`4bit binary full adders w. fast carry'
T6,2
rHOLE124
T17,105
PinList_74522_dil`/OEN',`P0',`Q0',`P1',`Q1',`P2',`Q2',`P3',`Q3',`Gnd',`P4',`Q4',`P5',`Q5',`P6',`Q6',`P7',`Q7',`/P=Q',`Vcc'
T16,3
Param2_74194_dil300
T16,3
Param2_74157_dil300
T18,2
Param1_MC68681_dil40
T9,34
PKG_DIP20PKG_N(`$1', `$2', `$3',  20,  300)
T26,38
Description_geda_RESC1608M`Standard SMT resistor, capacitor etc'
T23,64
Description_geda_RCY500`Bottom lead non-polar circular component (typically capacitor)'
T33,24
Description_candk_CANDK_ES01MSABE`C&K ES Series Switches'
T6,2
rHOLE228
T17,101
PinList_74381_dil`A1',`B1',`A0',`B0',`S0',`S1',`S2',`F0',`F1',`Gnd',`F2',`F3',`/G',`/P',`Cn',`B3',`A3',`B2',`A2',`Vcc'
T18,1
Param2_connector123
T16,3
Param2_74386_dil300
T15,3
Param2_7424_dil300
T16,2
Param1_74631_dil28
T16,2
Param1_74261_dil16
T12,41
PKG_QFP80_14PKG_QFP_65(`$1',`$2',`$3', `80',`14',`0')
T26,42
Description_geda_SOJ22_300`Small outline J-leaded package (300 mil)'
T26,38
Description_geda_RESC1608N`Standard SMT resistor, capacitor etc'
T21,21
Description_74297_dil`digital PLL filters'
T6,2
rHOLE350
T17,102
PinList_74573_dil`/Oe',`1D',`2D',`3D',`4D',`5D',`6D',`7D',`8D',`Gnd',`Le',`8Q',`7Q',`6Q',`5Q',`4Q',`3Q',`2Q',`1Q',`Vcc'
T17,86
PinList_74166_dil`SER',`A',`B',`C',`D',`Clk_Inh',`Clk',`Gnd',`/Clr',`E',`F',`G',`Qh',`H',`SH-/LD',`Vcc'
T18,1
Param2_connector502
T16,2
Param1_74490_dil16
T9,34
PKG_DIP22PKG_N(`$1', `$2', `$3',  22,  300)
T6,2
rHOLE480
T17,87
PinList_74395_dil`/Clr',`Ser',`A',`B',`C',`D',`Ld-/Sh',`Gnd',`/OC',`Clk',`Qd+',`Qd',`Qc',`Qb',`Qa',`Vcc'
T18,1
Param2_connector142
T15,3
Param2_7475_dil300
T15,3
Param2_7438_dil300
T16,2
Param1_74682_dil20
T16,2
Param1_74645_dil20
T13,74
PKG_INDC0402LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  26,   15,  31,  56,  28,   0,   0)
T26,42
Description_geda_SOJ36_300`Small outline J-leaded package (300 mil)'
T26,38
Description_geda_INDC1608L`Standard SMT resistor, capacitor etc'
T27,37
Description_geda_HEADER56_1`Header connector, DIP pin numbering'
T18,1
Param2_connector153
T16,2
Param1_74467_dil20
T13,74
PKG_INDC0402MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  36,   35,  51, 106,  38,   0,   0)
T9,34
PKG_DIP24PKG_N(`$1', `$2', `$3',  24,  600)
T17,49
PKG_DIN41612C64FSPKG_DIN41_612FEMALE_SMALL(`$1', `$2', `$3', `ac')
T26,38
Description_geda_INDC1608M`Standard SMT resistor, capacitor etc'
T27,42
Description_geda_HEADER56_2`Header connector, ribbon cable numbering'
T25,21
Description_cy7c64603_qfp`USB Microcontroller'
T29,26
Description_DIN41_651_50standDIN41.651 standing 50 pins
T18,1
Param2_connector162
T18,3
Param2_GAL16V8_dil300
T16,2
Param1_74696_dil20
T13,74
PKG_INDC0402NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  26,   25,  41,  81,  33,   0,   0)
T26,38
Description_geda_INDC1608N`Standard SMT resistor, capacitor etc'
T11,44
PKG_EIA3528PKG_SMT_2PAD_EIA(  `$1', `$2', `$3', 35, 28)
T18,1
Param2_connector183
T21,2
Param1_generic68_plcc68
T20,2
Param1_generic44_qfp44
T9,34
PKG_DIP64PKG_N(`$1', `$2', `$3',  64,  900)
T21,39
PKG_AMPHENOL_ARFX1230PKG_AMPHENOL_ARFX1229(`$1', `$2', `$3')
T23,30
Description_geda_SOD323`SMT diode (pin 1 is cathode)'
T17,55
PinList_TL082_dil`Out1',`In1-',`In1+',`Vcc-',`In2+',`In2-',`Out2',`Vcc+'
T7,384
PKG_ZIFdefine(`NUMPINS', `$4')
	define(`CENTER', eval(NUMPINS*19))
Element(0x00 "$1" "`$2'" "$3" 100 CENTER 0 100 0x00)
(

define(`X', 0)
define(`count', 1)
forloop(`i', 1, NUMPINS,
	`PAD(X, 12, X, 97, 24, count)' `define(`count', incr(count))'
	`define(`X', eval(X+39))'
)
PAD(-124, -41, -124, -151, 82, eval(NUMPINS+1))
PAD(eval(X+124-39), -41, eval(X+124-39), -151, 82, eval(NUMPINS+2))
)
T13,41
PKG_QFP240_32PKG_QFP_50(`$1',`$2',`$3',`240',`32',`0')
T9,34
PKG_DIP28PKG_N(`$1', `$2', `$3',  28,  600)
T21,39
PKG_AMPHENOL_ARFX1231PKG_AMPHENOL_ARFX1229(`$1', `$2', `$3')
T27,37
Description_geda_HEADER60_1`Header connector, DIP pin numbering'
T20,112
PinList_PIC16C54_dil`RA2',`RA3',`RTCC',`/MCLR',`VSS',`RB0',`RB1',`RB2',`RB3',`RB4',`RB5',`RB6',`RB7',`VDD',`OSC2',`OSC1',`RA0',`RA1'
T34,3
Param1_generic_capacitor_axial_400400
T11,42
PKG_PLCC68XPKG_PLCC_SOCKET(`$1', `$2', `$3', 68, 150)
T21,39
PKG_AMPHENOL_ARFX1232PKG_AMPHENOL_ARFX1229(`$1', `$2', `$3')
T23,45
Description_geda_SDIP20`Shrink dual in-line package, wide (300 mil)'
T27,42
Description_geda_HEADER60_2`Header connector, ribbon cable numbering'
T21,29
Description_74120_dil`2 pulse synchronizer/driver'
T21,11
Description_44251_zipVRAM 256Kx4
F7,7
esyscmdesyscmd
T21,2
Param1_AT90S8535_plcc44
T8,74
PKG_0805PKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 150,  130, 180, 350, 200,  20, 140)
T39,50
Description_johnstech_JOHNSTECH_QFN44_7`Johnstech QFN Socket, Series 1MM (724812-724839)'
T25,9
Description_generic18_dil`generic'
T13,11
PinList_BC327`E',`B',`C'
T16,3
Param2_74630_dil300
T16,3
Param2_74260_dil300
T12,41
PKG_QFP100_RPKG_QFP_65L(`$1',`$2',`$3',`100',`0',`0')
T14,39
PKG_HEADER36_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 18)
T19,27
Description_uA7824C+24V 1.5A voltage regulator
T23,45
Description_geda_SDIP22`Shrink dual in-line package, wide (300 mil)'
T21,25
Description_74541_dil`8 buffer/driver 3-state'
T21,22
Description_74171_dil`4 D-type FF w. clear'
T21,23
Description_74134_dil`12 input NAND 3-state'
T16,72
PinList_7450_dil`1A',`2A',`2B',`2C',`2D',`2Y',`Gnd',`1Y',`1C',`1D',`1X',`1/X',`1B',`Vcc'
T16,71
PinList_7413_dil`1A',`1B',`NC',`1C',`1D',`1Y',`Gnd',`2Y',`2A',`2B',`NC',`2C',`2D',`Vcc'
T18,2
Param1_MAX232A_dil16
T14,38
PKG_HEADER36_2PKG_CONNECTOR(`$1', `$2', `$3', 18, 2)
T11,2471
PKG_GEN_QFP
	define(`PX', `eval((PITCH*(XPADS-1)+127)/254)')
	define(`PY', `eval((PITCH*(YPADS-1)+127)/254)')
	define(`PHW', `eval(PAD_WIDTH/2)')
Element(0x00 "$1" "`$2'" "$3" 100 0 0 100 0x00)
(
	define(`count', 1)

	# left row, going down
	define(`X_OUTER', PHW)
	define(`X_INNER', eval(PAD_LENGTH-PHW))
	define(`Y0', `eval((Y_LENGTH-PY)/2)')
	forloop(`i', ISTART, YPADS,
		`define(`Y', eval(Y0+(PITCH*(i-1)+127)/254) )'
		`PAD(X_OUTER, Y, X_INNER, Y, PAD_WIDTH, count)'
		`define(`count',incr(count))'
	)

	# bottom row, going right
	ifelse(XPADS,0,,`
	define(`Y_OUTER', eval(Y_LENGTH-PHW))
	define(`Y_INNER', eval(Y_LENGTH+PHW-PAD_LENGTH))
	define(`X0', `eval((X_LENGTH-PX)/2)')
	forloop(`i', 1, XPADS,
		`define(`X', eval(X0+(PITCH*(i-1)+127)/254) )'
		`PAD(X, Y_OUTER, X, Y_INNER, PAD_WIDTH, count)'
		`define(`count',incr(count))'
	)')

	# right row, going up
	define(`X_OUTER', eval(X_LENGTH-PHW))
	define(`X_INNER', eval(X_LENGTH+PHW-PAD_LENGTH))
	define(`Y0', `eval((Y_LENGTH+PY)/2)')
	forloop(`i', 1, YPADS,
		`define(`Y', eval(Y0-(PITCH*(i-1)+127)/254) )'
		`PAD(X_OUTER, Y, X_INNER, Y, PAD_WIDTH, count)'
		`define(`count',incr(count))'
	)

	# top row, going left
	ifelse(XPADS,0,,`
	define(`Y_OUTER', PHW)
	define(`Y_INNER', eval(PAD_LENGTH+PHW-PAD_WIDTH))
	define(`X0', `eval((X_LENGTH+PX)/2)')
	forloop(`i', 1, XPADS,
		`define(`X', eval(X0-(PITCH*(i-1)+127)/254) )'
		`PAD(X, Y_OUTER, X, Y_INNER, PAD_WIDTH, count)'
		`define(`count',incr(count))'
	)')

	# left row, going down again, maybe
	define(`X_OUTER', PHW)
	define(`X_INNER', eval(PAD_LENGTH-PHW))
	define(`Y0', `eval((Y_LENGTH-PY)/2)')
	ifelse(ISTART,1,,`forloop(`i', 1, eval(ISTART-1),
		`define(`Y', eval(Y0+(PITCH*(i-1)+127)/254) )'
		`PAD(X_OUTER, Y, X_INNER, Y, PAD_WIDTH, count)'
		`define(`count',incr(count))'
	)')

	define(`NOSMUDGE', 10)
	define(`SSOX', eval(NOSMUDGE+PAD_LENGTH))
	define(`SSOY', ifelse(XPADS,0,0,eval(NOSMUDGE+PAD_LENGTH)))
	define(`PPX', eval(X_LENGTH-SSOX))
	define(`PPY', eval(Y_LENGTH-SSOY))
	ElementLine(SSOX SSOY PPX  SSOY 8)
	ElementLine(PPX  SSOY PPX  PPY  8)
	ElementLine(PPX  PPY  SSOX PPY  8)
	ElementLine(SSOX PPY  SSOX SSOY 8)

	# Pin 1 Indicator
	define(`Y1', ifelse(ISTART,1,`eval(SSOY+40)',
	                             `eval(Y0+(PITCH*(ISTART-1)+127)/254)'))
	ElementArc(eval(SSOX+40) Y1 20 20 0 360 10)

	# Moderately useful place for the Mark.  This way,
	# if the pins can line up with the grid, they do.
	Mark(eval((X_LENGTH-PX)/2) eval((Y_LENGTH-PY)/2))
)
T26,28
Description_geda_QFP100_14`Square Quad-side flat pack'
T16,3
Param2_74681_dil300
T16,3
Param2_74644_dil300
T16,3
Param2_74607_dil300
T35,3
Param1_smd_capacitor_polarized_1206120
T28,3
Param1_DIN41_612_abc96femaleabc
T16,2
Param1_74112_dil16
T15,2
Param1_2732_dil24
T11,40
PKG_RCY350PPKG_RADIAL_CAN(`$1', `$2', `$3', 700, 1)
T38,16
Description_generic_resistor_axial_400`resistor_axial'
T23,45
Description_geda_SDIP24`Shrink dual in-line package, wide (300 mil)'
T21,28
Description_74592_dil`8bit counter w. load/clear'
T21,46
Description_74518_dil`8bit identity comperator OC w. input pull-up'
T20,16
Description_7431_dil`delay elements'
T21,16
Description_74148_dil`8-to-3 encoder'
T16,59
PinList_7464_dil`A',`E',`F',`G',`H',`I',`Gnd',`Y',`J',`K',`B',`C',`D',`Vcc'
T16,71
PinList_7427_dil`1A',`1B',`2A',`2B',`2C',`2Y',`Gnd',`3Y',`3A',`3B',`3C',`1Y',`1C',`Vcc'
T16,3
Param2_74466_dil300
T26,42
Description_geda_SOJ32_450`Small outline J-leaded package (450 mil)'
T21,28
Description_74377_dil`8 FF w. single rail output'
T7,2
rHOLE2c40
T18,13
PinList_R_adjust_H`1', `c', `2'
T26,13
PinList_PCI5V_SMALL_HEIGHTPinList_PCI5V
T17,113
PinList_74690_dil`/CClr',`CCK',`A',`B',`C',`D',`ENP',`/RClr',`RCK',`Gnd',`R-/C',`/G',`/Load',`ENT',`Qd',`Qc',`Qb',`Qa',`RCO',`Vcc'
T17,127
PinList_74653_dil`CAB',`SAB',`GAB',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`Gnd',`B8',`B7',`B6',`B5',`B4',`B3',`B2',`B1',`/GBA',`SA',`CBA',`Vcc'
T17,89
PinList_74283_dil`Sum2',`B2',`A2',`Sum1',`A1',`B1',`C0',`Gnd',`C4',`Sum4',`B4',`A4',`Sum3',`A3',`B3',`Vcc'
T16,2
Param1_74163_dil16
T16,2
Param1_74126_dil14
T13,42
PKG_LQFP72_10PKG_LQFP_50(`$1',`$2',`$3', `72',`10',`0')
T23,1374
PKG_DIN41_612MALE_SMALLdefine(`XPOS', `eval(300 + 100 * i)')
	define(`MINY', 300)
Element(0x00 "$1" "`$2'" "$3" 520 550 0 200 0x00)
(
	# Reihe a
	ifelse(index(`$4', `a'), `-1', ,
		forloop(`i', 1, 16, `PIN(eval(2000 - 100 *i), 300, 60, 30, i)
	'))

	# Reihe b
	ifelse(index(`$4', `b'), `-1', , `define(`MINY', 200)'
		forloop(`i', 1, 16, `PIN(eval(2000 - 100 *i), 200, 60, 30, eval(16 + i))
	'))

	# Reihe c
	ifelse(index(`$4', `c'), `-1', , `define(`MINY', 100)'
		forloop(`i', 1, 16, `PIN(eval(2000 - 100 *i), 100, 60, 30, eval(32 + i))
	'))
    # Rueckseite Kontaktstifte
	forloop(`i', 1, 16, `ElementLine(XPOS MINY XPOS 375 40)
	')

	# Befestigungsbohrung
	Pin( 200 400 120 80 "M1" 0x01)
	Pin(2100 400 120 80 "M2" 0x01)

	# Begrenzung M1
	ElementLine( 100  300  320  300 20)
	ElementLine( 320  300  320  395 20)
	ElementLine( 320  395  320  620 10)
	ElementLine( 320  620  200  620 10)
	ElementLine( 200  620  100  620 20)
	ElementLine( 100  620  100  300 20)

	# Begrenzung M2
	ElementLine(1980  300 2200  300 20)
	ElementLine(2200  300 2200  620 20)
	ElementLine(2200  620 2100  620 20)
	ElementLine(2100  620 1980  620 10)
	ElementLine(1980  620 1980  395 10)
	ElementLine(1980  395 1980  300 20)

	# Kante Pins
	ElementLine( 320  395 1980  395 20)

	# Kanten Stifte
	ElementLine( 200 620  200 800 20)
	ElementLine( 200 800 2100 800 20)
	ElementLine(2100 800 2100 620 20)

	Mark(1900 300)
)
T12,213
PKG_208_LQFPdefine(`PITCH', 5000)
	define(`PAD_LENGTH', 60)
	define(`PAD_WIDTH', 10)
	define(`XPADS', 52)
	define(`YPADS', 52)
	define(`X_LENGTH', 1220)
	define(`Y_LENGTH', 1220)
	define(`ISTART', 1)
	PKG_GEN_QFP($1, $2, $3)

T21,10
Description_geda_UM1H`Crystals'
T21,10
Description_geda_HC49`Crystals'
T24,62
Description_geda_ACY1000`Axial non-polar component (typically resistor or capacitor),'
T20,31
Description_7445_dil`BCD to decimal decoder/driver'
T21,55
Description_74199_dil`8bit shift register w. parallel input/output/JK-input'
T20,12
Description_7408_dil`4 dual-AND'
T20,130
COMMON_AMP_MICTOR_MMCOMMON_AMP_MICTOR_MIL(`$1',`$2',`$3',`$4',
	eval($5*100000/254),eval($6*100000/254),eval($7*100000/254),eval($8*100000/254), `$9')
T11,116
QueryObjectifdef(`PinList_$1', `DefinePinList(PinList_$1)')
$3 ifdef(`Param1_$1', `Param1_$1') ifdef(`Param2_$1', `Param2_$1')

T16,82
PinList_7478_dil`Clk',`/1Pre',`1J',`Vcc',`/Clr',`/2Pre',`2K',`2Q',`/2Q',`2J',`Gnd',`/1Q',`1Q',`1K'
T17,3
Param2_DS1230_dil600
T15,2
Param1_7440_dil14
T16,2
Param1_74355_dil20
T15,2
Param1_7403_dil14
T10,37
PKG_RCY250PKG_RADIAL_CAN(`$1', `$2', `$3', 500)
T11,72
PKG_QFP_100PKG_GENERIC_QFP(`$1',`$2',`$3',`$4',`$5',`100',`50',`20',`100',`0',`$6')
T14,39
PKG_HEADER40_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 20)
T8,41
PKG_DB9FPKG_SUBD_FEMALE_LAY(`$1', `$2', `$3',  9)
T8,74
PKG_1206PKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 190,  130, 300, 490, 240, 120, 190)
T25,33
Description_geda_JUMPER10`Jumper, i.e. single row headers'
T22,38
Description_geda_DIP40`Dual in-line package, wide (600 mil)'
T30,31
Description_geda_DIN41612C64MS`DIN connector, 96 pin housing'
T27,24
Description_DIN41_651_50layDIN41.651 laying 50 pins
T17,125
PinList_74297_dil`B',`A',`ENCTR',`K-Clk',`I-D-Clk',`d-/U',`I-D-Out',`Gnd',`Phase-A1',`Phase-B',`XORPD-Out',`ECPD-Out',`Pahse-A2',`D',`C',`Vcc'
T16,2
Param1_74177_dil14
T11,55
PKG_TSSOP80COMMON_SMT_DIL_MM(`$1',`$2',`$3', 80, 25, 150, 40, 610)
T9,57
PKG_TSSOPCOMMON_SMT_DUALINLINE(`$1',`$2',`$3',`$4',260,2600,14,40)
T14,38
PKG_HEADER40_2PKG_CONNECTOR(`$1', `$2', `$3', 20, 2)
T11,46
PKG_DO214ABPKG_SMT_DIODE(       `$1', `$2', `$3', 79, 34)
T25,33
Description_geda_JUMPER11`Jumper, i.e. single row headers'
T20,21
Description_7496_dil`5bit shift register'
T24,2
Param1_DIN41_651_10stand10
T15,2
Param1_7491_dil14
T15,2
Param1_7454_dil14
T16,2
Param1_27512_dil28
T26,42
Description_geda_SOJ16_400`Small outline J-leaded package (400 mil)'
T24,39
Description_geda_QFN28_5`Square Quad Flat Nolead (QFN) package'
T25,33
Description_geda_JUMPER12`Jumper, i.e. single row headers'
T22,38
Description_geda_DIP42`Dual in-line package, wide (600 mil)'
T24,46
Description_geda_ACY150P`Axial polar component (typically capacitor),'
T16,2
Param1_74598_dil20
T7,58
PKG_UM1PKG_CRYSTAL_V(`$1', `$2', `$3', 148, 311, 126,  60, 32, 2)
T13,41
PKG_TQFP64_10PKG_QFP_50(`$1',`$2',`$3', `64',`10',`0')
T12,43
PKG_TQFN56_8PKG_QFN_50S(`$1',`$2',`$3', `56', `8', `0')
T19,26
Description_uA7905C-5V 1.5A voltage regulator
T29,16
Description_smd_capacitor_805`chip_capacitor'
T25,33
Description_geda_JUMPER13`Jumper, i.e. single row headers'
T23,32
Description_geda_ALF300`Axial diode (pin 1 is cathode)'
T21,40
Description_Z8536_dilCIO counter/timer with parallel I/O unit
T18,2
Param1_I82077_plcc68
T15,2
Param1_7468_dil16
T25,9
Description_generic44_qfp`generic'
T27,39
Description_geda_QFN16_4_EP`Square Quad Flat Nolead (QFN) package'
T25,33
Description_geda_JUMPER14`Jumper, i.e. single row headers'
T22,38
Description_geda_DIP44`Dual in-line package, wide (600 mil)'
T15,8
PinList_LED_5MM`-', `+'
T20,2
Param1_generic40_zip40
T16,40
PKG_DIN41651_60SPKG_DIN41_651STAND(`$1', `$2', `$3', 60)
T27,28
Description_geda_TQFP128_28`Square Quad-side flat pack'
T25,33
Description_geda_JUMPER15`Jumper, i.e. single row headers'
T14,16
PinList_MJE350`E',`C',`B', `C'
T19,2
Param1_PIC16C61_dil18
T11,55
PKG_TSSOP48COMMON_SMT_DIL_MM(`$1',`$2',`$3', 48, 30, 150, 50, 610)
T25,33
Description_geda_JUMPER16`Jumper, i.e. single row headers'
T19,165
PinList_GAL20V8_dil`CLK/I1',`I2',`I3',`I4',`I5',`I6',`I7',`I8',`I9',`I10',`I11',`Gnd',`I12/OE',`I13',`I/O/Qh',`I/O/Qg',`I/O/Qf',`I/O/Qe',`I/O/Qd',`I/O/Qc',`I/O/Qb',`I/O/Qa',`I14',`Vcc'
T16,3
Param2_74111_dil300
T25,2
Param1_DIN41_612_ab64maleab
T13,41
PKG_TQFP64_14PKG_QFP_80(`$1',`$2',`$3', `64',`14',`0')
T13,39
PKG_HEADER4_1PKG_CONNECTOR_DIL(`$1', `$2', `$3',  2)
T8,41
PKG_DB9MPKG_SUBD_MALE_LAY(  `$1', `$2', `$3',  9)
T44,56
Description_nichicon_NICHICON_WT_CAP_6p3_5p4`Nichicon WT series SMT Aluminum Electrolytic Capacitor'
T24,39
Description_geda_QFN32_5`Square Quad Flat Nolead (QFN) package'
T25,33
Description_geda_JUMPER17`Jumper, i.e. single row headers'
T22,14
Description_DS1230_dil`NVSRAM 32Kx8'
T17,20
Description_BC546bipolar-N transistor
T11,42
PKG_SSOP56WPKG_SSO(  `$1', `$2', `$3', 56, 420, 2500)
T13,62
PKG_SOJ30_400COMMON_SMT_DIL_MIL(`$1',`$2',`$3',30,23622,86614,50000,291339)
T9,67
PKG_SO32WCOMMON_SMT_DIL_MIL(`$1',`$2',`$3', 32, 20000, 80000, 50000, 430000)
T13,38
PKG_HEADER4_2PKG_CONNECTOR(`$1', `$2', `$3',  2, 2)
T16,40
PKG_DIN41651_64SPKG_DIN41_651STAND(`$1', `$2', `$3', 64)
T26,42
Description_geda_SOJ20_350`Small outline J-leaded package (350 mil)'
T25,33
Description_geda_JUMPER18`Jumper, i.e. single row headers'
T22,38
Description_geda_DIP48`Dual in-line package, wide (600 mil)'
T17,20
Description_BC547bipolar-N transistor
T21,22
Description_74621_dil`8 bus tranceivers OC'
T21,35
Description_74251_dil`data selector/multiplexor 3-state'
T16,22
PinList_uA79M12C`Com',`In',`Out',`=CC'
T17,93
PinList_74120_dil`1M',`/1S1',`/1S2',`/1R',`1C',`1Y',`/1Y',`Gnd',`/2Y',`2Y',`2C',`/2R',`/2S1',`/2S2',`2M',`Vcc'
T17,166
PinList_44251_zip`DSF',`DQ2',`DQ3',`/SE',`SDQ2',`SDQ3',`Vss',`SC',`SDQ0',`SDQ1',`/TRG',`DQ0',`DQ1',`/W',`NC-Gnd',`/RAS',`A8',`A6',`A5',`A4',`Vcc',`A7',`A3',`A2',`A1',`A0',`QSF',`/CAS'
T35,2
Param2_smd_capacitor_polarized_120660
T16,3
Param2_74162_dil300
T16,3
Param2_74125_dil300
T10,58
PKG_HC51UHPKG_CRYSTAL_H(`$1', `$2', `$3', 485, 757, 775,  80, 40, 2)
T24,39
Description_geda_QFN32_7`Square Quad Flat Nolead (QFN) package'
T25,33
Description_geda_JUMPER19`Jumper, i.e. single row headers'
T24,16
Description_PIC16C55_dilmicro controller
T17,20
Description_BC548bipolar-N transistor
T21,51
Description_74443_dil`4 tridirectional inverting bus tranceiver 3-state'
T16,3
Param2_74354_dil300
T13,62
PKG_SOJ44_400COMMON_SMT_DIL_MIL(`$1',`$2',`$3',44,23622,86614,50000,291339)
T26,42
Description_geda_SOJ34_350`Small outline J-leaded package (350 mil)'
T25,60
Description_geda_RCY1100P`Bottom lead polar circular component (typically capacitor)'
T21,60
Description_74672_dil`4bit universal shift register/latch 3-state w. sync. clear'
T21,30
Description_74265_dil`4 complementary output gates'
F4,4
incrincr
T17,103
PinList_74541_dil`/G1',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`Gnd',`Y8',`Y7',`Y6',`Y5',`Y4',`Y3',`Y2',`Y1',`/G2',`Vcc'
T17,88
PinList_74171_dil`/1Q',`/2Q',`2Q',`2D',`3D',`3Q',`/3Q',`Gnd',`/4Q',`4Q',`4D',`Clk',`/Clr',`1D',`1Q',`Vcc'
T17,69
PinList_74134_dil`A',`B',`C',`D',`E',`F',`G',`Gnd',`Y',`H',`I',`J',`K',`L',`/OC',`Vcc'
T16,3
Param2_74176_dil300
T16,3
Param2_74139_dil300
T8,58
PKG_TSOPCOMMON_SMT_DUALINLINE(`$1',`$2',`$3',`$4',`$5',`$6',12,40)
T10,36
PKG_ACY800PKG_AXIAL_LAY(`$1', `$2', `$3', 800)
T44,56
Description_nichicon_NICHICON_WT_CAP_6p3_5p8`Nichicon WT series SMT Aluminum Electrolytic Capacitor'
T23,28
Description_geda_TSOP28`Thin small outline package'
T16,3
Param2_74368_dil300
T15,3
Param2_7406_dil300
T16,2
Param1_74280_dil14
T16,2
Param1_74243_dil14
T38,42
Description_panasonic_PANASONIC_EXBV4V`Panasonic EXB Series Chip Resistor Array'
T28,9
Description_generic18smd_dil`generic'
T25,46
Description_geda_ACY1000P`Axial polar component (typically capacitor),'
T21,37
Description_74686_dil`8bit magnitute comperator w. enable'
T21,40
Description_74649_dil`8 inverting bus tranceiver/register OC'
T21,17
Description_74279_dil`4 /S-/R latches'
T18,13
PinList_R_adjust_V`1', `c', `2'
T17,87
PinList_74592_dil`B',`C',`D',`E',`F',`G',`H',`Gnd',`/Rc0',`/Clr',`Clk',`/ClkEn',`RClk',`/Load',`A',`Vcc'
T17,104
PinList_74518_dil`/OEN',`P0',`Q0',`P1',`Q1',`P2',`Q2',`P3',`Q3',`Gnd',`P4',`Q4',`P5',`Q5',`P6',`Q6',`P7',`Q7',`P=Q',`Vcc'
T17,76
PinList_74148_dil`4',`5',`6',`7',`/Ei',`A2',`A1',`Gnd',`A0',`0',`1',`2',`3',`/Gs',`/Eo',`Vcc'
T16,3
Param2_74597_dil300
T8,67
PKG_SO32COMMON_SMT_DIL_MIL(`$1',`$2',`$3', 32, 20000, 80000, 50000, 280000)
T17,102
PinList_74377_dil`/G',`1Q',`1D',`2D',`2Q',`3Q',`3D',`4D',`4Q',`Gnd',`Clk',`5Q',`5D',`6D',`6Q',`7Q',`7D',`8D',`8Q',`Vcc'
T15,3
Param2_7457_dil300
T16,2
Param1_74627_dil14
T16,2
Param1_74294_dil16
T16,2
Param1_74257_dil16
T43,32
Description_minicircuits_MINICIRCUITS_CD636`Mini-Circuits CD Style Package'
T26,42
Description_geda_SOJ18_300`Small outline J-leaded package (300 mil)'
T23,36
Description_geda_QSOP16`Quarter size small outline package'
T17,123
PinList_74199_dil`/K',`J',`A',`Qa',`B',`Qb',`C',`Qc',`D',`Qd',`ClkInh',`Gnd',`Clk',`/Clr',`Qe',`E',`Qf',`F',`Qg',`G',`Qh',`H',`SH-/LD',`Vcc'
T27,2
Param1_DIN41_612_ab64femaleab
T16,2
Param1_74449_dil16
T38,42
Description_panasonic_PANASONIC_EXBV8V`Panasonic EXB Series Chip Resistor Array'
T43,32
Description_minicircuits_MINICIRCUITS_CD637`Mini-Circuits CD Style Package'
T23,45
Description_geda_DIP16M`Dual in-line package, medium wide (400 mil)'
T18,20
Description_MJE350bipolar-P transistor
T14,76
PKG_SMD_SIMPLEdefine(`SMD_OUTLINE_EXTRA', `')
	PKG_SMD_BASE(`$1', `$2', `$3', `$4', `$5')

T27,28
Description_geda_LQFP112_20`Square Quad-side flat pack'
T27,37
Description_geda_HEADER14_1`Header connector, DIP pin numbering'
T21,2
Param1_generic84_plcc84
T25,79
PKG_NICHICON_WT_CAP_4_5p4PKG_NICHICON_WT_CAP(`$1', `$2', `$3',
	`80', `200', `100', `450', `450', `590')
T16,88
PKG_BOURNS_3224GPKG_BOURNS_GENERIC_POT(`$1',`$2',`$3',
	`127', `127', `200', `127', `520', `230', `480')
T27,39
Description_geda_QFN24_4_EP`Square Quad Flat Nolead (QFN) package'
T27,42
Description_geda_HEADER14_2`Header connector, ribbon cable numbering'
F6,6
divertdivert
T14,45
PKG_QFN48_7_EPPKG_QFN_50S(`$1',`$2',`$3', `48', `7', `560')
T25,9
Description_generic40_zip`generic'
T24,47
Description_geda_PLCC44X`Plastic leadless chip carrier with pin socket'
F3,3
dnldnl
T17,236
PinList_Z8536_dil`D4',`D5',`D6',`D7',`/RD',`/WR',`Gnd',`PB0',`PB1',`PB2',`PB3',`PB4',`PB5',`PB6',`PB7',`PCLK',`IEI',`IEO',`PC0',`PC1',`PC2',`PC3',`/Vcc',`/INT',`/INTACK',`PA7',`PA6',`PA5',`PA4',`PA3',`PA2',`PA1',`PA0',`A0',`A1',`/CE',`D0',`D1',`D2',`D3'
T15,312
PinList_SCSI_SE`Gnd',`/DB0',`Gnd',`/DB1',`Gnd',`/DB2',`Gnd',`/DB3',`Gnd',`/DB4',`Gnd',`/DB5',`Gnd',`/DB6',`Gnd',`/DB7',`Gnd',`/DBP',`Gnd',`NC',`Gnd',`NC',`Gnd',`NC',`NC',`TermPwr',`Gnd',`NC',`Gnd',`NC',`Gnd',`/Atn',`Gnd',`NC',`Gnd',`/Bsy',`Gnd',`/Ack',`Gnd',`/Rst',`Gnd',`/Msg',`Gnd',`/Sel',`Gnd',`/CD',`Gnd',`/Req',`Gnd',`/IO'
T16,125
PinList_2532_dil`A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`A11',`A10',`/Oe',`Vpp',`A9',`A8',`Vcc'
T12,1252
PKG_TO220LAYElement(0x00 "$1" "`$2'" "$3" 50 570 1 100 0x00)
(

# I have been unable to locate the JEDEC drawing.  However, refering
# to  http://www.zetex.com/3.0/pdf/TO220.pdf which claims to be JEDEC
# compliant, I see that the pins are rectangular with dimensions:
#
# 15-40 mils X 16-20 mils which gives a diagonal of
# 21.9 to 44.7 mils
#
# The pin pitch is 90 to 110 mils.
#
# The mounting hole is 139 to 160 mils diameter
	PIN(100, 800, 90, 60, 1)
	PIN(200, 800, 90, 60, 2)
	PIN(300, 800, 90, 60, 3)

	# Befestigungsbohrung
	PIN(200, 130, 150, 130, 4)

	# Anschlussdraehte
	ElementLine(100 800 100 620 30)
	ElementLine(200 800 200 620 30)
	ElementLine(300 800 300 620 30)

	# Gehaeuse
	ElementLine(  0 620 400 620 20)
	ElementLine(400 620 400 245 20)
	ElementLine(400 245   0 245 20)
	ElementLine(  0 245   0 620 20)

	# Kuehlfahne mit Kerben
	ElementLine(  0 245 400 245 20)
	ElementLine(400 245 400 120 20)
	ElementLine(400 120 385 120 20)
	ElementLine(385 120 385  50 20)
	ElementLine(385  50 400  50 20)
	ElementLine(400  50 400  10 20)
	ElementLine(400  10   0  10 20)
	ElementLine(  0  10   0  50 20)
	ElementLine(  0  50  15  50 20)
	ElementLine( 15  50  15 120 20)
	ElementLine( 15 120   0 120 20)
	ElementLine(  0 120   0 245 20)

	Mark(200 800)
)
T10,43
PKG_MSOP10PKG_TSOP(  `$1', `$2', `$3', 10, 199, 1969)
T14,39
PKG_HEADER64_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 32)
T12,40
PKG_ACY1300PPKG_AXIAL_LAY(`$1', `$2', `$3', 1300, 1)
T40,18
Description_generic_capacitor_radial_500`capacitor_radial'
T28,39
Description_geda_TQFN36_6_EP`Square Quad Flat Nolead (QFN) package'
T22,26
Description_NANOENGINEBright Star nanoEngine SBC
T21,2
Param2_smd_diode_120660
T24,2
Param2_smd_capacitor_60330
T18,3
Param2_MC68681_dil600
T13,62
PKG_SOJ32_300COMMON_SMT_DIL_MIL(`$1',`$2',`$3',32,23622,86614,50000,196850)
T14,44
PKG_QFN16_5_EPPKG_QFN_80(`$1',`$2',`$3', `16', `5', `310')
T14,38
PKG_HEADER64_2PKG_CONNECTOR(`$1', `$2', `$3', 32, 2)
T16,88
PKG_BOURNS_3224JPKG_BOURNS_GENERIC_POT(`$1',`$2',`$3',
	`130', `200', `200', `200', `400', `230', `480')
T14,42
PKG_LQFP128_14PKG_LQFP_40(`$1',`$2',`$3',`128',`14',`0')
T30,31
Description_geda_DIN41612C96FS`DIN connector, 96 pin housing'
T21,268
PinList_AT90S4434_dil`/Reset',`PD0/RxD',`PD1/TxD',`PD2/INT0',`PD3/INT1',`PD4/T0',`Vcc',`Gnd',`XTAL1',`XTAL2',`PD5/T1',`PD6/AIN0',`PD7/AIN1',`PB0/ICP',`PB1/OC1',`PB2//SS', `PB3/MOSI',`PB4/MISO',`PB5/SCK',`AVcc',`AREF',`AGnd',`PC0/ADC0',`PC1/ADC1',`PC2/ADC2',`PC3/ADC3',`PC4/ADC4',`PC5/ADC5'
T16,3
Param2_74242_dil300
T26,28
Description_geda_LQFP48_12`Square Quad-side flat pack'
T23,23
Description_GAL20V8_dilgeneric PAL replacement
T21,37
Description_74190_dil`syncronous 4bit BCD up/down counter'
T21,20
Description_74153_dil`2 4-to-1 selectors'
T21,25
Description_74116_dil`2 4bit lacthes w. clear'
T16,71
PinList_7432_dil`A1',`B1',`Y1',`A2',`B2',`Y2',`Gnd',`Y3',`A3',`B3',`Y4',`A4',`B4',`Vcc'
T38,42
Description_panasonic_PANASONIC_EXB14V`Panasonic EXB Series Chip Resistor Array'
T23,10
Description_geda_HC49UH`Crystals'
T29,31
Description_geda_DIN41651_34S`Header connector with latches'
T21,49
Description_74382_dil`ALU function generator w. overflow/ripple-carry'
T18,95
PinList_TLC274_dil`Out1',`In1-',`In1+',`Vdd',`In2+',`In2-',`Out2',`Out3',`In3-',`In3+',`Gnd',`In4+',`In4-',`Out4'
T17,104
PinList_74621_dil`GAB',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`Gnd',`B8',`B7',`B6',`B5',`B4',`B3',`B2',`B1',`/GBA',`Vcc'
T17,76
PinList_74251_dil`D3',`D2',`D1',`D0',`Y',`W',`/G',`Gnd',`C',`B',`A',`D7',`D6',`D5',`D4',`Vcc'
T16,3
Param2_74626_dil300
T16,3
Param2_74293_dil300
T21,26
Description_74574_dil`8 D-type edge FF 3-state'
T20,33
Description_7450_dil`2 AND-OR inverters (2x2 inputs)'
T21,35
Description_74167_dil`syncronous decade rate multiplier'
T20,35
Description_7413_dil`2 quad-input NAND Schmitt trigger'
T16,89
PinList_7483_dil`A4',`Sum3',`A3',`B3',`Vcc',`Sum2',`B2',`A2',`Sum1',`A1',`B1',`Gnd',`C0',`C4',`Sum4',`B4'
T16,79
PinList_7446_dil`B',`C',`/LT',`/BI-/RBO',`/RBI',`D',`A',`Gnd',`e',`d',`c',`b',`a',`g',`f',`Vcc'
T17,105
PinList_74443_dil`/CS',`B1',`C1',`C2',`B2',`B3',`C3',`C4',`B4',`Gnd',`S0',`S1',`A4',`A3',`A2',`A1',`/GA',`/GB',`/GC',`Vcc'
T16,71
PinList_7409_dil`1A',`1B',`1Y',`2A',`2B',`2Y',`Gnd',`3Y',`3A',`3B',`4Y',`4A',`4B',`Vcc'
T16,2
Param1_74323_dil20
T14,42
PKG_TQFP128_14PKG_LQFP_40(`$1',`$2',`$3',`128',`14',`0')
T11,43
PKG_QFN16_3PKG_QFN_50S(`$1',`$2',`$3', `16', `3', `0')
T10,34
PKG_DIP20MPKG_N(`$1', `$2', `$3',  20,  400)
T26,42
Description_geda_SOJ14_450`Small outline J-leaded package (450 mil)'
T24,60
Description_geda_RCY700P`Bottom lead polar circular component (typically capacitor)'
T21,27
Description_LM324_dilQuad operational amplifiers
T21,20
Description_74396_dil`8 storage register'
T17,114
PinList_74672_dil`Ser-R',`SRCK',`A',`B',`C',`D',`Ser-L',`/SRClr',`RCK',`Gnd',`R-/S',`/G',`S1',`S0',`Qd',`Qc',`Qb',`Qa',`CASC',`Vcc'
T17,81
PinList_74265_dil`1A',`1W',`1Y',`2A',`2B',`2W',`2Y',`Gnd',`3Y',`3W',`3A',`3B',`4Y',`4W',`4A',`Vcc'
T16,2
Param1_74182_dil16
T16,2
Param1_74145_dil16
T11,40
PKG_RCY300PPKG_RADIAL_CAN(`$1', `$2', `$3', 600, 1)
T11,42
PKG_QFN16_4PKG_QFN_65(`$1',`$2',`$3', `16', `4', `0')
T13,74
PKG_CAPC0603LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  30,   30,  50, 100,  60,   0,   0)
T23,31
Description_geda_PLCC32`Plastic leadless chip carrier'
T24,46
Description_geda_ACY800P`Axial polar component (typically capacitor),'
T33,24
Description_DIN41_612_abc48male_sDIN41.612 row a+b+c male
T20,34
Description_7464_dil`AND-OR inverter (4-2-3-2 inputs)'
T20,14
Description_7427_dil`3 triple-NOR'
T13,11
PinList_BC237`E',`B',`C'
T16,95
PinList_7497_dil`B1',`B4',`B5',`B0',`Z',`Y',`ENout',`Gnd',`Clk',`StrB',`ENin',`Unity/CAS',`Clr',`B2',`B3',`Vcc'
T16,2
Param1_74374_dil20
T15,2
Param1_7422_dil14
T12,397
PKG_TO92BASEElement(0x00 "$1" "`$2'" "$3" 60 70 0 100 0x00)
(

# The JEDEC drawing shows a pin diameter of 16-21 mils
#
#
#         _______
# TO92:  | 1 2 3 |   <-- bottom view
#         \_____/
#       
# The pin to pin spacing is 100 mils.
	PIN(250, 200, 72, 42, 1)
	PIN(150, 200, 72, 42, 2)
	PIN(50, 200, 72, 42, 3)

	ElementArc(150 200 100 100 315 270 10)
	ElementLine( 80 130 220 130 10)

	Mark(50 200)
)
T12,1145
PKG_TO18BASEElement["" "$1" "`$2'" "$3" 10300 11100 6000 7000 0 100 ""]
(

# The JEDEC drawing shows a pin diameter of 16-21 mils
#
#
#         ___x_
#        /     \
# TO18:  |3   1|     <-- bottom view (supposed to be a circle)
#        \  2  /
#          ---
#       
# NOTE:  some vendors, ST for example, number the pins
# differently.  Here we follow the JEDEC drawing.
#
# the pins are arranged along a 100 mil diameter
# circle.  The can outline is 178 to 195 mils
# for the top of the can and 209 to 230 mils
# for the bottom edge of the can
#
        Pin[0 -5000 5500 3000 6100 3500 "1" "1" ""]
        Pin[-5000 0 5500 3000 6100 3500 "2" "2" ""]
        Pin[0 5000 5500 3000 6100 3500 "3" "3" ""]
# x, y, width, height, start angle, delta angle, thickness
        ElementArc [0 0 9800 9800 0 360 1000]
# tab is 28 to 48 mils long, 36 to 46 wide
# and comes off at an angle of 45 deg clockwise from
# pin 1 when looking at the top of the board
        ElementLine [6700 -7900 9400 -10600 1000]
        ElementLine [7300 -7300 10000 -10000 1000]
        ElementLine [7900 -6700 10600 -9400 1000]
        ElementLine [9400 -10600 10600 -9400 1000]
)
T11,42
PKG_QFN16_5PKG_QFN_80(`$1',`$2',`$3', `16', `5', `0')
T11,343
PKG_MTA_156
Element(0x00 "$1" "`$2'" "$3" 0  140 0 150 0x00)
(
	forloop(`i', 1, `$4',
		`PIN(eval((i-1)*156), 0, 100, 70, `i')
	')
	define(`X1',-78)
	define(`X2', `eval(`$4'*156-78)')
	ElementLine(X1  120 X2  120 10) 
	ElementLine(X2  120 X2 -180 10) 
	ElementLine(X2 -180 X1 -180 10) 
	ElementLine(X2  -80 X1  -80 10) 
	ElementLine(X1 -180 X1  120 10)
)
T13,74
PKG_CAPC0603MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  50,   50,  80, 160,  90,   0,   0)
T11,39
PKG_ACY400PPKG_AXIAL_LAY(`$1', `$2', `$3', 400, 1)
T19,27
Description_uA7815C+15V 1.5A voltage regulator
T26,42
Description_geda_SOJ28_450`Small outline J-leaded package (450 mil)'
T21,40
Description_geda_SO14`Small outline package, narrow (150mil)'
F8,8
undivertundivert
T17,127
PinList_74686_dil`/P>Q',`/G1',`P0',`Q0',`P1',`Q1',`NC',`P2',`Q2',`P3',`Q3',`Gnd',`P4',`Q4',`P5',`Q5',`P6',`Q6',`NC',`P7',`Q7',`/P=Q',`/G2',`Vcc'
T17,126
PinList_74649_dil`CAB',`SAB',`DIR',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`Gnd',`B8',`B7',`B6',`B5',`B4',`B3',`B2',`B1',`/G',`SBA',`CBA',`Vcc'
T17,95
PinList_74279_dil`/1R',`/1S1',`/1S2',`1Q',`/2R',`/2S',`2Q',`Gnd',`3Q',`/3R',`/3S1',`/3S2',`4Q',`/4R',`/4S',`Vcc'
T17,2
Param1_TLC274_dil14
T16,2
Param1_74196_dil14
T16,2
Param1_74159_dil24
T9,28
PKG_ZIP12PKG_SD(`$1', `$2', `$3', 12)
T10,34
PKG_DIP24MPKG_N(`$1', `$2', `$3',  24,  400)
T13,74
PKG_CAPC0603NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  40,   40,  60, 130,  80,   0,   0)
T20,38
Description_7478_dil`2 JK FF w. preset and common Clk/Clr'
T22,2
Param1_DIN41_651_64lay64
T15,2
Param1_7473_dil14
T10,34
PKG_DIP24NPKG_N(`$1', `$2', `$3',  24,  300)
T43,32
Description_minicircuits_MINICIRCUITS_CB518`Mini-Circuits CB Style Package'
T23,24
Description_geda_SOT223`SMT transistor, 4 pins'
T21,40
Description_geda_SO16`Small outline package, narrow (150mil)'
T24,39
Description_geda_QFN56_8`Square Quad Flat Nolead (QFN) package'
T23,37
Description_geda_TANT_A`Tantalum SMT capacitor (pin 1 is +)'
T24,20
Description_WD33C93A_dilSE-SCSI-I controller
T21,38
Description_TL083_dilDual JFET input operational amplifiers
T23,2
Param2_smd_resistor_80550
T11,42
PKG_QFN20_4PKG_QFN_50(`$1',`$2',`$3', `20', `4', `0')
T10,34
PKG_DIP28MPKG_N(`$1', `$2', `$3',  28,  400)
T23,37
Description_geda_TANT_B`Tantalum SMT capacitor (pin 1 is +)'
T30,28
Description_geda_LQFP128_14_EP`Square Quad-side flat pack'
T24,46
Description_geda_ACY100P`Axial polar component (typically capacitor),'
T18,3
Param2_MAX232A_dil300
T9,28
PKG_ZIP16PKG_SD(`$1', `$2', `$3', 16)
T10,38
PKG_RCY900PKG_RADIAL_CAN(`$1', `$2', `$3', 1800)
T11,42
PKG_QFN20_5PKG_QFN_65(`$1',`$2',`$3', `20', `5', `0')
T10,34
PKG_DIP28NPKG_N(`$1', `$2', `$3',  28,  300)
T32,12
Description_generic_smd_chip_603smd chip 603
T23,37
Description_geda_TANT_C`Tantalum SMT capacitor (pin 1 is +)'
T22,45
Description_geda_DIP8M`Dual in-line package, medium wide (400 mil)'
T19,3
Param2_PIC16C61_dil300
T15,44
PKG_TQFN36_6_EPPKG_QFN_50(`$1',`$2',`$3', `36', `6', `370')
T13,62
PKG_SOJ42_450COMMON_SMT_DIL_MIL(`$1',`$2',`$3',42,23622,86614,50000,346457)
T16,88
PKG_BOURNS_3224WPKG_BOURNS_GENERIC_POT(`$1',`$2',`$3',
	`130', `160', `200', `160', `290', `254', `480')
T24,29
Description_r_025_csil_4`4xR-array 0.25W, common pin'
T23,37
Description_geda_TANT_D`Tantalum SMT capacitor (pin 1 is +)'
F8,8
sincludesinclude
F6,6
definedefine
T16,2
Param1_TL075_dil14
T22,2
Param1_DIN41_651_20lay20
T9,28
PKG_ZIP18PKG_SD(`$1', `$2', `$3', 18)
T12,42
PKG_LQFP32_5PKG_LQFP_50(`$1',`$2',`$3', `32', `5',`0')
T16,40
PKG_DIN41651_10SPKG_DIN41_651STAND(`$1', `$2', `$3', 10)
T16,88
PKG_BOURNS_3224XPKG_BOURNS_GENERIC_POT(`$1',`$2',`$3',
	`132', `190', `200', `190', `510', `254', `480')
T42,56
Description_nichicon_NICHICON_WT_CAP_4_5p4`Nichicon WT series SMT Aluminum Electrolytic Capacitor'
T28,39
Description_geda_TQFN12_4_EP`Square Quad Flat Nolead (QFN) package'
T26,29
Description_geda_PENTAWATT`Power IC, as in MULTIWATT15'
T16,3
Param2_74322_dil300
T24,29
Description_r_025_csil_6`6xR-array 0.25W, common pin'
T26,38
Description_geda_RESC0402L`Standard SMT resistor, capacitor etc'
T27,37
Description_geda_HEADER38_1`Header connector, DIP pin numbering'
T21,45
Description_74640_dil`8 bus tranceiver 3-state w. inverting logic'
T16,3
Param2_74181_dil300
T16,3
Param2_74107_dil300
T12,42
PKG_LQFP32_7PKG_LQFP_80(`$1',`$2',`$3', `32', `7',`0')
T24,29
Description_r_025_csil_7`7xR-array 0.25W, common pin'
T26,38
Description_geda_RESC0402M`Standard SMT resistor, capacitor etc'
T27,42
Description_geda_HEADER38_2`Header connector, ribbon cable numbering'
T24,16
Description_PIC16C74_dilmicro controller
T11,691
COMMON_D_DWdefine(`MAXY', `eval(`$4' / 2 * 50)')
	define(`MAXX', `$5')
	define(`XLOW', `50')
	define(`XHIGH', `eval(MAXX - 50)')
	define(`CENTERX', `eval(MAXX / 2)')
Element(0x00 "$1" "`$2'" "$3" eval(CENTERX + 20) 50 3 100 0x00)
(
	forloop(`i', 1, eval($4 / 2),
		`PAD(0, eval(i * 50 -25), XLOW, eval(i * 50 -25), 20, i)
	')
	forloop(`i', 1, eval($4 / 2),
		`PAD(XHIGH, eval(MAXY - i * 50 +25), MAXX, eval(MAXY - i * 50 +25), 20, eval(i + $4/2))
	')
	ElementLine(XLOW 0 XLOW MAXY 10)
	ElementLine(XLOW MAXY XHIGH MAXY 10)
	ElementLine(XHIGH MAXY XHIGH 0 10)
	ElementLine(XLOW 0 eval(CENTERX - 25) 0 10)
	ElementLine(eval(CENTERX + 25) 0 XHIGH 0 10)
	ElementArc(CENTERX 0 25 25 0 180 10)
	Mark(25 25)
)
T16,3
Param2_74373_dil300
T15,3
Param2_7411_dil300
T24,3
Param1_generic_diode_500500
T13,62
PKG_SOJ26_400COMMON_SMT_DIL_MIL(`$1',`$2',`$3',26,23622,86614,50000,291339)
T8,34
PKG_DIP6PKG_N(`$1', `$2', `$3',   6,  300)
T16,40
PKG_DIN41651_14SPKG_DIN41_651STAND(`$1', `$2', `$3', 14)
T20,27
Description_uA79M12C-12V 0.5A voltage regulator
T24,29
Description_r_025_csil_8`8xR-array 0.25W, common pin'
T26,42
Description_geda_SOJ16_350`Small outline J-leaded package (350 mil)'
T26,38
Description_geda_RESC0402N`Standard SMT resistor, capacitor etc'
T21,74
Description_74691_dil`4bit synchronous binary counter w. direct clear, output register 3-state'
T21,36
Description_74247_dil`BCD to 7-segment decoder/driver OC'
T17,93
PinList_74190_dil`B',`Qb',`Qa',`/CTEN',`D-/U',`Qc',`Qd',`Gnd',`D',`C',`/Load',`Max-Min',`/RCO',`Clk',`A',`Vcc'
T17,89
PinList_74153_dil`/1G',`B',`1C3',`1C2',`1C1',`1C0',`1Y',`Gnd',`2Y',`2C0',`2C1',`2C2',`2C3',`A',`/2G',`Vcc'
T17,151
PinList_74116_dil`/1Clr',`/1C1',`/1C2',`1D1',`1Q1',`1D2',`1Q2',`1D3',`1Q3',`1D4',`1Q4',`Gnd',`/2Clr',`/2C1',`/2C2',`2D1',`2Q1',`2D2',`2Q2',`2D3',`2Q3',`2D4',`2Q4',`Vcc'
T21,3
Param2_generic68_plcc150
T14,1
Param2_SCSI_SE2
T16,3
Param2_74195_dil300
T16,3
Param2_74158_dil300
T16,2
Param1_74440_dil20
T18,69
PinList_uA709C_dil`FreqCompB',`In-',`In+',`Vcc-',`OutFreqComp',`Out',`Vcc+',`FreqCompA'
T17,104
PinList_74382_dil`A1',`B1',`A0',`B0',`S0',`S1',`S2',`F0',`F1',`Gnd',`F2',`F3',`Ovr',`Cn+4',`Cn',`B3',`A3',`B2',`A2',`Vcc'
T15,3
Param2_7425_dil300
T35,3
Param1_generic_capacitor_radial_300300
T8,34
PKG_DIP8PKG_N(`$1', `$2', `$3',   8,  300)
T26,38
Description_geda_INDC0402L`Standard SMT resistor, capacitor etc'
T21,41
Description_74668_dil`4bit synchronous decade up/down counter'
T21,38
Description_74298_dil`4 dual-input multiplexors w. storage'
T17,103
PinList_74574_dil`/Oe',`1D',`2D',`3D',`4D',`5D',`6D',`7D',`8D',`Gnd',`Clk',`8Q',`7Q',`6Q',`5Q',`4Q',`3Q',`2Q',`1Q',`Vcc'
T17,101
PinList_74167_dil`NC',`B2',`B3',`Set-to-9',`Z',`Y',`ENout',`Gnd',`Clk',`StrB',`ENin',`Unity-CAS',`Clr',`Bo',`B1',`Vcc'
T18,3
Param2_I82077_plcc150
T11,55
PKG_TSSOP8WCOMMON_SMT_DIL_MM(`$1',`$2',`$3',  8, 33, 150, 65, 440)
T10,36
PKG_ACY300PKG_AXIAL_LAY(`$1', `$2', `$3', 300)
T26,38
Description_geda_INDC0402M`Standard SMT resistor, capacitor etc'
T27,37
Description_geda_HEADER42_1`Header connector, DIP pin numbering'
T17,95
PinList_LM324_dil`Out1',`In1-',`In1+',`Vcc',`In2+',`In2-',`Out2',`Out3',`In3-',`In3+',`Gnd',`In4+',`In4-',`Out4'
T17,90
PinList_74396_dil`2Q1',`1Q1',`D1',`2Q2',`1Q2',`D2',`Clk',`Gnd',`D3',`1Q3',`2Q3',`D4',`1Q4',`2Q4',`/G',`Vcc'
T21,3
Param2_AT90S8535_plcc150
T15,3
Param2_7476_dil300
T15,3
Param2_7439_dil300
T23,2
Param1_generic14smd_dil14
T16,2
Param1_74683_dil20
T16,2
Param1_74646_dil24
T16,2
Param1_74276_dil20
T22,63
PKG_MINICIRCUITS_CD636COMMON_SMT_DIL_MIL(`$1',`$2',`$3',6,65000,100000,100000,100000)
T43,32
Description_minicircuits_MINICIRCUITS_CD541`Mini-Circuits CD Style Package'
T26,38
Description_geda_INDC0402N`Standard SMT resistor, capacitor etc'
T27,42
Description_geda_HEADER42_2`Header connector, ribbon cable numbering'
T16,2
Param1_74468_dil20
T11,38
PKG_RCY1200PKG_RADIAL_CAN(`$1', `$2', `$3', 2400)
T22,63
PKG_MINICIRCUITS_CD637COMMON_SMT_DIL_MIL(`$1',`$2',`$3',6,65000,100000,100000,100000)
T43,32
Description_minicircuits_MINICIRCUITS_CD542`Mini-Circuits CD Style Package'
T29,150
PinList_DIN41_612_abc48femaleforloop(`i', 1, 16, `define(`P_'i, `a'i)')
	forloop(`i', 1, 16, `define(`P_'eval(i +16), `b'i)')
	forloop(`i', 1, 16, `define(`P_'eval(i +32), `c'i)')
T17,1
Param1_uA709C_dil8
T21,2
Param1_generic24w_dil24
T16,2
Param1_74697_dil20
T13,62
PKG_SOJ30_350COMMON_SMT_DIL_MIL(`$1',`$2',`$3',30,23622,86614,50000,244094)
T13,41
PKG_QFP128_28PKG_QFP_80(`$1',`$2',`$3',`128',`28',`0')
T20,77
PKG_JOHNSTECH_QFN_40PKG_GENERIC_JOHNSTECH7248_QFN(`$1',`$2',`$3',`$4',`$5', `40',`36',`50', `$6')
T14,39
PKG_HEADER18_1PKG_CONNECTOR_DIL(`$1', `$2', `$3',  9)
T8,47
PKG_2706PKG_SMT_2PAD_MIL(  `$1', `$2', `$3', 270,   60)
T24,33
Description_geda_QFP64_R`Rectangular Quad-side flat pack'
F8,8
undefineundefine
T27,150
PinList_DIN41_612_abc48maleforloop(`i', 1, 16, `define(`P_'i, `a'i)')
	forloop(`i', 1, 16, `define(`P_'eval(i +16), `b'i)')
	forloop(`i', 1, 16, `define(`P_'eval(i +32), `c'i)')
T16,3
Param2_TL074_dil300
T21,73
PKG_MINICIRCUITS_KK81COMMON_SMT_DIL_MIL(`$1',`$2',`$3',6,50000,126000,100000,354000,"reverse")
T14,38
PKG_HEADER18_2PKG_CONNECTOR(`$1', `$2', `$3',  9, 2)
T13,62
PKG_SOJ44_350COMMON_SMT_DIL_MIL(`$1',`$2',`$3',44,23622,86614,50000,244094)
T25,39
Description_geda_TQFN12_4`Square Quad Flat Nolead (QFN) package'
T16,16
PinList_uA78L08C`In',`Com',`Out'
T17,115
PinList_TL083_dil`1 In-',`1 In+',`1 OfsN2',`Vcc-',`2 OfsN2',`2 In+', `2 In-', `2 OfsN1',`Vcc+',`2 Out',`NC',`1 Out',`Vcc+',`1 OfsN1'
T26,3
Param1_DIN41_612_abc48maleabc
T10,34
PKG_SDIP18PKG_NS(`$1', `$2', `$3', 18,  300)
T14,45
PKG_QFN32_5_EPPKG_QFN_50S(`$1',`$2',`$3', `32', `5', `310')
T20,47
PKG_PANASONIC_EXB24VCOMMON_SMT_DIL_MM(`$1',`$2',`$3',4,38,48,65,50)
T20,77
PKG_JOHNSTECH_QFN_80PKG_GENERIC_JOHNSTECH7248_QFN(`$1',`$2',`$3',`$4',`$5', `80',`36',`50', `$6')
T21,38
Description_geda_US14`Ultra (Micro?) Small outline package'
T20,170
PinList_PIC16C55_dil`RTCC',`VDD',`nc',`VSS',`nc',`RA0',`RA1',`RA2',`RA3',`RB0',`RB1',`RB2',`RB3',`RB4',`RB5',`RB6',`RB7',`RC0',`RC1',`RC2',`RC3',`RC4',`RC5',`RC6',`RC7',`OSC2',`OSC1',`/MCLR'
T16,143
PinList_L297_dil`Sync',`Gnd',`Home',`A',`/Inh1',`B',`C',`/Inh2',`D',`Enable',`Control',`Vs',`Sens2',`Sens1',`Vref',`Osc',`CW/CCW',`/Clock',`Half/Full',`/Reset'
T24,2
Param2_smd_resistor_120660
T22,2
Param1_DIN41_651_18lay18
T13,62
PKG_SOJ14_300COMMON_SMT_DIL_MIL(`$1',`$2',`$3',14,23622,86614,50000,196850)
T13,74
PKG_RESC0603LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  30,   30,  50, 100,  60,   0,   0)
T8,2914
PKG_PLCCdefine(`NUMPINS', `$4')
	ifelse(eval(NUMPINS == 32),1,`define(`QUARTER',7)',`define(`QUARTER', `eval($4 /4)')')
	define(`OFFSET', `eval((QUARTER +1) /2)')
	define(`WIDTH', `eval((QUARTER-1) *50 +2*75)')
	ifelse(eval(NUMPINS == 32),1,`define(`SIDE',`eval((NUMPINS-2*QUARTER)/2)')', `define(`SIDE',QUARTER)')
	define(`HEIGHT', `eval((SIDE-1)* 50 + 2*75)')
	define(`CENTER', `eval(WIDTH / 2)')
	define(`PUSHOUT', 20)    # was 15
	define(`PUSHIN', 40)     # was 50
Element(0x00 "$1" "`$2'" "$3" 100 CENTER 0 100 0x00)
(
	# top left half
define(`X', CENTER)
define(`Y', 0)
define(`count', 1)
forloop(`i', 1, OFFSET,
	`PAD(X, eval(Y-PUSHOUT), X, eval(Y+PUSHIN), 20, count)' `define(`count', incr(count))'
	`define(`X', eval(X-50))'
	)


	# left row
define(`X', 0)
define(`Y', 75)
define(`count', `eval(OFFSET+1)')
forloop(`i', 1, SIDE,
	`PAD(eval(X-PUSHOUT), Y, eval(X+PUSHIN), Y, 20, count)' `define(`count', incr(count))'
	`define(`Y', eval(Y+50))'
	)

	# bottom row
define(`X', 75)
define(`Y', HEIGHT)
forloop(`i', 1, QUARTER,
	`PAD(X, eval(Y+PUSHOUT), X, eval(Y-PUSHIN), 20, count)' `define(`count', incr(count))'
	`define(`X', eval(X+50))'
)

	# right row
define(`X', WIDTH)
define(`Y', eval(HEIGHT-75))
forloop(`i', 1, SIDE,
	`PAD(eval(X+PUSHOUT), Y, eval(X-PUSHIN), Y, 20, count)' `define(`count', incr(count))'
	`define(`Y', eval(Y-50))'
)

	# top right row
define(`X', eval(WIDTH-75))
define(`Y', 0)
forloop(`i', 1, eval(OFFSET-1),
	`PAD(X, eval(Y-PUSHOUT), X, eval(Y+PUSHIN), 20, count)' `define(`count', incr(count))'
	`ifelse(eval(count > NUMPINS), 1, `define(`count', 1)')'
	`define(`X', eval(X-50))'
)

#	ElementLine(50 0 WIDTH 0 20)
#	ElementLine(WIDTH 0 WIDTH WIDTH 20)
#	ElementLine(WIDTH WIDTH 0 WIDTH 20)
#	ElementLine(0 WIDTH 0 50 20)
#	ElementLine(0 50 50 0 20)

# Modified by Thomas Olson to eliminate silkscreen blobbing over pads.
# Approach one: eliminate ElementLine transgression over pads. leave corners
# only.

define(`OLWIDTH', eval(WIDTH-50))
define(`OLHEIGHT', eval(HEIGHT-50))
	
	ElementLine(OLWIDTH 0 WIDTH 0 10)
	ElementLine(WIDTH 0 WIDTH 50 10)
	ElementLine(WIDTH OLHEIGHT WIDTH HEIGHT 10)
	ElementLine(WIDTH HEIGHT OLWIDTH HEIGHT 10)
	ElementLine(50 HEIGHT 0 HEIGHT 10)
	ElementLine(0 HEIGHT 0 OLHEIGHT 10)
	ElementLine(0 50 50 0 10)

# Approach two: move outline to edge of pads.
# The outline should be 15 off. But since the pad algorithm
# is not making the square pads correctly I give it a total of 30
# to clear the pads.

# Try 40 mils, and parameterize it.  1/12/00 LRD
define(`NOSMUDGE', 40)
define(`OLWIDTH', eval(WIDTH+NOSMUDGE))
define(`OLHEIGHT', eval(HEIGHT+NOSMUDGE))

	ElementLine(50 -NOSMUDGE OLWIDTH -NOSMUDGE 10)
	ElementLine(OLWIDTH -NOSMUDGE OLWIDTH OLHEIGHT 10)
	ElementLine(OLWIDTH OLHEIGHT -NOSMUDGE OLHEIGHT 10)
	ElementLine(-NOSMUDGE OLHEIGHT -NOSMUDGE 50 10)
	ElementLine(-NOSMUDGE 50 50 -NOSMUDGE 10)

	ElementArc(CENTER 100 20 20 0 360 10)

	Mark(0 0)
)
T39,26
Description_smd_capacitor_polarized_805`chip_capacitor_polarized'
T28,39
Description_geda_TQFN20_4_EP`Square Quad Flat Nolead (QFN) package'
T23,18
Description_connector10connector 2x5 pins
T21,51
Description_74121_dil`monostable multivibrator w. Schmitt trigger input'
T20,12
Description_2532_dil`EPROM 4Kx8'
T16,71
PinList_7400_dil`1A',`1B',`1Y',`2A',`2B',`2Y',`Gnd',`3Y',`3B',`3A',`4Y',`4B',`4A',`Vcc'
T15,44
PKG_TQFN12_4_EPPKG_QFN_80(`$1',`$2',`$3', `12', `4', `210')
T10,37
PKG_TO126SPKG_TO126LAY_WIDE(  `$1', `$2', `$3')
T13,74
PKG_RESC0603MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  50,   50,  80, 160,  90,   0,   0)
T13,72
PKG_HEPTAWATTGENERIC_PL_POWER(`$1', `$2', `$3',  7,  50, 409, 189, 110, 90, 60, 200) 
T14,39
PKG_HEADER22_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 11)
T21,38
Description_geda_US16`Ultra (Micro?) Small outline package'
T24,37
Description_geda_EIA7343`Tantalum SMT capacitor (pin 1 is +)'
T20,20
Description_SUBD_25FSUB-D female 25 pins
T16,3
Param2_74631_dil300
T16,3
Param2_74261_dil300
T16,2
Param1_43256_dil28
T17,893
PKG_TO220LAY_WIDEElement(0x00 "$1" "`$2'" "$3" 50 570 1 100 0x00)
(
	PIN(100, 800, 90, 60, 1)
	PIN(200, 900, 90, 60, 2)
	PIN(300, 800, 90, 60, 3)
		  
	# Befestigungsbohrung  
	PIN(200, 130, 150, 130, 4)

	# Anschlussdraehte  
	ElementLine(100 800 100 620 30)
	ElementLine(200 900 200 620 30)
	ElementLine(300 800 300 620 30)

	# Gehaeuse
	ElementLine(  0 620 400 620 20)
	ElementLine(400 620 400 245 20)
	ElementLine(400 245   0 245 20)
	ElementLine(  0 245   0 620 20)

	# Kuehlfahne mit Kerben
	ElementLine(  0 245 400 245 20)
	ElementLine(400 245 400 120 20)
	ElementLine(400 120 385 120 20)
	ElementLine(385 120 385  50 20)
	ElementLine(385  50 400  50 20)
	ElementLine(400  50 400  10 20)
	ElementLine(400  10   0  10 20)
	ElementLine(  0  10   0  50 20)
	ElementLine(  0  50  15  50 20)
	ElementLine( 15  50  15 120 20)
	ElementLine( 15 120   0 120 20)
	ElementLine(  0 120   0 245 20)

	Mark(200 800)
)
T13,62
PKG_SOJ28_300COMMON_SMT_DIL_MIL(`$1',`$2',`$3',28,23622,86614,50000,196850)
T13,74
PKG_RESC0603NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  40,   40,  60, 130,  80,   0,   0)
T20,47
PKG_PANASONIC_EXB28VCOMMON_SMT_DIL_MM(`$1',`$2',`$3',8,25,50,50,40)
T14,38
PKG_HEADER22_2PKG_CONNECTOR(`$1', `$2', `$3', 11, 2)
T9,58
PKG_HC49UPKG_CRYSTAL_V(`$1', `$2', `$3', 192, 435, 183,  60, 32, 2)
T23,18
Description_connector12connector 3x4 pins
T21,43
Description_74172_dil`16bit multiple-port register file 3-state'
T21,17
Description_74135_dil`4 dual-XOR-XNOR'
T16,71
PinList_7414_dil`1A',`1Y',`2A',`2Y',`3A',`3Y',`Gnd',`4Y',`4A',`5Y',`5A',`6Y',`6A',`Vcc'
T16,3
Param2_74490_dil300
T21,54
PKG_JOHNSTECH_QFN16_4PKG_JOHNSTECH_QFN_65(`$1',`$2',`$3', `16', `4', `210')
T23,19
Description_connector50connector 2x25 pins
T17,103
PinList_74640_dil`DIR',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`Gnd',`B8',`B7',`B6',`B5',`B4',`B3',`B2',`B1',`/EN',`Vcc'
T16,3
Param2_74682_dil300
T16,3
Param2_74645_dil300
T16,2
Param1_74520_dil20
T16,2
Param1_74150_dil24
T16,2
Param1_74113_dil14
T21,54
PKG_JOHNSTECH_QFN16_5PKG_JOHNSTECH_QFN_80(`$1',`$2',`$3', `16', `5', `310')
T8,344
PKG_CSILdefine(`MAXY', `eval(`$4' * 100 -50)')
Element(0x00 "$1" "`$2'" "$3" 160 10 3 100 0x00)
(
	forloop(`i', 1, $4,
		`PIN(50, eval(i * 100 -50), 60, 28, i)
	')
	ElementLine(  0 50   0 MAXY 20)
	ElementLine(100 50 100 MAXY 20)
	ElementLine(  0 100 100 100 10)
	ElementArc(50  50 50 50 180 180 20)
	ElementArc(50 MAXY 50 50   0 180 20)
	Mark(50 50)
)
T10,37
PKG_ALF700PKG_DIODE_LAY(`$1', `$2', `$3',  700)
T23,18
Description_connector14connector 2x7 pins
T21,50
Description_74593_dil`8bit binary counter w. load/clear and 3-state IO'
T21,29
Description_74519_dil`8bit identity comperator OC'
T20,11
Description_7432_dil`4 dual-OR'
T13,11
PinList_BC140`E',`B',`C'
T16,59
PinList_7465_dil`A',`E',`F',`G',`H',`I',`Gnd',`Y',`J',`K',`B',`C',`D',`Vcc'
T16,71
PinList_7428_dil`1Y',`1A',`1B',`2Y',`2A',`2B',`Gnd',`3A',`3B',`3Y',`4A',`4B',`4Y',`Vcc'
T16,3
Param2_74467_dil300
T10,37
PKG_TO126WPKG_TO126STAND(     `$1', `$2', `$3')
T23,18
Description_connector15connector 3x5 pins
T21,28
Description_74378_dil`6 FF w. single rail output'
F6,6
regexpregexp
F9,9
debugfiledebugfile
T17,113
PinList_74691_dil`/CClr',`CCK',`A',`B',`C',`D',`ENP',`/RClr',`RCK',`Gnd',`R-/C',`/G',`/Load',`ENT',`Qd',`Qc',`Qb',`Qa',`RCO',`Vcc'
T17,79
PinList_74247_dil`B',`C',`/LT',`/BI-/RBO',`/RBI',`D',`A',`Gnd',`e',`d',`c',`b',`a',`g',`f',`Vcc'
T16,3
Param2_74696_dil300
T20,2
Param1_oscillator_2020
T16,2
Param1_74164_dil14
T12,41
PKG_QFP44_10PKG_QFP_80(`$1',`$2',`$3', `44',`10',`0')
T11,42
PKG_QFN44_7PKG_QFN_50(`$1',`$2',`$3', `44', `7', `0')
T25,53
Description_geda_TSSOP48N`Thin shrink small outline package, standard (4.4mm)'
T23,18
Description_connector16connector 2x8 pins
T20,33
Description_7483_dil`4bit binary adder w. fast carry'
T20,28
Description_7446_dil`BCD to 7-segment driver OC'
T20,15
Description_7409_dil`4 dual-AND OC'
T19,2
Param1_MC68681_plcc44
T16,2
Param1_74393_dil14
T16,2
Param1_74356_dil20
T15,2
Param1_7404_dil14
T13,74
PKG_INDC4532LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 330,  140, 380, 540, 370, 160, 330)
T26,42
Description_geda_SOJ40_400`Small outline J-leaded package (400 mil)'
T21,13
Description_27128_dil`EPROM 16Kx8'
T13,11
PinList_BC550`E',`B',`C'
T22,396
PinList_AT90S8535_plcc`Gnd',`PB0/T0',`PB1/T1',`PB2/AIN0',`PB3/AIN1',`PB4//SS',`PB5/MOSI',`PB6/MISO',`PB7/SCK',`/Reset',`Vcc',`Gnd',`XTAL2',`XTAL1',`PD0/RxD',`PD1/TxD',`PD2/INT0', `PD3/INT1',`PD4/OC1B',`PD5/OC1A',`PD6/ICP',`PD7/OC2',`Vcc',`Gnd',`PC0',`PC1',`PC2',`PC3',`PC4',`PC5',`PC6/TOSC1',`PC7/TOSC2',`AVcc',`AGnd',`AREF',`PA7/ADC7',`PA6/ADC6',`PA5/ADC5',`PA4/ADC4',`PA3/ADC3',`PA2/ADC2',`PA1/ADC1',`PA0/ADC0',`Vcc'
T17,89
PinList_74668_dil`U-/D',`Clk',`A',`B',`C',`D',`/ENP',`Gnd',`/Load',`/ENT',`Qd',`Qc',`Qb',`Qa',`/RCO',`Vcc'
T17,82
PinList_74298_dil`B2',`A2',`A1',`B1',`C2',`D2',`D1',`Gnd',`C1',`WS',`Clk',`Qd',`Qc',`Qb',`Qa',`Vcc'
T16,2
Param1_74178_dil14
T21,54
PKG_JOHNSTECH_QFN20_4PKG_JOHNSTECH_QFN_50(`$1',`$2',`$3', `20', `4', `210')
T13,74
PKG_INDC4532MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 350,  180, 420, 700, 450, 160, 350)
T23,18
Description_connector18connector 3x6 pins
T20,18
Description_SUBD_25MSUB-D male 25 pins
T20,40
Description_7497_dil`syncronous 6bit binary rate multiplier'
T15,2
Param1_7492_dil14
T15,2
Param1_7455_dil14
T15,2
Param1_7418_dil14
T22,62
PKG_MINICIRCUITS_CB518COMMON_SMT_DIL_MIL(`$1',`$2',`$3',10,30000,90000,50000,110000)
T21,54
PKG_JOHNSTECH_QFN20_5PKG_JOHNSTECH_QFN_65(`$1',`$2',`$3', `20', `5', `310')
T13,74
PKG_INDC4532NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 340,  160, 400, 610, 390, 160, 340)
T20,2
Param1_oscillator_2424
T16,2
Param1_74599_dil16
T13,545
PKG_CONN_JTAGElement(0x00 "$1" "`$2'" "$3" 0 0 0 100 0x00)
(
	Pin(100 100 60 28 "1" "1" 0x00000101)
	Pin(100 200 60 28 "2" "2" 0x00000001)
	Pin(100 300 60 28 "3" "3" 0x00000001)
	Pin(100 400 60 28 "4" "4" 0x00000001)
	Pin(100 500 60 28 "5" "5" 0x00000001)
	Pin(100 600 60 28 "6" "6" 0x00000001)
	Pin(100 700 60 28 "7" "7" 0x00000001)
	Pin(100 800 60 28 "8" "8" 0x00000001)

	ElementLine(   0   0 200   0 20)
	ElementLine(   0 150 200 150 10)
	ElementLine( 200   0 200 900 20)
	ElementLine( 200 900   0 900 20)
	ElementLine(   0 900   0   0 20)

	Mark (0 0)
)
T13,11
PinList_BC516`E',`B',`C'
T15,2
Param1_7469_dil16
T22,9
Description_R_adjust_Htrimmer H
T13,11
PinList_BC517`E',`B',`C'
T16,1
Param1_TL080_dil8
T25,1144
PKG_DIN41_612FEMALE_SMALLdefine(`MAXX', 420)
	define(`MAXX1', `eval(MAXX -170)')
	define(`MAXX2', `eval(MAXX -40)')
Element(0x00 "$1" "`$2'" "$3" 50 100 3 200 0x00)
(
	# Reihe a
	ifelse(index(`$4', `a'), `-1', ,
		forloop(`i', 1, 16, `PIN(200, eval(300 + 100 *i), 60, 30, i)
	'))

	# Reihe b
	ifelse(index(`$4', `b'), `-1', ,
		forloop(`i', 1, 16, `PIN(300, eval(300 + 100 *i), 60, 30, eval(16 + i))
	'))

	# Reihe c
	ifelse(index(`$4', `c'), `-1', , `define(`MAXX', 520)'
		forloop(`i', 1, 16, `PIN(400, eval(300 + 100 *i), 60, 30, eval(32 + i))
	'))

	# Befestigungsbohrung
	Pin(290  180 120 80 "M1" 0x01)
	Pin(290 2120 120 80 "M2" 0x01)

	# Aeussere Begrenzung
	ElementLine( 80  80 MAXX   80 20)
	ElementLine(MAXX  80 MAXX 2220 20)
	ElementLine(MAXX 2220 80 2220 20)
	ElementLine( 80 2220 80   80 20)

	# Innere Begrenzung
	ElementLine(120  320 MAXX1  320 10)
	ElementLine(MAXX1  320 MAXX1  360 10)
	ElementLine(MAXX1  360 MAXX2  360 10)
	ElementLine(MAXX2  360 MAXX2 1940 10)
	ElementLine(MAXX2 1940 MAXX1 1940 10)
	ElementLine(MAXX1 1940 MAXX1 1980 10)
	ElementLine(MAXX1 1980 120 1980 10)
	ElementLine(120 1980 120  320 10)

	# Markierung: Pin 1a
	Mark(200 400)
)
T19,26
Description_uA7806C+6V 1.5A voltage regulator
T26,37
Description_geda_HEADER4_1`Header connector, DIP pin numbering'
T23,62
Description_geda_ACY500`Axial non-polar component (typically resistor or capacitor),'
T21,37
Description_7451L_dil`2 AND-OR inverters (2x2,2x3 inputs)'
T16,125
PinList_6116_dil`A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`/Cs',`A10',`/Oe',`/We',`A9',`A8',`Vcc'
T20,2
Param1_generic24_dil24
T18,2
Param1_MC68000_dil64
T13,62
PKG_SOJ24_450COMMON_SMT_DIL_MIL(`$1',`$2',`$3',24,23622,86614,50000,346457)
T9,41
PKG_DB25FPKG_SUBD_FEMALE_LAY(`$1', `$2', `$3', 25)
T29,7
Description_generic_diode_400`diode'
T26,42
Description_geda_HEADER4_2`Header connector, ribbon cable numbering'
T27,37
Description_cts_CTS_745X_10`CTS 745X Series Chip Resistor Array'
T13,11
PinList_BS170`D',`G',`S'
T13,11
PinList_BC556`E',`B',`C'
T16,3
Param2_74112_dil300
T15,44
PKG_TQFN20_4_EPPKG_QFN_50(`$1',`$2',`$3', `20', `4', `210')
T10,37
PKG_RCY400PKG_RADIAL_CAN(`$1', `$2', `$3', 800)
T20,49
PKG_PANASONIC_EXB2HVCOMMON_SMT_DIL_MM(`$1',`$2',`$3',16,25,50,50,100)
T12,106
CreateObjectifdef(`PinList_$1', `DefinePinList(PinList_$1)')
	PKG_$3(`Description_$1', ,``$2'', Param1_$1, Param2_$1)

T13,11
PinList_BC557`E',`B',`C'
T13,62
PKG_SOJ38_450COMMON_SMT_DIL_MIL(`$1',`$2',`$3',38,23622,86614,50000,346457)
T30,22
Description_DIN41_612_ab64maleDIN41.612 row a+b male
T15,22
PinList_uA7808C`In',`Com',`Out',`Com'
T14,16
PinList_IRF830`G',`D',`S', `D'
T13,11
PinList_BC558`E',`B',`C'
T17,80
PinList_74121_dil`/Q',`NC',`A1',`A2',`B',`Q',`Gnd',`NC',`Rint',`Cext',`Rext-Cext',`NC',`NC',`Vcc'
T14,11
PinList_2N3904`E',`B',`C'
T16,3
Param2_74163_dil300
T16,3
Param2_74126_dil300
T14,2
Param1_z80_dil40
T6,51
PKG_USCOMMON_SMT_DIL_MM(`$1',`$2',`$3',`$4',30,70,50,200)
T21,56
Description_74444_dil`4 tridirectional true/inverting bus tranceiver 3-state'
F7,7
builtinbuiltin
T21,3
Param2_generic84_plcc150
T16,3
Param2_74355_dil300
T15,3
Param2_7430_dil300
T31,24
Description_DIN41_612_abc96maleDIN41.612 row a+b+c male
T21,44
Description_74673_dil`16bit shift register w. 16bit parallel out'
T21,50
Description_74636_dil`8bit parallel error detection/correction 3-state'
T21,15
Description_74266_dil`4 dual-XOR OC'
T17,153
PinList_74172_dil`1W1',`1W0',`/1Gw',`1DB',`2DB',`Clk',`1R2',`1R1',`1R0',`1Qb',`2Qb',`Gnd',`2Qa',`1Qa',`/1Gr',`/2Gr',`2W-R0',`2W-R1',`2W-R2',`/2Gw',`2Da',`1Da',`1W2',`Vcc'
T17,87
PinList_74135_dil`1A',`1B',`1Y',`1C-2C',`2A',`2B',`2Y',`Gnd',`3Y',`3A',`3B',`3c-4c',`4Y',`4A',`4B',`Vcc'
T14,11
PinList_2N3906`E',`B',`C'
T16,3
Param2_74177_dil300
T16,2
Param1_74422_dil14
T9,67
PKG_SO18MCOMMON_SMT_DIL_MIL(`$1',`$2',`$3', 18, 20000, 85000, 50000, 170000)
T26,28
Description_geda_TQFP52_10`Square Quad-side flat pack'
T33,24
Description_candk_CANDK_ES03MSABE`C&K ES Series Switches'
T19,7
Description_LED_3MMLED 3mm
T32,24
Description_DIN41_612_ab64femaleDIN41.612 row a+b female
T15,3
Param2_7407_dil300
T16,3
Param2_27512_dil600
T34,2
Param1_smd_capacitor_polarized_80580
T16,2
Param1_74651_dil24
T16,2
Param1_74244_dil20
T9,67
PKG_SO18NCOMMON_SMT_DIL_MIL(`$1',`$2',`$3', 18, 20000, 85000, 50000, 120000)
T25,12
Description_oscillator_20`oscillator'
T25,39
Description_geda_TQFN36_6`Square Quad Flat Nolead (QFN) package'
T26,42
Description_geda_SOJ42_300`Small outline J-leaded package (300 mil)'
T24,62
Description_geda_ACY1600`Axial non-polar component (typically resistor or capacitor),'
T21,40
Description_74687_dil`8bit magnitute comperator OC w. enable'
T17,138
PinList_74593_dil`A-Qa',`B-Qb',`C-Qc',`D-Qd',`E-Qe',`F-Qf',`G-Qf',`H-Qh',`/CLoad',`Gnd',`/RCO',`/CClr',`CCK',`/CCKEn',`CCKEn',`RCK',`/RCKEn',`/G',`G',`Vcc'
T17,104
PinList_74519_dil`/OEN',`P0',`Q0',`P1',`Q1',`P2',`Q2',`P3',`Q3',`Gnd',`P4',`Q4',`P5',`Q5',`P6',`Q6',`P7',`Q7',`P=Q',`Vcc'
T16,3
Param2_74598_dil300
T33,3
Param1_generic_resistor_axial_800800
T13,311
PKG_SMD_POLARdefine(`SMD_OUTLINE_EXTRA',
		`
		# crude plus sign
		# ElementLine(      X1     eval(Y2L+20)       X1    eval(Y2L+70) 8)
		# ElementLine( eval(X1-25) eval(Y2L+45) eval(X1+25) eval(Y2L+45) 8)
		define(`XBAR', `eval(X1L+10)')
		ElementLine( XBAR Y1L XBAR Y2L 8 )

	')
	PKG_SMD_BASE(`$1', `$2', `$3', `$4', `$5')

T14,39
PKG_HEADER46_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 23)
T9,41
PKG_DB25MPKG_SUBD_MALE_LAY(  `$1', `$2', `$3', 25)
T11,37
PKG_ACY1300PKG_AXIAL_LAY(`$1', `$2', `$3', 1300)
T8,74
PKG_1806PKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 340,  160, 400, 610, 390, 160, 340)
T19,27
Description_uA7924C-24V 1.5A voltage regulator
T20,253
PinList_WD33C93A_dil`I/O',`/MSG',`GND',`C/D',`/BSY',`/SEL',`CLK',`/DRQ',`/DACK',`INTRQ',`D0',`D1',`D2',`D3',`D4',`D5',`D6',`D7',`A0',`GND',`/CS',`/WE',`/RE',`ALE',`/SDP',`/SD0',`/SD1',`GND',`/SD2',`/SD3',`/SD4',`/SD5',`/SD6',`/SD7',`GND',`/RESET',`/ATN',`/ACK',`/REQ',`Vcc'
T17,82
PinList_74378_dil`/G',`1Q',`1D',`2D',`2Q',`3D',`3Q',`Gnd',`Clk',`4Q',`4D',`5Q',`5D',`6D',`6Q',`Vcc'
T15,3
Param2_7495_dil300
T16,2
Param1_74628_dil14
T16,2
Param1_74295_dil14
T16,2
Param1_74258_dil16
T22,63
PKG_MINICIRCUITS_CD541COMMON_SMT_DIL_MIL(`$1',`$2',`$3',6,65000,100000,100000,100000)
T14,38
PKG_HEADER46_2PKG_CONNECTOR(`$1', `$2', `$3', 23, 2)
T24,44
Description_geda_SSOP64W`Shrink small outline package, .80mm, wider'
T25,39
Description_geda_QFN68_10`Square Quad Flat Nolead (QFN) package'
T24,37
Description_geda_EIA6032`Tantalum SMT capacitor (pin 1 is +)'
T28,31
Description_geda_DIN41651_34`Header connector with latches'
T21,38
Description_geda_0603`Standard SMT resistor, capacitor etc'
T19,246
PinList_MC68681_dil`Rs1',`Ip3',`Rs2',`Ip1',`Rs3',`Rs4',`Ip0',`R/W',`/Dtack',`RxDB',`TxDB',`Op1',`Op3',`Op5',`Op7',`D1',`D3',`D5',`D7',`Gnd',`/Irq',`D6',`D4',`D2',`D0',`Op6',`Op4',`Op2',`Op0',`TxDA',`RxDA',`X1/Clk',`X2',`/Reset',`/Cs',`Ip2',`/Iack',`Ip5',`Ip4',`Vcc'
T10,35
PKG_PLCC20PKG_PLCC(`$1', `$2', `$3', 20, 150)
T22,63
PKG_MINICIRCUITS_CD542COMMON_SMT_DIL_MIL(`$1',`$2',`$3',6,65000,100000,100000,100000)
T17,20
Description_BC327bipolar-P transistor
T17,154
PinList_27128_dil`Vpp', `A12', `A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`/Cs',`A10',`/Oe',`A11',`A9',`A8', `A13', `A14', `Vcc'
T25,83
PKG_NICHICON_WT_CAP_10_10PKG_NICHICON_WT_CAP(`$1', `$2', `$3',
	`110', `340', `450', `1050', `1050', `1050')
T13,553
PKG_DIODE_LAYdefine(`X1', `eval(`$4' /3)')
	define(`X2', `eval(`$4' -X1)')
	define(`Y', `eval(`$4' /2)')
	define(`DELTA', `eval(X1 /2)')
	define(`PINSIZE', `ifelse(eval($4 >= 500), 1, 80, 50)')
Element(0x00 "$1" "`$2'" "$3" eval(X2+20) eval(Y-DELTA) 0 100 0x00)
(
	PIN(0, Y, PINSIZE, 20, 1)
	PIN($4, Y, PINSIZE, 20, 2)

	ElementLine(0 Y X1 Y 10)
	ElementLine(X2 Y $4 Y 10)

	ElementLine(X1 Y X2 eval(Y-DELTA) 10)
	ElementLine(X2 eval(Y-DELTA) X2 eval(Y+DELTA) 10)
	ElementLine(X2 eval(Y+DELTA) X1 Y 10)
	ElementLine(X1 eval(Y-DELTA) X1 eval(Y+DELTA) 10)
	Mark(0 Y)
)
T25,12
Description_oscillator_24`oscillator'
T39,17
Description_generic_capacitor_axial_500`capacitor_axial'
T24,64
Description_geda_RCY1000`Bottom lead non-polar circular component (typically capacitor)'
T23,32
Description_geda_ALF900`Axial diode (pin 1 is cathode)'
T20,28
PinList_r_025_csil_4`common', `1', `2', `3', `4'
T25,79
PKG_NICHICON_WT_CAP_5_5p4PKG_NICHICON_WT_CAP(`$1', `$2', `$3',
	`80', `230', `130', `550', `550', `590')
T26,12
Description_smd_diode_1206`chip_diode'
T25,39
Description_geda_TQFN40_6`Square Quad Flat Nolead (QFN) package'
T13,62
PKG_SOJ26_350COMMON_SMT_DIL_MIL(`$1',`$2',`$3',26,23622,86614,50000,244094)
T9,67
PKG_SO14WCOMMON_SMT_DIL_MIL(`$1',`$2',`$3', 14, 20000, 80000, 50000, 280000)
T13,74
PKG_INDC3225LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 260,  110, 280, 400, 290,  90, 260)
T14,39
PKG_HEADER50_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 25)
T22,16
Description_geda_TO251`diode in TO220'
T22,9
Description_R_adjust_Vtrimmer V
T18,8
Description_IRF830N-MOSFET
T27,24
Description_DIN41_651_14layDIN41.651 laying 14 pins
T18,30
Description_2N3904general purpose NPN transistor
T20,38
PinList_r_025_csil_6`common', `1', `2', `3', `4', `5', `6'
T20,2
Param1_PC_Centronics25
T20,2
Param1_AT90S2313_dil20
T13,74
PKG_INDC3225MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 280,  150, 320, 560, 380, 100, 280)
T14,38
PKG_HEADER50_2PKG_CONNECTOR(`$1', `$2', `$3', 25, 2)
T25,9
Description_generic24_dil`generic'
T24,60
Description_geda_RCY150P`Bottom lead polar circular component (typically capacitor)'
T20,43
PinList_r_025_csil_7`common', `1', `2', `3', `4', `5', `6', `7'
T20,397
PinList_PIC16C74_dil`/MCLR',`RA0/AN0',`RA1/AN1',`RA2/AN2',`RA3/AN3',`RA4/T0CKI',`RA5/AN4/SS',`RE0/RD/AN5',`RE1/WR/AN6',`RE2/CS/AN7',`VDD',`VSS',`OSC1',`OSC2',`RC0/T1OSO/T1CKI',`RC1/T0OSI/CCP2',`RC2/CCPI',`RC3/SCK/SCL',`RD0/PSP0',`RD1/PSP1',`RD2/PSP2',`RD3/PSP3',`RC4/SDI/SDA',`RC5/SDO',`RC6/TX/CK',`RC7/RX/DT',`RD4/PSP4',`RD5/PSP5',`RD6/PSP6',`RD7/PSP7',`VSS',`VDD',`RB0/INT',`RB1',`RB2',`RB3',`RB4',`RB5',`RB6',`RB7'
T7,67
PKG_SO8COMMON_SMT_DIL_MIL(`$1',`$2',`$3',  8, 20000, 85000, 50000, 120000)
T13,74
PKG_INDC3225NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 270,  130, 300, 470, 320, 100, 270)
T20,26
Description_uA78L08C+8V 0.1A voltage regulator
T27,39
Description_geda_QFN48_7_EP`Square Quad Flat Nolead (QFN) package'
T21,26
Description_74140_dil`2 quad-NAND 50Ohm driver'
T18,30
Description_2N3906general purpose PNP transistor
T20,48
PinList_r_025_csil_8`common', `1', `2', `3', `4', `5', `6', `7', `8'
T17,71
PinList_7451L_dil`1A',`2A',`2B',`2C',`2D',`2Y',`Gnd',`1Y',`1D',`1E',`1F',`1B',`1C',`Vcc'
T18,2
Param1_connector2010
T9,67
PKG_SO18WCOMMON_SMT_DIL_MIL(`$1',`$2',`$3', 18, 20000, 80000, 50000, 280000)
T27,37
Description_cts_CTS_745C_10`CTS 745C Series Chip Resistor Array'
T20,24
Description_L297_dilstepper-motor controller
T18,56
PinList_OPTO_6N136`NC', `A+', `K-', `NC', `Gnd', `Out-Col', `Basis', `Vcc'
T17,3
Param2_TLC274_dil300
T16,3
Param2_74280_dil300
T16,3
Param2_74243_dil300
T18,2219
PKG_SMT_2PAD_MM100# grab the input values and convert to 1/100 mil
       define(`X',     `eval(($4  * 10000)/254)')
	define(`Y',     `eval(($5  * 10000)/254)')
	define(`C',     `eval(($6  * 10000)/254)')
	define(`V1',    `eval(($7  * 10000)/254)')
	define(`V2',    `eval(($8  * 10000)/254)')
	define(`R1',    `eval(($9  * 10000)/254)')
	define(`R2',    `eval(($10 * 10000)/254)')
	# how much to grow the pads by for soldermask [1/100 mil]
	define(`maskGrow', 300)
	# clearance from planes [1/100 mil]
	define(`clearance', 1000)
	# silk screen width  [1/100 mil]
	define(`SILKW', `800')
	# courtyard silk screen width  [1/100 mil]
	define(`CYW', `100')
# element_flags, description, pcb-name, value, mark_x, mark_y,
# text_x, text_y, text_direction, text_scale, text_flags
Element[0x00000000 "$1" "`$2'" "$3" 0 0 -3150 -3150 0 100 ""]
(
# 
# Pad[x1, y1, x2, y2, thickness, clearance, mask, name , pad number, flags]
	ifelse(eval(Y > X), 1,       
	   `Pad[eval( (-1*C - (Y - X))/2) 0
		eval( (-1*C + (Y - X))/2) 0
		X eval(2*clearance) eval(X + 2*maskGrow) "1" "1" "square"]
	    Pad[eval( (   C - (Y - X))/2) 0
		eval( (   C + (Y - X))/2) 0
		X eval(2*clearance) eval(X + 2*maskGrow) "2" "2" "square"]
	 ',
	   `Pad[eval( -1*C/2 ) eval(-(X-Y)/2)
		eval( -1*C/2 ) eval( (X-Y)/2)
		Y eval(2*clearance) eval(Y + 2*maskGrow) "1" "1" "square"]
	    Pad[eval(    C/2 ) eval(-(X-Y)/2)
		eval(    C/2 ) eval( (X-Y)/2)
		Y eval(2*clearance) eval(Y + 2*maskGrow) "2" "2" "square"]
	 ')

	ifelse(eval(R1 > 0), 1,
	   `ElementLine[eval(-1*R1/2) eval(-1*R2/2) eval(R1/2) eval(-1*R2/2) SILKW]
	    ElementLine[eval(-1*R1/2) eval(   R2/2) eval(R1/2) eval(   R2/2) SILKW]
	   ',)

#
# This draws a 1 mil placement courtyard outline in silk.  It should probably
# not be included since you wont want to try and fab a 1 mil silk line.  Then
# again, it is most useful during parts placement.  It really is time for some
# additional non-fab layers...

#	ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval(-1*V1/2) eval(   V2/2) CYW]
#	ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval(   V1/2) eval(-1*V2/2) CYW]
#	ElementLine[eval(   V1/2) eval(   V2/2) eval(   V1/2) eval(-1*V2/2) CYW]
#	ElementLine[eval(   V1/2) eval(   V2/2) eval(-1*V1/2) eval(   V2/2) CYW]

)
T22,16
Description_geda_TO218`diode in TO220'
T27,39
Description_geda_QFN16_5_EP`Square Quad Flat Nolead (QFN) package'
T21,40
Description_74191_dil`syncronous 4bit binary up/down counter'
T21,17
Description_74154_dil`4-to-16 decoder'
T20,13
Description_7400_dil`4 dual-NAND'
T18,49
PinList_OPTO_6N137`NC', `A+', `K-', `NC', `Gnd', `Out', `En', `Vcc'
T16,75
PinList_7470_dil`NC',`/Clr',`J1',`J2',`/J',`/Q',`Gnd',`Q',`/K',`K1',`K2',`Clk',`/Pre',`Vcc'
T16,71
PinList_7433_dil`1Y',`1A',`1B',`2Y',`2A',`2B',`Gnd',`3A',`3B',`3Y',`4A',`4B',`4Y',`Vcc'
T10,35
PKG_PLCC28PKG_PLCC(`$1', `$2', `$3', 28, 150)
T19,42
PKG_OPTEK_OVSRWACR6PKG_OPTEK_RA_2p8_1p2_0p8(`$1', `$2', `$3')
T21,54
PKG_JOHNSTECH_QFN44_7PKG_JOHNSTECH_QFN_50(`$1',`$2',`$3', `44', `7', `470')
T26,33
Description_geda_LQFP128_R`Rectangular Quad-side flat pack'
T16,3
Param2_74627_dil300
T16,3
Param2_74294_dil300
T16,3
Param2_74257_dil300
T16,2
Param1_74132_dil14
T26,38
Description_geda_CAPC0603L`Standard SMT resistor, capacitor etc'
T21,38
Description_geda_1008`Standard SMT resistor, capacitor etc'
T21,41
Description_74575_dil`8 D-type edge FF 3-state w. sync. clear'
T21,24
Description_74538_dil`3-to-8 decoder 3-state'
T20,28
Description_7414_dil`6 Schmitt trigger inverter'
T16,79
PinList_7447_dil`B',`C',`/LT',`/BI-/RBO',`/RBI',`D',`A',`Gnd',`e',`d',`c',`b',`a',`g',`f',`Vcc'
T17,105
PinList_74444_dil`/CS',`B1',`C1',`C2',`B2',`B3',`C3',`C4',`B4',`Gnd',`S0',`S1',`A4',`A3',`A2',`A1',`/GA',`/GB',`/GC',`Vcc'
T16,3
Param2_74449_dil300
T26,38
Description_geda_CAPC0603M`Standard SMT resistor, capacitor etc'
T17,153
PinList_74673_dil`/CS',`SH-Clk',`R-/W',`/StrClr',`Mode-StrClr',`SER/Q15',`Y0',`Y1',`Y2',`Y3',`Y4',`Gnd',`Y5',`Y6',`Y7',`Y8',`Y9',`Y10',`Y11',`Y12',`Y13',`Y14',`Y15',`Vcc'
T17,116
PinList_74636_dil`DEF',`DB0',`DB1',`DB2',`DB3',`DB4',`DB5',`DB6',`Db7',`Gnd',`CB4',`NC',`CB3',`CB2',`CB1',`CB0',`S0',`S1',`SEF',`Vcc'
T17,71
PinList_74266_dil`1A',`1B',`1Y',`2Y',`2A',`2B',`Gnd',`3A',`3B',`3Y',`4Y',`4A',`4B',`Vcc'
T17,1
Param1_OPTO_6N1368
T16,2
Param1_74590_dil16
T16,2
Param1_74183_dil14
T16,2
Param1_74109_dil16
T14,597
PKG_RADIAL_CANdefine(`X1', `eval(`$4' /4)')
	define(`X2', `eval(`$4' -X1)')
	define(`X3', `eval(`$4' /2)')
	define(`Y', `eval(`$4' /2)')
	define(`R', `eval(`$4' /2)')
	define(`PINSIZE', `ifelse(eval($4 >= 600), 1, 80, 55)')
	define(`DRILLSIZE', `ifelse(eval($4 >= 600), 1, 50, 30)')
Element(0x00 "$1" "`$2'" "$3" eval(`$4') 0 0 100 0x00)
(
	PIN(X1, Y, 60, DRILLSIZE, 1)
	PIN(X2, Y, 60, DRILLSIZE, 2)
	ElementArc(X3 Y R R 0 360 10)

	ifelse( 1, $5,
	ElementLine(-60 Y            -20 Y 10)
	ElementLine(-40 `eval(Y-20)' -40 `eval(Y+20)' 10)
	ElementLine(`eval($4 + 20)' Y `eval($4 + 60)'  Y 10)
	)

	Mark (X1 Y)
)
T10,35
PKG_PLCC68PKG_PLCC(`$1', `$2', `$3', 68, 150)
T23,64
Description_geda_RCY600`Bottom lead non-polar circular component (typically capacitor)'
T26,38
Description_geda_CAPC0603N`Standard SMT resistor, capacitor etc'
T20,37
Description_7465_dil`AND-OR inverter OC (4-2-3-2 inputs)'
T20,19
Description_7428_dil`4 dual-NOR buffer'
T19,105
PinList_MAX232A_dil`C1+',`V+',`C1-',`C2+',`C2-',`V-',`T2out',`R2in',`R2out',`T2in',`T1in',`R1out',`R1in',`T1out',`GND',`Vcc'
T19,3
Param2_MC68681_plcc150
T17,1
Param1_OPTO_6N1378
T16,2
Param1_74375_dil16
T15,2
Param1_7423_dil16
T11,46
PKG_SOD106APKG_SMT_DIODE(       `$1', `$2', `$3', 55, 25)
T11,44
PKG_EIA3216PKG_SMT_2PAD_EIA(  `$1', `$2', `$3', 32, 16)
T26,42
Description_geda_SOJ22_400`Small outline J-leaded package (400 mil)'
T21,38
Description_geda_1825`Standard SMT resistor, capacitor etc'
T17,127
PinList_74687_dil`/P>Q',`/G1',`P0',`Q0',`P1',`Q1',`NC',`P2',`Q2',`P3',`Q3',`Gnd',`P4',`Q4',`P5',`Q5',`P6',`Q6',`NC',`P7',`Q7',`/P=Q',`/G2',`Vcc'
T34,2
Param2_smd_capacitor_polarized_80550
T16,2
Param1_74197_dil14
T15,40
PKG_DIN41651_34PKG_DIN41_651LAY(  `$1', `$2', `$3', 34)
T25,60
Description_geda_RCY1200P`Bottom lead polar circular component (typically capacitor)'
T21,49
Description_TL070_dilSingle low noise JFET input operational amplifier
F8,8
__file____file__
T18,1
Param1_r_025_sil_44
T15,2
Param1_7474_dil14
T15,2
Param1_7437_dil14
T12,550
PKG_SMD_CHIPdefine(`X1', `eval(eval(`$4' /100)*10)')
	define(`Y1', `eval(eval(`$4'- X1 *10) *10)')
# line radius (LR) depicts offset to pads lines and pad "band width"
	define(`LR', `ifelse(eval(Y1 < 40), 1, eval(Y1/4), 10)')
Element(0x00 "$1" "`$2'" "$3" 0 0 0 25 0x00)
(
        PAD(LR LR LR eval(Y1-LR) eval(LR*2) )
        PAD(eval(X1-LR) LR eval(X1-LR) eval(Y1-LR) eval(LR*2) )

        ElementLine( 0  0 X1  0 5)
        ElementLine(X1  0 X1 Y1 5)
        ElementLine(X1 Y1  0 Y1 5)
        ElementLine( 0 Y1  0  0 5)

        Mark(eval(X1/2) eval(Y1/2))
)
T26,42
Description_geda_SOJ36_400`Small outline J-leaded package (400 mil)'
T22,37
Description_TLC274_dilQuad precision operational amplifiers
T5,2
rSILK10
T14,278
PKG_NANOENGINEdefine(`MOLEX_EXTRA', `
		ElementLine(-175 -215 -175 2185 15)
		ElementLine(-175 2185 1225 2185 15)
		ElementLine(1225 2185 1225 -215 15)
		ElementLine(1225 -215 -175 -215 15)
		Pin(525 -115 125 70 "M5" 0x01)
		Pin(525 2085 125 70 "M6" 0x01)
	')
	PKG_MOLEX_025($1, $2, $3, 160)

T25,46
Description_geda_ACY1100P`Axial polar component (typically capacitor),'
T21,38
Description_TL084_dilQuad JFET input operational amplifiers
F7,7
pushdefpushdef
T18,1
Param1_r_025_sil_66
T26,28
Description_geda_TQFP80_12`Square Quad-side flat pack'
T5,2
rPAD150
T9,46
PKG_SOT23PKG_SMT_TRANSISTOR3( `$1', `$2', `$3', 20, 21)
T40,26
Description_smd_capacitor_polarized_1206`chip_capacitor_polarized'
T25,23
Description_PC_CentronicsPC Centronics Connector
T25,33
Description_AT90S2313_dilAVR Enhanced RISC microcontroller
T5,2
rPAD260
T18,1
Param1_r_025_sil_88
T28,3
Param1_DIN41_612_abc48femaleabc
T17,1634
PKG_SUBD_LAY_BASEdefine(`BASEX', 1000)
	define(`BASEY', 1000)
	define(`PY1', `eval(BASEY +270)')
	define(`PY2', `eval(PY1 +($4-1)/2*108)')
	define(`OFFSET', `eval(($4+1)/2)')
	define(`PANEL_DISTANCE', 365)
Element(0x00 "$1" "`$2'" "$3" eval(BASEX-0) eval(PY2-0) 1 150 0x00)
(
	# Gehaeuse (schmaler Kasten incl. Bohrungen)
	define(`X1', `eval(BASEX-PANEL_DISTANCE)')
	define(`Y1', `eval(PY1-390)')
	define(`X2', `eval(BASEX-PANEL_DISTANCE+30)')
	define(`Y2', `eval(PY2+390)')
	ElementLine(X1 Y1 X2 Y1 10)
	ElementLine(X2 Y1 X2 Y2 10)
	ElementLine(X2 Y2 X1 Y2 10)
	ElementLine(X1 Y2 X1 Y1 10)
	ElementLine(X1 eval(Y1+60) X2 eval(Y1+60) 10)
	ElementLine(X1 eval(Y1+180) X2 eval(Y1+180) 10)
	ElementLine(X1 eval(Y2-60) X2 eval(Y2-60) 10)
	ElementLine(X1 eval(Y2-180) X2 eval(Y2-180) 10)

	# Gehaeuse (aeusserer Kasten)
	# This part of the connector normally hangs off the circuit board,
	# so it is confusing to actually mark it on the silkscreen
	# define(`X1', `eval(BASEX-PANEL_DISTANCE-260)')
	# define(`Y1', `eval(PY1-100)')
	# define(`X2', `eval(BASEX-PANEL_DISTANCE)')
	# define(`Y2', `eval(PY2+100)')
	# ElementLine(X1 Y1 X2 Y1 20)
	# ElementLine(X2 Y1 X2 Y2 10)
	# ElementLine(X2 Y2 X1 Y2 20)
	# ElementLine(X1 Y2 X1 Y1 20)

	# Gehaeuse (innerer Kasten)
	define(`X1', `eval(BASEX-PANEL_DISTANCE+30)')
	define(`Y1', `eval(PY1-160)')
	define(`X2', `eval(BASEX-230)')
	define(`Y2', `eval(PY2+160)')
	ElementLine(X1 Y1 X2 Y1 20)
	ElementLine(X2 Y1 X2 Y2 20)
	ElementLine(X2 Y2 X1 Y2 20)
	ElementLine(X1 Y2 X1 Y1 10)

	# Pins
	SUBD_SUBFUNCTION

	# Befestigungsbohrung
	Pin(BASEX  BASEY 250 125 "C1" 0x01)
	Pin(BASEX eval(PY2+270) 250 125 "C2" 0x01)

)
T42,56
Description_nichicon_NICHICON_WT_CAP_10_10`Nichicon WT series SMT Aluminum Electrolytic Capacitor'
T26,28
Description_geda_TQFP80_14`Square Quad-side flat pack'
T29,31
Description_geda_DIN41651_16S`Header connector with latches'
T5,3
rPAD380 
T10,58
PKG_UM1_3HPKG_CRYSTAL_H(`$1', `$2', `$3',  74, 311, 322,  60, 32, 3)
T9,46
PKG_SOT25PKG_SMT_TRANSISTOR5( `$1', `$2', `$3', 20, 21)
T42,56
Description_nichicon_NICHICON_WT_CAP_5_5p4`Nichicon WT series SMT Aluminum Electrolytic Capacitor'
T22,38
Description_geda_SO16W`Small outline package, wide (300mil)'
T27,37
Description_geda_HEADER24_1`Header connector, DIP pin numbering'
T24,16
Description_PIC16C61_dilmicro controller
T20,17
Description_6116_dil`Static RAM 2Kx8'
T5,3
rPAD4120
T19,428
PinList_I82077_plcc`WP',`Trk0',`/Dack',`/RD',`/WR',`/CS',`A0',`A1',`Gnd',`A2',`D0',`Gnd',`D1',`D2',`D3',`Gnd',`D4',`Vcc',`D5',`D6',`Gnd',`D7',`Int',`Drq',`TC',`INDX',`IDENT',`DRate0',`DRate1',`DRV2',`DskChg',`Reset',`X1',`X2',`/Invert',`Gnd',`LoFil',`HiFil',`PLL0',`Vcc',`RdData',`NC',`NC',`NC',`AGnd',`AVcc',`NC',`MFM',`DenSel',`Gnd',`HDSel',`We',`WrData',`Gnd',`Step',`Dir',`ME0',`DS0',`Gnd',`Vcc',`ME1',`DS1',`ME2',`DS2',`Gnd',`ME3',`DS3',`Vcc'
T16,3
Param2_74323_dil300
T34,3
Param1_generic_capacitor_axial_500500
T9,46
PKG_SOT26PKG_SMT_TRANSISTOR6( `$1', `$2', `$3', 20, 21)
T13,42
PKG_LQFP64_10PKG_LQFP_50(`$1',`$2',`$3', `64',`10',`0')
T26,9
Description_generic68_plcc`generic'
T26,42
Description_geda_SOJ40_350`Small outline J-leaded package (350 mil)'
T27,42
Description_geda_HEADER24_2`Header connector, ribbon cable numbering'
T21,21
Description_74641_dil`8 bus tranceiver OC'
T21,51
Description_74604_dil`8 2-input maximum speed multiplexed latch 3-state'
T17,71
PinList_74140_dil`1A',`1B',`NC',`1C',`1D',`1Y',`Gnd',`2Y',`2A',`2B',`NC',`2C',`2D',`Vcc'
T21,3
Param2_generic24w_dil600
T16,3
Param2_74182_dil300
T16,3
Param2_74145_dil300
T27,3
Param1_generic_smd_chip_402402
T14,41
PKG_TQFP304_40PKG_QFP_50(`$1',`$2',`$3',`304',`40',`0')
T14,41
PKG_TQFP120_28PKG_QFP_80(`$1',`$2',`$3',`120',`28',`0')
T8,44
PKG_SME3PKG_SMT_2PAD_EIA(  `$1', `$2', `$3', 33, 33)
T18,16
Description_sot_23`SOT-23 package'
T18,52
PinList_uA741C_dil`OfsN1',`In-',`In+',`Vcc-',`OfsN2',`Out',`Vcc+',`NC'
T17,3
Param2_uA709C_dil300
T16,3
Param2_74374_dil300
T15,3
Param2_7412_dil300
T20,3
Param1_MOLEX_025_100100
T12,41
PKG_TQFP32_7PKG_QFP_80(`$1',`$2',`$3', `32', `7',`0')
T8,44
PKG_SME4PKG_SMT_2PAD_EIA(  `$1', `$2', `$3', 43, 43)
T12,40
PKG_ACY1400PPKG_AXIAL_LAY(`$1', `$2', `$3', 1400, 1)
T21,42
Description_74285_dil`4bit by 4bit parallel binary multipliers'
T21,51
Description_74248_dil`BCD to 7-segment decoder/driver w. output pull-up'
T18,57
PinList_NE4558_dil`Out1',`Inv1',`NoInv1',`-Us',`NoInv2',`Inv2',`Out2',`+Us'
T17,93
PinList_74191_dil`B',`Qb',`Qa',`/CTEN',`D-/U',`Qc',`Qd',`Gnd',`D',`C',`/Load',`Max-Min',`/RCO',`Clk',`A',`Vcc'
T17,109
PinList_74154_dil`0',`1',`2',`3',`4',`5',`6',`7',`8',`9',`10',`Gnd',`11',`12',`13',`14',`15',`/G1',`/G2',`D',`C',`B',`A',`Vcc'
T16,3
Param2_74196_dil300
T16,3
Param2_74159_dil300
T16,2
Param1_74441_dil20
T8,30
PKG_TO39PKG_TO39BASE(`$1', `$2', `$3')
T8,44
PKG_SME5PKG_SMT_2PAD_EIA(  `$1', `$2', `$3', 53, 53)
T11,41
PKG_QFP80_RPKG_QFP_80L(`$1',`$2',`$3', `80',`0',`0')
T39,50
Description_johnstech_JOHNSTECH_QFN12_4`Johnstech QFN Socket, Series 1MM (724812-724839)'
T24,49
Description_geda_TSSOP32`Thin shrink small outline package, wide (6.1mm)'
T26,33
Description_AT90S8535_plccAVR Enhanced RISC microcontroller
T15,3
Param2_7426_dil300
T16,2
Param1_74670_dil16
T8,44
PKG_SME6PKG_SMT_2PAD_EIA(  `$1', `$2', `$3', 66, 66)
T13,42
PKG_LQFP64_14PKG_LQFP_80(`$1',`$2',`$3', `64',`14',`0')
T38,16
Description_generic_resistor_axial_500`resistor_axial'
T23,45
Description_geda_SSOP14`Shrink small outline package, .65mm, narrow'
T26,42
Description_geda_SOJ24_300`Small outline J-leaded package (300 mil)'
T22,30
Description_geda_SOD80`SMT diode (pin 1 is cathode)'
T21,41
Description_74669_dil`4bit synchronous binary up/down counter'
T21,40
Description_74299_dil`8bit universal shift/storage registers'
T17,103
PinList_74575_dil`/Oe',`1D',`2D',`3D',`4D',`5D',`6D',`7D',`8D',`Gnd',`Clk',`8Q',`7Q',`6Q',`5Q',`4Q',`3Q',`2Q',`1Q',`Vcc'
T17,104
PinList_74538_dil`Y2',`Y1',`Y0',`/OE1',`/OE2',`A',`B',`Y5',`Y6',`Gnd',`Y7',`AL',`G1',`G2',`/G3',`/G4',`C',`Y4',`Y3',`Vcc'
T20,3
Param1_MOLEX_025_140140
T8,29
PKG_SIP1PKG_CSIL(`$1', `$2', `$3', 1)
T17,1
Param1_uA741C_dil8
T16,2
Param1_74684_dil20
T16,2
Param1_74647_dil24
T8,44
PKG_SME8PKG_SMT_2PAD_EIA(  `$1', `$2', `$3', 84, 84)
T8,29
PKG_SIP2PKG_CSIL(`$1', `$2', `$3', 2)
T23,45
Description_geda_SSOP16`Shrink small outline package, .65mm, narrow'
T26,42
Description_geda_SOJ38_300`Small outline J-leaded package (300 mil)'
T24,62
Description_geda_ACY1100`Axial non-polar component (typically resistor or capacitor),'
T30,25
Description_PCI5V_SMALL_HEIGHTPCI 5V Array Small Height
T18,3
Param2_MC68000_dil900
T33,3
Param1_generic_resistor_axial_300300
T17,1
Param1_NE4558_dil8
T24,2
Param1_DIN41_651_20stand20
T8,29
PKG_SIP3PKG_CSIL(`$1', `$2', `$3', 3)
T10,37
PKG_RCY350PKG_RADIAL_CAN(`$1', `$2', `$3', 700)
T23,28
Description_MAX232A_dilhigh-speed dual RS232 driver
F11,11
changequotechangequote
T20,3
Param1_MOLEX_025_180180
T8,28
PKG_ZIP9PKG_SD(`$1', `$2', `$3',  9)
T8,29
PKG_SIP4PKG_CSIL(`$1', `$2', `$3', 4)
T15,102
Molex_025_styledefine(`Description_MOLEX_025_$1', `Molex .025 pitch $1 pin plug')
	define(`Param1_MOLEX_025_$1', $1)

T24,60
Description_geda_RCY800P`Bottom lead polar circular component (typically capacitor)'
T17,55
PinList_TL070_dil`N1Comp',`In-',`In+',`Vcc-',`OfsN2',`Out',`Vcc+',`Comp'
T16,3
Param2_TL075_dil300
T16,2
Param1_27256_dil28
T8,29
PKG_SIP5PKG_CSIL(`$1', `$2', `$3', 5)
T11,40
PKG_RCY400PPKG_RADIAL_CAN(`$1', `$2', `$3', 800, 1)
T22,44
Description_uA709C_dilSingle general purpose operational amplifier
T25,33
Description_geda_QFP128_R`Rectangular Quad-side flat pack'
T24,46
Description_geda_ACY900P`Axial polar component (typically capacitor),'
T19,2
Param1_TI34010_plcc68
T12,740
PKG_SMD_BASEdefine(`T', `eval(`$4'/4+`$5'/2)')
	define(`W', `eval(T/2+15)')
	define(`X1', `0')
	define(`X2',  ``$4'')
	define(`Y',  `0')
	define(`Y1',  `eval(Y-(`$5'-T)/2-5)')
	define(`Y2',  `eval(Y+(`$5'-T)/2+5)')
	# Silkscreen box coordinates
	define(`X1L', `eval(X1-W)')
	define(`X2L', `eval(X2+W)')
	define(`Y1L', `eval(Y1-W)')
	define(`Y2L', `eval(Y2+W)')
Element(0x00 "$1" "`$2'" "$3" eval(10+T/2) eval(Y2L+15) 0 100 0x00)
(
	# PAD(X1, Y1, X1, Y2, T, 1)
	# PAD(X2, Y1, X2, Y2, T, 2)
	# Use Pad instead of PAD so both pads come out square
	Pad(X1 Y1 X1 Y2 T "1" 0x100)
	Pad(X2 Y1 X2 Y2 T "2" 0x100)
	ElementLine(X1L Y1L X1L Y2L 8)
	ElementLine(X1L Y2L X2L Y2L 8)
	ElementLine(X2L Y2L X2L Y1L 8)
	ElementLine(X2L Y1L X1L Y1L 8)
	SMD_OUTLINE_EXTRA
)
T8,29
PKG_SIP6PKG_CSIL(`$1', `$2', `$3', 6)
T11,39
PKG_ACY500PPKG_AXIAL_LAY(`$1', `$2', `$3', 500, 1)
T19,28
Description_uA7952C-5.2V 1.5A voltage regulator
T19,27
Description_uA7915C-15V 1.5A voltage regulator
T23,32
Description_geda_ALF400`Axial diode (pin 1 is cathode)'
T21,24
Description_L297A_dilstepper-motor controller
T17,97
PinList_TL084_dil`Out1',`In1-',`In1+',`Vcc+',`In2+',`In2-',`Out2',`Out3',`In3-',`In3+',`Vcc-',`In4+',`In4-',`Out4'
T18,105
PinList_MAX232_dil`C1+',`V+',`C1-',`C2+',`C2-',`V-',`T2out',`R2in',`R2out',`T2in',`T1in',`R1out',`R1in',`T1out',`GND',`Vcc'
T23,2
Param1_smd_resistor_80580
T12,43
PKG_TQFN24_4PKG_QFN_50S(`$1',`$2',`$3', `24', `4', `0')
T7,58
PKG_SSOCOMMON_SMT_DUALINLINE(`$1',`$2',`$3',`$4',`$5',`$6',16,40)
T8,29
PKG_SIP7PKG_CSIL(`$1', `$2', `$3', 7)
T20,10
Description_geda_UM1`Crystals'
T22,30
Description_geda_SOD87`SMT diode (pin 1 is cathode)'
T26,29
Description_geda_HEPTAWATT`Power IC, as in MULTIWATT15'
T25,2
Param1_DIN41_612_ac64maleac
T8,29
PKG_SIP8PKG_CSIL(`$1', `$2', `$3', 8)
T28,9
Description_generic24smd_dil`generic'
T24,32
Description_geda_ALF1000`Axial diode (pin 1 is cathode)'
T17,20
Description_BC237bipolar-N transistor
T21,62
Description_74122_dil`retriggerable monostable multivibrator w. internal resistors'
T18,54
PinList_MAX690_dil`Vout',`Vcc',`Gnd',`PFI',`/PFO',`WDI',`/RESET',`VBatt'
T16,71
PinList_7401_dil`1Y',`1A',`1B',`2Y',`2A',`2B',`Gnd',`3A',`3B',`3Y',`4A',`4B',`4Y',`Vcc'
T16,3
Param2_74440_dil300
T8,29
PKG_SIP9PKG_CSIL(`$1', `$2', `$3', 9)
T22,2933
PKG_BOURNS_GENERIC_POT
	# pin 1,3 width, length (1/100 mm)
	define(`W13',  `$4')
	define(`L13',  `$5')

	# pin 2 width, length (1/100 mm)
	define(`W2',  `$6')
	define(`L2',  `$7')

	# spacing from pad center to pad center between 2 and 1,3 (1/100 mm)
	define(`S12', `$8')
	# spacing from pad center to pad center between 1 and 3 (1/100 mm)
	define(`S13', `$9')
	
	# package width (1/100 mm)
	define(`WIDTH', `$10')

	# silkscreen width (mils)
	define(`SILKW', `10')

	# how much space to leave around the part before the
	# silk screen (mils)
	define(`SILKS', `8')
	# lower right corner for silk screen (mil)
	ifelse(eval(L2 > L13), 1
		define(`SILKX', `eval((S12+L2)*50/254 + SILKS + SILKW/2)'),
		define(`SILKX', `eval((S12+L13)*50/254 + SILKS + SILKW/2)')
	)
	define(`SILKY', `eval((WIDTH/2)*100/254 + SILKS + SILKW/2)')

	# refdes text size (mil)
	define(`TEXTSIZE', 100)
	# x,y coordinates for refdes label (mil)
	define(`TEXTX', -SILKX)
	define(`TEXTY', `eval(-SILKY - 10 - TEXTSIZE/2)')

Element(0x00 "$1" "`$2'" "$3" TEXTX TEXTY 0 TEXTSIZE 0x00)
(

# pin 1
ifelse(0, eval(W13>L13),
	# Pads which have the perpendicular pad dimension less
	# than or equal to the parallel pad dimension 	
	Pad(eval( (S12 - L13 + W13)*50/254) eval( S13*50/254) 
            eval( (S12 + L13 - W13)*50/254) eval( S13*50/254) eval(W13*100/254) "1" 0x100)
        ,
	# Pads which have the perpendicular pad dimension greater
	# than or equal to the parallel pad dimension 
	Pad(eval( (S12 + L13)*50/254) eval((-S13 - W13 + L13)*50/254)
            eval( (S12 + L13)*50/254) eval((-S13 + W13 - L13)*50/254) eval(L13*100/254) "1" 0x100)
	)

# pin 2
ifelse(0, eval(W2>L2),
	# Pads which have the perpendicular pad dimension less
	# than or equal to the parallel pad dimension 	
	Pad(eval( (-S12 - L2 + W2)*50/254) 0 
            eval( (-S12 + L2 - W2)*50/254) 0 eval(W2*100/254) "2" 0x100)
        ,
	# Pads which have the Y (width) pad dimension greater
	# than or equal to the X (length) pad dimension 
	Pad(eval( -S12*50/254) eval((- W2 + L2)*50/254)
            eval( -S12*50/254) eval((  W2 - L2)*50/254) eval(L2*100/254) "2" 0x100)
	)

# pin 3
ifelse(0, eval(W13>L13),
	# Pads which have the perpendicular pad dimension less
	# than or equal to the parallel pad dimension 	
	Pad(eval( (S12 - L13 + W13)*50/254) eval(-S13*50/254) 
            eval( (S12 + L13 - W13)*50/254) eval(-S13*50/254) eval(W13*100/254) "3" 0x100)
        ,
	# Pads which have the perpendicular pad dimension greater
	# than or equal to the parallel pad dimension 
	Pad(eval( (S12 + L13)*50/254) eval((-S13 - W13 + L13)*50/254)
            eval( (S12 + L13)*50/254) eval((-S13 + W13 - L13)*50/254) eval(L13*100/254) "3" 0x100)
	)

# Silk screen around package
ElementLine( SILKX  SILKY  SILKX -SILKY SILKW)
ElementLine( SILKX -SILKY -SILKX -SILKY SILKW)
ElementLine(-SILKX -SILKY -SILKX  SILKY SILKW)
ElementLine(-SILKX  SILKY  SILKX  SILKY SILKW)

# Mark at the center of the part
Mark(0 0)
)
T24,30
Description_geda_SOT323D`SMT diode (pin 1 is cathode)'
T26,38
Description_geda_RESC4532L`Standard SMT resistor, capacitor etc'
T24,60
Description_geda_RCY100P`Bottom lead polar circular component (typically capacitor)'
T27,39
Description_geda_QFN32_5_EP`Square Quad Flat Nolead (QFN) package'
T23,3
Description_MC68030_pgaCPU
T14,45
PKG_QFN56_8_EPPKG_QFN_50S(`$1',`$2',`$3', `56', `8', `665')
T11,72
PKG_LQFP_50PKG_GENERIC_QFP(`$1',`$2',`$3',`$4',`$5', `50',`28', `5', `50',`0',`$6')
T13,74
PKG_INDC2520LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 220,   90, 240, 340, 250,  80, 220)
T21,12
Description_geda_TO92`Transistor'
T21,12
Description_geda_TO18`Transistor'
T26,38
Description_geda_RESC4532M`Standard SMT resistor, capacitor etc'
T24,46
Description_geda_ACY200P`Axial polar component (typically capacitor),'
T24,28
Description_MOLEX_025_20Molex .025 pitch 20 pin plug
T21,55
Description_74580_dil`8 D-type transparent latch 3-state w. inverted output'
T21,30
Description_74173_dil`4bit D-type register 3-state'
T21,15
Description_74136_dil`4 dual-XOR OC'
T18,46
PinList_MAX667_dil`DD',`OUT',`LBI',`GND',`SHDN',`SET',`LBO',`IN'
T16,71
PinList_7415_dil`A1',`B1',`A2',`B2',`C2',`Y2',`Gnd',`Y3',`A3',`B3',`C3',`Y1',`C1',`Vcc'
T19,2
Param1_MOLEX_025_5050
T17,2
Param1_MAX232_dil16
T13,74
PKG_INDC3216LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 180,  100, 300, 420, 210, 120, 180)
T13,74
PKG_INDC2520MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 240,  130, 280, 500, 340,  80, 240)
T28,15
Description_smd_resistor_603`chip_resistor'
T28,39
Description_geda_TQFN44_7_EP`Square Quad Flat Nolead (QFN) package'
T26,42
Description_geda_SOJ20_450`Small outline J-leaded package (450 mil)'
T26,38
Description_geda_RESC4532N`Standard SMT resistor, capacitor etc'
T25,29
Description_MOLEX_025_100Molex .025 pitch 100 pin plug
T23,17
Description_I82077_plccfloppy controller
T21,18
Description_74365_dil`6 bus drivers OC'
T17,103
PinList_74641_dil`DIR',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`Gnd',`B8',`B7',`B6',`B5',`B4',`B3',`B2',`B1',`/EN',`Vcc'
T17,144
PinList_74604_dil`Clk',`A-/B',`A1',`B1',`A2',`B2',`A3',`B3',`A4',`B4',`Y4',`Y3',`Y2',`Gnd',`Y1',`Y5',`Y6',`Y7',`Y8',`B8',`A8',`B7',`A7',`B6',`A6',`B5',`A5',`Vcc'
T16,3
Param2_74683_dil300
T16,3
Param2_74646_dil300
T16,3
Param2_74276_dil300
T16,2
Param1_74521_dil20
T16,2
Param1_74151_dil16
T16,2
Param1_74114_dil14
T17,655
PKG_SUBD_MALE_LAYdefine(`SUBD_SUBFUNCTION',
		`
		define(`NOSMUDGE', 40)
		# First row
		forloop(`i', 1, eval($4/2),
			`define(`Y', eval(PY1 +(i-1)*108))
			PIN(eval(BASEX+56), Y, 60, 35, i)
			ElementLine(eval(BASEX+56-NOSMUDGE) Y X2 Y 20)
		')

		# Last pin in first row
		PIN(eval(BASEX+56), PY2, 60, 35, OFFSET)
		ElementLine(eval(BASEX+56-NOSMUDGE) PY2 X2 PY2 20)

		# Second row
		forloop(`i', 1, eval($4/2),
			`define(`Y', eval(PY1 +(i-1)*108+54))
			PIN(eval(BASEX-56), Y, 60, 35, eval(i+OFFSET))
			ElementLine(eval(BASEX-56-NOSMUDGE) Y X2 Y 20)
		')
		# Plazierungsmarkierung == PIN 1
		Mark(eval(BASEX +50) PY1)
	')
	PKG_SUBD_LAY_BASE(`$1', `$2', `$3', `$4')

T13,74
PKG_INDC3216MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 200,  140, 340, 580, 300, 130, 200)
T13,74
PKG_INDC2520NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 230,  110, 260, 410, 280,  70, 230)
T24,28
Description_geda_TSOP32A`Thin small outline package'
T21,13
Description_PC_V24_9PPC V24 9-pins
T20,42
Description_7470_dil`AND-gated JK pos-edge-FF w. preset/clear'
T21,46
Description_74594_dil`8bit shift register w. buffered output latch'
T20,22
Description_7433_dil`4 dual-NOR buffer OC'
T16,3
Param2_74468_dil300
T17,1
Param1_MAX690_dil8
T14,41
PKG_TQFP240_32PKG_QFP_50(`$1',`$2',`$3',`240',`32',`0')
T13,74
PKG_INDC3216NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 190,  120, 320, 490, 240, 120, 190)
T12,436
PKG_CONN_USBElement(0x00 "$1" "`$2'" "$3" 4140 2050 0 100 0x00)
(
	Pin(4140 2050 60 28 "1" "1" 0x00000101)
	Pin(4040 2050 60 28 "2" "2" 0x00000001)
	Pin(4040 2130 60 28 "3" "3" 0x00000001)
	Pin(4140 2130 60 28 "4" "4" 0x00000001)
	Pin(3850 2240 90 90 "" "5" 0x00000009)
	Pin(4330 2240 90 90 "" "6" 0x00000009)

	ElementLine( 3850  1900 4330 1900 20)
	ElementLine( 3850  1900 3850 2150 20)
	ElementLine( 4330  1900 4330 2150 20)

	Mark (4140 2050)
)
T24,28
Description_geda_TSOP32B`Thin small outline package'
T22,12
Description_geda_TO126`Transistor'
T26,42
Description_geda_SOJ34_450`Small outline J-leaded package (450 mil)'
T26,38
Description_geda_INDC4532L`Standard SMT resistor, capacitor etc'
T24,28
Description_MOLEX_025_60Molex .025 pitch 60 pin plug
T21,28
Description_74379_dil`4 FF w. double rail output'
T17,83
PinList_74285_dil`2C',`2B',`2A',`1D',`1A',`1B',`1C',`Gnd',`Y3',`Y2',`Y1',`Y0',`/GB',`/GA',`2D',`Vcc'
T17,79
PinList_74248_dil`B',`C',`/LT',`/BI-/RBO',`/RBI',`D',`A',`Gnd',`e',`d',`c',`b',`a',`g',`f',`Vcc'
T16,3
Param2_74697_dil300
T19,2
Param1_MOLEX_025_9090
T16,2
Param1_74165_dil16
T16,2
Param1_74128_dil14
T10,36
PKG_ACY900PKG_AXIAL_LAY(`$1', `$2', `$3', 900)
T26,38
Description_geda_INDC4532M`Standard SMT resistor, capacitor etc'
T27,37
Description_geda_HEADER48_1`Header connector, DIP pin numbering'
T25,29
Description_MOLEX_025_140Molex .025 pitch 140 pin plug
T20,28
Description_7447_dil`BCD to 7-segment driver OC'
T20,3
Param2_AT90S1200_dil300
T17,1
Param1_MAX667_dil8
T15,2
Param1_7442_dil16
T15,2
Param1_7405_dil14
T26,38
Description_geda_INDC4532N`Standard SMT resistor, capacitor etc'
T27,42
Description_geda_HEADER48_2`Header connector, ribbon cable numbering'
T24,50
Description_geda_EMI0805`3-Pin SMT EMI Filter based on standard SMT sizes'
T23,45
Description_geda_DIP22M`Dual in-line package, medium wide (400 mil)'
F9,9
debugmodedebugmode
T13,22
PinList_LM317`Adj',`Out',`In',`Out'
T17,89
PinList_74669_dil`U-/D',`Clk',`A',`B',`C',`D',`/ENP',`Gnd',`/Load',`/ENT',`Qd',`Qc',`Qb',`Qa',`/RCO',`Vcc'
T17,124
PinList_74299_dil`S0',`/G1',`/G2',`G-Qg',`E-Qe',`C-Qc',`A-Qa',`Qa2',`/Clr',`Gnd',`SR',`Clk',`B-Qb',`D-Qd',`F-Qf',`H-Qh',`Qh2',`SL',`S1',`Vcc'
T10,72
PKG_QFP_65PKG_GENERIC_QFP(`$1',`$2',`$3',`$4',`$5', `65',`40',`20', `80',`0',`$6')
T23,64
Description_geda_RCY100`Bottom lead non-polar circular component (typically capacitor)'
F8,8
traceofftraceoff
T11,81
_DEFPINLISTifelse($#, 0, , $#, 1, `DEFPIN(`$1')',
	`DEFPIN(`$1')'`
	_DEFPINLIST(shift($@))')
T15,2
Param1_7493_dil14
T15,2
Param1_7419_dil14
T26,42
Description_geda_SOJ18_400`Small outline J-leaded package (400 mil)'
T25,29
Description_MOLEX_025_180Molex .025 pitch 180 pin plug
T18,1
Param2_connector202
T22,24
Description_geda_SOT89`SMT transistor, 4 pins'
T11,42
PKG_PLCC20XPKG_PLCC_SOCKET(`$1', `$2', `$3', 20, 150)
T31,26
Description_smd_EIA_A_capacitor`chip_capacitor_polarized'
T27,37
Description_geda_HEADER52_1`Header connector, DIP pin numbering'
T16,3
Param2_43256_dil600
T16,1
Param1_TL081_dil8
T39,50
Description_johnstech_JOHNSTECH_QFN36_6`Johnstech QFN Socket, Series 1MM (724812-724839)'
T27,42
Description_geda_HEADER52_2`Header connector, ribbon cable numbering'
T9,34
PKG_DIP32PKG_N(`$1', `$2', `$3',  32,  600)
T24,50
Description_geda_EMI1206`3-Pin SMT EMI Filter based on standard SMT sizes'
T27,37
Description_cts_CTS_746X_10`CTS 746X Series Chip Resistor Array'
T24,28
Description_MOLEX_025_68Molex .025 pitch 68 pin plug
T17,143
PinList_L297A_dil`Sync',`Gnd',`Home',`A',`/Inh1',`B',`C',`/Inh2',`D',`Enable',`Dir-Mem',`Vs',`Sens2',`Sens1',`Vref',`Osc',`CW/CCW',`/Clock',`Half/Full',`/Reset'
T20,3
Param2_generic64_dil900
T16,3
Param2_74520_dil300
T16,3
Param2_74150_dil300
T16,3
Param2_74113_dil300
T14,39
PKG_HEADER28_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 14)
T40,18
Description_generic_capacitor_radial_600`capacitor_radial'
T26,9
Description_generic84_plcc`generic'
T13,62
PKG_SOJ32_400COMMON_SMT_DIL_MIL(`$1',`$2',`$3',32,23622,86614,50000,291339)
T14,38
PKG_HEADER28_2PKG_CONNECTOR(`$1', `$2', `$3', 14, 2)
T8,74
PKG_0402PKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  70,   50,  80, 170, 100,   0,   0)
T26,42
Description_geda_SOJ22_350`Small outline J-leaded package (350 mil)'
T29,31
Description_geda_DIN41651_40S`Header connector with latches'
T21,27
Description_74623_dil`8 bus tranceivers 3-state'
T21,34
Description_74290_dil`decade counter w. clear/set-to-9'
T21,39
Description_74253_dil`2 4-to-1 selector/multiplexor 3-state'
T17,83
PinList_74122_dil`A1',`A2',`B1',`B2',`/Clr',`/Q',`Gnd',`Q',`Rint',`NC',`Cext',`NC',`Rext-Cext',`Vcc'
T16,3
Param2_74164_dil300
T24,28
Description_geda_QFP32_7`Square Quad-side flat pack'
T16,22
PinList_uA78M08C`In',`Com',`Out',`Com'
T16,3
Param2_74393_dil300
T16,3
Param2_74356_dil300
T15,3
Param2_7431_dil300
T15,2
Param1_6551_dil28
T15,44
PKG_TQFN44_7_EPPKG_QFN_50(`$1',`$2',`$3', `44', `7', `470')
T11,42
PKG_PLCC28XPKG_PLCC_SOCKET(`$1', `$2', `$3', 28, 150)
T9,34
PKG_DIP36PKG_N(`$1', `$2', `$3',  36,  600)
T39,50
Description_johnstech_JOHNSTECH_QFN40_6`Johnstech QFN Socket, Series 1MM (724812-724839)'
T26,42
Description_geda_SOJ36_350`Small outline J-leaded package (350 mil)'
T21,43
Description_74674_dil`16bit shift register w. 16bit parallel in'
T21,45
Description_74637_dil`8bit parallel error detection/correction OC'
T17,102
PinList_74580_dil`/Oe',`1D',`2D',`3D',`4D',`5D',`6D',`7D',`8D',`Gnd',`Le',`8Q',`7Q',`6Q',`5Q',`4Q',`3Q',`2Q',`1Q',`Vcc'
T17,83
PinList_74173_dil`M',`N',`1Q',`2Q',`3Q',`4Q',`Clk',`Gnd',`/G1',`/G2',`4D',`3D',`2D',`1D',`Clr',`Vcc'
T17,71
PinList_74136_dil`1A',`1B',`1Y',`2A',`2B',`2Y',`Gnd',`3Y',`3A',`3B',`4Y',`4A',`4B',`Vcc'
T16,3
Param2_74178_dil300
T16,2
Param1_7451S_dil14
T16,2
Param1_74423_dil16
T38,42
Description_panasonic_PANASONIC_EXB24V`Panasonic EXB Series Chip Resistor Array'
T28,39
Description_geda_TQFN20_5_EP`Square Quad Flat Nolead (QFN) package'
T18,55
PinList_uA748C_dil`N1Comp',`In-',`In+',`Vcc-',`OfsN2',`Out',`Vcc+',`Comp'
T17,83
PinList_74365_dil`/G1',`1A',`1Y',`2A',`2Y',`3A',`3Y',`Gnd',`4Y',`4A',`5Y',`5A',`6Y',`6A',`/G2',`Vcc'
T15,3
Param2_7445_dil300
T15,3
Param2_7408_dil300
T16,2
Param1_74652_dil24
T16,2
Param1_74245_dil20
T14,39
PKG_HEADER32_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 16)
T26,38
Description_geda_RESC3225L`Standard SMT resistor, capacitor etc'
T21,26
Description_74688_dil`8bit identity comperator'
T17,52
PinList_PC_V24_9P`DCD',`RxD',`TxD',`DTR',`Gnd',`DSR',`RTS',`CTS',`RI'
T17,94
PinList_74594_dil`Qb',`Qc',`Qd',`Qe',`Qf',`Qg',`Qh',`Gnd',`Qh+',`/SRClr',`/SRCK',`RCK',`/RClr',`SER',`Qa',`Vcc'
T16,3
Param2_74599_dil300
T14,38
PKG_HEADER32_2PKG_CONNECTOR(`$1', `$2', `$3', 16, 2)
T23,45
Description_geda_SDIP30`Shrink dual in-line package, wide (400 mil)'
T26,38
Description_geda_RESC3225M`Standard SMT resistor, capacitor etc'
T26,35
Description_geda_MTA100_10`MTA Connector, (0.100 inch pitch)'
T22,35
Description_geda_MSOP8`Mini small outline package, .65mm'
T29,26
Description_DIN41_651_10standDIN41.651 standing 10 pins
T17,86
PinList_74379_dil`/G',`1Q',`/1Q',`1D',`2D',`/2Q',`2Q',`Gnd',`Clk',`3Q',`/3Q',`3D',`4D',`/4Q',`4Q',`Vcc'
T15,3
Param2_7496_dil300
T16,2
Param1_74629_dil16
T16,2
Param1_74259_dil16
T12,43
PKG_TQFN48_7PKG_QFN_50S(`$1',`$2',`$3', `48', `7', `0')
T8,74
PKG_1210PKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 270,  130, 300, 470, 320, 100, 270)
T38,42
Description_panasonic_PANASONIC_EXB28V`Panasonic EXB Series Chip Resistor Array'
T26,38
Description_geda_RESC3225N`Standard SMT resistor, capacitor etc'
T26,35
Description_geda_MTA100_11`MTA Connector, (0.100 inch pitch)'
T30,31
Description_geda_DIN41612C64FS`DIN connector, 96 pin housing'
T13,11
PinList_BC337`E',`B',`C'
T16,3
Param2_TL080_dil300
T11,55
PKG_TSSOP10COMMON_SMT_DIL_MM(`$1',`$2',`$3', 10, 30, 150, 50, 300)
T23,45
Description_geda_SDIP32`Shrink dual in-line package, wide (400 mil)'
T26,28
Description_geda_QFP144_28`Square Quad-side flat pack'
T26,35
Description_geda_MTA100_12`MTA Connector, (0.100 inch pitch)'
T27,28
Description_geda_LQFP176_24`Square Quad-side flat pack'
T25,2635
COMMON_SMT_TRANSISTOR_MILdefine(`spaceX',   `$4')                             # 78 for SOT23
	define(`spaceY',   `$5')                             # 82 for SOT23
	define(`padY',     `eval((spaceY * $6) / 100)')      # 41 for SOT23
	define(`padX',     `ifelse(eval(len(`$7') >= 5), 1,
			       `eval((spaceX * 31) / 100)',
			       `eval((padY * 85) / 100)'
			     )')               # 34 for SOT23, 24 for SOT25
	define(`addFRAME', `eval(padY / 5)')
	define(`maxX',     `eval(2*addFRAME+spaceX+padX)')
	define(`maxY',     `eval(2*addFRAME+spaceY+padY)')
	define(`centerX',  `eval(maxX / 2)')
	define(`centerY1', `eval(addFRAME + padY/2)')
	define(`centerX1', `eval(addFRAME + padX/2)')
	define(`deltaY',   `eval((padY-padX)/2)')
	define(`silkW',    `ifelse(eval(spaceY >= 50), 1, 10, eval(spaceY/5))')
	define(`indeX',    `0')

Element(0x00 "$1" "`$2'" "$3" eval(maxX+20) 0 3 100 0x00)
(
	ElementLine(0 0 0 maxY silkW)
	ElementLine(0 maxY maxX maxY silkW)
	ElementLine(maxX maxY maxX 0 silkW)
	ElementLine(maxX 0 0 0 silkW)

	# 1st side, 1st pin
	ifelse(len(`$7'), 4,
	  `# extra width
	   Pad(eval(centerX1+deltaY) eval(centerY1+spaceY)
	       eval(centerX1+2*deltaY) eval(centerY1+spaceY)
			   padX "substr(`$7',indeX,1)" "substr(`$7',indeX,1)" 0x100)
	 ',
	  `Pad(centerX1 eval(centerY1+spaceY-deltaY)
	       centerX1 eval(centerY1+spaceY+deltaY)
			   padX "substr(`$7',indeX,1)" "substr(`$7',indeX,1)" 0x100)
	 ')
	define(`indeX',incr(indeX))

	# 1st side, 2nd pin
	ifelse(eval(len(`$7') == 6), 1,
	  `Pad(centerX eval(centerY1+spaceY-deltaY)
	       centerX eval(centerY1+spaceY+deltaY)
			   padX "substr(`$7',indeX,1)" "substr(`$7',indeX,1)" 0x100)
	   define(`indeX',incr(indeX))
	 ')

	# 1st side, 3rd pin
	Pad(eval(centerX1+spaceX) eval(centerY1+spaceY-deltaY)
	    eval(centerX1+spaceX) eval(centerY1+spaceY+deltaY)
			   padX "substr(`$7',indeX,1)" "substr(`$7',indeX,1)" 0x100)
	define(`indeX',incr(indeX))

	# 2nd side, 3rd pin
	ifelse(eval(len(`$7') >= 4), 1,
	  `Pad(eval(centerX1+spaceX) eval(centerY1-deltaY)
	       eval(centerX1+spaceX) eval(centerY1+deltaY)
			   padX "substr(`$7',indeX,1)" "substr(`$7',indeX,1)" 0x100)
	   define(`indeX',incr(indeX))
	 ')

	# 2nd side, 2nd pin
	ifelse(eval(len(`$7') != 4), 1,
	  `Pad(centerX eval(centerY1-deltaY)
	       centerX eval(centerY1+deltaY)
			   padX "substr(`$7',indeX,1)" "substr(`$7',indeX,1)" 0x100)
	   define(`indeX',incr(indeX))
	 ')

	# 2nd side, 1st pin
	ifelse(eval(len(`$7') >= 4), 1,
	  `Pad(centerX1 eval(centerY1-deltaY)
	       centerX1 eval(centerY1+deltaY)
			   padX "substr(`$7',indeX,1)" "substr(`$7',indeX,1)" 0x100)
	 ')

	Mark(centerX1 eval(centerY1+spaceY))
)
T17,1
Param1_uA748C_dil8
T15,2
Param1_4016_dil24
T12,82
PL_PCISideA1`TRST*',`+12V',`TMS',`TDI',`+5V',`INTA*',`INTC*',`+5V',`Reserved',`+5V',`Reserved'
T19,579
PKG_TO220STAND_WIDEElement(0x00 "$1" "`$2'" "$3" 0 10 0 100 0x00)
(
	PIN(100, 200, 90, 60, 1)
	PIN(200, 300, 90, 60, 2)
	PIN(300, 200, 90, 60, 3)
		  
	# Gehaeuse
	ElementLine(  0  80 400  80 20)
	ElementLine(400  80 400 260 20)
	ElementLine(400 260   0 260 20) 
	ElementLine(  0 260   0  80 20) 
			
	# Kuehlfahne icl. Bohrung
	ElementLine(  0  80 400  80 20)
	ElementLine(400  80 400 140 20)
	ElementLine(400 140   0 140 20)
	ElementLine(  0 140   0  80 20)

	ElementLine(130 80 130 140 10)
	ElementLine(270 80 270 140 10)
		
	# Anschlussdraht
	ElementLine(200 300 200 260 30)
		
	Mark(100 200)
)
T28,39
Description_geda_TQFN16_3_EP`Square Quad Flat Nolead (QFN) package'
T26,35
Description_geda_MTA100_13`MTA Connector, (0.100 inch pitch)'
T26,38
Description_geda_INDC3225L`Standard SMT resistor, capacitor etc'
T24,2
Param1_DIN41_651_64stand64
T12,17
PL_PCISideA2`Ground',`Ground'
T23,24
Description_geda_SOT323`SMT transistor, 3 pins'
T26,35
Description_geda_MTA100_14`MTA Connector, (0.100 inch pitch)'
T26,38
Description_geda_INDC3225M`Standard SMT resistor, capacitor etc'
T21,3961
COMMON_AMP_MICTOR_MIL
	# number of pads
	define(`NPADS', `$4')

	# number of segments of 38 pins each
	define(`NSEG', eval(NPADS/38))

	# pad width in 1/1000 mil
        define(`PADWIDTH', `$5')
	# pad length in 1/1000 mil
        define(`PADLENGTH',`$6')
	# pad pitch 1/1000 mil
	define(`PITCH',`$7')
	# seperation between pads on opposite sides 1/1000 mil
	define(`PADSEP',`$8')

	# X coordinates for the right hand column of pads (mils)
        define(`X1', `eval( (PADSEP/2 + PADLENGTH - PADWIDTH/2)/1000)')
        define(`X2', `eval( (PADSEP/2 + PADWIDTH/2)/1000)')

	# silk screen width (mils)
	define(`SILKW', `10')
	define(`SILKSEP', `5')


	# figure out if we have an even or odd number of pins per side
	define(`TMP1', eval(NPADS/4))
	define(`TMP2', eval((4*TMP1 - NPADS) == 0))
	ifelse(TMP2, 1, `define(`EVEN',"yes")', `define(`EVEN',"no")')

	# silk bounding box is -XMAX,-YMAX, XMAX,YMAX (mils)
	define(`XMAX', `200')
	define(`YMAX', `eval(250 + NSEG*250 + 125)')

	define(`REV', `$9')

	ifelse(REV,"reverse",
		`define(`CURPIN', NPADS)'
	,
		`define(`CURPIN', `1')'
	)	
Element(0x00 "$1" "`$2'" "$3" -20 -60 0 100 0x00)
(
	define(`SEG', `1')
	define(`YOFS', eval((1-NSEG)*25000/2))
        forloop(`i', 1, eval(NPADS / 2),
		`
		ifelse(eval(i > SEG*19), 1, 
			`define(`SEG', incr(SEG))
			define(`YOFS', eval((1-NSEG)*25000/2 + (SEG-1)*25000))',)
                ifelse(EVEN,"yes",
		 `Pad(   -X1 eval( (-(NPADS/4)*PITCH - PITCH/2 + i*PITCH + YOFS)/1000) 
			 -X2 eval( (-(NPADS/4)*PITCH - PITCH/2 + i*PITCH + YOFS)/1000) 
			eval(PADWIDTH/1000) "CURPIN" "CURPIN" 0x0)',
		 `Pad(   -X1 eval( (-(NPADS/4)*PITCH - PITCH   + i*PITCH + YOFS)/1000) 
			 -X2 eval( (-(NPADS/4)*PITCH - PITCH   + i*PITCH + YOFS)/1000) 
			eval(PADWIDTH/1000) "CURPIN" "CURPIN" 0x0)')

		ifelse(REV,"reverse", 
			`define(`CURPIN', decr(CURPIN))
			define(`CURPIN', decr(CURPIN))',
			`define(`CURPIN', incr(CURPIN))
			define(`CURPIN', incr(CURPIN))'
			)
        ')
	ifelse(REV,"reverse",
		`define(`CURPIN', `2')'
	,
		`define(`CURPIN', `NPADS')'
	)	

	define(`SEG', `1')
	define(`YOFS', eval((NSEG-1)*25000/2))
        forloop(`i', eval((NPADS / 2) + 1), NPADS,
		`
		ifelse(eval(i - NPADS/2 > SEG*19), 1, 
			`define(`SEG', incr(SEG)) 
			define(`YOFS', eval((NSEG-1)*25000/2 - (SEG-1)*25000))',)
                ifelse(EVEN,"yes",
		 `Pad(   X1 eval( ((NPADS/4)*PITCH + PITCH/2 - (i-NPADS/2)*PITCH + YOFS)/1000) 
			 X2 eval( ((NPADS/4)*PITCH + PITCH/2 - (i-NPADS/2)*PITCH + YOFS)/1000) 
			eval(PADWIDTH/1000) "CURPIN" "CURPIN" 0x0)',
		 `Pad(   X1 eval( ((NPADS/4)*PITCH + PITCH   - (i-NPADS/2)*PITCH + YOFS)/1000) 
			 X2 eval( ((NPADS/4)*PITCH + PITCH   - (i-NPADS/2)*PITCH + YOFS)/1000) 
			eval(PADWIDTH/1000) "CURPIN" "CURPIN" 0x0)')
		ifelse(REV,"reverse", 
			`define(`CURPIN', incr(CURPIN))
			define(`CURPIN', incr(CURPIN))',
			`define(`CURPIN', decr(CURPIN))
			define(`CURPIN', decr(CURPIN))'
			)
        ')

	define(`GNDpad', `60')
	define(`GNDdrl', `32')
# now add the center row of grounding pins
	define(`CURPIN', incr(NPADS))
	define(`YOFS', `eval(250-NSEG*250)')
	forloop(`j', 1, NSEG,
	`forloop(`i', -2, 2,
		`Pin(0 eval(i*100 + YOFS) GNDpad GNDdrl "GND" "CURPIN" 0x01)
		define(`CURPIN', incr(CURPIN))'
	)
	define(`YOFS', eval(YOFS + 500))'
	)
# the latch pins
	Pin(0 eval(-YOFS - 55) 80 53 "LATCH" "CURPIN" 0x01)
	define(`CURPIN', incr(CURPIN))
	Pin(0  eval(YOFS + 55) 80 53 "LATCH" "CURPIN" 0x01)
	define(`CURPIN', incr(CURPIN))
# and the orientation pin
	Pin(0 eval(-YOFS+50) 84 84 "ORIENT" "CURPIN" 0x09)

# and finally the silk screen
	ElementLine(-XMAX -YMAX -XMAX  YMAX SILKW)
	ElementLine(-XMAX  YMAX  XMAX  YMAX SILKW)
	ElementLine( XMAX  YMAX  XMAX -YMAX SILKW)
	ElementLine(-XMAX -YMAX   -25 -YMAX SILKW)
	ElementLine( XMAX -YMAX    25 -YMAX SILKW)

	# punt on the arc on small parts as it can cover the pads
	ifelse(eval((PADSEP-PADLENGTH)/1000 > 50), 1, `ElementArc(0 -YMAX 25 25 0 180 SILKW)', )
	
	# Mark at the common centroid
        Mark(0 0)
)
T20,115
PinList_PIC16C61_dil`RA2',`RA3',`RA4',`/MCLR',`VSS',`RB0/INT',`RB1',`RB2',`RB3',`RB4',`RB5',`RB6',`RB7',`VDD',`OSC2',`OSC1',`RA0',`RA1'
T19,3
Param2_TI34010_plcc150
T12,308
PL_PCISideA3`3.3Vaux',`RST*',`+5V',`GNT*',`Ground',`PME*',`AD[30]',`+3.3V',`AD[28]',`AD[26]',`Ground',`AD[24]',`IDSEL',`+3.3V',`AD[22]',`AD[20]',`Ground',`AD[18]',`AD[16]',`+3.3V',`FRAME*',`Ground',`TRDY*',`Ground',`STOP*',`+3.3V',`Reserved',`Reserved',`Ground',`PAR',`AD[15]',`+3.3V',`AD[13]',`AD[11]',`Ground',`AD[09]'
T13,62
PKG_SOJ20_300COMMON_SMT_DIL_MIL(`$1',`$2',`$3',20,23622,86614,50000,196850)
T24,39
Description_geda_QFN24_4`Square Quad Flat Nolead (QFN) package'
T26,35
Description_geda_MTA100_15`MTA Connector, (0.100 inch pitch)'
T26,38
Description_geda_INDC3225N`Standard SMT resistor, capacitor etc'
T27,24
Description_DIN41_651_24layDIN41.651 laying 24 pins
T17,18
Description_BC140bipolar transistor
T12,17
PL_PCISideA4`Ground',`Ground'
T11,55
PKG_TSSOP14COMMON_SMT_DIL_MM(`$1',`$2',`$3', 14, 33, 150, 65, 440)
T23,3816
PKG_CANDK_ES_SMT_SWITCH
	# pad 1,2,3 width (1/100 mil)
	define(`PADW1',  `3500')

	# pad 1,2,3 length (1/100 mil)
	define(`PADL1',  `8200')

	# x value for pads 1,3 (1/100 mil)
	define(`PADX1', `10000')
	
	# y value for pads 1,2,3 (1/100 mil)
	define(`PADY1', `17500')
	define(`PADY1A', `eval(PADY1 - (PADL1 - PADW1)/2)')
	define(`PADY1B', `eval(PADY1 + (PADL1 - PADW1)/2)')


	# mounting pad width (1/100 mil)
	define(`PADW2',  `9150')

	# mounting pad length (1/100 mil)
	define(`PADL2',  `6000')

	# x value for the mounting pads (1/100 mil)
	define(`PADX2', `21175')
	define(`PADX2A', `eval(PADX2 - (PADW2 - PADL2)/2)')
	define(`PADX2B', `eval(PADX2 + (PADW2 - PADL2)/2)')
	
	# y value for the mounting pads (1/100 mil)
	define(`PADY2', `-17500')

	# package width (1/100 mil)
	define(`PACKW', `39500')

	# package height (1/100 mil)
	define(`PACKH', `36000')

	# component veritcal height off board (1/100 mil)
	define(`COMPH', `eval($9*10000/254)')

	# pad width and length
	define(`PADW', `eval(PINW + 2000)')
	define(`PADL', `eval(PINL + 2000)')

	# y values for drawing the pad.  
	# The Y center of the pad is 0.5*(PINL + PINS)
	# we need a line segment of length PADL - PADW so we have end points:
	# 0.5*(PINL + PINS) +/- 0.5*(PADL - PADW)
	define(`PY1', `eval((PINL + PINS + PADL - PADW)/2)')
	define(`PY2', `eval((PINL + PINS - PADL + PADW)/2)')

	# width of soldermask relief (5 mil on each side)
	define(`MASKW1', `eval(PADW1 + 1000)')
	define(`MASKW2', `eval(PADL2 + 1000)')

	# top edge of switch body (1/100 mil)
	define(`SWTOP', `eval(PADY2 - 5000)')

	# bottom edge of switch body (1/100 mil)
	define(`SWBOT', `eval(SWTOP + PACKH)')

	# how much the switch extends beyond the body
	define(`SWEXT', `12100')

	# y value for the far end of the switch
	define(`SWYMAX', `eval(SWTOP - SWEXT)')

	# silkscreen width (1/100 mils)
	define(`SILKW', `1000')

	# how much space to leave around the part before the
	# silk screen (1/100 mils)
	define(`SILKS', `800')

	# X values for silk on sides and bottom of switch
	define(`SX1', `eval( (PACKW + 2*SILKS + SILKW)/2)')
	define(`SX2', `eval( 10000 + PADW1/2 + SILKS + SILKW/2)')

	# bottom edge of the switch body
	define(`SY1', `eval( SWBOT + SILKS + SILKW/2 )')

	# bottom edge of upper pads
	define(`SY2', `eval( PADY2 + PADL2/2 + SILKS + SILKW/2)')

	# bottom edge of the lower pads
	define(`SY3', `eval( PADY1 + PADL1/2 + SILKS + SILKW/2)')

	# top edge of the switch body
	define(`SY4', `eval( PADY2 - PADL2/2 - SILKS - SILKW/2)')

	# top edge of the switch 
	define(`SY5', `eval( SWTOP - SILKS - SILKW/2)')


# Element [SFlags "Desc" "Name" "Value" MX MY TX TY TDir TScale TSFlags]
Element[ "" "`$1'" "`$2'" "`$3'" 0 0 0 0 0 100 ""]
(

# Pad [rX1 rY1 rX2 rY2 Thickness Clearance Mask "Name" "Number" SFlags]

# the signal pads
Pad[ -PADX1 PADY1A -PADX1 PADY1B PADW1 1000 MASKW1 "1"  "1" "square"]
Pad[      0 PADY1A      0 PADY1B PADW1 1000 MASKW1 "2"  "2" "square"]
Pad[  PADX1 PADY1A  PADX1 PADY1B PADW1 1000 MASKW1 "3"  "3" "square"]

# the mounting pads
Pad[ -PADX2A PADY2 -PADX2B PADY2 PADL2 1000 MASKW2 "4"  "4" "square"]
Pad[  PADX2A PADY2  PADX2B PADY2 PADL2 1000 MASKW2 "4"  "4" "square"]

# Silk screen around package
# ElementLine[ x1 y1 x2 y2 width]

# bottom edge
ElementLine[ SX1 SY1  SX2 SY1 SILKW ]
ElementLine[-SX1 SY1 -SX2 SY1 SILKW ]
ElementLine[-SX2 SY1 -SX2 SY3 SILKW ]
ElementLine[ SX2 SY1  SX2 SY3 SILKW ]
ElementLine[-SX2 SY3  SX2 SY3 SILKW ]

# left/right
ElementLine[ SX1 SY1  SX1 SY2 SILKW ]
ElementLine[-SX1 SY1 -SX1 SY2 SILKW ]

# top edge
ElementLine[-SX1 SWYMAX  SX1 SWYMAX SILKW ]
ElementLine[-SX1 SY5     SX1 SY5    SILKW ]
ElementLine[-SX1 SY4    -SX1 SWYMAX SILKW ]
ElementLine[ SX1 SY4     SX1 SWYMAX SILKW ]

# cross at top where switch moves
ElementLine[-SX1 SWYMAX  SX1 SY5    SILKW ]
ElementLine[-SX1 SY5     SX1 SWYMAX SILKW ]

)
T23,24
Description_geda_SOT325`SMT transistor, 5 pins'
T17,3
Param2_OPTO_6N136300
T12,90
PL_PCISideA5`C/BE[0]*',`+3.3V',`AD[06]',`AD[04]',`Ground',`AD[02]',`AD[00]',`+5V',`REQ64*',`+5V',`+5V'
T13,62
PKG_SOJ34_300COMMON_SMT_DIL_MIL(`$1',`$2',`$3',34,23622,86614,50000,196850)
T15,48
PKG_CTS_742X_08COMMON_SMT_DIL_MM(`$1',`$2',`$3', 8,50,90,80,90)
T23,24
Description_geda_SOT326`SMT transistor, 6 pins'
T25,33
Description_geda_JUMPER20`Jumper, i.e. single row headers'
T16,71
PinList_7420_dil`1A',`1B',`NC',`1C',`1D',`1Y',`Gnd',`2Y',`2A',`2B',`NC',`2C',`2D',`Vcc'
T17,3
Param2_OPTO_6N137300
T16,3
Param2_74422_dil300
T17,1
Param1_connector21
T12,285
PL_PCISideA6`Ground',`C/BE[7]*',`C/BE[5]*',`+5V',`PAR64',`AD[62]',`Ground',`AD[60]',`AD[58]',`Ground',`AD[56]',`AD[54]',`+5V',`AD[52]',`AD[50]',`Ground',`AD[48]',`AD[46]',`Ground',`AD[44]',`AD[42]',`+5V',`AD[40]',`AD[38]',`Ground',`AD[36]',`AD[34]',`Ground',`AD[32]',`Reserved',`Ground',`Reserved'
T11,55
PKG_TSSOP16COMMON_SMT_DIL_MM(`$1',`$2',`$3', 16, 33, 150, 65, 440)
T15,2373
PKG_MC68881_pgaElement(0x00 "$1" "`$2'" "$3" 350 450 0 100 0x00)
	(
	Pin(50 50 50 20 "VCC" 0x201)
	Pin(150 50 50 20 "GND" 0x01)
	Pin(250 50 50 20 "D0" 0x01)
	Pin(350 50 50 20 "D1" 0x01)
	Pin(450 50 50 20 "D3" 0x01)
	Pin(550 50 50 20 "D4" 0x01)
	Pin(650 50 50 20 "D6" 0x01)
	Pin(750 50 50 20 "D7" 0x01)
	Pin(850 50 50 20 "D8" 0x01)
	Pin(950 50 50 20 "GND" 0x01)
	Pin(50 150 50 20 "VCC" 0x01)
	Pin(150 150 50 20 "GND" 0x01)
	Pin(250 150 50 20 "GND" 0x01)
	Pin(350 150 50 20 "/SENSE" 0x01)
	Pin(450 150 50 20 "D2" 0x01)
	Pin(550 150 50 20 "D5" 0x01)
	Pin(650 150 50 20 "GND" 0x01)
	Pin(750 150 50 20 "VCC" 0x01)
	Pin(850 150 50 20 "D10" 0x01)
	Pin(950 150 50 20 "D11" 0x01)
	Pin(50 250 50 20 "GND" 0x01)
	Pin(150 250 50 20 "CLK" 0x01)
	Pin(250 250 50 20 "GND" 0x01)
	Pin(750 250 50 20 "D9" 0x01)
	Pin(850 250 50 20 "D13" 0x01)
	Pin(950 250 50 20 "D14" 0x01)
	Pin(50 350 50 20 "/RESET" 0x01)
	Pin(150 350 50 20 "GND" 0x01)
	Pin(850 350 50 20 "D12" 0x01)
	Pin(950 350 50 20 "D15" 0x01)
	Pin(50 450 50 20 "NC" 0x01)
	Pin(150 450 50 20 "VCC" 0x01)
	Pin(850 450 50 20 "VCC" 0x01)
	Pin(950 450 50 20 "GND" 0x01)
	Pin(50 550 50 20 "/SIZE" 0x01)
	Pin(150 550 50 20 "GND" 0x01)
	Pin(850 550 50 20 "D17" 0x01)
	Pin(950 550 50 20 "D16" 0x01)
	Pin(50 650 50 20 "/DS" 0x01)
	Pin(150 650 50 20 "A4" 0x01)
	Pin(850 650 50 20 "D20" 0x01)
	Pin(950 650 50 20 "D18" 0x01)
	Pin(50 750 50 20 "/AS" 0x01)
	Pin(150 750 50 20 "A2" 0x01)
	Pin(250 750 50 20 "A0" 0x01)
	Pin(750 750 50 20 "VCC" 0x01)
	Pin(850 750 50 20 "GND" 0x01)
	Pin(950 750 50 20 "D19" 0x01)
	Pin(50 850 50 20 "A3" 0x01)
	Pin(150 850 50 20 "VCC" 0x01)
	Pin(250 850 50 20 "/CS" 0x01)
	Pin(350 850 50 20 "/DSACK0" 0x01)
	Pin(450 850 50 20 "D31" 0x01)
	Pin(550 850 50 20 "D28" 0x01)
	Pin(650 850 50 20 "D25" 0x01)
	Pin(750 850 50 20 "GND" 0x01)
	Pin(850 850 50 20 "D23" 0x01)
	Pin(950 850 50 20 "D21" 0x01)
	Pin(50 950 50 20 "A1" 0x01)
	Pin(150 950 50 20 "R/W" 0x01)
	Pin(250 950 50 20 "GND" 0x01)
	Pin(350 950 50 20 "/DSACK1" 0x01)
	Pin(450 950 50 20 "D30" 0x01)
	Pin(550 950 50 20 "D29" 0x01)
	Pin(650 950 50 20 "D27" 0x01)
	Pin(750 950 50 20 "D26" 0x01)
	Pin(850 950 50 20 "D24" 0x01)
	Pin(950 950 50 20 "D22" 0x01)
	ElementLine(30 0 1000 0 20)
	ElementLine(1000 0 1000 1000 20)
	ElementLine(1000 1000 0 1000 20)
	ElementLine(0 1000 0 30 20)
	ElementLine(0 30 30 0 20)
	ElementLine(0 100 100 100 10)
	ElementLine(100 100 100 0 10)
	Mark(50 50)
	)

T24,9
Description_generic8_dil`generic'
T25,33
Description_geda_JUMPER21`Jumper, i.e. single row headers'
T22,40
Description_geda_DIP14`Dual in-line package, narrow (300 mil)'
T17,20
Description_BC550bipolar-N transistor
T16,3
Param2_74651_dil300
T16,3
Param2_74244_dil300
T23,2
Param1_generic20smd_dil20
T11,72
PKG_QFP_65LPKG_GENERIC_QFP(`$1',`$2',`$3',`$4',`$5', `65',`40',`20',`100',`0',`$6')
T16,40
PKG_DIN41651_20SPKG_DIN41_651STAND(`$1', `$2', `$3', 20)
T25,33
Description_geda_JUMPER22`Jumper, i.e. single row headers'
T21,61
Description_74192_dil`syncronous 4bit BCD up/down counter w. dual-clock and clear'
T21,18
Description_74155_dil`2 2-to-4 decoder'
T20,16
Description_7401_dil`4 dual-NAND OC'
T17,1
Param1_connector42
T14,45
PKG_QFN40_6_EPPKG_QFN_50S(`$1',`$2',`$3', `40', `6', `410')
T19,26
Description_uA7906C-6V 1.5A voltage regulator
T25,33
Description_geda_JUMPER23`Jumper, i.e. single row headers'
T22,40
Description_geda_DIP16`Dual in-line package, narrow (300 mil)'
T21,41
Description_74384_dil`8bit by 1bit twos-complement multiplier'
T17,104
PinList_74623_dil`GAB',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`Gnd',`B8',`B7',`B6',`B5',`B4',`B3',`B2',`B1',`/GBA',`Vcc'
T17,85
PinList_74290_dil`R9(1)',`NC',`R9(2)',`Qc',`Qb',`NC',`Gnd',`Qd',`Qa',`CKA',`CKB',`R0(1)',`R0(2)',`Vcc'
T17,89
PinList_74253_dil`/1G',`N',`1C3',`1C2',`1C1',`1C0',`1Y',`Gnd',`2Y',`2C0',`2C1',`2C2',`2C3',`A',`/2G',`Vcc'
T16,3
Param2_74628_dil300
T16,3
Param2_74295_dil300
T16,3
Param2_74258_dil300
T16,2
Param1_74540_dil20
T16,2
Param1_74170_dil16
T16,2
Param1_74133_dil16
T15,2
Param1_2716_dil24
T11,55
PKG_TSSOP56COMMON_SMT_DIL_MM(`$1',`$2',`$3', 56, 30, 150, 50, 610)
T13,94
PKG_SMT_DIODECOMMON_SMT_2PAD_MIL(`$1', `$2', `$3',
		  `eval(($4*1000)/254)', `eval(($5*1000)/254)', 30, 1)
T19,41
PKG_CANDK_ES02MSABEPKG_CANDK_ES_SMT_SWITCH(`$1', `$2', `$3')
T25,33
Description_geda_JUMPER24`Jumper, i.e. single row headers'
T17,23
Description_BC516Darlington-P transistor
T21,28
Description_74169_dil`sync. 4bit up/down counter'
T20,17
Description_7415_dil`3 triple-AND OC'
T16,102
PinList_7485_dil`B3',`A<Bin',`A=Bin',`A>Bin',`A>Bout',`A=Bout',`A<Bout',`Gnd',`B0',`A0',`B1',`A1',`A2',`B2',`A3',`Vcc'
T16,79
PinList_7448_dil`B',`C',`/LT',`/BI-/RBO',`/RBI',`D',`A',`Gnd',`e',`d',`c',`b',`a',`g',`f',`Vcc'
T24,3
Param1_generic_diode_600600
T17,1
Param1_connector63
T15,2
Param1_7410_dil14
T15,44
PKG_TQFN20_5_EPPKG_QFN_65(`$1',`$2',`$3', `20', `5', `310')
T26,42
Description_geda_SOJ16_450`Small outline J-leaded package (450 mil)'
T25,33
Description_geda_JUMPER25`Jumper, i.e. single row headers'
T22,40
Description_geda_DIP18`Dual in-line package, narrow (300 mil)'
T17,23
Description_BC517Darlington-N transistor
T24,13
PinList_PCI5V_MAX_HEIGHTPinList_PCI5V
T17,138
PinList_74674_dil`/CS',`Clk',`R-/W',`NC',`Mode',`SER/Q15',`P0',`P1',`P2',`P3',`P4',`Gnd',`P5',`P6',`P7',`P8',`P9',`P10',`P11',`P12',`P13',`P14',`P15',`Vcc'
T17,116
PinList_74637_dil`DEF',`DB0',`DB1',`DB2',`DB3',`DB4',`DB5',`DB6',`Db7',`Gnd',`CB4',`NC',`CB3',`CB2',`CB1',`CB0',`S0',`S1',`SEF',`Vcc'
T16,2
Param1_74591_dil16
T16,2
Param1_74147_dil16
T38,42
Description_panasonic_PANASONIC_EXB2HV`Panasonic EXB Series Chip Resistor Array'
T25,33
Description_geda_JUMPER26`Jumper, i.e. single row headers'
T15,21
PinList_uA7908C`Com',`In',`Out',`In'
T35,3
Param1_generic_capacitor_radial_400400
T17,1
Param1_connector84
T16,2
Param1_74376_dil16
T15,2
Param1_7424_dil14
T12,33
PKG_MTA100_2PKG_MTA_100(`$1', `$2', `$3',  2)
T22,23
Description_OPTO_6N136optical coupling device
T17,8
Description_BS170N-MOSFET
T17,20
Description_BC556bipolar-P transistor
T16,16
PinList_uA78L10C`In',`Com',`Out'
T17,103
PinList_74688_dil`/G',`P0',`Q0',`P1',`Q1',`P2',`Q2',`P3',`Q3',`Gnd',`P4',`Q4',`P5',`Q5',`P6',`Q6',`P7',`Q7',`/P=Q',`Vcc'
T16,2
Param1_74198_dil24
T8,46
PKG_SC90PKG_SMT_TRANSISTOR3( `$1', `$2', `$3', 10, 15)
T12,33
PKG_MTA100_3PKG_MTA_100(`$1', `$2', `$3',  3)
T10,36
PKG_ACY400PKG_AXIAL_LAY(`$1', `$2', `$3', 400)
T41,56
Description_nichicon_NICHICON_WT_CAP_8_10`Nichicon WT series SMT Aluminum Electrolytic Capacitor'
T23,36
Description_geda_QSOP20`Quarter size small outline package'
T27,37
Description_geda_HEADER80_1`Header connector, DIP pin numbering'
T21,49
Description_TL071_dilSingle low noise JFET input operational amplifier
T22,23
Description_OPTO_6N137optical coupling device
T17,20
Description_BC557bipolar-P transistor
F7,7
traceontraceon
T15,2
Param1_7475_dil16
T15,2
Param1_7438_dil14
T12,33
PKG_MTA100_4PKG_MTA_100(`$1', `$2', `$3',  4)
T13,74
PKG_INDC1005LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  60,   50,  80, 150,  90,   0,   0)
T26,38
Description_geda_RESC4564L`Standard SMT resistor, capacitor etc'
T27,42
Description_geda_HEADER80_2`Header connector, ribbon cable numbering'
T17,20
Description_BC558bipolar-P transistor
T15,45
PKG_TQFN16_3_EPPKG_QFN_50S(`$1',`$2',`$3', `16', `3', `150')
T12,33
PKG_MTA100_5PKG_MTA_100(`$1', `$2', `$3',  5)
T13,74
PKG_INDC1005MPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  80,   70, 100, 200, 120,   0,   0)
T26,38
Description_geda_RESC4564M`Standard SMT resistor, capacitor etc'
T21,38
Description_TL085_dilQuad JFET input operational amplifiers
T13,62
PKG_SOJ30_450COMMON_SMT_DIL_MIL(`$1',`$2',`$3',30,23622,86614,50000,346457)
T12,33
PKG_MTA100_6PKG_MTA_100(`$1', `$2', `$3',  6)
T13,74
PKG_INDC1005NPKG_SMT_2PAD_MM100(  `$1', `$2', `$3',  70,   50,  80, 170, 100,   0,   0)
T14,39
PKG_HEADER56_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 28)
T9,58
PKG_HC51UPKG_CRYSTAL_V(`$1', `$2', `$3', 485, 757, 352,  80, 40, 2)
T15,48
PKG_CTS_742C_04COMMON_SMT_DIL_MM(`$1',`$2',`$3' ,4,50,90,80,90)
T26,38
Description_geda_RESC4564N`Standard SMT resistor, capacitor etc'
T20,3
Param2_generic32_dil600
T20,2
Param1_generic24_zip24
T12,33
PKG_MTA100_7PKG_MTA_100(`$1', `$2', `$3',  7)
T14,38
PKG_HEADER56_2PKG_CONNECTOR(`$1', `$2', `$3', 28, 2)
T23,36
Description_geda_QSOP24`Quarter size small outline package'
T13,62
PKG_SOJ44_450COMMON_SMT_DIL_MIL(`$1',`$2',`$3',44,23622,86614,50000,346457)
T12,33
PKG_MTA100_8PKG_MTA_100(`$1', `$2', `$3',  8)
T26,9
Description_generic24w_dil`generic'
T27,37
Description_geda_HEADER10_1`Header connector, DIP pin numbering'
T21,53
Description_74221_dil`2 monostable multivibrator w. Schmitt trigger input'
T16,3
Param2_74132_dil300
T22,2
Param1_DIN41_651_40lay40
T20,47
PKG_PANASONIC_EXB34VCOMMON_SMT_DIL_MM(`$1',`$2',`$3',4,45,80,80,80)
T12,33
PKG_MTA100_9PKG_MTA_100(`$1', `$2', `$3',  9)
T27,42
Description_geda_HEADER10_2`Header connector, ribbon cable numbering'
T17,3
Param2_uA741C_dil300
T13,62
PKG_SOJ14_400COMMON_SMT_DIL_MIL(`$1',`$2',`$3',14,23622,86614,50000,291339)
T8,67
PKG_SO44COMMON_SMT_DIL_MIL(`$1',`$2',`$3', 44, 20000, 80000, 50000, 505000)
T15,48
PKG_CTS_742C_08COMMON_SMT_DIL_MM(`$1',`$2',`$3', 8,50,90,80,90)
T21,40
Description_74642_dil`8 bus tranceiver OC w. inverting logic'
T17,3
Param2_NE4558_dil300
T16,3
Param2_74590_dil300
T16,3
Param2_74183_dil300
T16,3
Param2_74109_dil300
T10,55
PKG_TSSOP8COMMON_SMT_DIL_MM(`$1',`$2',`$3',  8, 33, 150, 65, 300)
T14,39
PKG_HEADER60_1PKG_CONNECTOR_DIL(`$1', `$2', `$3', 30)
T23,36
Description_geda_QSOP28`Quarter size small outline package'
T25,28
Description_geda_LQFP64_7`Square Quad-side flat pack'
T19,385
PinList_MC68000_dil`D4',`D3',`D2',`D1',`D0',`/As',`/Uds',`/Lds',`R/W',`/Dtack',`/Bg',`/Bgack',`/Br',`Vcc',`Clk',`Gnd',`/Halt',`/Reset',`/Vma',`E',`/Vpa',`/Berr',`/Ipl2',`/Ipl1',`/Ipl0',`Fc2',`Fc1',`Fc0',`A1',`A2',`A3',`A4',`A5',`A6',`A7',`A8',`A9',`A10',`A11',`A12',`A13',`A14',`A15',`A16',`A17',`A18',`A19',`A20',`Vcc',`A21',`A22',`A23',`Gnd',`D15',`D14',`D13',`D12',`D11',`D10',`D9',`D8',`D7',`D6',`D5'
T15,3
Param2_7450_dil300
T16,3
Param2_74375_dil300
T15,3
Param2_7413_dil300
T16,2
Param1_74620_dil20
T13,62
PKG_SOJ28_400COMMON_SMT_DIL_MIL(`$1',`$2',`$3',28,23622,86614,50000,291339)
T20,47
PKG_PANASONIC_EXB38VCOMMON_SMT_DIL_MM(`$1',`$2',`$3',8,45,80,80,80)
T24,1605
PKG_OPTEK_RA_2p8_1p2_0p8
	# pad width and length (1/100 mil)
	define(`PADW',  `eval(140 * 10000/254)')
	define(`PADL',  `eval(90 * 10000/254)')

	# pad center (X)  (1/100 mil)
	define(`PADC',  `eval(120 * 10000/254)')

	# x values for the pads
	define(`PX1', `eval(PADC - (PADL - PADW)/2)')
	define(`PX2', `eval(PADC + (PADL - PADW)/2)')

	# package width (1/100 mil)
	define(`PACKW', `39500')

	# package height (1/100 mil)
	define(`PACKH', `36000')

	# width of soldermask relief (5 mil on each side)
	define(`MASKW', `eval(PADL + 1000)')

	# silkscreen width (1/100 mils)
	define(`SILKW', `1000')

	# how much space to leave around the part before the
	# silk screen (1/100 mils)
	define(`SILKS', `800')

	# top edge silk
	define(`SXTOP', `eval( 50*10000/254 - SILKS - SILKW/2)')
	define(`SYTOP', `eval( -45 * 10000/254)')

	# bottom edge silk
	define(`SXBOT', `eval( 5500 + SILKS + SILKW/2 )')
	define(`SYBOT1', `eval( PADL/2 + SILKS + SILKW/2 )')
	define(`SYBOT2', `eval( -1400 + 4700 + SILKS + SILKW/2 )')

# Element [SFlags "Desc" "Name" "Value" MX MY TX TY TDir TScale TSFlags]
Element[ "" "`$1'" "`$2'" "`$3'" 0 0 0 0 0 100 ""]
(

# Pad [rX1 rY1 rX2 rY2 Thickness Clearance Mask "Name" "Number" SFlags]

# the pads
Pad[ -PX1 0 -PX2 0 PADL 1000 MASKW "K"  "1" "square"]
Pad[  PX1 0  PX2 0 PADL 1000 MASKW "A"  "2" "square"]


# Silk screen around package
# ElementLine[ x1 y1 x2 y2 width]

# top edge
ElementLine[ -SXTOP SYTOP SXTOP SYTOP SILKW ]

# left/right and bottom
ElementLine[ -SXBOT SYBOT1 -SXBOT SYBOT2 SILKW ]
ElementLine[  SXBOT SYBOT1  SXBOT SYBOT2 SILKW ]
ElementLine[ -SXBOT SYBOT2  SXBOT SYBOT2 SILKW ]

)
T11,38
PKG_JUMPER1PKG_CONNECTOR(`$1', `$2', `$3',  1, 1)
T14,38
PKG_HEADER60_2PKG_CONNECTOR(`$1', `$2', `$3', 30, 2)
T26,42
Description_geda_SOJ18_350`Small outline J-leaded package (350 mil)'
T24,60
Description_geda_RCY250P`Bottom lead polar circular component (typically capacitor)'
T21,73
Description_74693_dil`4bit synchronous binary counter w. sync. clear, output register 3-state'
F3,3
lenlen
T17,85
PinList_74192_dil`B',`Qb',`Qa',`Down',`Up',`Qc',`Qd',`Gnd',`D',`C',`/Load',`/CO',`/BO',`Clr',`A',`Vcc'
T17,90
PinList_74155_dil`1C',`/1G',`B',`1Y3',`1Y2',`1Y1',`1Y0',`Gnd',`2Y0',`2Y1',`2Y2',`2Y3',`A',`/2G',`/2C',`Vcc'
T16,3
Param2_74197_dil300
T16,2
Param1_74442_dil20
T11,38
PKG_JUMPER2PKG_CONNECTOR(`$1', `$2', `$3',  2, 1)
T20,26
Description_uA78M08C+8V 0.5A voltage regulator
T27,28
Description_geda_LQFP160_24`Square Quad-side flat pack'
T21,4
Description_81C17_dilUART
T17,86
PinList_74384_dil`/Clr',`X3',`X2',`X1',`X0',`Prod',`Clk',`Gnd',`Mode',`K',`X7',`X6',`X5',`X4',`Y',`Vcc'
T18,99
PinList_511000_dil`Din',`/We',`/Ras',`TF',`A0',`A1',`A2',`A3',`Vcc',`A4',`A5',`A6',`A7',`A8',`A9',`/Cas',`Dout',`Gnd'
T15,3
Param2_7464_dil300
T15,3
Param2_7427_dil300
T16,2
Param1_74671_dil20
T11,42
PKG_PLCC52XPKG_PLCC_SOCKET(`$1', `$2', `$3', 52, 150)
T11,38
PKG_JUMPER3PKG_CONNECTOR(`$1', `$2', `$3',  3, 1)
T10,37
PKG_ALF800PKG_DIODE_LAY(`$1', `$2', `$3',  800)
T17,89
PinList_74169_dil`U-/D',`Clk',`A',`B',`C',`D',`/ENP',`Gnd',`/Load',`/ENT',`Qd',`Qc',`Qb',`Qa',`/RCO',`Vcc'
T11,38
PKG_JUMPER4PKG_CONNECTOR(`$1', `$2', `$3',  4, 1)
T24,39
Description_geda_QFN48_7`Square Quad Flat Nolead (QFN) package'
T17,127
COMMON_SMT_DIL_MMCOMMON_SMT_DIL_MIL(`$1',`$2',`$3',`$4',
	eval($5*100000/254),eval($6*100000/254),eval($7*100000/254),eval($8*100000/254), `$9')
F6,6
popdefpopdef
T15,3
Param2_7478_dil300
T16,2
Param1_74685_dil20
T16,2
Param1_74648_dil24
T16,2
Param1_74278_dil14
T11,38
PKG_JUMPER5PKG_CONNECTOR(`$1', `$2', `$3',  5, 1)
T35,26
Description_DIN41_612_abc48female_sDIN41.612 row a+b+c female
T21,2
Param1_generic44_plcc44
T11,38
PKG_JUMPER6PKG_CONNECTOR(`$1', `$2', `$3',  6, 1)
T22,44
Description_uA741C_dilSingle general purpose operational amplifier
T16,18
PinList_conn_usb`1', `2', `3', `4'
T16,2
Param1_74699_dil20
T17,2
Param1_511000_dil18
T13,62
PKG_SOJ32_350COMMON_SMT_DIL_MIL(`$1',`$2',`$3',32,23622,86614,50000,244094)
T16,56
PKG_SMT_2PAD_MILCOMMON_SMT_2PAD_MIL(`$1', `$2', `$3', `$4', `$5', 20, 0)
T11,42
PKG_QFN12_4PKG_QFN_80(`$1',`$2',`$3', `12', `4', `0')
T11,38
PKG_JUMPER7PKG_CONNECTOR(`$1', `$2', `$3',  7, 1)
T26,28
Description_geda_LQFP52_10`Square Quad-side flat pack'
T22,24
Description_NE4558_dildual operating-amplifier
T17,52
PinList_TL071_dil`OfsN1',`In-',`In+',`Vcc-',`OfsN2',`Out',`Vcc+',`NC'
T17,3
Param2_MAX232_dil300
T11,38
PKG_JUMPER8PKG_CONNECTOR(`$1', `$2', `$3',  8, 1)
T19,27
Description_uA7812C+12V 1.5A voltage regulator
T26,38
Description_geda_RESC3216L`Standard SMT resistor, capacitor etc'
T15,22
PinList_uA7810C`In',`Com',`Out',`Com'
T16,367
PinList_6801_dil`Vss',`XTAL1',`EXTAL2',`/NMI',`/IRQ1',`/Reset',`Vcc',`P20-Mode0',`P21-Mode1',`P22-Mode2',`P23-RxD',`P24-TxD',`P10',`P11',`P12',`P13',`P14',`P15',`P16',`P17',`Vcc-StdBy',`P47-A15',`P46-A14',`P45-A13',`P44-A12',`P43-A11',`P42-A10',`P41-A9',`P40-A8',`P37-A7-D7',`P36-A6-D6',`P35-A5-D5',`P34-A4-D4',`P33-A3-D3',`P32-A2-D2',`P31-A1-D1',`P30-A0-D0',`SC2-R-/W',`SC1-/AS',`E'
T12,42
PKG_LQFP24_4PKG_LQFP_50(`$1',`$2',`$3', `24', `4',`0')
T11,38
PKG_JUMPER9PKG_CONNECTOR(`$1', `$2', `$3',  9, 1)
T13,74
PKG_INDC4509LPKG_SMT_2PAD_MM100(  `$1', `$2', `$3', 110,  130, 400, 540, 150, 200, 110)
T25,9
Description_generic24_zip`generic'
T26,38
Description_geda_RESC3216M`Standard SMT resistor, capacitor etc'
T24,10
Description_geda_HC49U_3`Crystals'
# End of frozen state file