summaryrefslogtreecommitdiff
path: root/lib/quadparts.lps
blob: 5d4562af3c1c99bd8a78ac47e356d3affb4aa0b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
%! PostScript set of library objects for XCircuit
%  Version: 3.6
%  Library name is: quadparts
%  Author: R. Timothy Edwards <tim@khachaturian.tim.linglan.net>
%


% XCircuitLib library objects
/quadparts::quadnand {
<</@vdd (VDD) /@gnd (GND) /@part (1) (lindex {1 2 3 4} 0) pop /@pinA (1) 
(lindex {0 1 4 9 12} @part) pop /@pinB (2) (lindex {0 2 5 10 13} @part) pop /@pinO 
(3) (lindex {0 3 6 8 11} @part) pop /@index (?) /@pkg (DIP14) >> begingate
1 1.000 0 -48 -64 -48 -64 48 0 48 4 polygon
1 1.000 56 0 8 0.000 360.000 xcarc
1 1.000 0 0 48 -90.000 90.000 xcarc
0.180 0.545 0.341 scb
mark @vdd ( 14=) @gnd ( 7=) @index (pcb:U) {/Helvetica cf} ctmk 20 0 1.000 -80 
-96 infolabel
sce
mark @part (7400-) {/Helvetica cf} ctmk 21 0 0.500 0 0 label
1.000 0.000 0.000 scb
mark @pinO {/Times-Roman cf} ctmk 4 0 1.000 64 0 pinlabel
mark @pinA {/Times-Roman cf} ctmk 7 0 1.000 -64 32 pinlabel
mark @pinB {/Times-Roman cf} ctmk 7 0 1.000 -64 -32 pinlabel
0.000 0.000 1.000 scb
mark @index (U) {/Times-Roman cf} ctmk 16 0 0.700 -64 64 label
endgate
} def

<</@part (2) (lindex {1 2 3 4} 1) pop >> /quadparts::quadnand libinst
<</@part (3) (lindex {1 2 3 4} 2) pop >> /quadparts::quadnand libinst
<</@part (4) (lindex {1 2 3 4} 3) pop >> /quadparts::quadnand libinst

/quadparts::quadnor {
<</@vdd (VDD) /@gnd (GND) /@part (1) (lindex {1 2 3 4} 0) pop /@pinA (1) 
(lindex {0 1 4 10 13} @part) pop /@pinB (2) (lindex {0 2 5 8 11} @part) pop /@pinO 
(3) (lindex {0 3 6 9 12} @part) pop /@index (?) /@pkg (DIP14) >> begingate
1 1.000 -64 48 -35 48 2 polygon
1 1.000 -64 -48 -35 -48 2 polygon
1 1.000 -128 0 80 -37.000 37.000 xcarc
1 1.000 56 0 8 0.000 360.000 xcarc
1 1.000 -35 -48 96 30.000 90.000 xcarc
1 1.000 -35 48 96 270.000 330.000 xcarc
0.180 0.545 0.341 scb
mark @vdd ( 14=) @gnd ( 7=) @index (pcb:U) {/Helvetica cf} ctmk 20 0 1.000 -64 
-96 infolabel
sce
mark @part (7402-) {/Helvetica cf} ctmk 21 0 0.500 0 0 label
1.000 0.000 0.000 scb
mark @pinO {/Times-Roman cf} ctmk 4 0 1.000 64 0 pinlabel
mark @pinA {/Times-Roman cf} ctmk 7 0 1.000 -56 32 pinlabel
mark @pinB {/Times-Roman cf} ctmk 7 0 1.000 -56 -32 pinlabel
0.000 0.000 1.000 scb
mark @index (U) {/Times-Roman cf} ctmk 16 0 0.700 -64 64 label
endgate
} def

<</@part (2) (lindex {1 2 3 4} 1) pop >> /quadparts::quadnor libinst
<</@part (3) (lindex {1 2 3 4} 2) pop >> /quadparts::quadnor libinst
<</@part (4) (lindex {1 2 3 4} 3) pop >> /quadparts::quadnor libinst

/quadparts::quador {
<</@vdd (VDD) /@gnd (GND) /@part (1) (lindex {1 2 3 4} 0) pop /@pinA (1) 
(lindex {0 1 4 9 12} @part) pop /@pinB (2) (lindex {0 2 5 10 13} @part) pop /@pinO 
(3) (lindex {0 3 6 8 11} @part) pop /@index (?) /@pkg (DIP14) >> begingate
1 1.000 -19 -48 96 30.000 90.000 xcarc
1 1.000 -19 48 96 270.000 330.000 xcarc
1 1.000 -112 0 80 -37.000 37.000 xcarc
1 1.000 -48 48 -19 48 2 polygon
1 1.000 -48 -48 -19 -48 2 polygon
0.180 0.545 0.341 scb
mark @vdd ( 14=) @gnd ( 7=) @index (pcb:U) {/Helvetica cf} ctmk 20 0 1.000 -64 
-96 infolabel
sce
mark @part (7432-) {/Helvetica cf} ctmk 21 0 0.500 16 0 label
1.000 0.000 0.000 scb
mark @pinO {/Times-Roman cf} ctmk 4 0 1.000 64 0 pinlabel
mark @pinA {/Times-Roman cf} ctmk 7 0 1.000 -40 32 pinlabel
mark @pinB {/Times-Roman cf} ctmk 7 0 1.000 -40 -32 pinlabel
0.000 0.000 1.000 scb
mark @index (U) {/Times-Roman cf} ctmk 16 0 0.700 -48 64 label
endgate
} def

<</@part (2) (lindex {1 2 3 4} 1) pop >> /quadparts::quador libinst
<</@part (3) (lindex {1 2 3 4} 2) pop >> /quadparts::quador libinst
<</@part (4) (lindex {1 2 3 4} 3) pop >> /quadparts::quador libinst

% EndLib