# This is a frozen state file generated by GNU M4 1.4.18
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
