lsnu commited on
Commit
fc33e45
·
verified ·
1 Parent(s): 855e245

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. derived/Source/circuit_generation_code/DIGI/04007.eps +277 -0
  2. derived/Source/circuit_generation_code/DIGI/04008.eps +276 -0
  3. derived/Source/circuit_generation_code/DIGI/04009.eps +261 -0
  4. derived/Source/circuit_generation_code/DIGI/04010.eps +249 -0
  5. derived/Source/circuit_generation_code/DIGI/04011.eps +234 -0
  6. derived/Source/circuit_generation_code/DIGI/04012.eps +308 -0
  7. derived/Source/circuit_generation_code/DIGI/04013.eps +298 -0
  8. derived/Source/circuit_generation_code/DIGI/04014.eps +360 -0
  9. derived/Source/circuit_generation_code/DIGI/04015.eps +224 -0
  10. derived/Source/circuit_generation_code/DIGI/04029.eps +176 -0
  11. derived/Source/circuit_generation_code/DIGI/04040.eps +229 -0
  12. derived/Source/circuit_generation_code/DIGI/04041.eps +324 -0
  13. derived/Source/circuit_generation_code/DIGI/04042.eps +262 -0
  14. derived/Source/circuit_generation_code/DIGI/04054.eps +323 -0
  15. derived/Source/circuit_generation_code/DIGI/04055.eps +267 -0
  16. derived/Source/circuit_generation_code/DIGI/04056.eps +327 -0
  17. derived/Source/circuit_generation_code/DIGI/04057.eps +309 -0
  18. derived/Source/circuit_generation_code/DIGI/04058.eps +273 -0
  19. derived/Source/circuit_generation_code/DIGI/04059.eps +232 -0
  20. derived/Source/circuit_generation_code/DIGI/04060.eps +240 -0
  21. derived/Source/circuit_generation_code/DIGI/04061.eps +255 -0
  22. derived/Source/circuit_generation_code/DIGI/04062.eps +273 -0
  23. derived/Source/circuit_generation_code/DIGI/04063.eps +308 -0
  24. derived/Source/circuit_generation_code/DIGI/04064.eps +303 -0
  25. derived/Source/circuit_generation_code/DIGI/04067.eps +243 -0
  26. derived/Source/circuit_generation_code/DIGI/04068.eps +295 -0
  27. derived/Source/circuit_generation_code/DIGI/04069.eps +294 -0
  28. derived/Source/circuit_generation_code/DIGI/04070.eps +173 -0
  29. derived/Source/circuit_generation_code/DIGI/04071.eps +262 -0
  30. derived/Source/circuit_generation_code/DIGI/04072.eps +216 -0
  31. derived/Source/circuit_generation_code/DIGI/04073.eps +284 -0
  32. derived/Source/circuit_generation_code/DIGI/04074.eps +316 -0
  33. derived/Source/circuit_generation_code/DIGI/04075.eps +318 -0
  34. derived/Source/circuit_generation_code/DIGI/04076.eps +328 -0
  35. derived/Source/circuit_generation_code/DIGI/04077.eps +339 -0
  36. derived/Source/circuit_generation_code/DIGI/04078.eps +331 -0
  37. derived/Source/circuit_generation_code/DIGI/04079.eps +323 -0
  38. derived/Source/circuit_generation_code/DIGI/04080.eps +233 -0
  39. derived/Source/circuit_generation_code/DIGI/04081.eps +347 -0
  40. derived/Source/circuit_generation_code/DIGI/04082.eps +351 -0
  41. derived/Source/circuit_generation_code/DIGI/04083.eps +235 -0
  42. derived/Source/circuit_generation_code/DIGI/04084.eps +239 -0
  43. derived/Source/circuit_generation_code/DIGI/04085.eps +238 -0
  44. derived/Source/circuit_generation_code/DIGI/04086.eps +271 -0
  45. derived/Source/circuit_generation_code/DIGI/04087.eps +202 -0
  46. derived/Source/circuit_generation_code/DIGI/04089.eps +303 -0
  47. derived/Source/circuit_generation_code/DIGI/04090.eps +301 -0
  48. derived/Source/circuit_generation_code/DIGI/04091.eps +320 -0
  49. derived/Source/circuit_generation_code/DIGI/04092.eps +312 -0
  50. derived/Source/circuit_generation_code/DIGI/04093.eps +323 -0
derived/Source/circuit_generation_code/DIGI/04007.eps ADDED
@@ -0,0 +1,277 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04007.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Wed Aug 22 19:04:31 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 373 283
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Bold
8
+ %%+ font Helvetica-Oblique font Times-Roman
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /ladder_start {
144
+ % -512 -80 1029 172 bbox
145
+ begingate
146
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 -512 64 label
147
+ 1 1.00 -496 -80 -496 48 2 polygon
148
+ (2) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 480 64 label
149
+ 1 1.00 496 48 496 -80 2 polygon
150
+ endgate
151
+ } def
152
+
153
+ /dot {
154
+ % -10 -10 20 20 bbox
155
+ begingate
156
+ 248 1.00 0 0 6 0.00 360.00 xcarc
157
+ endgate
158
+ } def
159
+
160
+ /toggle {
161
+ % -64 -26 128 42 bbox
162
+ begingate
163
+ 1 1.00 -16 -16 16 16 2 polygon
164
+ 1 1.00 -64 -16 -16 -16 2 polygon
165
+ 1.00 0 -16 -16 dot
166
+ 1.00 0 16 -16 dot
167
+ 1 1.00 16 -16 64 -16 2 polygon
168
+ endgate
169
+ } def
170
+
171
+ /indicator {
172
+ % -64 -28 128 56 bbox
173
+ begingate
174
+ 1 1.00 0 0 22 0.00 360.00 xcarc
175
+ 1 1.00 -20 20 -28 28 2 polygon
176
+ 1 1.00 20 20 28 28 2 polygon
177
+ 1 1.00 24 0 64 0 2 polygon
178
+ 1 1.00 22 0 24 0 2 polygon
179
+ 1 1.00 20 -20 28 -28 2 polygon
180
+ 1 1.00 -20 -20 -28 -28 2 polygon
181
+ 1 1.00 -64 0 -24 0 2 polygon
182
+ 1 1.00 -24 0 -22 0 2 polygon
183
+ endgate
184
+ } def
185
+
186
+ /_inductor {
187
+ % -14 -64 29 112 bbox
188
+ begingate
189
+ % fundamental
190
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
191
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
192
+ 1 1.00 20 32 20 16 0 12 0 36 spline
193
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
194
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
195
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
196
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
197
+ 1 1.00 0 -48 0 -64 2 polygon
198
+ 1 1.00 0 36 0 48 2 polygon
199
+ 1.000 0.000 0.000 scb
200
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
201
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
202
+ sce
203
+ 0.000 1.000 0.000 scb
204
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
205
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
206
+ sce
207
+ endgate
208
+ } def
209
+
210
+ /fuse {
211
+ % -13 -32 26 64 bbox
212
+ begingate
213
+ 1 1.00 -48 0 48 0 0 -32 0 32 spline
214
+ endgate
215
+ } def
216
+
217
+ /gnd {
218
+ % -32 -60 64 68 bbox
219
+ begingate
220
+ 1 1.00 0 0 0 -32 2 polygon
221
+ 1 1.00 -32 -32 32 -32 2 polygon
222
+ 1 1.00 -18 -46 18 -46 2 polygon
223
+ 1 1.00 -4 -60 4 -60 2 polygon
224
+ 1.000 0.000 0.000 scb
225
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
226
+ sce
227
+ endgate
228
+ } def
229
+
230
+ %%Page: 04002.eps 1
231
+ %%PageOrientation: Portrait
232
+ /pgsave save def bop
233
+ % 784 432 offsets
234
+ % 32.00 8.00 gridspace
235
+ 0.7500 inchscale
236
+ 2.6000 setlinewidth
237
+
238
+ 1.00 0 768 512 ladder_start
239
+ 1.00 0 400 448 toggle
240
+ 1 1.00 336 432 272 432 2 polygon
241
+ 1.00 0 1136 432 indicator
242
+ 1 1.00 1200 432 1264 432 2 polygon
243
+ 1 1.00 1072 432 464 432 2 polygon
244
+ (1) {/Helvetica 1.000 cf} 2 16 0 736 448 label
245
+ (Switch) {/Helvetica 1.000 cf} 2 16 0 336 480 label
246
+ (Lamp) {/Helvetica 1.000 cf} 2 16 0 1088 480 label
247
+ 1.00 90 736 720 _inductor
248
+ 1.00 -271 736 784 _inductor
249
+ 1 1.00 696 760 784 760 2 polygon
250
+ 1 1.00 696 744 784 744 2 polygon
251
+ 1.00 270 432 720 fuse
252
+ 1 1.00 464 720 688 720 2 polygon
253
+ 1.00 0 1280 688 gnd
254
+ 1 1.00 1200 720 1280 720 1280 688 3 polygon
255
+ 1.00 0 1200 720 dot
256
+ 1.00 0 656 896 fuse
257
+ 1 1.00 688 784 656 784 656 864 3 polygon
258
+ 1 1.00 800 784 832 784 832 864 3 polygon
259
+ 1.00 0 832 896 fuse
260
+ 1 1.00 656 928 656 992 2 polygon
261
+ 1 1.00 832 928 832 992 2 polygon
262
+ (120 VAC) {/Helvetica 1.000 cf} 2 16 0 664 672 label
263
+ 1 1.00 272 560 336 560 336 720 400 720 4 polygon
264
+ 1 1.00 1264 560 1200 560 1200 720 800 720 4 polygon
265
+ 1.00 0 880 432 dot
266
+ 1.00 0 880 368 gnd
267
+ 1 1.00 880 368 880 432 2 polygon
268
+ (accidental ground) {/Helvetica-Oblique 1.000 cf} 2 16 0 736 256 label
269
+ (Lamp cannot light!) {/Helvetica-Bold 1.000 cf} 2 16 0 960 368 label
270
+ (Fuse will blow) {/Helvetica-Bold 1.000 cf} 2 16 0 320 840 label
271
+ (if switch is) {/Helvetica-Bold 1.000 cf} 2 16 0 344 800 label
272
+ (closed!) {/Helvetica-Bold 1.000 cf} 2 16 0 376 760 label
273
+ pgsave restore showpage
274
+
275
+ %%Trailer
276
+ XCIRCsave restore
277
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04008.eps ADDED
@@ -0,0 +1,276 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04008.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Wed Aug 22 19:05:08 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 373 283
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Bold
8
+ %%+ font Helvetica-Oblique font Times-Roman
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /ladder_start {
144
+ % -512 -80 1029 172 bbox
145
+ begingate
146
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 -512 64 label
147
+ 1 1.00 -496 -80 -496 48 2 polygon
148
+ (2) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 480 64 label
149
+ 1 1.00 496 48 496 -80 2 polygon
150
+ endgate
151
+ } def
152
+
153
+ /dot {
154
+ % -10 -10 20 20 bbox
155
+ begingate
156
+ 248 1.00 0 0 6 0.00 360.00 xcarc
157
+ endgate
158
+ } def
159
+
160
+ /toggle {
161
+ % -64 -26 128 42 bbox
162
+ begingate
163
+ 1 1.00 -16 -16 16 16 2 polygon
164
+ 1 1.00 -64 -16 -16 -16 2 polygon
165
+ 1.00 0 -16 -16 dot
166
+ 1.00 0 16 -16 dot
167
+ 1 1.00 16 -16 64 -16 2 polygon
168
+ endgate
169
+ } def
170
+
171
+ /indicator {
172
+ % -64 -28 128 56 bbox
173
+ begingate
174
+ 1 1.00 0 0 22 0.00 360.00 xcarc
175
+ 1 1.00 -20 20 -28 28 2 polygon
176
+ 1 1.00 20 20 28 28 2 polygon
177
+ 1 1.00 24 0 64 0 2 polygon
178
+ 1 1.00 22 0 24 0 2 polygon
179
+ 1 1.00 20 -20 28 -28 2 polygon
180
+ 1 1.00 -20 -20 -28 -28 2 polygon
181
+ 1 1.00 -64 0 -24 0 2 polygon
182
+ 1 1.00 -24 0 -22 0 2 polygon
183
+ endgate
184
+ } def
185
+
186
+ /_inductor {
187
+ % -14 -64 29 112 bbox
188
+ begingate
189
+ % fundamental
190
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
191
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
192
+ 1 1.00 20 32 20 16 0 12 0 36 spline
193
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
194
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
195
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
196
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
197
+ 1 1.00 0 -48 0 -64 2 polygon
198
+ 1 1.00 0 36 0 48 2 polygon
199
+ 1.000 0.000 0.000 scb
200
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
201
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
202
+ sce
203
+ 0.000 1.000 0.000 scb
204
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
205
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
206
+ sce
207
+ endgate
208
+ } def
209
+
210
+ /fuse {
211
+ % -13 -32 26 64 bbox
212
+ begingate
213
+ 1 1.00 -48 0 48 0 0 -32 0 32 spline
214
+ endgate
215
+ } def
216
+
217
+ /gnd {
218
+ % -32 -60 64 68 bbox
219
+ begingate
220
+ 1 1.00 0 0 0 -32 2 polygon
221
+ 1 1.00 -32 -32 32 -32 2 polygon
222
+ 1 1.00 -18 -46 18 -46 2 polygon
223
+ 1 1.00 -4 -60 4 -60 2 polygon
224
+ 1.000 0.000 0.000 scb
225
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
226
+ sce
227
+ endgate
228
+ } def
229
+
230
+ %%Page: 04002.eps 1
231
+ %%PageOrientation: Portrait
232
+ /pgsave save def bop
233
+ % 784 432 offsets
234
+ % 32.00 8.00 gridspace
235
+ 0.7500 inchscale
236
+ 2.6000 setlinewidth
237
+
238
+ 1.00 0 768 512 ladder_start
239
+ 1.00 0 1136 448 toggle
240
+ 1 1.00 336 432 272 432 2 polygon
241
+ 1.00 0 400 432 indicator
242
+ 1 1.00 1200 432 1264 432 2 polygon
243
+ 1 1.00 1072 432 464 432 2 polygon
244
+ (1) {/Helvetica 1.000 cf} 2 16 0 736 448 label
245
+ (Switch) {/Helvetica 1.000 cf} 2 16 0 1072 480 label
246
+ (Lamp) {/Helvetica 1.000 cf} 2 16 0 352 480 label
247
+ 1.00 90 736 720 _inductor
248
+ 1.00 -271 736 784 _inductor
249
+ 1 1.00 696 760 784 760 2 polygon
250
+ 1 1.00 696 744 784 744 2 polygon
251
+ 1.00 270 432 720 fuse
252
+ 1 1.00 464 720 688 720 2 polygon
253
+ 1.00 0 1280 688 gnd
254
+ 1 1.00 1200 720 1280 720 1280 688 3 polygon
255
+ 1.00 0 1200 720 dot
256
+ 1.00 0 656 896 fuse
257
+ 1 1.00 688 784 656 784 656 864 3 polygon
258
+ 1 1.00 800 784 832 784 832 864 3 polygon
259
+ 1.00 0 832 896 fuse
260
+ 1 1.00 656 928 656 992 2 polygon
261
+ 1 1.00 832 928 832 992 2 polygon
262
+ (120 VAC) {/Helvetica 1.000 cf} 2 16 0 664 672 label
263
+ 1 1.00 272 560 336 560 336 720 400 720 4 polygon
264
+ 1 1.00 1264 560 1200 560 1200 720 800 720 4 polygon
265
+ 1.00 0 880 432 dot
266
+ 1.00 0 880 368 gnd
267
+ 1 1.00 880 368 880 432 2 polygon
268
+ (accidental ground) {/Helvetica-Oblique 1.000 cf} 2 16 0 736 256 label
269
+ (Lamp is energized!) {/Helvetica-Bold 1.000 cf} 2 16 0 280 368 label
270
+ (Switch has no ) {/Helvetica-Bold 1.000 cf} 2 16 0 1008 384 label
271
+ (effect!) {/Helvetica-Bold 1.000 cf} 2 16 0 1072 344 label
272
+ pgsave restore showpage
273
+
274
+ %%Trailer
275
+ XCIRCsave restore
276
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04009.eps ADDED
@@ -0,0 +1,261 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04009.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jun 30 06:53:29 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 365 290
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman font Courier
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /ladder_start {
143
+ % -512 -80 1029 172 bbox
144
+ begingate
145
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 -512 64 label
146
+ 1 1.00 -496 -80 -496 48 2 polygon
147
+ (2) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 480 64 label
148
+ 1 1.00 496 48 496 -80 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /no_contact {
153
+ % -64 -32 128 64 bbox
154
+ begingate
155
+ 1 1.00 -64 0 -16 0 2 polygon
156
+ 1 1.00 -16 32 -16 -32 2 polygon
157
+ 1 1.00 16 0 64 0 2 polygon
158
+ 1 1.00 16 32 16 -32 2 polygon
159
+ endgate
160
+ } def
161
+
162
+ /dot {
163
+ % -10 -10 20 20 bbox
164
+ begingate
165
+ 248 1.00 0 0 6 0.00 360.00 xcarc
166
+ endgate
167
+ } def
168
+
169
+ /indicator {
170
+ % -64 -28 128 56 bbox
171
+ begingate
172
+ 1 1.00 0 0 22 0.00 360.00 xcarc
173
+ 1 1.00 -20 20 -28 28 2 polygon
174
+ 1 1.00 20 20 28 28 2 polygon
175
+ 1 1.00 24 0 64 0 2 polygon
176
+ 1 1.00 22 0 24 0 2 polygon
177
+ 1 1.00 20 -20 28 -28 2 polygon
178
+ 1 1.00 -20 -20 -28 -28 2 polygon
179
+ 1 1.00 -64 0 -24 0 2 polygon
180
+ 1 1.00 -24 0 -22 0 2 polygon
181
+ endgate
182
+ } def
183
+
184
+ /or_gate {
185
+ % -49 -48 113 128 bbox
186
+ begingate
187
+ 1 1.00 -19 -48 96 30.00 90.00 xcarc
188
+ 1 1.00 -19 48 96 270.00 330.00 xcarc
189
+ 1 1.00 -112 0 80 -37.00 37.00 xcarc
190
+ 1 1.00 -48 48 -19 48 2 polygon
191
+ 1 1.00 -48 -48 -19 -48 2 polygon
192
+ 1.000 0.000 0.000 scb
193
+ (Out) {/Helvetica 1.000 cf} 2 4 0 64 0 pinlabel
194
+ (In.1) {/Helvetica 1.000 cf} 2 7 0 -40 32 pinlabel
195
+ (In.2) {/Helvetica 1.000 cf} 2 7 0 -40 -32 pinlabel
196
+ sce
197
+ endgate
198
+ } def
199
+
200
+ /truth_2 {
201
+ % -144 -144 280 280 bbox
202
+ begingate
203
+ (A) {/Helvetica 1.000 cf} 2 16 0 -128 96 label
204
+ 0 1.00 -144 80 -144 136 136 136 136 80 4 polygon
205
+ 1 1.00 -88 136 -88 -144 2 polygon
206
+ (B) {/Helvetica 1.000 cf} 2 16 0 -72 96 label
207
+ (Output) {/Helvetica 1.000 cf} 2 16 0 -8 96 label
208
+ 0 1.00 -144 80 -144 -144 136 -144 136 80 4 polygon
209
+ 1 1.00 -144 24 136 24 2 polygon
210
+ 1 1.00 -32 136 -32 -144 2 polygon
211
+ (0) {/Helvetica 1.000 cf} 2 16 0 -72 40 label
212
+ (0) {/Helvetica 1.000 cf} 2 16 0 -128 40 label
213
+ (0) {/Helvetica 1.000 cf} 2 16 0 -128 -16 label
214
+ (1) {/Helvetica 1.000 cf} 2 16 0 -68 -16 label
215
+ 1 1.00 -144 -32 136 -32 2 polygon
216
+ (0) {/Helvetica 1.000 cf} 2 16 0 -72 -72 label
217
+ 1 1.00 -144 -88 136 -88 2 polygon
218
+ (1) {/Helvetica 1.000 cf} 2 16 0 -124 -72 label
219
+ (1) {/Helvetica 1.000 cf} 2 16 0 -124 -128 label
220
+ (1) {/Helvetica 1.000 cf} 2 16 0 -68 -128 label
221
+ endgate
222
+ } def
223
+
224
+ %%Page: 1 1
225
+ %%PageOrientation: Portrait
226
+ /pgsave save def bop
227
+ % 784 656 offsets
228
+ % 32.00 8.00 gridspace
229
+ 0.7500 inchscale
230
+ 2.6000 setlinewidth
231
+
232
+ 1.00 0 768 928 ladder_start
233
+ 1.00 0 464 848 no_contact
234
+ 1.00 0 464 688 no_contact
235
+ (B) {/Courier 1.000 cf} 2 16 0 448 736 label
236
+ 1 1.00 272 848 400 848 2 polygon
237
+ 1.00 0 272 848 dot
238
+ 1 1.00 272 848 272 688 400 688 3 polygon
239
+ 1 1.00 528 688 656 688 656 848 528 848 4 polygon
240
+ 1.00 0 1104 848 indicator
241
+ 1 1.00 1168 848 1264 848 2 polygon
242
+ 1 1.00 1040 848 656 848 2 polygon
243
+ 1.00 0 656 848 dot
244
+ (A) {/Courier 1.000 cf} 2 16 0 448 896 label
245
+ 1.00 0 960 448 or_gate
246
+ (A) {/Courier 1.000 cf} 2 16 0 800 472 label
247
+ (B) {/Courier 1.000 cf} 2 16 0 800 400 label
248
+ 1 1.00 1024 448 1104 448 2 polygon
249
+ 1.00 0 464 400 truth_2
250
+ (0) {/Helvetica 1.000 cf} 2 16 0 496 440 label
251
+ (1) {/Helvetica 1.000 cf} 2 16 0 504 384 label
252
+ (1) {/Helvetica 1.000 cf} 2 16 0 504 272 label
253
+ (1) {/Helvetica 1.000 cf} 2 16 0 504 328 label
254
+ (1) {/Helvetica 1.000 cf} 2 16 0 648 872 label
255
+ 1 1.00 920 480 848 480 2 polygon
256
+ 1 1.00 920 416 848 416 2 polygon
257
+ pgsave restore showpage
258
+
259
+ %%Trailer
260
+ XCIRCsave restore
261
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04010.eps ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04010.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jun 30 06:54:30 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 365 236
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman font Courier
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /ladder_start {
143
+ % -512 -80 1029 172 bbox
144
+ begingate
145
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 -512 64 label
146
+ 1 1.00 -496 -80 -496 48 2 polygon
147
+ (2) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 480 64 label
148
+ 1 1.00 496 48 496 -80 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /no_contact {
153
+ % -64 -32 128 64 bbox
154
+ begingate
155
+ 1 1.00 -64 0 -16 0 2 polygon
156
+ 1 1.00 -16 32 -16 -32 2 polygon
157
+ 1 1.00 16 0 64 0 2 polygon
158
+ 1 1.00 16 32 16 -32 2 polygon
159
+ endgate
160
+ } def
161
+
162
+ /indicator {
163
+ % -64 -28 128 56 bbox
164
+ begingate
165
+ 1 1.00 0 0 22 0.00 360.00 xcarc
166
+ 1 1.00 -20 20 -28 28 2 polygon
167
+ 1 1.00 20 20 28 28 2 polygon
168
+ 1 1.00 24 0 64 0 2 polygon
169
+ 1 1.00 22 0 24 0 2 polygon
170
+ 1 1.00 20 -20 28 -28 2 polygon
171
+ 1 1.00 -20 -20 -28 -28 2 polygon
172
+ 1 1.00 -64 0 -24 0 2 polygon
173
+ 1 1.00 -24 0 -22 0 2 polygon
174
+ endgate
175
+ } def
176
+
177
+ /truth_2 {
178
+ % -144 -144 280 280 bbox
179
+ begingate
180
+ (A) {/Helvetica 1.000 cf} 2 16 0 -128 96 label
181
+ 0 1.00 -144 80 -144 136 136 136 136 80 4 polygon
182
+ 1 1.00 -88 136 -88 -144 2 polygon
183
+ (B) {/Helvetica 1.000 cf} 2 16 0 -72 96 label
184
+ (Output) {/Helvetica 1.000 cf} 2 16 0 -8 96 label
185
+ 0 1.00 -144 80 -144 -144 136 -144 136 80 4 polygon
186
+ 1 1.00 -144 24 136 24 2 polygon
187
+ 1 1.00 -32 136 -32 -144 2 polygon
188
+ (0) {/Helvetica 1.000 cf} 2 16 0 -72 40 label
189
+ (0) {/Helvetica 1.000 cf} 2 16 0 -128 40 label
190
+ (0) {/Helvetica 1.000 cf} 2 16 0 -128 -16 label
191
+ (1) {/Helvetica 1.000 cf} 2 16 0 -68 -16 label
192
+ 1 1.00 -144 -32 136 -32 2 polygon
193
+ (0) {/Helvetica 1.000 cf} 2 16 0 -72 -72 label
194
+ 1 1.00 -144 -88 136 -88 2 polygon
195
+ (1) {/Helvetica 1.000 cf} 2 16 0 -124 -72 label
196
+ (1) {/Helvetica 1.000 cf} 2 16 0 -124 -128 label
197
+ (1) {/Helvetica 1.000 cf} 2 16 0 -68 -128 label
198
+ endgate
199
+ } def
200
+
201
+ /and_gate {
202
+ % -64 -48 112 96 bbox
203
+ begingate
204
+ 1 1.00 0 -48 -64 -48 -64 48 0 48 4 polygon
205
+ 1 1.00 0 0 48 -90.00 90.00 xcarc
206
+ 1.000 0.000 0.000 scb
207
+ (Out) {/Helvetica 1.000 cf} 2 4 0 48 0 pinlabel
208
+ (In.1) {/Helvetica 1.000 cf} 2 7 0 -64 32 pinlabel
209
+ (In.2) {/Helvetica 1.000 cf} 2 7 0 -64 -32 pinlabel
210
+ sce
211
+ endgate
212
+ } def
213
+
214
+ %%Page: 04009.eps 1
215
+ %%PageOrientation: Portrait
216
+ /pgsave save def bop
217
+ % 784 464 offsets
218
+ % 32.00 8.00 gridspace
219
+ 0.7500 inchscale
220
+ 2.6000 setlinewidth
221
+
222
+ 1.00 0 768 736 ladder_start
223
+ 1.00 0 464 656 no_contact
224
+ 1.00 0 656 656 no_contact
225
+ (B) {/Courier 1.000 cf} 2 16 0 640 704 label
226
+ 1 1.00 272 656 400 656 2 polygon
227
+ 1.00 0 1104 656 indicator
228
+ 1 1.00 1168 656 1264 656 2 polygon
229
+ (A) {/Courier 1.000 cf} 2 16 0 448 704 label
230
+ 1 1.00 928 480 848 480 2 polygon
231
+ 1 1.00 928 416 848 416 2 polygon
232
+ (A) {/Courier 1.000 cf} 2 16 0 800 472 label
233
+ (B) {/Courier 1.000 cf} 2 16 0 800 400 label
234
+ 1.00 0 464 400 truth_2
235
+ (0) {/Helvetica 1.000 cf} 2 16 0 496 440 label
236
+ (1) {/Helvetica 1.000 cf} 2 16 0 504 272 label
237
+ (1) {/Helvetica 1.000 cf} 2 16 0 552 672 label
238
+ 1 1.00 528 656 592 656 2 polygon
239
+ 1 1.00 720 656 1040 656 2 polygon
240
+ (2) {/Helvetica 1.000 cf} 2 16 0 816 672 label
241
+ (0) {/Helvetica 1.000 cf} 2 16 0 496 384 label
242
+ (0) {/Helvetica 1.000 cf} 2 16 0 496 328 label
243
+ 1.00 0 992 448 and_gate
244
+ 1 1.00 1040 448 1104 448 2 polygon
245
+ pgsave restore showpage
246
+
247
+ %%Trailer
248
+ XCIRCsave restore
249
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04011.eps ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04011.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jun 30 06:55:05 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 365 207
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman font Courier
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /ladder_start {
143
+ % -512 -80 1029 172 bbox
144
+ begingate
145
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 -512 64 label
146
+ 1 1.00 -496 -80 -496 48 2 polygon
147
+ (2) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 480 64 label
148
+ 1 1.00 496 48 496 -80 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /indicator {
153
+ % -64 -28 128 56 bbox
154
+ begingate
155
+ 1 1.00 0 0 22 0.00 360.00 xcarc
156
+ 1 1.00 -20 20 -28 28 2 polygon
157
+ 1 1.00 20 20 28 28 2 polygon
158
+ 1 1.00 24 0 64 0 2 polygon
159
+ 1 1.00 22 0 24 0 2 polygon
160
+ 1 1.00 20 -20 28 -28 2 polygon
161
+ 1 1.00 -20 -20 -28 -28 2 polygon
162
+ 1 1.00 -64 0 -24 0 2 polygon
163
+ 1 1.00 -24 0 -22 0 2 polygon
164
+ endgate
165
+ } def
166
+
167
+ /no_contact {
168
+ % -64 -32 128 64 bbox
169
+ begingate
170
+ 1 1.00 -64 0 -16 0 2 polygon
171
+ 1 1.00 -16 32 -16 -32 2 polygon
172
+ 1 1.00 16 0 64 0 2 polygon
173
+ 1 1.00 16 32 16 -32 2 polygon
174
+ endgate
175
+ } def
176
+
177
+ /nc_contact {
178
+ % -64 -32 128 64 bbox
179
+ begingate
180
+ 1.00 0 0 0 no_contact
181
+ 1 1.00 32 32 -32 -32 2 polygon
182
+ endgate
183
+ } def
184
+
185
+ /invert {
186
+ % -48 -40 112 80 bbox
187
+ begingate
188
+ 0 1.00 -32 -40 -32 40 40 0 3 polygon
189
+ 1 1.00 48 0 8 0.00 360.00 xcarc
190
+ 1 1.00 -32 0 -48 0 2 polygon
191
+ 1 1.00 56 0 64 0 2 polygon
192
+ 1.000 0.000 0.000 scb
193
+ (Out) {/Helvetica 1.000 cf} 2 4 0 64 0 pinlabel
194
+ (In) {/Helvetica 1.000 cf} 2 7 0 -48 0 pinlabel
195
+ sce
196
+ endgate
197
+ } def
198
+
199
+ %%Page: 04009.eps 1
200
+ %%PageOrientation: Portrait
201
+ /pgsave save def bop
202
+ % 784 360 offsets
203
+ % 32.00 8.00 gridspace
204
+ 0.7500 inchscale
205
+ 2.6000 setlinewidth
206
+
207
+ 1.00 0 768 632 ladder_start
208
+ 1 1.00 272 552 400 552 2 polygon
209
+ 1.00 0 1104 552 indicator
210
+ 1 1.00 1168 552 1264 552 2 polygon
211
+ (A) {/Courier 1.000 cf} 2 16 0 448 600 label
212
+ 1 1.00 928 360 848 360 2 polygon
213
+ (A) {/Courier 1.000 cf} 2 16 0 800 344 label
214
+ (1) {/Helvetica 1.000 cf} 2 16 0 776 568 label
215
+ 1 1.00 528 552 592 552 2 polygon
216
+ 1 1.00 592 552 1040 552 2 polygon
217
+ 1.00 0 464 552 nc_contact
218
+ 1.00 0 976 360 invert
219
+ 1 1.00 1040 360 1104 360 2 polygon
220
+ (A) {/Helvetica 1.000 cf} 2 16 0 376 384 label
221
+ (Output) {/Helvetica 1.000 cf} 2 16 0 440 384 label
222
+ (0) {/Helvetica 1.000 cf} 2 16 0 376 328 label
223
+ (1) {/Helvetica 1.000 cf} 2 16 0 488 328 label
224
+ (1) {/Helvetica 1.000 cf} 2 16 0 384 272 label
225
+ (0) {/Helvetica 1.000 cf} 2 16 0 480 272 label
226
+ 1 1.00 360 368 584 368 2 polygon
227
+ 1 1.00 360 312 584 312 2 polygon
228
+ 0 1.00 360 424 360 256 584 256 584 424 4 polygon
229
+ 1 1.00 416 256 416 424 2 polygon
230
+ pgsave restore showpage
231
+
232
+ %%Trailer
233
+ XCIRCsave restore
234
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04012.eps ADDED
@@ -0,0 +1,308 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04012.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jun 30 06:55:44 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 365 320
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman font Courier
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /ladder_start {
144
+ % -512 -80 1029 172 bbox
145
+ begingate
146
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 -512 64 label
147
+ 1 1.00 -496 -80 -496 48 2 polygon
148
+ (2) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 480 64 label
149
+ 1 1.00 496 48 496 -80 2 polygon
150
+ endgate
151
+ } def
152
+
153
+ /dot {
154
+ % -10 -10 20 20 bbox
155
+ begingate
156
+ 248 1.00 0 0 6 0.00 360.00 xcarc
157
+ endgate
158
+ } def
159
+
160
+ /indicator {
161
+ % -64 -28 128 56 bbox
162
+ begingate
163
+ 1 1.00 0 0 22 0.00 360.00 xcarc
164
+ 1 1.00 -20 20 -28 28 2 polygon
165
+ 1 1.00 20 20 28 28 2 polygon
166
+ 1 1.00 24 0 64 0 2 polygon
167
+ 1 1.00 22 0 24 0 2 polygon
168
+ 1 1.00 20 -20 28 -28 2 polygon
169
+ 1 1.00 -20 -20 -28 -28 2 polygon
170
+ 1 1.00 -64 0 -24 0 2 polygon
171
+ 1 1.00 -24 0 -22 0 2 polygon
172
+ endgate
173
+ } def
174
+
175
+ /or_gate {
176
+ % -49 -48 113 128 bbox
177
+ begingate
178
+ 1 1.00 -19 -48 96 30.00 90.00 xcarc
179
+ 1 1.00 -19 48 96 270.00 330.00 xcarc
180
+ 1 1.00 -112 0 80 -37.00 37.00 xcarc
181
+ 1 1.00 -48 48 -19 48 2 polygon
182
+ 1 1.00 -48 -48 -19 -48 2 polygon
183
+ 1.000 0.000 0.000 scb
184
+ (Out) {/Helvetica 1.000 cf} 2 4 0 64 0 pinlabel
185
+ (In.1) {/Helvetica 1.000 cf} 2 7 0 -40 32 pinlabel
186
+ (In.2) {/Helvetica 1.000 cf} 2 7 0 -40 -32 pinlabel
187
+ sce
188
+ endgate
189
+ } def
190
+
191
+ /truth_2 {
192
+ % -144 -144 280 280 bbox
193
+ begingate
194
+ (A) {/Helvetica 1.000 cf} 2 16 0 -128 96 label
195
+ 0 1.00 -144 80 -144 136 136 136 136 80 4 polygon
196
+ 1 1.00 -88 136 -88 -144 2 polygon
197
+ (B) {/Helvetica 1.000 cf} 2 16 0 -72 96 label
198
+ (Output) {/Helvetica 1.000 cf} 2 16 0 -8 96 label
199
+ 0 1.00 -144 80 -144 -144 136 -144 136 80 4 polygon
200
+ 1 1.00 -144 24 136 24 2 polygon
201
+ 1 1.00 -32 136 -32 -144 2 polygon
202
+ (0) {/Helvetica 1.000 cf} 2 16 0 -72 40 label
203
+ (0) {/Helvetica 1.000 cf} 2 16 0 -128 40 label
204
+ (0) {/Helvetica 1.000 cf} 2 16 0 -128 -16 label
205
+ (1) {/Helvetica 1.000 cf} 2 16 0 -68 -16 label
206
+ 1 1.00 -144 -32 136 -32 2 polygon
207
+ (0) {/Helvetica 1.000 cf} 2 16 0 -72 -72 label
208
+ 1 1.00 -144 -88 136 -88 2 polygon
209
+ (1) {/Helvetica 1.000 cf} 2 16 0 -124 -72 label
210
+ (1) {/Helvetica 1.000 cf} 2 16 0 -124 -128 label
211
+ (1) {/Helvetica 1.000 cf} 2 16 0 -68 -128 label
212
+ endgate
213
+ } def
214
+
215
+ /no_contact {
216
+ % -64 -32 128 64 bbox
217
+ begingate
218
+ 1 1.00 -64 0 -16 0 2 polygon
219
+ 1 1.00 -16 32 -16 -32 2 polygon
220
+ 1 1.00 16 0 64 0 2 polygon
221
+ 1 1.00 16 32 16 -32 2 polygon
222
+ endgate
223
+ } def
224
+
225
+ /nc_contact {
226
+ % -64 -32 128 64 bbox
227
+ begingate
228
+ 1.00 0 0 0 no_contact
229
+ 1 1.00 32 32 -32 -32 2 polygon
230
+ endgate
231
+ } def
232
+
233
+ /invert {
234
+ % -48 -40 112 80 bbox
235
+ begingate
236
+ 0 1.00 -32 -40 -32 40 40 0 3 polygon
237
+ 1 1.00 48 0 8 0.00 360.00 xcarc
238
+ 1 1.00 -32 0 -48 0 2 polygon
239
+ 1 1.00 56 0 64 0 2 polygon
240
+ 1.000 0.000 0.000 scb
241
+ (Out) {/Helvetica 1.000 cf} 2 4 0 64 0 pinlabel
242
+ (In) {/Helvetica 1.000 cf} 2 7 0 -48 0 pinlabel
243
+ sce
244
+ endgate
245
+ } def
246
+
247
+ /nand {
248
+ % -64 -48 128 96 bbox
249
+ begingate
250
+ 1 1.00 0 -48 -64 -48 -64 48 0 48 4 polygon
251
+ 1 1.00 56 0 8 0.00 360.00 xcarc
252
+ 1 1.00 0 0 48 -90.00 90.00 xcarc
253
+ 1.000 0.000 0.000 scb
254
+ (Out) {/Helvetica 1.000 cf} 2 4 0 64 0 pinlabel
255
+ (In.1) {/Helvetica 1.000 cf} 2 7 0 -64 32 pinlabel
256
+ (In.2) {/Helvetica 1.000 cf} 2 7 0 -64 -32 pinlabel
257
+ sce
258
+ endgate
259
+ } def
260
+
261
+ %%Page: 04009.eps 1
262
+ %%PageOrientation: Portrait
263
+ /pgsave save def bop
264
+ % 784 760 offsets
265
+ 0.7500 inchscale
266
+ 2.6000 setlinewidth
267
+
268
+ 1.00 0 768 1032 ladder_start
269
+ (B) {/Courier 1.000 cf} 2 16 0 448 840 label
270
+ 1 1.00 272 952 400 952 2 polygon
271
+ 1.00 0 272 952 dot
272
+ 1 1.00 272 952 272 792 400 792 3 polygon
273
+ 1 1.00 528 792 656 792 656 952 528 952 4 polygon
274
+ 1.00 0 1104 952 indicator
275
+ 1 1.00 1168 952 1264 952 2 polygon
276
+ 1 1.00 1040 952 656 952 2 polygon
277
+ 1.00 0 656 952 dot
278
+ (A) {/Courier 1.000 cf} 2 16 0 448 1000 label
279
+ 1.00 0 1072 632 or_gate
280
+ (A) {/Courier 1.000 cf} 2 16 0 808 688 label
281
+ (B) {/Courier 1.000 cf} 2 16 0 808 560 label
282
+ 1 1.00 1136 632 1216 632 2 polygon
283
+ 1.00 0 464 504 truth_2
284
+ (0) {/Helvetica 1.000 cf} 2 16 0 496 376 label
285
+ (1) {/Helvetica 1.000 cf} 2 16 0 504 544 label
286
+ (1) {/Helvetica 1.000 cf} 2 16 0 504 432 label
287
+ (1) {/Helvetica 1.000 cf} 2 16 0 504 488 label
288
+ (1) {/Helvetica 1.000 cf} 2 16 0 648 976 label
289
+ 1.00 0 464 952 nc_contact
290
+ 1.00 0 464 792 nc_contact
291
+ 1.00 0 896 696 invert
292
+ 1.00 0 896 568 invert
293
+ (or) {/Helvetica-Oblique 1.000 cf} 2 16 0 1016 456 label
294
+ 1.00 0 1072 312 nand
295
+ 1 1.00 1008 344 944 344 2 polygon
296
+ 1 1.00 1008 280 944 280 2 polygon
297
+ (A) {/Courier 1.000 cf} 2 16 0 904 336 label
298
+ (B) {/Courier 1.000 cf} 2 16 0 904 256 label
299
+ 1 1.00 1136 312 1216 312 2 polygon
300
+ 1 1.00 1032 664 1008 664 2 polygon
301
+ 1 1.00 1032 600 1008 600 2 polygon
302
+ 1 1.00 960 696 976 696 976 664 1008 664 4 polygon
303
+ 1 1.00 960 568 976 568 976 600 1008 600 4 polygon
304
+ pgsave restore showpage
305
+
306
+ %%Trailer
307
+ XCIRCsave restore
308
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04013.eps ADDED
@@ -0,0 +1,298 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04013.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jun 30 06:56:14 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 365 281
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman font Courier
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /ladder_start {
144
+ % -512 -80 1029 172 bbox
145
+ begingate
146
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 -512 64 label
147
+ 1 1.00 -496 -80 -496 48 2 polygon
148
+ (2) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 480 64 label
149
+ 1 1.00 496 48 496 -80 2 polygon
150
+ endgate
151
+ } def
152
+
153
+ /indicator {
154
+ % -64 -28 128 56 bbox
155
+ begingate
156
+ 1 1.00 0 0 22 0.00 360.00 xcarc
157
+ 1 1.00 -20 20 -28 28 2 polygon
158
+ 1 1.00 20 20 28 28 2 polygon
159
+ 1 1.00 24 0 64 0 2 polygon
160
+ 1 1.00 22 0 24 0 2 polygon
161
+ 1 1.00 20 -20 28 -28 2 polygon
162
+ 1 1.00 -20 -20 -28 -28 2 polygon
163
+ 1 1.00 -64 0 -24 0 2 polygon
164
+ 1 1.00 -24 0 -22 0 2 polygon
165
+ endgate
166
+ } def
167
+
168
+ /truth_2 {
169
+ % -144 -144 280 280 bbox
170
+ begingate
171
+ (A) {/Helvetica 1.000 cf} 2 16 0 -128 96 label
172
+ 0 1.00 -144 80 -144 136 136 136 136 80 4 polygon
173
+ 1 1.00 -88 136 -88 -144 2 polygon
174
+ (B) {/Helvetica 1.000 cf} 2 16 0 -72 96 label
175
+ (Output) {/Helvetica 1.000 cf} 2 16 0 -8 96 label
176
+ 0 1.00 -144 80 -144 -144 136 -144 136 80 4 polygon
177
+ 1 1.00 -144 24 136 24 2 polygon
178
+ 1 1.00 -32 136 -32 -144 2 polygon
179
+ (0) {/Helvetica 1.000 cf} 2 16 0 -72 40 label
180
+ (0) {/Helvetica 1.000 cf} 2 16 0 -128 40 label
181
+ (0) {/Helvetica 1.000 cf} 2 16 0 -128 -16 label
182
+ (1) {/Helvetica 1.000 cf} 2 16 0 -68 -16 label
183
+ 1 1.00 -144 -32 136 -32 2 polygon
184
+ (0) {/Helvetica 1.000 cf} 2 16 0 -72 -72 label
185
+ 1 1.00 -144 -88 136 -88 2 polygon
186
+ (1) {/Helvetica 1.000 cf} 2 16 0 -124 -72 label
187
+ (1) {/Helvetica 1.000 cf} 2 16 0 -124 -128 label
188
+ (1) {/Helvetica 1.000 cf} 2 16 0 -68 -128 label
189
+ endgate
190
+ } def
191
+
192
+ /no_contact {
193
+ % -64 -32 128 64 bbox
194
+ begingate
195
+ 1 1.00 -64 0 -16 0 2 polygon
196
+ 1 1.00 -16 32 -16 -32 2 polygon
197
+ 1 1.00 16 0 64 0 2 polygon
198
+ 1 1.00 16 32 16 -32 2 polygon
199
+ endgate
200
+ } def
201
+
202
+ /nc_contact {
203
+ % -64 -32 128 64 bbox
204
+ begingate
205
+ 1.00 0 0 0 no_contact
206
+ 1 1.00 32 32 -32 -32 2 polygon
207
+ endgate
208
+ } def
209
+
210
+ /invert {
211
+ % -48 -40 112 80 bbox
212
+ begingate
213
+ 0 1.00 -32 -40 -32 40 40 0 3 polygon
214
+ 1 1.00 48 0 8 0.00 360.00 xcarc
215
+ 1 1.00 -32 0 -48 0 2 polygon
216
+ 1 1.00 56 0 64 0 2 polygon
217
+ 1.000 0.000 0.000 scb
218
+ (Out) {/Helvetica 1.000 cf} 2 4 0 64 0 pinlabel
219
+ (In) {/Helvetica 1.000 cf} 2 7 0 -48 0 pinlabel
220
+ sce
221
+ endgate
222
+ } def
223
+
224
+ /and_gate {
225
+ % -64 -48 112 96 bbox
226
+ begingate
227
+ 1 1.00 0 -48 -64 -48 -64 48 0 48 4 polygon
228
+ 1 1.00 0 0 48 -90.00 90.00 xcarc
229
+ 1.000 0.000 0.000 scb
230
+ (Out) {/Helvetica 1.000 cf} 2 4 0 48 0 pinlabel
231
+ (In.1) {/Helvetica 1.000 cf} 2 7 0 -64 32 pinlabel
232
+ (In.2) {/Helvetica 1.000 cf} 2 7 0 -64 -32 pinlabel
233
+ sce
234
+ endgate
235
+ } def
236
+
237
+ /nor {
238
+ % -64 -48 128 96 bbox
239
+ begingate
240
+ 1 1.00 -64 48 -35 48 2 polygon
241
+ 1 1.00 -64 -48 -35 -48 2 polygon
242
+ 1 1.00 -128 0 80 -37.00 37.00 xcarc
243
+ 1 1.00 56 0 8 0.00 360.00 xcarc
244
+ 1 1.00 -35 -48 96 30.00 90.00 xcarc
245
+ 1 1.00 -35 48 96 270.00 330.00 xcarc
246
+ 1.000 0.000 0.000 scb
247
+ (Out) {/Helvetica 1.000 cf} 2 4 0 64 0 pinlabel
248
+ (In.1) {/Helvetica 1.000 cf} 2 7 0 -56 32 pinlabel
249
+ (In.2) {/Helvetica 1.000 cf} 2 7 0 -56 -32 pinlabel
250
+ sce
251
+ endgate
252
+ } def
253
+
254
+ %%Page: 04009.eps 1
255
+ %%PageOrientation: Portrait
256
+ /pgsave save def bop
257
+ % 784 752 offsets
258
+ % 32.00 8.00 gridspace
259
+ 0.7500 inchscale
260
+ 2.6000 setlinewidth
261
+
262
+ 1.00 0 768 896 ladder_start
263
+ (B) {/Courier 1.000 cf} 2 16 0 640 864 label
264
+ 1 1.00 272 816 400 816 2 polygon
265
+ 1.00 0 1104 816 indicator
266
+ 1 1.00 1168 816 1264 816 2 polygon
267
+ (A) {/Courier 1.000 cf} 2 16 0 448 864 label
268
+ (A) {/Courier 1.000 cf} 2 16 0 808 680 label
269
+ (B) {/Courier 1.000 cf} 2 16 0 808 552 label
270
+ 1.00 0 464 496 truth_2
271
+ (0) {/Helvetica 1.000 cf} 2 16 0 496 368 label
272
+ (1) {/Helvetica 1.000 cf} 2 16 0 504 536 label
273
+ (1) {/Helvetica 1.000 cf} 2 16 0 552 832 label
274
+ 1.00 0 464 816 nc_contact
275
+ 1.00 0 656 816 nc_contact
276
+ 1.00 0 896 688 invert
277
+ 1.00 0 896 560 invert
278
+ (or) {/Helvetica-Oblique 1.000 cf} 2 16 0 1016 448 label
279
+ (A) {/Courier 1.000 cf} 2 16 0 904 320 label
280
+ (B) {/Courier 1.000 cf} 2 16 0 904 256 label
281
+ 1 1.00 1136 304 1216 304 2 polygon
282
+ 1.00 0 1104 624 and_gate
283
+ 1 1.00 1152 624 1232 624 2 polygon
284
+ 1.00 0 1072 304 nor
285
+ (0) {/Helvetica 1.000 cf} 2 16 0 496 424 label
286
+ (0) {/Helvetica 1.000 cf} 2 16 0 496 480 label
287
+ 1 1.00 528 816 592 816 2 polygon
288
+ 1 1.00 720 816 1040 816 2 polygon
289
+ (2) {/Helvetica 1.000 cf} 2 16 0 856 832 label
290
+ 1 1.00 1040 656 992 656 992 688 960 688 4 polygon
291
+ 1 1.00 1040 592 992 592 992 560 960 560 4 polygon
292
+ 1 1.00 1016 336 944 336 2 polygon
293
+ 1 1.00 1016 272 944 272 2 polygon
294
+ pgsave restore showpage
295
+
296
+ %%Trailer
297
+ XCIRCsave restore
298
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04014.eps ADDED
@@ -0,0 +1,360 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04014.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jun 30 06:56:51 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 386 353
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman font Courier
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /ladder_start {
144
+ % -512 -80 1029 172 bbox
145
+ begingate
146
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 -512 64 label
147
+ 1 1.00 -496 -80 -496 48 2 polygon
148
+ (2) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 480 64 label
149
+ 1 1.00 496 48 496 -80 2 polygon
150
+ endgate
151
+ } def
152
+
153
+ /indicator {
154
+ % -64 -28 128 56 bbox
155
+ begingate
156
+ 1 1.00 0 0 22 0.00 360.00 xcarc
157
+ 1 1.00 -20 20 -28 28 2 polygon
158
+ 1 1.00 20 20 28 28 2 polygon
159
+ 1 1.00 24 0 64 0 2 polygon
160
+ 1 1.00 22 0 24 0 2 polygon
161
+ 1 1.00 20 -20 28 -28 2 polygon
162
+ 1 1.00 -20 -20 -28 -28 2 polygon
163
+ 1 1.00 -64 0 -24 0 2 polygon
164
+ 1 1.00 -24 0 -22 0 2 polygon
165
+ endgate
166
+ } def
167
+
168
+ /truth_2 {
169
+ % -144 -144 280 280 bbox
170
+ begingate
171
+ (A) {/Helvetica 1.000 cf} 2 16 0 -128 96 label
172
+ 0 1.00 -144 80 -144 136 136 136 136 80 4 polygon
173
+ 1 1.00 -88 136 -88 -144 2 polygon
174
+ (B) {/Helvetica 1.000 cf} 2 16 0 -72 96 label
175
+ (Output) {/Helvetica 1.000 cf} 2 16 0 -8 96 label
176
+ 0 1.00 -144 80 -144 -144 136 -144 136 80 4 polygon
177
+ 1 1.00 -144 24 136 24 2 polygon
178
+ 1 1.00 -32 136 -32 -144 2 polygon
179
+ (0) {/Helvetica 1.000 cf} 2 16 0 -72 40 label
180
+ (0) {/Helvetica 1.000 cf} 2 16 0 -128 40 label
181
+ (0) {/Helvetica 1.000 cf} 2 16 0 -128 -16 label
182
+ (1) {/Helvetica 1.000 cf} 2 16 0 -68 -16 label
183
+ 1 1.00 -144 -32 136 -32 2 polygon
184
+ (0) {/Helvetica 1.000 cf} 2 16 0 -72 -72 label
185
+ 1 1.00 -144 -88 136 -88 2 polygon
186
+ (1) {/Helvetica 1.000 cf} 2 16 0 -124 -72 label
187
+ (1) {/Helvetica 1.000 cf} 2 16 0 -124 -128 label
188
+ (1) {/Helvetica 1.000 cf} 2 16 0 -68 -128 label
189
+ endgate
190
+ } def
191
+
192
+ /no_contact {
193
+ % -64 -32 128 64 bbox
194
+ begingate
195
+ 1 1.00 -64 0 -16 0 2 polygon
196
+ 1 1.00 -16 32 -16 -32 2 polygon
197
+ 1 1.00 16 0 64 0 2 polygon
198
+ 1 1.00 16 32 16 -32 2 polygon
199
+ endgate
200
+ } def
201
+
202
+ /nc_contact {
203
+ % -64 -32 128 64 bbox
204
+ begingate
205
+ 1.00 0 0 0 no_contact
206
+ 1 1.00 32 32 -32 -32 2 polygon
207
+ endgate
208
+ } def
209
+
210
+ /invert {
211
+ % -48 -40 112 80 bbox
212
+ begingate
213
+ 0 1.00 -32 -40 -32 40 40 0 3 polygon
214
+ 1 1.00 48 0 8 0.00 360.00 xcarc
215
+ 1 1.00 -32 0 -48 0 2 polygon
216
+ 1 1.00 56 0 64 0 2 polygon
217
+ 1.000 0.000 0.000 scb
218
+ (Out) {/Helvetica 1.000 cf} 2 4 0 64 0 pinlabel
219
+ (In) {/Helvetica 1.000 cf} 2 7 0 -48 0 pinlabel
220
+ sce
221
+ endgate
222
+ } def
223
+
224
+ /and_gate {
225
+ % -64 -48 112 96 bbox
226
+ begingate
227
+ 1 1.00 0 -48 -64 -48 -64 48 0 48 4 polygon
228
+ 1 1.00 0 0 48 -90.00 90.00 xcarc
229
+ 1.000 0.000 0.000 scb
230
+ (Out) {/Helvetica 1.000 cf} 2 4 0 48 0 pinlabel
231
+ (In.1) {/Helvetica 1.000 cf} 2 7 0 -64 32 pinlabel
232
+ (In.2) {/Helvetica 1.000 cf} 2 7 0 -64 -32 pinlabel
233
+ sce
234
+ endgate
235
+ } def
236
+
237
+ /dot {
238
+ % -10 -10 20 20 bbox
239
+ begingate
240
+ 248 1.00 0 0 6 0.00 360.00 xcarc
241
+ endgate
242
+ } def
243
+
244
+ /xor_gate {
245
+ % -65 -48 145 128 bbox
246
+ begingate
247
+ 1 1.00 -19 -48 96 30.00 90.00 xcarc
248
+ 1 1.00 -19 48 96 270.00 330.00 xcarc
249
+ 1 1.00 -128 0 80 -37.00 37.00 xcarc
250
+ 1 1.00 -112 0 80 -37.00 37.00 xcarc
251
+ 1 1.00 -48 48 -19 48 2 polygon
252
+ 1 1.00 -48 -48 -19 -48 2 polygon
253
+ 1.000 0.000 0.000 scb
254
+ (Out) {/Helvetica 1.000 cf} 2 4 0 64 0 pinlabel
255
+ (In.1) {/Helvetica 1.000 cf} 2 7 0 -56 32 pinlabel
256
+ (In.2) {/Helvetica 1.000 cf} 2 7 0 -56 -32 pinlabel
257
+ sce
258
+ endgate
259
+ } def
260
+
261
+ /jumper {
262
+ % -4 -14 18 28 bbox
263
+ begingate
264
+ 1 1.00 0 0 10 -90.00 90.00 xcarc
265
+ 1 1.00 0 10 0 16 2 polygon
266
+ 1 1.00 0 -10 0 -16 2 polygon
267
+ 1.000 0.000 0.000 scb
268
+ (a) {/Times-Roman 1.000 cf} 2 1 0 0 16 pinlabel
269
+ (a) {/Times-Roman 1.000 cf} 2 13 0 0 -16 pinlabel
270
+ sce
271
+ endgate
272
+ } def
273
+
274
+ /or_gate {
275
+ % -49 -48 113 128 bbox
276
+ begingate
277
+ 1 1.00 -19 -48 96 30.00 90.00 xcarc
278
+ 1 1.00 -19 48 96 270.00 330.00 xcarc
279
+ 1 1.00 -112 0 80 -37.00 37.00 xcarc
280
+ 1 1.00 -48 48 -19 48 2 polygon
281
+ 1 1.00 -48 -48 -19 -48 2 polygon
282
+ 1.000 0.000 0.000 scb
283
+ (Out) {/Helvetica 1.000 cf} 2 4 0 64 0 pinlabel
284
+ (In.1) {/Helvetica 1.000 cf} 2 7 0 -40 32 pinlabel
285
+ (In.2) {/Helvetica 1.000 cf} 2 7 0 -40 -32 pinlabel
286
+ sce
287
+ endgate
288
+ } def
289
+
290
+ %%Page: 04009.eps 1
291
+ %%PageOrientation: Portrait
292
+ /pgsave save def bop
293
+ % 784 880 offsets
294
+ 0.7500 inchscale
295
+ 2.6000 setlinewidth
296
+
297
+ 1.00 0 768 1152 ladder_start
298
+ (B) {/Courier 1.000 cf} 2 16 0 640 1120 label
299
+ 1 1.00 272 1072 400 1072 2 polygon
300
+ 1.00 0 1104 1072 indicator
301
+ 1 1.00 1168 1072 1264 1072 2 polygon
302
+ (A) {/Courier 1.000 cf} 2 16 0 448 1120 label
303
+ (A) {/Courier 1.000 cf} 2 16 0 680 776 label
304
+ (B) {/Courier 1.000 cf} 2 16 0 680 680 label
305
+ 1.00 0 464 624 truth_2
306
+ (0) {/Helvetica 1.000 cf} 2 16 0 496 496 label
307
+ (1) {/Helvetica 1.000 cf} 2 16 0 504 608 label
308
+ (1) {/Helvetica 1.000 cf} 2 16 0 552 1088 label
309
+ 1.00 0 464 1072 nc_contact
310
+ 1.00 0 656 912 nc_contact
311
+ 1.00 0 832 784 invert
312
+ (or) {/Helvetica-Oblique 1.000 cf} 2 16 0 968 432 label
313
+ (A) {/Courier 1.000 cf} 2 16 0 840 328 label
314
+ (B) {/Courier 1.000 cf} 2 16 0 840 256 label
315
+ 1 1.00 1072 304 1152 304 2 polygon
316
+ 1.00 0 1040 720 and_gate
317
+ 1 1.00 1088 720 1168 720 2 polygon
318
+ (0) {/Helvetica 1.000 cf} 2 16 0 496 664 label
319
+ 1 1.00 528 1072 592 1072 2 polygon
320
+ 1 1.00 720 1072 1040 1072 2 polygon
321
+ (2) {/Helvetica 1.000 cf} 2 16 0 776 1088 label
322
+ 1.00 0 272 1072 dot
323
+ 1.00 0 656 1072 no_contact
324
+ 1.00 0 464 912 no_contact
325
+ 1 1.00 528 912 592 912 2 polygon
326
+ 1 1.00 272 1072 272 912 400 912 3 polygon
327
+ (3) {/Helvetica 1.000 cf} 2 16 0 544 928 label
328
+ 1.00 0 784 1072 dot
329
+ 1 1.00 784 1072 784 912 720 912 3 polygon
330
+ (A) {/Courier 1.000 cf} 2 16 0 448 960 label
331
+ (B) {/Courier 1.000 cf} 2 16 0 640 960 label
332
+ (2) {/Helvetica 1.000 cf} 2 16 0 800 912 label
333
+ (1) {/Helvetica 1.000 cf} 2 16 0 504 552 label
334
+ 1.00 0 1008 304 xor_gate
335
+ 1.00 0 1040 592 and_gate
336
+ 1.00 0 832 528 invert
337
+ 1 1.00 720 688 784 688 2 polygon
338
+ 1 1.00 784 784 720 784 2 polygon
339
+ 1.00 0 768 784 dot
340
+ 1.00 0 768 688 jumper
341
+ 1.00 0 736 688 dot
342
+ 1 1.00 1088 592 1168 592 2 polygon
343
+ 1.00 0 1248 656 or_gate
344
+ 1 1.00 1312 656 1360 656 2 polygon
345
+ 1 1.00 976 688 944 688 2 polygon
346
+ 1 1.00 976 752 928 752 928 784 896 784 4 polygon
347
+ 1 1.00 768 784 768 704 2 polygon
348
+ 1 1.00 768 672 768 624 976 624 3 polygon
349
+ 1 1.00 976 560 928 560 928 528 896 528 4 polygon
350
+ 1 1.00 784 688 944 688 2 polygon
351
+ 1 1.00 736 688 736 528 784 528 3 polygon
352
+ 1 1.00 1208 688 1168 688 1168 720 3 polygon
353
+ 1 1.00 1208 624 1168 624 1168 592 3 polygon
354
+ 1 1.00 952 336 880 336 2 polygon
355
+ 1 1.00 952 272 880 272 2 polygon
356
+ pgsave restore showpage
357
+
358
+ %%Trailer
359
+ XCIRCsave restore
360
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04015.eps ADDED
@@ -0,0 +1,224 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04015.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Wed Aug 22 15:48:56 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 220 145
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /dot {
144
+ % -10 -10 20 20 bbox
145
+ begingate
146
+ 248 1.00 0 0 6 0.00 360.00 xcarc
147
+ endgate
148
+ } def
149
+
150
+ /toggle {
151
+ % -64 -26 128 42 bbox
152
+ begingate
153
+ 1 1.00 -16 -16 16 16 2 polygon
154
+ 1 1.00 -64 -16 -16 -16 2 polygon
155
+ 1.00 0 -16 -16 dot
156
+ 1.00 0 16 -16 dot
157
+ 1 1.00 16 -16 64 -16 2 polygon
158
+ endgate
159
+ } def
160
+
161
+ /resistor {
162
+ % -14 -64 28 128 bbox
163
+ begingate
164
+ % fundamental
165
+ 1 1.00 0 64 0 36 2 polygon
166
+ 1 1.00 0 -64 0 -36 2 polygon
167
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
168
+ 1.000 0.000 0.000 scb
169
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
170
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
171
+ sce
172
+ 0.000 1.000 0.000 scb
173
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
174
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
175
+ sce
176
+ endgate
177
+ } def
178
+
179
+ /capacitor {
180
+ % -32 -64 64 128 bbox
181
+ begingate
182
+ % fundamental
183
+ 1 1.00 0 -64 0 -6 2 polygon
184
+ 1 1.00 0 64 0 6 2 polygon
185
+ 1 1.00 -32 6 32 6 2 polygon
186
+ 1 1.00 -32 -6 32 -6 2 polygon
187
+ 1.000 0.000 0.000 scb
188
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
189
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
190
+ sce
191
+ 0.000 1.000 0.000 scb
192
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
193
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
194
+ sce
195
+ endgate
196
+ } def
197
+
198
+ %%Page: 1 1
199
+ %%PageOrientation: Portrait
200
+ /pgsave save def bop
201
+ % 512 266 offsets
202
+ 0.7500 inchscale
203
+ 2.6000 setlinewidth
204
+
205
+ 1.00 0 512 282 toggle
206
+ 1.00 270 448 362 resistor
207
+ 1.00 90 576 362 capacitor
208
+ 1 1.00 640 362 640 266 576 266 3 polygon
209
+ 1.00 0 640 266 dot
210
+ 1 1.00 640 266 768 266 2 polygon
211
+ 1 1.00 384 362 384 266 448 266 3 polygon
212
+ 1.00 0 384 266 dot
213
+ 1 1.00 384 266 256 266 2 polygon
214
+ (R) {/Helvetica 1.000 cf} 2 16 0 432 394 label
215
+ (C) {/Helvetica 1.000 cf} 2 16 0 560 410 label
216
+ 0.603 0.603 0.603 scb
217
+ 4 1.00 400 442 400 314 608 314 608 442 4 polygon
218
+ sce
219
+ ("Snubber") {/Helvetica-Oblique 1.000 cf} 2 16 0 416 474 label
220
+ pgsave restore showpage
221
+
222
+ %%Trailer
223
+ XCIRCsave restore
224
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04029.eps ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04029.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Wed Aug 22 16:04:15 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 279 137
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /no_contact {
143
+ % -64 -32 128 64 bbox
144
+ begingate
145
+ 1 1.00 -64 0 -16 0 2 polygon
146
+ 1 1.00 -16 32 -16 -32 2 polygon
147
+ 1 1.00 16 0 64 0 2 polygon
148
+ 1 1.00 16 32 16 -32 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /nc_contact {
153
+ % -64 -32 128 64 bbox
154
+ begingate
155
+ 1.00 0 0 0 no_contact
156
+ 1 1.00 32 32 -32 -32 2 polygon
157
+ endgate
158
+ } def
159
+
160
+ %%Page: 04031.eps 1
161
+ %%PageOrientation: Portrait
162
+ /pgsave save def bop
163
+ % 512 288 offsets
164
+ 0.7500 inchscale
165
+ 2.6000 setlinewidth
166
+
167
+ (Normally-open) {/Helvetica-Oblique 1.000 cf} 2 16 0 256 352 label
168
+ (Normally-closed) {/Helvetica-Oblique 1.000 cf} 2 16 0 688 352 label
169
+ (Generic switch contact designation) {/Helvetica 1.000 cf} 2 16 0 304 448 label
170
+ 1.00 0 384 288 no_contact
171
+ 1.00 0 848 288 nc_contact
172
+ pgsave restore showpage
173
+
174
+ %%Trailer
175
+ XCIRCsave restore
176
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04040.eps ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04040.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Wed Aug 22 18:29:15 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 229 146
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /battery {
144
+ % -32 -64 64 128 bbox
145
+ begingate
146
+ % fundamental
147
+ 1 1.00 -32 32 32 32 2 polygon
148
+ 1 1.00 0 64 0 32 2 polygon
149
+ 1 1.00 -16 12 16 12 2 polygon
150
+ 1 1.00 -16 -28 16 -28 2 polygon
151
+ 1 1.00 -32 -8 32 -8 2 polygon
152
+ 1 1.00 0 -64 0 -28 2 polygon
153
+ 1.000 0.000 0.000 scb
154
+ (b.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
155
+ (b.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
156
+ sce
157
+ endgate
158
+ } def
159
+
160
+ /inductor {
161
+ % -14 -64 29 112 bbox
162
+ begingate
163
+ % fundamental
164
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
165
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
166
+ 1 1.00 20 32 20 16 0 12 0 36 spline
167
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
168
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
169
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
170
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
171
+ 1 1.00 0 -48 0 -64 2 polygon
172
+ 1 1.00 0 36 0 48 2 polygon
173
+ 1.000 0.000 0.000 scb
174
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
175
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
176
+ sce
177
+ 0.000 1.000 0.000 scb
178
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
179
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
180
+ sce
181
+ endgate
182
+ } def
183
+
184
+ /arrowhead {
185
+ % -12 -32 24 36 bbox
186
+ begingate
187
+ 8 -28 beginpath
188
+ 3 -18 3 -15 0 0 curveto
189
+ -3 -15 -3 -18 -8 -28 curveto
190
+ -2 -26 2 -26 8 -28 curveto
191
+ 249 1.00 endpath
192
+ endgate
193
+ } def
194
+
195
+ /arrow {
196
+ % -12 -40 24 80 bbox
197
+ begingate
198
+ 1 0.80 0 -40 0 20 2 polygon
199
+ 1.00 0 0 40 arrowhead
200
+ endgate
201
+ } def
202
+
203
+ %%Page: 1 1
204
+ %%PageOrientation: Portrait
205
+ /pgsave save def bop
206
+ % 528 352 offsets
207
+ 0.7500 inchscale
208
+ 2.6000 setlinewidth
209
+
210
+ 1.00 270 528 288 battery
211
+ 1.00 90 512 416 inductor
212
+ 1 1.00 464 416 432 416 432 288 464 288 4 polygon
213
+ 1 1.00 592 288 624 288 624 416 576 416 4 polygon
214
+ 1.00 0 400 352 arrow
215
+ 1.00 180 656 352 arrow
216
+ (current) {/Helvetica 1.000 cf} 2 16 0 256 320 label
217
+ (current) {/Helvetica 1.000 cf} 2 16 0 672 320 label
218
+ 0.000 1.000 0.000 scb
219
+ 5 1.00 336 464 704 464 528 416 512 416 spline
220
+ 5 1.00 336 368 704 368 528 416 512 416 spline
221
+ 5 1.00 224 480 816 480 528 416 512 416 spline
222
+ 5 1.00 224 352 816 352 528 416 512 416 spline
223
+ sce
224
+ (magnetic field) {/Helvetica-Oblique 1.000 cf} 2 16 0 400 480 label
225
+ pgsave restore showpage
226
+
227
+ %%Trailer
228
+ XCIRCsave restore
229
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04041.eps ADDED
@@ -0,0 +1,324 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04041.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Wed Aug 22 18:30:24 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 379 205
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /dot {
143
+ % -10 -10 20 20 bbox
144
+ begingate
145
+ 248 1.00 0 0 6 0.00 360.00 xcarc
146
+ endgate
147
+ } def
148
+
149
+ /toggle {
150
+ % -64 -26 128 42 bbox
151
+ begingate
152
+ 1 1.00 -16 -16 16 16 2 polygon
153
+ 1 1.00 -64 -16 -16 -16 2 polygon
154
+ 1.00 0 -16 -16 dot
155
+ 1.00 0 16 -16 dot
156
+ 1 1.00 16 -16 64 -16 2 polygon
157
+ endgate
158
+ } def
159
+
160
+ /inductor {
161
+ % -14 -64 29 112 bbox
162
+ begingate
163
+ % fundamental
164
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
165
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
166
+ 1 1.00 20 32 20 16 0 12 0 36 spline
167
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
168
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
169
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
170
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
171
+ 1 1.00 0 -48 0 -64 2 polygon
172
+ 1 1.00 0 36 0 48 2 polygon
173
+ 1.000 0.000 0.000 scb
174
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
175
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
176
+ sce
177
+ 0.000 1.000 0.000 scb
178
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
179
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
180
+ sce
181
+ endgate
182
+ } def
183
+
184
+ /source {
185
+ % -32 -64 64 128 bbox
186
+ % hidden
187
+ begingate
188
+ 1 1.00 0 0 32 0.00 360.00 xcarc
189
+ 1 1.00 0 32 0 64 2 polygon
190
+ 1 1.00 0 -32 0 -64 2 polygon
191
+ endgate
192
+ } def
193
+
194
+ /acsource {
195
+ % -32 -64 64 128 bbox
196
+ begingate
197
+ % fundamental
198
+ 1.00 0 0 0 source
199
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
200
+ 1.000 0.000 0.000 scb
201
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
202
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
203
+ sce
204
+ endgate
205
+ } def
206
+
207
+ /resistor {
208
+ % -14 -64 28 128 bbox
209
+ begingate
210
+ % fundamental
211
+ 1 1.00 0 64 0 36 2 polygon
212
+ 1 1.00 0 -64 0 -36 2 polygon
213
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
214
+ 1.000 0.000 0.000 scb
215
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
216
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
217
+ sce
218
+ 0.000 1.000 0.000 scb
219
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
220
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
221
+ sce
222
+ endgate
223
+ } def
224
+
225
+ /battery {
226
+ % -32 -64 64 128 bbox
227
+ begingate
228
+ % fundamental
229
+ 1 1.00 -32 32 32 32 2 polygon
230
+ 1 1.00 0 64 0 32 2 polygon
231
+ 1 1.00 -16 12 16 12 2 polygon
232
+ 1 1.00 -16 -28 16 -28 2 polygon
233
+ 1 1.00 -32 -8 32 -8 2 polygon
234
+ 1 1.00 0 -64 0 -28 2 polygon
235
+ 1.000 0.000 0.000 scb
236
+ (b.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
237
+ (b.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
238
+ sce
239
+ endgate
240
+ } def
241
+
242
+ /circle {
243
+ % -6 -12 28 24 bbox
244
+ begingate
245
+ 1 1.00 16 0 6 0.00 360.00 xcarc
246
+ 1 1.00 0 0 10 0 2 polygon
247
+ 1.000 0.000 0.000 scb
248
+ (out) {/Times-Roman 1.000 cf} 2 4 0 16 0 pinlabel
249
+ (out) {/Times-Roman 1.000 cf} 2 7 0 0 0 pinlabel
250
+ sce
251
+ endgate
252
+ } def
253
+
254
+ /arrowhead {
255
+ % -12 -32 24 36 bbox
256
+ begingate
257
+ 8 -28 beginpath
258
+ 3 -18 3 -15 0 0 curveto
259
+ -3 -15 -3 -18 -8 -28 curveto
260
+ -2 -26 2 -26 8 -28 curveto
261
+ 249 1.00 endpath
262
+ endgate
263
+ } def
264
+
265
+ /switch {
266
+ % -14 -71 51 125 bbox
267
+ begingate
268
+ % fundamental
269
+ 1 1.30 32 32 2 -43 2 polygon
270
+ 1 0.60 0 -48 57 49.00 90.00 xcarc
271
+ 1.00 -91 0 -64 circle
272
+ 0.60 90 -12 8 arrowhead
273
+ 1.00 270 0 48 circle
274
+ 1.000 0.000 0.000 scb
275
+ (sw.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
276
+ (sw.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
277
+ sce
278
+ endgate
279
+ } def
280
+
281
+ %%Page: 04040.eps 1
282
+ %%PageOrientation: Portrait
283
+ /pgsave save def bop
284
+ % 672 512 offsets
285
+ 0.7500 inchscale
286
+ 2.6000 setlinewidth
287
+
288
+ 1.00 0 672 624 toggle
289
+ 1.00 -1 704 512 inductor
290
+ 1 1.00 680 544 680 464 2 polygon
291
+ 1 1.00 664 544 664 464 2 polygon
292
+ 1 1.00 672 552 672 560 2 polygon
293
+ 1 1.00 672 568 672 576 2 polygon
294
+ 1 1.00 672 584 672 592 2 polygon
295
+ 1 1.00 672 600 672 608 2 polygon
296
+ 1 1.00 672 616 672 624 2 polygon
297
+ 1 1.00 704 560 768 560 2 polygon
298
+ 1 1.00 704 448 768 448 2 polygon
299
+ 1 1.00 736 608 768 608 2 polygon
300
+ 0.603 0.603 0.603 scb
301
+ 4 1.00 608 672 608 416 752 416 752 672 4 polygon
302
+ sce
303
+ 1 1.00 608 608 592 608 2 polygon
304
+ (relay) {/Helvetica 1.000 cf} 2 16 0 632 688 label
305
+ 1.00 0 384 432 acsource
306
+ 1 1.00 384 496 384 608 592 608 3 polygon
307
+ 1.00 0 1216 432 resistor
308
+ (VAC) {/Times-Roman 1.000 cf} 2 16 0 256 400 label
309
+ (Load) {/Helvetica 1.000 cf} 2 16 0 1248 432 label
310
+ 1.00 0 992 496 battery
311
+ 1 1.00 992 560 768 560 2 polygon
312
+ 1.00 -91 880 432 switch
313
+ 1 1.00 928 432 992 432 2 polygon
314
+ 1 1.00 816 432 800 432 800 448 768 448 4 polygon
315
+ (12 ) {/Times-Roman 1.000 cf} 2 16 0 1056 504 label
316
+ (VDC) {/Times-Roman 1.000 cf} 2 16 0 1032 464 label
317
+ 1 1.00 1216 368 1216 256 384 256 384 368 4 polygon
318
+ 1 1.00 768 608 1216 608 1216 496 3 polygon
319
+ (480) {/Times-Roman 1.000 cf} 2 16 0 264 440 label
320
+ pgsave restore showpage
321
+
322
+ %%Trailer
323
+ XCIRCsave restore
324
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04042.eps ADDED
@@ -0,0 +1,262 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04042.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Wed Aug 22 18:32:40 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 325 205
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /3phase_motor {
143
+ % -88 -64 176 128 bbox
144
+ begingate
145
+ (motor) {/Times-Roman 1.000 cf} 2 16 0 -32 -8 label
146
+ 1 1.00 24 0 64 0.00 360.00 xcarc
147
+ 1 1.00 -24 48 -40 64 -88 64 3 polygon
148
+ 1 1.00 -24 48 -22 46 2 polygon
149
+ 1 1.00 -40 0 -88 0 2 polygon
150
+ 1 1.00 -24 -48 -40 -64 -88 -64 3 polygon
151
+ 1 1.00 -24 -48 -22 -46 2 polygon
152
+ endgate
153
+ } def
154
+
155
+ /dot {
156
+ % -10 -10 20 20 bbox
157
+ begingate
158
+ 248 1.00 0 0 6 0.00 360.00 xcarc
159
+ endgate
160
+ } def
161
+
162
+ /toggle {
163
+ % -64 -26 128 42 bbox
164
+ begingate
165
+ 1 1.00 -16 -16 16 16 2 polygon
166
+ 1 1.00 -64 -16 -16 -16 2 polygon
167
+ 1.00 0 -16 -16 dot
168
+ 1.00 0 16 -16 dot
169
+ 1 1.00 16 -16 64 -16 2 polygon
170
+ endgate
171
+ } def
172
+
173
+ /thermal_overload {
174
+ % -64 -17 128 34 bbox
175
+ begingate
176
+ 1 1.00 -32 -24 0 -24 0 0 -32 0 spline
177
+ 1 1.00 0 8 -4 20 -24 16 0 0 spline
178
+ 1 1.00 32 24 0 24 0 0 32 0 spline
179
+ 1 1.00 0 -8 4 -20 24 -16 0 0 spline
180
+ 1 1.00 -32 0 -64 0 2 polygon
181
+ 1 1.00 32 0 64 0 2 polygon
182
+ endgate
183
+ } def
184
+
185
+ /inductor {
186
+ % -14 -64 29 112 bbox
187
+ begingate
188
+ % fundamental
189
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
190
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
191
+ 1 1.00 20 32 20 16 0 12 0 36 spline
192
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
193
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
194
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
195
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
196
+ 1 1.00 0 -48 0 -64 2 polygon
197
+ 1 1.00 0 36 0 48 2 polygon
198
+ 1.000 0.000 0.000 scb
199
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
200
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
201
+ sce
202
+ 0.000 1.000 0.000 scb
203
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
204
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
205
+ sce
206
+ endgate
207
+ } def
208
+
209
+ %%Page: 1 1
210
+ %%PageOrientation: Portrait
211
+ /pgsave save def bop
212
+ % 960 560 offsets
213
+ 0.7500 inchscale
214
+ 2.6000 setlinewidth
215
+
216
+ 1.00 0 1056 560 3phase_motor
217
+ 1.00 0 736 640 toggle
218
+ 1.00 0 736 576 toggle
219
+ 1.00 0 736 512 toggle
220
+ 1.00 0 736 448 toggle
221
+ 1 1.00 736 640 736 624 2 polygon
222
+ 1 1.00 736 608 736 592 2 polygon
223
+ 1 1.00 736 576 736 560 2 polygon
224
+ 1 1.00 736 544 736 528 2 polygon
225
+ 1 1.00 736 512 736 496 2 polygon
226
+ 1 1.00 736 480 736 464 2 polygon
227
+ 1 1.00 928 624 976 624 2 polygon
228
+ 1.00 0 864 624 thermal_overload
229
+ 1.00 0 864 560 thermal_overload
230
+ 1.00 0 864 496 thermal_overload
231
+ 1 1.00 928 560 976 560 2 polygon
232
+ 1 1.00 928 496 976 496 2 polygon
233
+ 1.00 0 704 352 inductor
234
+ 1 1.00 728 384 728 304 2 polygon
235
+ 1 1.00 744 384 744 304 2 polygon
236
+ 1 1.00 704 400 672 400 2 polygon
237
+ 1 1.00 704 288 672 288 2 polygon
238
+ 1 1.00 672 624 512 624 2 polygon
239
+ 1 1.00 672 560 512 560 2 polygon
240
+ 1 1.00 672 496 512 496 2 polygon
241
+ 1 1.00 672 432 640 432 2 polygon
242
+ 1 1.00 672 400 640 400 2 polygon
243
+ 1 1.00 672 288 640 288 2 polygon
244
+ 1 1.00 832 432 800 432 2 polygon
245
+ (A) {/Helvetica 1.000 cf} 2 16 0 464 608 label
246
+ (B) {/Helvetica 1.000 cf} 2 16 0 464 544 label
247
+ (C) {/Helvetica 1.000 cf} 2 16 0 464 480 label
248
+ (3-phase) {/Helvetica 1.000 cf} 2 16 0 272 568 label
249
+ (AC power) {/Helvetica 1.000 cf} 2 16 0 256 528 label
250
+ (relay) {/Helvetica 1.000 cf} 2 16 0 688 688 label
251
+ 1 1.00 736 448 736 432 2 polygon
252
+ 1 1.00 736 416 736 400 2 polygon
253
+ 0.603 0.603 0.603 scb
254
+ 4 1.00 672 672 672 256 800 256 800 672 4 polygon
255
+ sce
256
+ (120 VAC) {/Times-Roman 1.000 cf} 2 16 0 464 352 label
257
+ (coil) {/Helvetica 1.000 cf} 2 16 0 512 320 label
258
+ pgsave restore showpage
259
+
260
+ %%Trailer
261
+ XCIRCsave restore
262
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04054.eps ADDED
@@ -0,0 +1,323 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04054.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Wed Aug 22 18:47:30 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 359 160
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /diode {
144
+ % -8 -48 36 96 bbox
145
+ begingate
146
+ % fundamental
147
+ 248 1.00 -18 -16 0 16 18 -16 3 polygon
148
+ 1 1.00 0 -48 0 -16 2 polygon
149
+ 1 1.00 0 48 0 16 2 polygon
150
+ 1 1.00 -18 16 18 16 2 polygon
151
+ 1.000 0.000 0.000 scb
152
+ (d.m) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
153
+ (d.p) {/Times-Roman 1.000 cf} 2 13 0 0 -48 pinlabel
154
+ sce
155
+ endgate
156
+ } def
157
+
158
+ /LED {
159
+ % -47 -48 79 96 bbox
160
+ begingate
161
+ 1.00 0 -16 0 diode
162
+ 1 1.00 -16 0 31 0.00 360.00 xcarc
163
+ 1 1.00 4 28 20 44 2 polygon
164
+ 1 1.00 16 16 32 32 2 polygon
165
+ 1 1.00 12 44 20 44 20 36 3 polygon
166
+ 1 1.00 24 32 32 32 32 24 3 polygon
167
+ endgate
168
+ } def
169
+
170
+ /DIAC {
171
+ % -28 -48 56 96 bbox
172
+ begingate
173
+ 241 1.00 -24 16 -12 -16 0 16 3 polygon
174
+ 1 1.00 0 16 0 48 2 polygon
175
+ 1 1.00 -28 16 28 16 2 polygon
176
+ 241 1.00 24 -16 12 16 0 -16 3 polygon
177
+ 1 1.00 0 -16 0 -48 2 polygon
178
+ 1 1.00 -28 -16 28 -16 2 polygon
179
+ endgate
180
+ } def
181
+
182
+ /TRIAC {
183
+ % -32 -48 76 96 bbox
184
+ begingate
185
+ 1.00 0 16 0 DIAC
186
+ 1 1.00 0 -16 -16 -32 -32 -32 3 polygon
187
+ endgate
188
+ } def
189
+
190
+ /battery {
191
+ % -32 -64 64 128 bbox
192
+ begingate
193
+ % fundamental
194
+ 1 1.00 -32 32 32 32 2 polygon
195
+ 1 1.00 0 64 0 32 2 polygon
196
+ 1 1.00 -16 12 16 12 2 polygon
197
+ 1 1.00 -16 -28 16 -28 2 polygon
198
+ 1 1.00 -32 -8 32 -8 2 polygon
199
+ 1 1.00 0 -64 0 -28 2 polygon
200
+ 1.000 0.000 0.000 scb
201
+ (b.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
202
+ (b.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
203
+ sce
204
+ endgate
205
+ } def
206
+
207
+ /circle {
208
+ % -6 -12 28 24 bbox
209
+ begingate
210
+ 1 1.00 16 0 6 0.00 360.00 xcarc
211
+ 1 1.00 0 0 10 0 2 polygon
212
+ 1.000 0.000 0.000 scb
213
+ (out) {/Times-Roman 1.000 cf} 2 4 0 16 0 pinlabel
214
+ (out) {/Times-Roman 1.000 cf} 2 7 0 0 0 pinlabel
215
+ sce
216
+ endgate
217
+ } def
218
+
219
+ /arrowhead {
220
+ % -12 -32 24 36 bbox
221
+ begingate
222
+ 8 -28 beginpath
223
+ 3 -18 3 -15 0 0 curveto
224
+ -3 -15 -3 -18 -8 -28 curveto
225
+ -2 -26 2 -26 8 -28 curveto
226
+ 249 1.00 endpath
227
+ endgate
228
+ } def
229
+
230
+ /switch {
231
+ % -14 -71 51 125 bbox
232
+ begingate
233
+ % fundamental
234
+ 1 1.30 32 32 2 -43 2 polygon
235
+ 1 0.60 0 -48 57 49.00 90.00 xcarc
236
+ 1.00 -91 0 -64 circle
237
+ 0.60 90 -12 8 arrowhead
238
+ 1.00 270 0 48 circle
239
+ 1.000 0.000 0.000 scb
240
+ (sw.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
241
+ (sw.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
242
+ sce
243
+ endgate
244
+ } def
245
+
246
+ /_resistor {
247
+ % -14 -64 28 128 bbox
248
+ begingate
249
+ % fundamental
250
+ 1 1.00 0 64 0 36 2 polygon
251
+ 1 1.00 0 -64 0 -36 2 polygon
252
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
253
+ 1.000 0.000 0.000 scb
254
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
255
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
256
+ sce
257
+ 0.000 1.000 0.000 scb
258
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
259
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
260
+ sce
261
+ endgate
262
+ } def
263
+
264
+ /source {
265
+ % -32 -64 64 128 bbox
266
+ % hidden
267
+ begingate
268
+ 1 1.00 0 0 32 0.00 360.00 xcarc
269
+ 1 1.00 0 32 0 64 2 polygon
270
+ 1 1.00 0 -32 0 -64 2 polygon
271
+ endgate
272
+ } def
273
+
274
+ /acsource {
275
+ % -32 -64 64 128 bbox
276
+ begingate
277
+ % fundamental
278
+ 1.00 0 0 0 source
279
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
280
+ 1.000 0.000 0.000 scb
281
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
282
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
283
+ sce
284
+ endgate
285
+ } def
286
+
287
+ %%Page: 1 1
288
+ %%PageOrientation: Portrait
289
+ /pgsave save def bop
290
+ % 768 368 offsets
291
+ 0.7500 inchscale
292
+ 2.6000 setlinewidth
293
+
294
+ 1.00 0 624 384 LED
295
+ 1.00 0 752 384 TRIAC
296
+ 1 1.00 712 392 720 392 720 384 3 polygon
297
+ 1 1.00 720 392 704 376 2 polygon
298
+ 1 1.00 724 380 732 380 732 372 3 polygon
299
+ 1 1.00 732 380 716 364 2 polygon
300
+ 0.603 0.603 0.603 scb
301
+ 4 1.00 544 464 544 304 832 304 832 464 4 polygon
302
+ sce
303
+ 1.00 180 288 368 battery
304
+ 1.00 -91 432 432 switch
305
+ 1 1.00 288 432 368 432 2 polygon
306
+ 1 1.00 480 432 608 432 2 polygon
307
+ 1.00 270 432 304 _resistor
308
+ 1 1.00 288 304 368 304 2 polygon
309
+ 1 1.00 496 304 496 336 608 336 3 polygon
310
+ 1.00 0 1232 384 acsource
311
+ 1.00 270 1024 448 _resistor
312
+ 1 1.00 1088 448 1232 448 2 polygon
313
+ 1 1.00 960 448 768 448 768 432 3 polygon
314
+ 1 1.00 768 336 768 320 1232 320 3 polygon
315
+ (Load) {/Helvetica 1.000 cf} 2 16 0 976 480 label
316
+ (LED) {/Helvetica 1.000 cf} 2 16 0 560 256 label
317
+ (Opto-TRIAC) {/Helvetica 1.000 cf} 2 16 0 688 256 label
318
+ (Solid-state relay) {/Helvetica-Oblique 1.000 cf} 2 16 0 544 528 label
319
+ pgsave restore showpage
320
+
321
+ %%Trailer
322
+ XCIRCsave restore
323
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04055.eps ADDED
@@ -0,0 +1,267 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04055.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jun 30 06:58:05 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 365 261
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman font Courier
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /ladder_start {
143
+ % -512 -80 1029 172 bbox
144
+ begingate
145
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 -512 64 label
146
+ 1 1.00 -496 -80 -496 48 2 polygon
147
+ (2) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 480 64 label
148
+ 1 1.00 496 48 496 -80 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /indicator {
153
+ % -64 -28 128 56 bbox
154
+ begingate
155
+ 1 1.00 0 0 22 0.00 360.00 xcarc
156
+ 1 1.00 -20 20 -28 28 2 polygon
157
+ 1 1.00 20 20 28 28 2 polygon
158
+ 1 1.00 24 0 64 0 2 polygon
159
+ 1 1.00 22 0 24 0 2 polygon
160
+ 1 1.00 20 -20 28 -28 2 polygon
161
+ 1 1.00 -20 -20 -28 -28 2 polygon
162
+ 1 1.00 -64 0 -24 0 2 polygon
163
+ 1 1.00 -24 0 -22 0 2 polygon
164
+ endgate
165
+ } def
166
+
167
+ /invert {
168
+ % -48 -40 112 80 bbox
169
+ begingate
170
+ 0 1.00 -32 -40 -32 40 40 0 3 polygon
171
+ 1 1.00 48 0 8 0.00 360.00 xcarc
172
+ 1 1.00 -32 0 -48 0 2 polygon
173
+ 1 1.00 56 0 64 0 2 polygon
174
+ 1.000 0.000 0.000 scb
175
+ (Out) {/Helvetica 1.000 cf} 2 4 0 64 0 pinlabel
176
+ (In) {/Helvetica 1.000 cf} 2 7 0 -48 0 pinlabel
177
+ sce
178
+ endgate
179
+ } def
180
+
181
+ /relay_coil {
182
+ % -64 -32 128 64 bbox
183
+ begingate
184
+ 1 1.00 0 0 32 0.00 360.00 xcarc
185
+ 1 1.00 -64 0 -32 0 2 polygon
186
+ 1 1.00 32 0 64 0 2 polygon
187
+ endgate
188
+ } def
189
+
190
+ /no_contact {
191
+ % -64 -32 128 64 bbox
192
+ begingate
193
+ 1 1.00 -64 0 -16 0 2 polygon
194
+ 1 1.00 -16 32 -16 -32 2 polygon
195
+ 1 1.00 16 0 64 0 2 polygon
196
+ 1 1.00 16 32 16 -32 2 polygon
197
+ endgate
198
+ } def
199
+
200
+ /nc_contact {
201
+ % -64 -32 128 64 bbox
202
+ begingate
203
+ 1.00 0 0 0 no_contact
204
+ 1 1.00 32 32 -32 -32 2 polygon
205
+ endgate
206
+ } def
207
+
208
+ /dot {
209
+ % -10 -10 20 20 bbox
210
+ begingate
211
+ 248 1.00 0 0 6 0.00 360.00 xcarc
212
+ endgate
213
+ } def
214
+
215
+ %%Page: 04009.eps 1
216
+ %%PageOrientation: Portrait
217
+ /pgsave save def bop
218
+ % 784 360 offsets
219
+ % 32.00 8.00 gridspace
220
+ 0.7500 inchscale
221
+ 2.6000 setlinewidth
222
+
223
+ 1.00 0 768 824 ladder_start
224
+ 1 1.00 272 584 400 584 2 polygon
225
+ 1.00 0 1104 584 indicator
226
+ 1 1.00 1168 584 1264 584 2 polygon
227
+ 1 1.00 928 360 848 360 2 polygon
228
+ (A) {/Courier 1.000 cf} 2 16 0 800 344 label
229
+ (1) {/Helvetica 1.000 cf} 2 16 0 776 760 label
230
+ 1 1.00 528 584 592 584 2 polygon
231
+ 1 1.00 592 744 1040 744 2 polygon
232
+ 1.00 0 976 360 invert
233
+ 1 1.00 1040 360 1104 360 2 polygon
234
+ (A) {/Helvetica 1.000 cf} 2 16 0 360 384 label
235
+ (Output) {/Helvetica 1.000 cf} 2 16 0 512 384 label
236
+ (0) {/Helvetica 1.000 cf} 2 16 0 432 328 label
237
+ (1) {/Helvetica 1.000 cf} 2 16 0 560 328 label
238
+ (1) {/Helvetica 1.000 cf} 2 16 0 440 272 label
239
+ (0) {/Helvetica 1.000 cf} 2 16 0 552 272 label
240
+ 1 1.00 488 256 488 424 2 polygon
241
+ 1.00 0 1104 744 relay_coil
242
+ 1 1.00 1168 744 1264 744 2 polygon
243
+ 1.00 0 464 744 no_contact
244
+ 1 1.00 272 744 400 744 2 polygon
245
+ 1 1.00 528 744 592 744 2 polygon
246
+ (A) {/Courier 1.000 cf} 2 16 0 448 792 label
247
+ 1.00 0 464 584 nc_contact
248
+ 1 1.00 592 584 1040 584 2 polygon
249
+ 1 1.00 272 744 272 584 2 polygon
250
+ 1.00 0 272 744 dot
251
+ (CR1) {/Helvetica 1.000 cf} 2 16 0 1064 792 label
252
+ (CR1) {/Helvetica 1.000 cf} 2 16 0 424 632 label
253
+ 1 1.00 1264 744 1264 584 2 polygon
254
+ 1.00 0 1264 744 dot
255
+ 1 1.00 400 256 400 424 2 polygon
256
+ (CR1) {/Helvetica 1.000 cf} 2 16 0 408 384 label
257
+ 1 1.00 656 368 344 368 2 polygon
258
+ 1 1.00 656 312 344 312 2 polygon
259
+ (0) {/Helvetica 1.000 cf} 2 16 0 360 328 label
260
+ (1) {/Helvetica 1.000 cf} 2 16 0 368 272 label
261
+ 0 1.00 344 424 344 256 656 256 656 424 4 polygon
262
+ (2) {/Helvetica 1.000 cf} 2 16 0 776 600 label
263
+ pgsave restore showpage
264
+
265
+ %%Trailer
266
+ XCIRCsave restore
267
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04056.eps ADDED
@@ -0,0 +1,327 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04056.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jun 30 06:58:49 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 365 365
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman font Courier
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /ladder_start {
144
+ % -512 -80 1029 172 bbox
145
+ begingate
146
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 -512 64 label
147
+ 1 1.00 -496 -80 -496 48 2 polygon
148
+ (2) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 480 64 label
149
+ 1 1.00 496 48 496 -80 2 polygon
150
+ endgate
151
+ } def
152
+
153
+ /dot {
154
+ % -10 -10 20 20 bbox
155
+ begingate
156
+ 248 1.00 0 0 6 0.00 360.00 xcarc
157
+ endgate
158
+ } def
159
+
160
+ /indicator {
161
+ % -64 -28 128 56 bbox
162
+ begingate
163
+ 1 1.00 0 0 22 0.00 360.00 xcarc
164
+ 1 1.00 -20 20 -28 28 2 polygon
165
+ 1 1.00 20 20 28 28 2 polygon
166
+ 1 1.00 24 0 64 0 2 polygon
167
+ 1 1.00 22 0 24 0 2 polygon
168
+ 1 1.00 20 -20 28 -28 2 polygon
169
+ 1 1.00 -20 -20 -28 -28 2 polygon
170
+ 1 1.00 -64 0 -24 0 2 polygon
171
+ 1 1.00 -24 0 -22 0 2 polygon
172
+ endgate
173
+ } def
174
+
175
+ /or_gate {
176
+ % -49 -48 113 128 bbox
177
+ begingate
178
+ 1 1.00 -19 -48 96 30.00 90.00 xcarc
179
+ 1 1.00 -19 48 96 270.00 330.00 xcarc
180
+ 1 1.00 -112 0 80 -37.00 37.00 xcarc
181
+ 1 1.00 -48 48 -19 48 2 polygon
182
+ 1 1.00 -48 -48 -19 -48 2 polygon
183
+ 1.000 0.000 0.000 scb
184
+ (Out) {/Helvetica 1.000 cf} 2 4 0 64 0 pinlabel
185
+ (In.1) {/Helvetica 1.000 cf} 2 7 0 -40 32 pinlabel
186
+ (In.2) {/Helvetica 1.000 cf} 2 7 0 -40 -32 pinlabel
187
+ sce
188
+ endgate
189
+ } def
190
+
191
+ /truth_2 {
192
+ % -144 -144 280 280 bbox
193
+ begingate
194
+ (A) {/Helvetica 1.000 cf} 2 16 0 -128 96 label
195
+ 0 1.00 -144 80 -144 136 136 136 136 80 4 polygon
196
+ 1 1.00 -88 136 -88 -144 2 polygon
197
+ (B) {/Helvetica 1.000 cf} 2 16 0 -72 96 label
198
+ (Output) {/Helvetica 1.000 cf} 2 16 0 -8 96 label
199
+ 0 1.00 -144 80 -144 -144 136 -144 136 80 4 polygon
200
+ 1 1.00 -144 24 136 24 2 polygon
201
+ 1 1.00 -32 136 -32 -144 2 polygon
202
+ (0) {/Helvetica 1.000 cf} 2 16 0 -72 40 label
203
+ (0) {/Helvetica 1.000 cf} 2 16 0 -128 40 label
204
+ (0) {/Helvetica 1.000 cf} 2 16 0 -128 -16 label
205
+ (1) {/Helvetica 1.000 cf} 2 16 0 -68 -16 label
206
+ 1 1.00 -144 -32 136 -32 2 polygon
207
+ (0) {/Helvetica 1.000 cf} 2 16 0 -72 -72 label
208
+ 1 1.00 -144 -88 136 -88 2 polygon
209
+ (1) {/Helvetica 1.000 cf} 2 16 0 -124 -72 label
210
+ (1) {/Helvetica 1.000 cf} 2 16 0 -124 -128 label
211
+ (1) {/Helvetica 1.000 cf} 2 16 0 -68 -128 label
212
+ endgate
213
+ } def
214
+
215
+ /no_contact {
216
+ % -64 -32 128 64 bbox
217
+ begingate
218
+ 1 1.00 -64 0 -16 0 2 polygon
219
+ 1 1.00 -16 32 -16 -32 2 polygon
220
+ 1 1.00 16 0 64 0 2 polygon
221
+ 1 1.00 16 32 16 -32 2 polygon
222
+ endgate
223
+ } def
224
+
225
+ /nc_contact {
226
+ % -64 -32 128 64 bbox
227
+ begingate
228
+ 1.00 0 0 0 no_contact
229
+ 1 1.00 32 32 -32 -32 2 polygon
230
+ endgate
231
+ } def
232
+
233
+ /invert {
234
+ % -48 -40 112 80 bbox
235
+ begingate
236
+ 0 1.00 -32 -40 -32 40 40 0 3 polygon
237
+ 1 1.00 48 0 8 0.00 360.00 xcarc
238
+ 1 1.00 -32 0 -48 0 2 polygon
239
+ 1 1.00 56 0 64 0 2 polygon
240
+ 1.000 0.000 0.000 scb
241
+ (Out) {/Helvetica 1.000 cf} 2 4 0 64 0 pinlabel
242
+ (In) {/Helvetica 1.000 cf} 2 7 0 -48 0 pinlabel
243
+ sce
244
+ endgate
245
+ } def
246
+
247
+ /relay_coil {
248
+ % -64 -32 128 64 bbox
249
+ begingate
250
+ 1 1.00 0 0 32 0.00 360.00 xcarc
251
+ 1 1.00 -64 0 -32 0 2 polygon
252
+ 1 1.00 32 0 64 0 2 polygon
253
+ endgate
254
+ } def
255
+
256
+ /and_gate {
257
+ % -64 -48 112 96 bbox
258
+ begingate
259
+ 1 1.00 0 -48 -64 -48 -64 48 0 48 4 polygon
260
+ 1 1.00 0 0 48 -90.00 90.00 xcarc
261
+ 1.000 0.000 0.000 scb
262
+ (Out) {/Helvetica 1.000 cf} 2 4 0 48 0 pinlabel
263
+ (In.1) {/Helvetica 1.000 cf} 2 7 0 -64 32 pinlabel
264
+ (In.2) {/Helvetica 1.000 cf} 2 7 0 -64 -32 pinlabel
265
+ sce
266
+ endgate
267
+ } def
268
+
269
+ %%Page: 04009.eps 1
270
+ %%PageOrientation: Portrait
271
+ /pgsave save def bop
272
+ % 784 760 offsets
273
+ 0.7500 inchscale
274
+ 2.6000 setlinewidth
275
+
276
+ 1.00 0 768 1192 ladder_start
277
+ (B) {/Courier 1.000 cf} 2 16 0 448 1000 label
278
+ 1 1.00 272 1112 400 1112 2 polygon
279
+ 1.00 0 272 1112 dot
280
+ 1 1.00 272 1112 272 952 400 952 3 polygon
281
+ 1 1.00 528 952 656 952 656 1112 528 1112 4 polygon
282
+ 1.00 0 1104 792 indicator
283
+ 1 1.00 1168 1112 1264 1112 2 polygon
284
+ 1 1.00 1040 1112 656 1112 2 polygon
285
+ 1.00 0 656 1112 dot
286
+ (A) {/Courier 1.000 cf} 2 16 0 448 1160 label
287
+ 1.00 0 976 632 or_gate
288
+ (A) {/Courier 1.000 cf} 2 16 0 712 688 label
289
+ (B) {/Courier 1.000 cf} 2 16 0 712 560 label
290
+ 1 1.00 1040 632 1120 632 2 polygon
291
+ 1.00 0 464 504 truth_2
292
+ (1) {/Helvetica 1.000 cf} 2 16 0 648 1136 label
293
+ 1.00 0 464 1112 nc_contact
294
+ 1.00 0 464 952 nc_contact
295
+ 1.00 0 800 696 invert
296
+ 1.00 0 800 568 invert
297
+ (or) {/Helvetica-Oblique 1.000 cf} 2 16 0 920 456 label
298
+ 1 1.00 912 344 848 344 2 polygon
299
+ 1 1.00 912 280 848 280 2 polygon
300
+ (A) {/Courier 1.000 cf} 2 16 0 808 336 label
301
+ (B) {/Courier 1.000 cf} 2 16 0 808 256 label
302
+ 1 1.00 1040 312 1120 312 2 polygon
303
+ 1.00 0 1104 1112 relay_coil
304
+ 1.00 0 464 792 nc_contact
305
+ 1 1.00 272 952 272 792 400 792 3 polygon
306
+ 1.00 0 272 952 dot
307
+ 1 1.00 528 792 1040 792 2 polygon
308
+ 1 1.00 1168 792 1264 792 1264 1112 3 polygon
309
+ 1.00 0 1264 1112 dot
310
+ (CR1) {/Helvetica 1.000 cf} 2 16 0 1072 1160 label
311
+ (CR1) {/Helvetica 1.000 cf} 2 16 0 432 840 label
312
+ (2) {/Helvetica 1.000 cf} 2 16 0 784 808 label
313
+ 1.00 0 1168 632 invert
314
+ 1.00 0 976 312 and_gate
315
+ 1 1.00 1024 312 1040 312 2 polygon
316
+ (0) {/Helvetica 1.000 cf} 2 16 0 504 544 label
317
+ (0) {/Helvetica 1.000 cf} 2 16 0 504 488 label
318
+ (0) {/Helvetica 1.000 cf} 2 16 0 504 432 label
319
+ (1) {/Helvetica 1.000 cf} 2 16 0 504 376 label
320
+ 1 1.00 936 664 896 664 896 696 864 696 4 polygon
321
+ 1 1.00 936 600 896 600 896 568 864 568 4 polygon
322
+ 1 1.00 1232 632 1264 632 2 polygon
323
+ pgsave restore showpage
324
+
325
+ %%Trailer
326
+ XCIRCsave restore
327
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04057.eps ADDED
@@ -0,0 +1,309 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04057.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Wed Aug 22 19:13:51 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 365 268
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /ladder_start {
144
+ % -512 -80 1029 172 bbox
145
+ begingate
146
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 -512 64 label
147
+ 1 1.00 -496 -80 -496 48 2 polygon
148
+ (2) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 480 64 label
149
+ 1 1.00 496 48 496 -80 2 polygon
150
+ endgate
151
+ } def
152
+
153
+ /dot {
154
+ % -10 -10 20 20 bbox
155
+ begingate
156
+ 248 1.00 0 0 6 0.00 360.00 xcarc
157
+ endgate
158
+ } def
159
+
160
+ /no_pressure {
161
+ % -64 -32 128 58 bbox
162
+ begingate
163
+ 1 1.00 -64 16 -16 16 2 polygon
164
+ 1.00 0 -16 16 dot
165
+ 1 1.00 -16 16 32 -8 2 polygon
166
+ 1.00 0 16 16 dot
167
+ 1 1.00 16 16 64 16 2 polygon
168
+ 1 1.00 0 8 0 -14 2 polygon
169
+ 1 1.00 -16 -8 16 -8 16 -32 -16 -32 spline
170
+ 1 1.00 -16 -32 16 -32 2 polygon
171
+ endgate
172
+ } def
173
+
174
+ /nc_pressure {
175
+ % -64 -32 128 60 bbox
176
+ begingate
177
+ 1 1.00 -64 16 -16 16 2 polygon
178
+ 1.00 0 -16 16 dot
179
+ 1 1.00 -16 16 32 28 2 polygon
180
+ 1.00 0 16 16 dot
181
+ 1 1.00 16 16 64 16 2 polygon
182
+ 1 1.00 0 -14 0 20 2 polygon
183
+ 1 1.00 -16 -8 16 -8 16 -32 -16 -32 spline
184
+ 1 1.00 -16 -32 16 -32 2 polygon
185
+ endgate
186
+ } def
187
+
188
+ /no_flow {
189
+ % -64 -24 128 50 bbox
190
+ begingate
191
+ 1 1.00 -64 16 -16 16 2 polygon
192
+ 1.00 0 -16 16 dot
193
+ 1 1.00 -16 16 32 -8 2 polygon
194
+ 1 1.00 0 8 0 -24 16 -24 0 -8 4 polygon
195
+ 1.00 0 16 16 dot
196
+ 1 1.00 16 16 64 16 2 polygon
197
+ endgate
198
+ } def
199
+
200
+ /no_limit {
201
+ % -64 -20 128 46 bbox
202
+ begingate
203
+ 1 1.00 -64 16 -32 16 2 polygon
204
+ 1.00 0 -32 16 dot
205
+ 1 1.00 -32 16 32 -16 2 polygon
206
+ 1 1.00 -32 16 20 -20 28 -16 3 polygon
207
+ 1.00 0 32 16 dot
208
+ 1 1.00 32 16 64 16 2 polygon
209
+ endgate
210
+ } def
211
+
212
+ /relay_coil {
213
+ % -64 -32 128 64 bbox
214
+ begingate
215
+ 1 1.00 0 0 32 0.00 360.00 xcarc
216
+ 1 1.00 -64 0 -32 0 2 polygon
217
+ 1 1.00 32 0 64 0 2 polygon
218
+ endgate
219
+ } def
220
+
221
+ /no_contact {
222
+ % -64 -32 128 64 bbox
223
+ begingate
224
+ 1 1.00 -64 0 -16 0 2 polygon
225
+ 1 1.00 -16 32 -16 -32 2 polygon
226
+ 1 1.00 16 0 64 0 2 polygon
227
+ 1 1.00 16 32 16 -32 2 polygon
228
+ endgate
229
+ } def
230
+
231
+ /indicator {
232
+ % -64 -28 128 56 bbox
233
+ begingate
234
+ 1 1.00 0 0 22 0.00 360.00 xcarc
235
+ 1 1.00 -20 20 -28 28 2 polygon
236
+ 1 1.00 20 20 28 28 2 polygon
237
+ 1 1.00 24 0 64 0 2 polygon
238
+ 1 1.00 22 0 24 0 2 polygon
239
+ 1 1.00 20 -20 28 -28 2 polygon
240
+ 1 1.00 -20 -20 -28 -28 2 polygon
241
+ 1 1.00 -64 0 -24 0 2 polygon
242
+ 1 1.00 -24 0 -22 0 2 polygon
243
+ endgate
244
+ } def
245
+
246
+ /nc_contact {
247
+ % -64 -32 128 64 bbox
248
+ begingate
249
+ 1.00 0 0 0 no_contact
250
+ 1 1.00 32 32 -32 -32 2 polygon
251
+ endgate
252
+ } def
253
+
254
+ %%Page: 1 1
255
+ %%PageOrientation: Portrait
256
+ /pgsave save def bop
257
+ % 784 576 offsets
258
+ % 32.00 8.00 gridspace
259
+ 0.7500 inchscale
260
+ 2.6000 setlinewidth
261
+
262
+ 1.00 0 768 848 ladder_start
263
+ 1.00 0 400 752 no_pressure
264
+ (low fuel) {/Helvetica 1.000 cf} 2 16 0 336 824 label
265
+ (pressure) {/Helvetica 1.000 cf} 2 16 0 328 792 label
266
+ 1.00 0 592 752 nc_pressure
267
+ 1.00 0 784 752 no_flow
268
+ 1.00 0 976 752 no_limit
269
+ 1 1.00 272 768 336 768 2 polygon
270
+ 1 1.00 464 768 528 768 2 polygon
271
+ 1 1.00 656 768 720 768 2 polygon
272
+ 1 1.00 848 768 912 768 2 polygon
273
+ (high fuel) {/Helvetica 1.000 cf} 2 16 0 528 824 label
274
+ (pressure) {/Helvetica 1.000 cf} 2 16 0 520 792 label
275
+ (minimum) {/Helvetica 1.000 cf} 2 16 0 720 824 label
276
+ (air flow) {/Helvetica 1.000 cf} 2 16 0 728 792 label
277
+ (open) {/Helvetica 1.000 cf} 2 16 0 944 792 label
278
+ (damper) {/Helvetica 1.000 cf} 2 16 0 920 824 label
279
+ 1.00 0 1168 768 relay_coil
280
+ 1 1.00 1232 768 1264 768 2 polygon
281
+ 1 1.00 1104 768 1040 768 2 polygon
282
+ (CR1) {/Helvetica 1.000 cf} 2 16 0 1128 816 label
283
+ 1.00 0 400 608 no_contact
284
+ 1 1.00 272 768 272 608 2 polygon
285
+ 1.00 0 272 768 dot
286
+ 1.00 0 1168 608 indicator
287
+ 1.00 0 1264 768 dot
288
+ 1 1.00 1232 608 1264 608 1264 768 3 polygon
289
+ 1 1.00 272 608 336 608 2 polygon
290
+ 1 1.00 464 608 1104 608 2 polygon
291
+ (green) {/Helvetica-Oblique 1.000 cf} 2 16 0 1112 648 label
292
+ 1 1.00 272 448 336 448 2 polygon
293
+ 1 1.00 464 448 1104 448 2 polygon
294
+ 1.00 0 1168 448 indicator
295
+ 1 1.00 272 608 272 448 2 polygon
296
+ 1.00 0 272 608 dot
297
+ 1.00 0 400 448 nc_contact
298
+ (red) {/Helvetica-Oblique 1.000 cf} 2 16 0 1136 496 label
299
+ 1 1.00 1264 608 1264 448 1232 448 3 polygon
300
+ 1.00 0 1264 608 dot
301
+ (CR1) {/Helvetica 1.000 cf} 2 16 0 360 656 label
302
+ (CR1) {/Helvetica 1.000 cf} 2 16 0 360 496 label
303
+ (conditions met: safe to start) {/Helvetica-Oblique 1.000 cf} (Green light = ) {/Helvetica 1.000 cf} 4 16 0 368 320 label
304
+ (conditions not met: unsafe to start) {/Helvetica-Oblique 1.000 cf} (Red light = ) {/Helvetica 1.000 cf} 4 16 0 376 256 label
305
+ pgsave restore showpage
306
+
307
+ %%Trailer
308
+ XCIRCsave restore
309
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04058.eps ADDED
@@ -0,0 +1,273 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04058.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Wed Aug 22 19:14:34 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 395 288
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /3phase_motor {
144
+ % -88 -64 176 128 bbox
145
+ begingate
146
+ (motor) {/Helvetica 1.000 cf} 2 16 0 -32 -8 label
147
+ 1 1.00 24 0 64 0.00 360.00 xcarc
148
+ 1 1.00 -24 48 -40 64 -88 64 3 polygon
149
+ 1 1.00 -24 48 -22 46 2 polygon
150
+ 1 1.00 -40 0 -88 0 2 polygon
151
+ 1 1.00 -24 -48 -40 -64 -88 -64 3 polygon
152
+ 1 1.00 -24 -48 -22 -46 2 polygon
153
+ endgate
154
+ } def
155
+
156
+ /thermal_overload {
157
+ % -64 -17 128 34 bbox
158
+ begingate
159
+ 1 1.00 -32 -24 0 -24 0 0 -32 0 spline
160
+ 1 1.00 0 8 -4 20 -24 16 0 0 spline
161
+ 1 1.00 32 24 0 24 0 0 32 0 spline
162
+ 1 1.00 0 -8 4 -20 24 -16 0 0 spline
163
+ 1 1.00 -32 0 -64 0 2 polygon
164
+ 1 1.00 32 0 64 0 2 polygon
165
+ endgate
166
+ } def
167
+
168
+ /no_contact {
169
+ % -64 -32 128 64 bbox
170
+ begingate
171
+ 1 1.00 -64 0 -16 0 2 polygon
172
+ 1 1.00 -16 32 -16 -32 2 polygon
173
+ 1 1.00 16 0 64 0 2 polygon
174
+ 1 1.00 16 32 16 -32 2 polygon
175
+ endgate
176
+ } def
177
+
178
+ /dot {
179
+ % -10 -10 20 20 bbox
180
+ begingate
181
+ 248 1.00 0 0 6 0.00 360.00 xcarc
182
+ endgate
183
+ } def
184
+
185
+ /jumper {
186
+ % -4 -14 18 28 bbox
187
+ begingate
188
+ 1 1.00 0 0 10 -90.00 90.00 xcarc
189
+ 1 1.00 0 10 0 16 2 polygon
190
+ 1 1.00 0 -10 0 -16 2 polygon
191
+ 1.000 0.000 0.000 scb
192
+ (a) {/Times-Roman 1.000 cf} 2 1 0 0 16 pinlabel
193
+ (a) {/Times-Roman 1.000 cf} 2 13 0 0 -16 pinlabel
194
+ sce
195
+ endgate
196
+ } def
197
+
198
+ %%Page: 1 1
199
+ %%PageOrientation: Portrait
200
+ /pgsave save def bop
201
+ % 1088 808 offsets
202
+ % 32.00 8.00 gridspace
203
+ 0.7500 inchscale
204
+ 2.6000 setlinewidth
205
+
206
+ 1.00 0 1304 808 3phase_motor
207
+ 1.00 0 1152 872 thermal_overload
208
+ 1.00 0 1152 808 thermal_overload
209
+ 1.00 0 1152 744 thermal_overload
210
+ 1.00 0 800 808 no_contact
211
+ 1.00 0 800 904 no_contact
212
+ 1.00 0 800 712 no_contact
213
+ 1 1.00 1024 808 1088 808 2 polygon
214
+ 1 1.00 1024 904 1088 872 2 polygon
215
+ 1 1.00 1024 712 1088 744 2 polygon
216
+ 1 1.00 864 904 960 904 2 polygon
217
+ 1 1.00 864 808 960 808 2 polygon
218
+ 1 1.00 864 712 960 712 2 polygon
219
+ 1.00 0 800 552 no_contact
220
+ 1.00 0 800 456 no_contact
221
+ 1.00 0 800 360 no_contact
222
+ 1 1.00 416 712 736 712 2 polygon
223
+ 1 1.00 416 808 736 808 2 polygon
224
+ 1 1.00 416 904 736 904 2 polygon
225
+ (3-phase) {/Helvetica 1.000 cf} 2 16 0 256 840 label
226
+ (AC) {/Helvetica 1.000 cf} 2 16 0 296 792 label
227
+ (power) {/Helvetica 1.000 cf} 2 16 0 272 752 label
228
+ 1.00 0 736 712 dot
229
+ 1 1.00 864 552 864 712 2 polygon
230
+ 1.00 0 864 712 dot
231
+ 1 1.00 736 712 736 552 2 polygon
232
+ 1.00 0 672 712 jumper
233
+ 1 1.00 960 904 1024 904 2 polygon
234
+ 1 1.00 960 808 1024 808 2 polygon
235
+ 1 1.00 960 712 1024 712 2 polygon
236
+ 1 1.00 672 696 672 456 736 456 3 polygon
237
+ 1.00 0 928 712 jumper
238
+ 1.00 0 992 712 jumper
239
+ 1.00 0 608 712 jumper
240
+ 1 1.00 672 728 672 808 2 polygon
241
+ 1.00 0 672 808 dot
242
+ 1.00 0 608 808 jumper
243
+ 1.00 0 928 808 jumper
244
+ 1 1.00 928 904 928 824 2 polygon
245
+ 1 1.00 928 792 928 728 2 polygon
246
+ 1 1.00 928 696 928 456 864 456 3 polygon
247
+ 1.00 0 928 904 dot
248
+ 1 1.00 864 360 992 360 992 696 3 polygon
249
+ 1 1.00 992 728 992 808 2 polygon
250
+ 1.00 0 992 808 dot
251
+ 1.00 0 608 904 dot
252
+ 1 1.00 608 904 608 824 2 polygon
253
+ 1 1.00 608 792 608 728 2 polygon
254
+ 1 1.00 608 696 608 360 736 360 3 polygon
255
+ 0.603 0.603 0.603 scb
256
+ 4 1.00 752 968 752 648 848 648 848 968 4 polygon
257
+ 4 1.00 752 616 752 296 848 296 848 616 4 polygon
258
+ sce
259
+ (M1) {/Helvetica 1.000 cf} 2 16 0 776 984 label
260
+ (M2) {/Helvetica 1.000 cf} 2 16 0 776 256 label
261
+ (forward) {/Helvetica-Oblique 1.000 cf} (M1 = ) {/Helvetica 1.000 cf} 4 16 0 1056 552 label
262
+ (reverse) {/Helvetica-Oblique 1.000 cf} (M2 = ) {/Helvetica 1.000 cf} 4 16 0 1056 488 label
263
+ (A) {/Helvetica 1.000 cf} 2 16 0 416 920 label
264
+ (B) {/Helvetica 1.000 cf} 2 16 0 416 824 label
265
+ (C) {/Helvetica 1.000 cf} 2 16 0 416 728 label
266
+ (1) {/Helvetica 1.000 cf} 2 16 0 1240 880 label
267
+ (2) {/Helvetica 1.000 cf} 2 16 0 1232 816 label
268
+ (3) {/Helvetica 1.000 cf} 2 16 0 1232 752 label
269
+ pgsave restore showpage
270
+
271
+ %%Trailer
272
+ XCIRCsave restore
273
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04059.eps ADDED
@@ -0,0 +1,232 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04059.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Wed Aug 22 19:15:11 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 365 178
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /ladder_start {
143
+ % -512 -80 1029 172 bbox
144
+ begingate
145
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 -512 64 label
146
+ 1 1.00 -496 -80 -496 48 2 polygon
147
+ (2) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 480 64 label
148
+ 1 1.00 496 48 496 -80 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /dot {
153
+ % -10 -10 20 20 bbox
154
+ begingate
155
+ 248 1.00 0 0 6 0.00 360.00 xcarc
156
+ endgate
157
+ } def
158
+
159
+ /no_pushbutton {
160
+ % -64 -26 128 58 bbox
161
+ begingate
162
+ 1 1.00 -32 0 32 0 2 polygon
163
+ 1 1.00 0 32 0 0 2 polygon
164
+ 1 1.00 -64 -16 -16 -16 2 polygon
165
+ 1.00 0 -16 -16 dot
166
+ 1 1.00 16 -16 64 -16 2 polygon
167
+ 1.00 0 16 -16 dot
168
+ endgate
169
+ } def
170
+
171
+ /relay_coil {
172
+ % -64 -32 128 64 bbox
173
+ begingate
174
+ 1 1.00 0 0 32 0.00 360.00 xcarc
175
+ 1 1.00 -64 0 -32 0 2 polygon
176
+ 1 1.00 32 0 64 0 2 polygon
177
+ endgate
178
+ } def
179
+
180
+ /no_contact {
181
+ % -64 -32 128 64 bbox
182
+ begingate
183
+ 1 1.00 -64 0 -16 0 2 polygon
184
+ 1 1.00 -16 32 -16 -32 2 polygon
185
+ 1 1.00 16 0 64 0 2 polygon
186
+ 1 1.00 16 32 16 -32 2 polygon
187
+ endgate
188
+ } def
189
+
190
+ /nc_contact {
191
+ % -64 -32 128 64 bbox
192
+ begingate
193
+ 1.00 0 0 0 no_contact
194
+ 1 1.00 32 32 -32 -32 2 polygon
195
+ endgate
196
+ } def
197
+
198
+ %%Page: 1 1
199
+ %%PageOrientation: Portrait
200
+ /pgsave save def bop
201
+ % 784 352 offsets
202
+ 0.7500 inchscale
203
+ 2.6000 setlinewidth
204
+
205
+ 1.00 0 768 528 ladder_start
206
+ 1.00 0 400 464 no_pushbutton
207
+ 1 1.00 272 448 336 448 2 polygon
208
+ 1.00 0 944 448 relay_coil
209
+ 1 1.00 1200 448 1264 448 2 polygon
210
+ 1.00 0 1136 448 nc_contact
211
+ (forward) {/Helvetica 1.000 cf} 2 16 0 336 512 label
212
+ (M1) {/Helvetica 1.000 cf} 2 16 0 912 496 label
213
+ (OL) {/Helvetica 1.000 cf} 2 16 0 1104 496 label
214
+ 1 1.00 1008 448 1072 448 2 polygon
215
+ 1.00 0 944 288 relay_coil
216
+ 1 1.00 1008 288 1056 288 1056 448 3 polygon
217
+ 1.00 0 1056 448 dot
218
+ 1.00 0 400 304 no_pushbutton
219
+ 1 1.00 272 448 272 288 336 288 3 polygon
220
+ 1.00 0 272 448 dot
221
+ 1 1.00 464 288 880 288 2 polygon
222
+ 1 1.00 464 448 880 448 2 polygon
223
+ (M2) {/Helvetica 1.000 cf} 2 16 0 912 336 label
224
+ (reverse) {/Helvetica 1.000 cf} 2 16 0 336 352 label
225
+ (1) {/Helvetica 1.000 cf} 2 16 0 640 464 label
226
+ (2) {/Helvetica 1.000 cf} 2 16 0 640 304 label
227
+ (3) {/Helvetica 1.000 cf} 2 16 0 1040 464 label
228
+ pgsave restore showpage
229
+
230
+ %%Trailer
231
+ XCIRCsave restore
232
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04060.eps ADDED
@@ -0,0 +1,240 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04060.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Wed Aug 22 19:15:51 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 365 178
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /ladder_start {
143
+ % -512 -80 1029 172 bbox
144
+ begingate
145
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 -512 64 label
146
+ 1 1.00 -496 -80 -496 48 2 polygon
147
+ (2) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 480 64 label
148
+ 1 1.00 496 48 496 -80 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /dot {
153
+ % -10 -10 20 20 bbox
154
+ begingate
155
+ 248 1.00 0 0 6 0.00 360.00 xcarc
156
+ endgate
157
+ } def
158
+
159
+ /no_pushbutton {
160
+ % -64 -26 128 58 bbox
161
+ begingate
162
+ 1 1.00 -32 0 32 0 2 polygon
163
+ 1 1.00 0 32 0 0 2 polygon
164
+ 1 1.00 -64 -16 -16 -16 2 polygon
165
+ 1.00 0 -16 -16 dot
166
+ 1 1.00 16 -16 64 -16 2 polygon
167
+ 1.00 0 16 -16 dot
168
+ endgate
169
+ } def
170
+
171
+ /relay_coil {
172
+ % -64 -32 128 64 bbox
173
+ begingate
174
+ 1 1.00 0 0 32 0.00 360.00 xcarc
175
+ 1 1.00 -64 0 -32 0 2 polygon
176
+ 1 1.00 32 0 64 0 2 polygon
177
+ endgate
178
+ } def
179
+
180
+ /no_contact {
181
+ % -64 -32 128 64 bbox
182
+ begingate
183
+ 1 1.00 -64 0 -16 0 2 polygon
184
+ 1 1.00 -16 32 -16 -32 2 polygon
185
+ 1 1.00 16 0 64 0 2 polygon
186
+ 1 1.00 16 32 16 -32 2 polygon
187
+ endgate
188
+ } def
189
+
190
+ /nc_contact {
191
+ % -64 -32 128 64 bbox
192
+ begingate
193
+ 1.00 0 0 0 no_contact
194
+ 1 1.00 32 32 -32 -32 2 polygon
195
+ endgate
196
+ } def
197
+
198
+ %%Page: 04059.eps 1
199
+ %%PageOrientation: Portrait
200
+ /pgsave save def bop
201
+ % 784 352 offsets
202
+ 0.7500 inchscale
203
+ 2.6000 setlinewidth
204
+
205
+ 1.00 0 768 528 ladder_start
206
+ 1.00 0 400 464 no_pushbutton
207
+ 1 1.00 272 448 336 448 2 polygon
208
+ 1.00 0 944 448 relay_coil
209
+ 1 1.00 1200 448 1264 448 2 polygon
210
+ 1.00 0 1136 448 nc_contact
211
+ (forward) {/Helvetica 1.000 cf} 2 16 0 336 512 label
212
+ (M1) {/Helvetica 1.000 cf} 2 16 0 912 496 label
213
+ (OL) {/Helvetica 1.000 cf} 2 16 0 1104 496 label
214
+ 1 1.00 1008 448 1072 448 2 polygon
215
+ 1.00 0 944 288 relay_coil
216
+ 1 1.00 1008 288 1056 288 1056 448 3 polygon
217
+ 1.00 0 1056 448 dot
218
+ 1.00 0 400 304 no_pushbutton
219
+ 1 1.00 272 448 272 288 336 288 3 polygon
220
+ 1.00 0 272 448 dot
221
+ (M2) {/Helvetica 1.000 cf} 2 16 0 912 336 label
222
+ (reverse) {/Helvetica 1.000 cf} 2 16 0 336 352 label
223
+ (1) {/Helvetica 1.000 cf} 2 16 0 784 464 label
224
+ (2) {/Helvetica 1.000 cf} 2 16 0 784 304 label
225
+ (3) {/Helvetica 1.000 cf} 2 16 0 1040 464 label
226
+ 1.00 0 624 448 nc_contact
227
+ 1.00 0 624 288 nc_contact
228
+ (M1) {/Helvetica 1.000 cf} 2 16 0 600 336 label
229
+ (M2) {/Helvetica 1.000 cf} 2 16 0 592 496 label
230
+ 1 1.00 464 448 560 448 2 polygon
231
+ 1 1.00 688 448 880 448 2 polygon
232
+ 1 1.00 880 288 688 288 2 polygon
233
+ 1 1.00 560 288 464 288 2 polygon
234
+ (4) {/Helvetica 1.000 cf} 2 16 0 496 464 label
235
+ (5) {/Helvetica 1.000 cf} 2 16 0 496 304 label
236
+ pgsave restore showpage
237
+
238
+ %%Trailer
239
+ XCIRCsave restore
240
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04061.eps ADDED
@@ -0,0 +1,255 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04061.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Wed Aug 22 19:16:51 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 365 268
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /ladder_start {
143
+ % -512 -80 1029 172 bbox
144
+ begingate
145
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 -512 64 label
146
+ 1 1.00 -496 -80 -496 48 2 polygon
147
+ (2) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 480 64 label
148
+ 1 1.00 496 48 496 -80 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /dot {
153
+ % -10 -10 20 20 bbox
154
+ begingate
155
+ 248 1.00 0 0 6 0.00 360.00 xcarc
156
+ endgate
157
+ } def
158
+
159
+ /no_pushbutton {
160
+ % -64 -26 128 58 bbox
161
+ begingate
162
+ 1 1.00 -32 0 32 0 2 polygon
163
+ 1 1.00 0 32 0 0 2 polygon
164
+ 1 1.00 -64 -16 -16 -16 2 polygon
165
+ 1.00 0 -16 -16 dot
166
+ 1 1.00 16 -16 64 -16 2 polygon
167
+ 1.00 0 16 -16 dot
168
+ endgate
169
+ } def
170
+
171
+ /relay_coil {
172
+ % -64 -32 128 64 bbox
173
+ begingate
174
+ 1 1.00 0 0 32 0.00 360.00 xcarc
175
+ 1 1.00 -64 0 -32 0 2 polygon
176
+ 1 1.00 32 0 64 0 2 polygon
177
+ endgate
178
+ } def
179
+
180
+ /no_contact {
181
+ % -64 -32 128 64 bbox
182
+ begingate
183
+ 1 1.00 -64 0 -16 0 2 polygon
184
+ 1 1.00 -16 32 -16 -32 2 polygon
185
+ 1 1.00 16 0 64 0 2 polygon
186
+ 1 1.00 16 32 16 -32 2 polygon
187
+ endgate
188
+ } def
189
+
190
+ /nc_contact {
191
+ % -64 -32 128 64 bbox
192
+ begingate
193
+ 1.00 0 0 0 no_contact
194
+ 1 1.00 32 32 -32 -32 2 polygon
195
+ endgate
196
+ } def
197
+
198
+ %%Page: 04059.eps 1
199
+ %%PageOrientation: Portrait
200
+ /pgsave save def bop
201
+ % 784 672 offsets
202
+ 0.7500 inchscale
203
+ 2.6000 setlinewidth
204
+
205
+ 1.00 0 768 848 ladder_start
206
+ 1.00 0 400 784 no_pushbutton
207
+ 1 1.00 272 768 336 768 2 polygon
208
+ 1.00 0 944 768 relay_coil
209
+ 1 1.00 1200 768 1264 768 2 polygon
210
+ 1.00 0 1136 768 nc_contact
211
+ (forward) {/Helvetica 1.000 cf} 2 16 0 336 832 label
212
+ (M1) {/Helvetica 1.000 cf} 2 16 0 912 816 label
213
+ (OL) {/Helvetica 1.000 cf} 2 16 0 1104 816 label
214
+ 1 1.00 1008 768 1072 768 2 polygon
215
+ 1.00 0 944 448 relay_coil
216
+ 1 1.00 1008 448 1056 448 1056 608 3 polygon
217
+ 1.00 0 1056 768 dot
218
+ 1.00 0 400 464 no_pushbutton
219
+ 1 1.00 272 608 272 448 336 448 3 polygon
220
+ 1.00 0 272 768 dot
221
+ (M2) {/Helvetica 1.000 cf} 2 16 0 912 496 label
222
+ (reverse) {/Helvetica 1.000 cf} 2 16 0 336 512 label
223
+ (1) {/Helvetica 1.000 cf} 2 16 0 784 784 label
224
+ (2) {/Helvetica 1.000 cf} 2 16 0 784 464 label
225
+ (3) {/Helvetica 1.000 cf} 2 16 0 1040 784 label
226
+ 1.00 0 624 768 nc_contact
227
+ 1.00 0 624 448 nc_contact
228
+ (M1) {/Helvetica 1.000 cf} 2 16 0 600 496 label
229
+ (M2) {/Helvetica 1.000 cf} 2 16 0 592 816 label
230
+ 1 1.00 464 768 560 768 2 polygon
231
+ 1 1.00 688 768 880 768 2 polygon
232
+ 1 1.00 880 448 688 448 2 polygon
233
+ 1 1.00 560 448 464 448 2 polygon
234
+ (4) {/Helvetica 1.000 cf} 2 16 0 496 784 label
235
+ (5) {/Helvetica 1.000 cf} 2 16 0 496 464 label
236
+ 1 1.00 272 768 272 608 2 polygon
237
+ 1.00 0 400 608 no_contact
238
+ 1 1.00 336 608 272 608 2 polygon
239
+ (M1) {/Helvetica 1.000 cf} 2 16 0 376 656 label
240
+ 1 1.00 464 608 512 608 512 768 3 polygon
241
+ 1.00 0 512 768 dot
242
+ 1.00 0 272 608 dot
243
+ 1.00 0 400 288 no_contact
244
+ 1 1.00 464 288 512 288 512 448 3 polygon
245
+ 1 1.00 336 288 272 288 2 polygon
246
+ 1 1.00 272 448 272 288 2 polygon
247
+ 1.00 0 272 448 dot
248
+ 1.00 0 512 448 dot
249
+ (M2) {/Helvetica 1.000 cf} 2 16 0 376 336 label
250
+ 1 1.00 1056 608 1056 768 2 polygon
251
+ pgsave restore showpage
252
+
253
+ %%Trailer
254
+ XCIRCsave restore
255
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04062.eps ADDED
@@ -0,0 +1,273 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04062.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Wed Aug 22 19:17:29 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 365 268
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /ladder_start {
143
+ % -512 -80 1029 172 bbox
144
+ begingate
145
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 -512 64 label
146
+ 1 1.00 -496 -80 -496 48 2 polygon
147
+ (2) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 480 64 label
148
+ 1 1.00 496 48 496 -80 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /dot {
153
+ % -10 -10 20 20 bbox
154
+ begingate
155
+ 248 1.00 0 0 6 0.00 360.00 xcarc
156
+ endgate
157
+ } def
158
+
159
+ /no_pushbutton {
160
+ % -64 -26 128 58 bbox
161
+ begingate
162
+ 1 1.00 -32 0 32 0 2 polygon
163
+ 1 1.00 0 32 0 0 2 polygon
164
+ 1 1.00 -64 -16 -16 -16 2 polygon
165
+ 1.00 0 -16 -16 dot
166
+ 1 1.00 16 -16 64 -16 2 polygon
167
+ 1.00 0 16 -16 dot
168
+ endgate
169
+ } def
170
+
171
+ /relay_coil {
172
+ % -64 -32 128 64 bbox
173
+ begingate
174
+ 1 1.00 0 0 32 0.00 360.00 xcarc
175
+ 1 1.00 -64 0 -32 0 2 polygon
176
+ 1 1.00 32 0 64 0 2 polygon
177
+ endgate
178
+ } def
179
+
180
+ /no_contact {
181
+ % -64 -32 128 64 bbox
182
+ begingate
183
+ 1 1.00 -64 0 -16 0 2 polygon
184
+ 1 1.00 -16 32 -16 -32 2 polygon
185
+ 1 1.00 16 0 64 0 2 polygon
186
+ 1 1.00 16 32 16 -32 2 polygon
187
+ endgate
188
+ } def
189
+
190
+ /nc_contact {
191
+ % -64 -32 128 64 bbox
192
+ begingate
193
+ 1.00 0 0 0 no_contact
194
+ 1 1.00 32 32 -32 -32 2 polygon
195
+ endgate
196
+ } def
197
+
198
+ /nc_pushbutton {
199
+ % -64 -26 128 50 bbox
200
+ begingate
201
+ 1 1.00 16 -16 64 -16 2 polygon
202
+ 1.00 0 16 -16 dot
203
+ 1 1.00 -32 -24 32 -24 2 polygon
204
+ 1 1.00 0 -24 0 24 2 polygon
205
+ 1 1.00 -64 -16 -16 -16 2 polygon
206
+ 1.00 0 -16 -16 dot
207
+ endgate
208
+ } def
209
+
210
+ %%Page: 04059.eps 1
211
+ %%PageOrientation: Portrait
212
+ /pgsave save def bop
213
+ % 784 672 offsets
214
+ 0.7500 inchscale
215
+ 2.6000 setlinewidth
216
+
217
+ 1.00 0 768 848 ladder_start
218
+ 1.00 0 592 784 no_pushbutton
219
+ 1 1.00 464 768 528 768 2 polygon
220
+ 1.00 0 944 768 relay_coil
221
+ 1 1.00 1200 768 1264 768 2 polygon
222
+ 1.00 0 1136 768 nc_contact
223
+ (forward) {/Helvetica 1.000 cf} 2 16 0 528 832 label
224
+ (M1) {/Helvetica 1.000 cf} 2 16 0 912 816 label
225
+ (OL) {/Helvetica 1.000 cf} 2 16 0 1104 816 label
226
+ 1 1.00 1008 768 1072 768 2 polygon
227
+ 1.00 0 944 448 relay_coil
228
+ 1 1.00 1008 448 1056 448 1056 608 3 polygon
229
+ 1.00 0 1056 768 dot
230
+ 1.00 0 592 464 no_pushbutton
231
+ 1 1.00 464 608 464 448 528 448 3 polygon
232
+ (M2) {/Helvetica 1.000 cf} 2 16 0 912 496 label
233
+ (reverse) {/Helvetica 1.000 cf} 2 16 0 528 512 label
234
+ (1) {/Helvetica 1.000 cf} 2 16 0 864 784 label
235
+ (2) {/Helvetica 1.000 cf} 2 16 0 864 464 label
236
+ (3) {/Helvetica 1.000 cf} 2 16 0 1040 784 label
237
+ 1.00 0 816 768 nc_contact
238
+ 1.00 0 816 448 nc_contact
239
+ (M1) {/Helvetica 1.000 cf} 2 16 0 792 496 label
240
+ (M2) {/Helvetica 1.000 cf} 2 16 0 784 816 label
241
+ 1 1.00 656 768 752 768 2 polygon
242
+ 1 1.00 752 448 656 448 2 polygon
243
+ (4) {/Helvetica 1.000 cf} 2 16 0 688 784 label
244
+ (5) {/Helvetica 1.000 cf} 2 16 0 688 464 label
245
+ 1.00 0 592 608 no_contact
246
+ 1 1.00 528 608 464 608 2 polygon
247
+ (M1) {/Helvetica 1.000 cf} 2 16 0 568 656 label
248
+ 1 1.00 656 608 704 608 704 768 3 polygon
249
+ 1.00 0 704 768 dot
250
+ 1.00 0 592 288 no_contact
251
+ 1 1.00 656 288 704 288 704 448 3 polygon
252
+ 1 1.00 528 288 464 288 2 polygon
253
+ 1.00 0 704 448 dot
254
+ (M2) {/Helvetica 1.000 cf} 2 16 0 568 336 label
255
+ 1 1.00 1056 608 1056 768 2 polygon
256
+ 1 1.00 464 768 464 608 2 polygon
257
+ 1.00 0 464 608 dot
258
+ 1.00 0 464 448 dot
259
+ 1 1.00 464 448 464 288 2 polygon
260
+ 1.00 0 368 784 nc_pushbutton
261
+ 1 1.00 272 768 304 768 2 polygon
262
+ 1 1.00 432 768 464 768 2 polygon
263
+ (stop) {/Helvetica 1.000 cf} 2 16 0 336 832 label
264
+ 1.00 0 464 768 dot
265
+ (6) {/Helvetica 1.000 cf} 2 16 0 448 792 label
266
+ (6) {/Helvetica 1.000 cf} 2 16 0 424 600 label
267
+ (6) {/Helvetica 1.000 cf} 2 16 0 424 440 label
268
+ (6) {/Helvetica 1.000 cf} 2 16 0 424 280 label
269
+ pgsave restore showpage
270
+
271
+ %%Trailer
272
+ XCIRCsave restore
273
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04063.eps ADDED
@@ -0,0 +1,308 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04063.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Wed Aug 22 19:18:09 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 365 268
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /ladder_start {
143
+ % -512 -80 1029 172 bbox
144
+ begingate
145
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 -512 64 label
146
+ 1 1.00 -496 -80 -496 48 2 polygon
147
+ (2) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 480 64 label
148
+ 1 1.00 496 48 496 -80 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /relay_coil {
153
+ % -64 -32 128 64 bbox
154
+ begingate
155
+ 1 1.00 0 0 32 0.00 360.00 xcarc
156
+ 1 1.00 -64 0 -32 0 2 polygon
157
+ 1 1.00 32 0 64 0 2 polygon
158
+ endgate
159
+ } def
160
+
161
+ /no_contact {
162
+ % -64 -32 128 64 bbox
163
+ begingate
164
+ 1 1.00 -64 0 -16 0 2 polygon
165
+ 1 1.00 -16 32 -16 -32 2 polygon
166
+ 1 1.00 16 0 64 0 2 polygon
167
+ 1 1.00 16 32 16 -32 2 polygon
168
+ endgate
169
+ } def
170
+
171
+ /nc_contact {
172
+ % -64 -32 128 64 bbox
173
+ begingate
174
+ 1.00 0 0 0 no_contact
175
+ 1 1.00 32 32 -32 -32 2 polygon
176
+ endgate
177
+ } def
178
+
179
+ /dot {
180
+ % -10 -10 20 20 bbox
181
+ begingate
182
+ 248 1.00 0 0 6 0.00 360.00 xcarc
183
+ endgate
184
+ } def
185
+
186
+ /no_pushbutton {
187
+ % -64 -26 128 58 bbox
188
+ begingate
189
+ 1 1.00 -32 0 32 0 2 polygon
190
+ 1 1.00 0 32 0 0 2 polygon
191
+ 1 1.00 -64 -16 -16 -16 2 polygon
192
+ 1.00 0 -16 -16 dot
193
+ 1 1.00 16 -16 64 -16 2 polygon
194
+ 1.00 0 16 -16 dot
195
+ endgate
196
+ } def
197
+
198
+ /nc_pushbutton {
199
+ % -64 -26 128 50 bbox
200
+ begingate
201
+ 1 1.00 16 -16 64 -16 2 polygon
202
+ 1.00 0 16 -16 dot
203
+ 1 1.00 -32 -24 32 -24 2 polygon
204
+ 1 1.00 0 -24 0 24 2 polygon
205
+ 1 1.00 -64 -16 -16 -16 2 polygon
206
+ 1.00 0 -16 -16 dot
207
+ endgate
208
+ } def
209
+
210
+ /nctc {
211
+ % -64 -24 128 36 bbox
212
+ begingate
213
+ 1 1.00 -64 0 -16 0 2 polygon
214
+ 1.00 0 -16 0 dot
215
+ 1 1.00 -16 0 32 12 2 polygon
216
+ 1 1.00 0 -24 0 4 2 polygon
217
+ 1 1.00 -8 -16 0 -24 8 -16 3 polygon
218
+ 1.00 0 16 0 dot
219
+ 1 1.00 16 0 64 0 2 polygon
220
+ endgate
221
+ } def
222
+
223
+ %%Page: 04059.eps 1
224
+ %%PageOrientation: Portrait
225
+ /pgsave save def bop
226
+ % 784 672 offsets
227
+ % 32.00 8.00 gridspace
228
+ 0.7500 inchscale
229
+ 2.6000 setlinewidth
230
+
231
+ 1.00 0 768 848 ladder_start
232
+ 1.00 0 944 768 relay_coil
233
+ 1 1.00 1200 768 1264 768 2 polygon
234
+ 1.00 0 1136 768 nc_contact
235
+ (forward) {/Helvetica 1.000 cf} 2 16 0 480 832 label
236
+ (M1) {/Helvetica 1.000 cf} 2 16 0 912 816 label
237
+ (OL) {/Helvetica 1.000 cf} 2 16 0 1104 816 label
238
+ 1 1.00 1008 768 1072 768 2 polygon
239
+ 1.00 0 944 448 relay_coil
240
+ 1 1.00 1008 448 1056 448 1056 608 3 polygon
241
+ 1.00 0 1056 768 dot
242
+ 1.00 0 528 464 no_pushbutton
243
+ (M2) {/Helvetica 1.000 cf} 2 16 0 912 496 label
244
+ (reverse) {/Helvetica 1.000 cf} 2 16 0 480 512 label
245
+ (1) {/Helvetica 1.000 cf} 2 16 0 864 784 label
246
+ (2) {/Helvetica 1.000 cf} 2 16 0 864 464 label
247
+ (3) {/Helvetica 1.000 cf} 2 16 0 1040 784 label
248
+ 1.00 0 816 768 nc_contact
249
+ 1.00 0 816 448 nc_contact
250
+ (M1) {/Helvetica 1.000 cf} 2 16 0 792 496 label
251
+ (M2) {/Helvetica 1.000 cf} 2 16 0 784 816 label
252
+ (4) {/Helvetica 1.000 cf} 2 16 0 736 784 label
253
+ (5) {/Helvetica 1.000 cf} 2 16 0 736 464 label
254
+ 1.00 0 592 608 no_contact
255
+ 1 1.00 528 608 464 608 2 polygon
256
+ (M1) {/Helvetica 1.000 cf} 2 16 0 568 656 label
257
+ 1 1.00 704 608 752 608 752 768 3 polygon
258
+ 1.00 0 592 288 no_contact
259
+ 1 1.00 704 288 752 288 752 448 3 polygon
260
+ 1 1.00 528 288 464 288 2 polygon
261
+ 1.00 0 752 448 dot
262
+ (M2) {/Helvetica 1.000 cf} 2 16 0 568 336 label
263
+ 1 1.00 1056 608 1056 768 2 polygon
264
+ 1 1.00 464 768 464 608 2 polygon
265
+ 1.00 0 464 608 dot
266
+ 1.00 0 464 448 dot
267
+ 1 1.00 464 448 464 288 2 polygon
268
+ 1.00 0 368 784 nc_pushbutton
269
+ 1 1.00 272 768 304 768 2 polygon
270
+ 1 1.00 432 768 464 768 2 polygon
271
+ (stop) {/Helvetica 1.000 cf} 2 16 0 336 832 label
272
+ 1.00 0 464 768 dot
273
+ (6) {/Helvetica 1.000 cf} 2 16 0 448 792 label
274
+ (6) {/Helvetica 1.000 cf} 2 16 0 424 600 label
275
+ (6) {/Helvetica 1.000 cf} 2 16 0 424 440 label
276
+ (6) {/Helvetica 1.000 cf} 2 16 0 424 280 label
277
+ 1.00 0 944 608 relay_coil
278
+ 1.00 0 944 288 relay_coil
279
+ 1 1.00 1008 608 1056 608 2 polygon
280
+ 1.00 0 1056 608 dot
281
+ 1.00 0 1056 448 dot
282
+ 1 1.00 1056 448 1056 288 1008 288 3 polygon
283
+ 1 1.00 880 288 880 448 2 polygon
284
+ 1.00 0 880 448 dot
285
+ 1 1.00 880 608 880 768 2 polygon
286
+ 1.00 0 880 768 dot
287
+ (TD1) {/Helvetica 1.000 cf} 2 16 0 912 656 label
288
+ (TD2) {/Helvetica 1.000 cf} 2 16 0 912 336 label
289
+ 1.00 0 672 768 nctc
290
+ 1.00 0 528 784 no_pushbutton
291
+ 1 1.00 592 768 608 768 2 polygon
292
+ 1 1.00 736 768 752 768 2 polygon
293
+ 1.00 0 752 768 dot
294
+ 1 1.00 656 608 704 608 2 polygon
295
+ 1 1.00 464 608 464 448 2 polygon
296
+ 1.00 0 672 448 nctc
297
+ 1 1.00 592 448 608 448 2 polygon
298
+ 1 1.00 736 448 752 448 2 polygon
299
+ 1 1.00 656 288 704 288 2 polygon
300
+ (TD2) {/Helvetica 1.000 cf} 2 16 0 632 792 label
301
+ (TD1) {/Helvetica 1.000 cf} 2 16 0 632 472 label
302
+ (7) {/Helvetica 1.000 cf} 2 16 0 584 784 label
303
+ (8) {/Helvetica 1.000 cf} 2 16 0 584 464 label
304
+ pgsave restore showpage
305
+
306
+ %%Trailer
307
+ XCIRCsave restore
308
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04064.eps ADDED
@@ -0,0 +1,303 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04064.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Wed Aug 22 19:18:44 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 365 268
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /ladder_start {
143
+ % -512 -80 1029 172 bbox
144
+ begingate
145
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 -512 64 label
146
+ 1 1.00 -496 -80 -496 48 2 polygon
147
+ (2) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 480 64 label
148
+ 1 1.00 496 48 496 -80 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /relay_coil {
153
+ % -64 -32 128 64 bbox
154
+ begingate
155
+ 1 1.00 0 0 32 0.00 360.00 xcarc
156
+ 1 1.00 -64 0 -32 0 2 polygon
157
+ 1 1.00 32 0 64 0 2 polygon
158
+ endgate
159
+ } def
160
+
161
+ /no_contact {
162
+ % -64 -32 128 64 bbox
163
+ begingate
164
+ 1 1.00 -64 0 -16 0 2 polygon
165
+ 1 1.00 -16 32 -16 -32 2 polygon
166
+ 1 1.00 16 0 64 0 2 polygon
167
+ 1 1.00 16 32 16 -32 2 polygon
168
+ endgate
169
+ } def
170
+
171
+ /nc_contact {
172
+ % -64 -32 128 64 bbox
173
+ begingate
174
+ 1.00 0 0 0 no_contact
175
+ 1 1.00 32 32 -32 -32 2 polygon
176
+ endgate
177
+ } def
178
+
179
+ /dot {
180
+ % -10 -10 20 20 bbox
181
+ begingate
182
+ 248 1.00 0 0 6 0.00 360.00 xcarc
183
+ endgate
184
+ } def
185
+
186
+ /no_pushbutton {
187
+ % -64 -26 128 58 bbox
188
+ begingate
189
+ 1 1.00 -32 0 32 0 2 polygon
190
+ 1 1.00 0 32 0 0 2 polygon
191
+ 1 1.00 -64 -16 -16 -16 2 polygon
192
+ 1.00 0 -16 -16 dot
193
+ 1 1.00 16 -16 64 -16 2 polygon
194
+ 1.00 0 16 -16 dot
195
+ endgate
196
+ } def
197
+
198
+ /nc_pushbutton {
199
+ % -64 -26 128 50 bbox
200
+ begingate
201
+ 1 1.00 16 -16 64 -16 2 polygon
202
+ 1.00 0 16 -16 dot
203
+ 1 1.00 -32 -24 32 -24 2 polygon
204
+ 1 1.00 0 -24 0 24 2 polygon
205
+ 1 1.00 -64 -16 -16 -16 2 polygon
206
+ 1.00 0 -16 -16 dot
207
+ endgate
208
+ } def
209
+
210
+ /nctc {
211
+ % -64 -24 128 36 bbox
212
+ begingate
213
+ 1 1.00 -64 0 -16 0 2 polygon
214
+ 1.00 0 -16 0 dot
215
+ 1 1.00 -16 0 32 12 2 polygon
216
+ 1 1.00 0 -24 0 4 2 polygon
217
+ 1 1.00 -8 -16 0 -24 8 -16 3 polygon
218
+ 1.00 0 16 0 dot
219
+ 1 1.00 16 0 64 0 2 polygon
220
+ endgate
221
+ } def
222
+
223
+ %%Page: 04059.eps 1
224
+ %%PageOrientation: Portrait
225
+ /pgsave save def bop
226
+ % 784 672 offsets
227
+ 0.7500 inchscale
228
+ 2.6000 setlinewidth
229
+
230
+ 1.00 0 768 848 ladder_start
231
+ 1.00 0 944 768 relay_coil
232
+ 1 1.00 1200 768 1264 768 2 polygon
233
+ 1.00 0 1136 768 nc_contact
234
+ (forward) {/Helvetica 1.000 cf} 2 16 0 528 832 label
235
+ (M1) {/Helvetica 1.000 cf} 2 16 0 912 816 label
236
+ (OL) {/Helvetica 1.000 cf} 2 16 0 1104 816 label
237
+ 1 1.00 1008 768 1072 768 2 polygon
238
+ 1.00 0 944 448 relay_coil
239
+ 1 1.00 1008 448 1056 448 1056 608 3 polygon
240
+ 1.00 0 1056 768 dot
241
+ 1.00 0 592 464 no_pushbutton
242
+ (M2) {/Helvetica 1.000 cf} 2 16 0 912 496 label
243
+ (reverse) {/Helvetica 1.000 cf} 2 16 0 528 512 label
244
+ (1) {/Helvetica 1.000 cf} 2 16 0 864 784 label
245
+ (2) {/Helvetica 1.000 cf} 2 16 0 864 464 label
246
+ (3) {/Helvetica 1.000 cf} 2 16 0 1040 784 label
247
+ (4) {/Helvetica 1.000 cf} 2 16 0 672 784 label
248
+ (5) {/Helvetica 1.000 cf} 2 16 0 672 464 label
249
+ 1.00 0 592 608 no_contact
250
+ 1 1.00 528 608 464 608 2 polygon
251
+ (M1) {/Helvetica 1.000 cf} 2 16 0 568 656 label
252
+ 1.00 0 592 288 no_contact
253
+ 1 1.00 528 288 464 288 2 polygon
254
+ (M2) {/Helvetica 1.000 cf} 2 16 0 568 336 label
255
+ 1 1.00 1056 608 1056 768 2 polygon
256
+ 1 1.00 464 768 464 608 2 polygon
257
+ 1.00 0 464 608 dot
258
+ 1.00 0 464 448 dot
259
+ 1 1.00 464 448 464 288 2 polygon
260
+ 1.00 0 368 784 nc_pushbutton
261
+ 1 1.00 272 768 304 768 2 polygon
262
+ 1 1.00 432 768 464 768 2 polygon
263
+ (stop) {/Helvetica 1.000 cf} 2 16 0 336 832 label
264
+ 1.00 0 464 768 dot
265
+ (6) {/Helvetica 1.000 cf} 2 16 0 448 792 label
266
+ (6) {/Helvetica 1.000 cf} 2 16 0 424 600 label
267
+ (6) {/Helvetica 1.000 cf} 2 16 0 424 440 label
268
+ (6) {/Helvetica 1.000 cf} 2 16 0 424 280 label
269
+ 1.00 0 944 608 relay_coil
270
+ 1.00 0 944 288 relay_coil
271
+ 1 1.00 1008 608 1056 608 2 polygon
272
+ 1.00 0 1056 608 dot
273
+ 1.00 0 1056 448 dot
274
+ 1 1.00 1056 448 1056 288 1008 288 3 polygon
275
+ 1 1.00 880 288 880 448 2 polygon
276
+ 1.00 0 880 448 dot
277
+ 1 1.00 880 608 880 768 2 polygon
278
+ 1.00 0 880 768 dot
279
+ (TD1) {/Helvetica 1.000 cf} 2 16 0 912 656 label
280
+ (TD2) {/Helvetica 1.000 cf} 2 16 0 912 336 label
281
+ 1.00 0 784 768 nctc
282
+ 1.00 0 592 784 no_pushbutton
283
+ 1 1.00 464 608 464 448 2 polygon
284
+ 1.00 0 784 448 nctc
285
+ (TD2) {/Helvetica 1.000 cf} 2 16 0 744 792 label
286
+ (TD1) {/Helvetica 1.000 cf} 2 16 0 744 472 label
287
+ 1 1.00 656 768 688 768 2 polygon
288
+ 1 1.00 464 768 528 768 2 polygon
289
+ 1 1.00 464 448 528 448 2 polygon
290
+ 1 1.00 656 448 688 448 2 polygon
291
+ 1 1.00 688 768 688 608 656 608 3 polygon
292
+ 1.00 0 688 768 dot
293
+ 1.00 0 688 448 dot
294
+ 1 1.00 688 448 688 288 656 288 3 polygon
295
+ 1 1.00 848 768 880 768 2 polygon
296
+ 1 1.00 720 768 688 768 2 polygon
297
+ 1 1.00 688 448 720 448 2 polygon
298
+ 1 1.00 848 448 880 448 2 polygon
299
+ pgsave restore showpage
300
+
301
+ %%Trailer
302
+ XCIRCsave restore
303
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04067.eps ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04067.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Wed Aug 22 19:21:20 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 365 178
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /ladder_start {
143
+ % -512 -80 1029 172 bbox
144
+ begingate
145
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 -512 64 label
146
+ 1 1.00 -496 -80 -496 48 2 polygon
147
+ (2) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 480 64 label
148
+ 1 1.00 496 48 496 -80 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /solenoid_coil {
153
+ % -64 -32 128 64 bbox
154
+ begingate
155
+ 1 1.00 -32 0 -16 32 16 -32 32 0 4 polygon
156
+ 1 1.00 32 0 64 0 2 polygon
157
+ 1 1.00 -64 0 -32 0 2 polygon
158
+ endgate
159
+ } def
160
+
161
+ /dot {
162
+ % -10 -10 20 20 bbox
163
+ begingate
164
+ 248 1.00 0 0 6 0.00 360.00 xcarc
165
+ endgate
166
+ } def
167
+
168
+ /toggle_nc {
169
+ % -64 -10 128 20 bbox
170
+ begingate
171
+ 1 1.00 -16 0 24 8 2 polygon
172
+ 1.00 0 -16 0 dot
173
+ 1 1.00 -64 0 -16 0 2 polygon
174
+ 1.00 0 16 0 dot
175
+ 1 1.00 16 0 64 0 2 polygon
176
+ endgate
177
+ } def
178
+
179
+ /relay_coil {
180
+ % -64 -32 128 64 bbox
181
+ begingate
182
+ 1 1.00 0 0 32 0.00 360.00 xcarc
183
+ 1 1.00 -64 0 -32 0 2 polygon
184
+ 1 1.00 32 0 64 0 2 polygon
185
+ endgate
186
+ } def
187
+
188
+ /no_contact {
189
+ % -64 -32 128 64 bbox
190
+ begingate
191
+ 1 1.00 -64 0 -16 0 2 polygon
192
+ 1 1.00 -16 32 -16 -32 2 polygon
193
+ 1 1.00 16 0 64 0 2 polygon
194
+ 1 1.00 16 32 16 -32 2 polygon
195
+ endgate
196
+ } def
197
+
198
+ /nc_contact {
199
+ % -64 -32 128 64 bbox
200
+ begingate
201
+ 1.00 0 0 0 no_contact
202
+ 1 1.00 32 32 -32 -32 2 polygon
203
+ endgate
204
+ } def
205
+
206
+ %%Page: 1 1
207
+ %%PageOrientation: Portrait
208
+ /pgsave save def bop
209
+ % 752 384 offsets
210
+ 0.7500 inchscale
211
+ 2.6000 setlinewidth
212
+
213
+ 1.00 0 768 528 ladder_start
214
+ 1.00 0 1136 288 solenoid_coil
215
+ 1.00 0 400 448 toggle_nc
216
+ 1.00 0 560 448 toggle_nc
217
+ 1.00 0 720 448 toggle_nc
218
+ 1.00 0 880 448 toggle_nc
219
+ 1 1.00 272 448 336 448 2 polygon
220
+ 1 1.00 464 448 496 448 2 polygon
221
+ 1 1.00 624 448 656 448 2 polygon
222
+ 1 1.00 784 448 816 448 2 polygon
223
+ 1.00 0 1136 448 relay_coil
224
+ 1 1.00 1200 448 1264 448 2 polygon
225
+ 1 1.00 944 448 1072 448 2 polygon
226
+ 1 1.00 1264 448 1264 288 1200 288 3 polygon
227
+ 1.00 0 1264 448 dot
228
+ 1 1.00 272 448 272 288 336 288 3 polygon
229
+ 1.00 0 400 288 nc_contact
230
+ 1 1.00 464 288 1072 288 2 polygon
231
+ (switch 1) {/Helvetica 1.000 cf} 2 16 0 336 480 label
232
+ (switch 2) {/Helvetica 1.000 cf} 2 16 0 496 400 label
233
+ (switch 3) {/Helvetica 1.000 cf} 2 16 0 656 480 label
234
+ (switch 4) {/Helvetica 1.000 cf} 2 16 0 816 400 label
235
+ (CR1) {/Helvetica 1.000 cf} 2 16 0 1096 496 label
236
+ (CR1) {/Helvetica 1.000 cf} 2 16 0 360 336 label
237
+ (siren) {/Helvetica 1.000 cf} 2 16 0 1088 344 label
238
+ 1.00 0 272 448 dot
239
+ pgsave restore showpage
240
+
241
+ %%Trailer
242
+ XCIRCsave restore
243
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04068.eps ADDED
@@ -0,0 +1,295 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04068.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 08:41:03 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 288 268
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman font Symbol
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /arrowhead {
144
+ % -12 -32 24 36 bbox
145
+ begingate
146
+ 8 -28 beginpath
147
+ 3 -18 3 -15 0 0 curveto
148
+ -3 -15 -3 -18 -8 -28 curveto
149
+ -2 -26 2 -26 8 -28 curveto
150
+ 249 1.00 endpath
151
+ endgate
152
+ } def
153
+
154
+ /npn {
155
+ % -64 -64 72 128 bbox
156
+ begingate
157
+ % fundamental
158
+ 1 1.00 -48 0 -64 0 2 polygon
159
+ 1 1.00 -48 48 -48 -48 2 polygon
160
+ 1 1.00 0 48 -48 22 2 polygon
161
+ 1 1.00 0 48 0 64 2 polygon
162
+ 1 1.00 0 -48 -48 -22 2 polygon
163
+ 1 1.00 0 -48 0 -64 2 polygon
164
+ 1.00 240 0 -48 arrowhead
165
+ 1.000 0.000 0.000 scb
166
+ (C) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
167
+ (B) {/Times-Roman 1.000 cf} 2 7 0 -64 0 pinlabel
168
+ (E) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
169
+ sce
170
+ 0.000 1.000 0.000 scb
171
+ (spice:Q%i %pC %pB %pE npn) {/Times-Roman 1.000 cf} 2 4 0 -244 -139 infolabel
172
+ (sim:b %pB %pE %pC) {/Times-Roman 1.000 cf} 2 4 0 -244 -187 infolabel
173
+ sce
174
+ endgate
175
+ } def
176
+
177
+ /resistor {
178
+ % -14 -64 28 128 bbox
179
+ begingate
180
+ % fundamental
181
+ 1 1.00 0 64 0 36 2 polygon
182
+ 1 1.00 0 -64 0 -36 2 polygon
183
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
184
+ 1.000 0.000 0.000 scb
185
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
186
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
187
+ sce
188
+ 0.000 1.000 0.000 scb
189
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
190
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
191
+ sce
192
+ endgate
193
+ } def
194
+
195
+ /dot {
196
+ % -10 -10 20 20 bbox
197
+ begingate
198
+ 248 1.00 0 0 6 0.00 360.00 xcarc
199
+ endgate
200
+ } def
201
+
202
+ /spdt_toggle {
203
+ % -64 -32 128 64 bbox
204
+ begingate
205
+ 1.00 0 16 16 dot
206
+ 1 1.00 16 16 16 32 64 32 3 polygon
207
+ 1.00 0 16 -16 dot
208
+ 1 1.00 16 -16 16 -32 64 -32 3 polygon
209
+ 1 1.00 -16 0 32 -16 2 polygon
210
+ 1 1.00 -64 0 -16 0 2 polygon
211
+ 1.00 0 -16 0 dot
212
+ endgate
213
+ } def
214
+
215
+ /battery {
216
+ % -32 -64 64 128 bbox
217
+ begingate
218
+ % fundamental
219
+ 1 1.00 -32 32 32 32 2 polygon
220
+ 1 1.00 0 64 0 32 2 polygon
221
+ 1 1.00 -16 12 16 12 2 polygon
222
+ 1 1.00 -16 -28 16 -28 2 polygon
223
+ 1 1.00 -32 -8 32 -8 2 polygon
224
+ 1 1.00 0 -64 0 -28 2 polygon
225
+ 1.000 0.000 0.000 scb
226
+ (b.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
227
+ (b.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
228
+ sce
229
+ endgate
230
+ } def
231
+
232
+ /arrow {
233
+ % -12 -40 24 80 bbox
234
+ begingate
235
+ 1 0.80 0 -40 0 20 2 polygon
236
+ 1.00 0 0 40 arrowhead
237
+ endgate
238
+ } def
239
+
240
+ /gnd {
241
+ % -32 -60 64 68 bbox
242
+ begingate
243
+ 1 1.00 0 0 0 -32 2 polygon
244
+ 1 1.00 -32 -32 32 -32 2 polygon
245
+ 1 1.00 -18 -46 18 -46 2 polygon
246
+ 1 1.00 -4 -60 4 -60 2 polygon
247
+ 1.000 0.000 0.000 scb
248
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
249
+ sce
250
+ endgate
251
+ } def
252
+
253
+ %%Page: 1 1
254
+ %%PageOrientation: Portrait
255
+ /pgsave save def bop
256
+ % 608 608 offsets
257
+ 0.7500 inchscale
258
+ 2.6000 setlinewidth
259
+
260
+ 1.00 0 608 608 npn
261
+ 1.00 0 608 768 resistor
262
+ 1 1.00 608 704 608 672 2 polygon
263
+ 1.00 270 448 608 resistor
264
+ 1 1.00 512 608 544 608 2 polygon
265
+ 1 1.00 608 544 608 480 2 polygon
266
+ 1.00 180 320 608 spdt_toggle
267
+ 1.00 0 896 656 battery
268
+ 1 1.00 608 832 896 832 896 720 3 polygon
269
+ 1 1.00 896 592 896 480 256 480 256 576 4 polygon
270
+ 1.00 0 608 480 dot
271
+ 1.00 0 608 832 dot
272
+ 1 1.00 608 832 256 832 256 640 3 polygon
273
+ (5 V) {/Times-Roman 1.000 cf} 2 16 0 944 656 label
274
+ 1 1.00 608 688 704 688 2 polygon
275
+ 1.00 0 608 688 dot
276
+ ( = 5 V) {ns} (in) {ss} (V) {/Times-Roman 1.000 cf} 6 16 0 336 532 label
277
+ 0 1.00 332 566 332 518 508 518 508 566 4 polygon
278
+ 1.00 60 392 584 arrow
279
+ 1.00 120 388 500 arrow
280
+ (0 V) {/Times-Roman 1.000 cf} (\273 ) {/Symbol 1.000 cf} ( ) {ns} {Ss} (out) {ss} (V)
281
+ {/Times-Roman 1.000 cf} 11 16 0 648 580 label
282
+ 0 1.00 640 612 640 564 848 564 848 612 4 polygon
283
+ 1.00 30 724 652 arrow
284
+ 1.00 165 732 520 arrow
285
+ 1.00 0 608 480 gnd
286
+ ("low" logic level \(0\)) {/Helvetica 1.000 cf} (0 V = ) {/Times-Roman 1.000 cf} 4 16 0 384 320 label
287
+ ("high" input) {/Helvetica 1.000 cf} 2 16 0 320 416 label
288
+ ("high" logic level \(1\)) {/Helvetica 1.000 cf} (5 V = ) {/Times-Roman 1.000 cf} 4 16 0 384 256 label
289
+ ("low" output) {/Helvetica 1.000 cf} 2 16 0 672 416 label
290
+ (Transistor in saturation) {/Helvetica-Oblique 1.000 cf} 2 16 0 400 912 label
291
+ pgsave restore showpage
292
+
293
+ %%Trailer
294
+ XCIRCsave restore
295
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04069.eps ADDED
@@ -0,0 +1,294 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04069.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 08:42:13 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 288 268
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /arrowhead {
144
+ % -12 -32 24 36 bbox
145
+ begingate
146
+ 8 -28 beginpath
147
+ 3 -18 3 -15 0 0 curveto
148
+ -3 -15 -3 -18 -8 -28 curveto
149
+ -2 -26 2 -26 8 -28 curveto
150
+ 249 1.00 endpath
151
+ endgate
152
+ } def
153
+
154
+ /npn {
155
+ % -64 -64 72 128 bbox
156
+ begingate
157
+ % fundamental
158
+ 1 1.00 -48 0 -64 0 2 polygon
159
+ 1 1.00 -48 48 -48 -48 2 polygon
160
+ 1 1.00 0 48 -48 22 2 polygon
161
+ 1 1.00 0 48 0 64 2 polygon
162
+ 1 1.00 0 -48 -48 -22 2 polygon
163
+ 1 1.00 0 -48 0 -64 2 polygon
164
+ 1.00 240 0 -48 arrowhead
165
+ 1.000 0.000 0.000 scb
166
+ (C) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
167
+ (B) {/Times-Roman 1.000 cf} 2 7 0 -64 0 pinlabel
168
+ (E) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
169
+ sce
170
+ 0.000 1.000 0.000 scb
171
+ (spice:Q%i %pC %pB %pE npn) {/Times-Roman 1.000 cf} 2 4 0 -244 -139 infolabel
172
+ (sim:b %pB %pE %pC) {/Times-Roman 1.000 cf} 2 4 0 -244 -187 infolabel
173
+ sce
174
+ endgate
175
+ } def
176
+
177
+ /resistor {
178
+ % -14 -64 28 128 bbox
179
+ begingate
180
+ % fundamental
181
+ 1 1.00 0 64 0 36 2 polygon
182
+ 1 1.00 0 -64 0 -36 2 polygon
183
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
184
+ 1.000 0.000 0.000 scb
185
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
186
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
187
+ sce
188
+ 0.000 1.000 0.000 scb
189
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
190
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
191
+ sce
192
+ endgate
193
+ } def
194
+
195
+ /dot {
196
+ % -10 -10 20 20 bbox
197
+ begingate
198
+ 248 1.00 0 0 6 0.00 360.00 xcarc
199
+ endgate
200
+ } def
201
+
202
+ /spdt_toggle {
203
+ % -64 -32 128 64 bbox
204
+ begingate
205
+ 1.00 0 16 16 dot
206
+ 1 1.00 16 16 16 32 64 32 3 polygon
207
+ 1.00 0 16 -16 dot
208
+ 1 1.00 16 -16 16 -32 64 -32 3 polygon
209
+ 1 1.00 -16 0 32 -16 2 polygon
210
+ 1 1.00 -64 0 -16 0 2 polygon
211
+ 1.00 0 -16 0 dot
212
+ endgate
213
+ } def
214
+
215
+ /battery {
216
+ % -32 -64 64 128 bbox
217
+ begingate
218
+ % fundamental
219
+ 1 1.00 -32 32 32 32 2 polygon
220
+ 1 1.00 0 64 0 32 2 polygon
221
+ 1 1.00 -16 12 16 12 2 polygon
222
+ 1 1.00 -16 -28 16 -28 2 polygon
223
+ 1 1.00 -32 -8 32 -8 2 polygon
224
+ 1 1.00 0 -64 0 -28 2 polygon
225
+ 1.000 0.000 0.000 scb
226
+ (b.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
227
+ (b.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
228
+ sce
229
+ endgate
230
+ } def
231
+
232
+ /arrow {
233
+ % -12 -40 24 80 bbox
234
+ begingate
235
+ 1 0.80 0 -40 0 20 2 polygon
236
+ 1.00 0 0 40 arrowhead
237
+ endgate
238
+ } def
239
+
240
+ /gnd {
241
+ % -32 -60 64 68 bbox
242
+ begingate
243
+ 1 1.00 0 0 0 -32 2 polygon
244
+ 1 1.00 -32 -32 32 -32 2 polygon
245
+ 1 1.00 -18 -46 18 -46 2 polygon
246
+ 1 1.00 -4 -60 4 -60 2 polygon
247
+ 1.000 0.000 0.000 scb
248
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
249
+ sce
250
+ endgate
251
+ } def
252
+
253
+ %%Page: 04068.eps 1
254
+ %%PageOrientation: Portrait
255
+ /pgsave save def bop
256
+ % 608 608 offsets
257
+ 0.7500 inchscale
258
+ 2.6000 setlinewidth
259
+
260
+ 1.00 0 608 608 npn
261
+ 1.00 0 608 768 resistor
262
+ 1 1.00 608 704 608 672 2 polygon
263
+ 1.00 270 448 608 resistor
264
+ 1 1.00 512 608 544 608 2 polygon
265
+ 1 1.00 608 544 608 480 2 polygon
266
+ 1.00 -1 320 608 spdt_toggle
267
+ 1.00 0 896 656 battery
268
+ 1 1.00 608 832 896 832 896 720 3 polygon
269
+ 1 1.00 896 592 896 480 256 480 256 576 4 polygon
270
+ 1.00 0 608 480 dot
271
+ 1.00 0 608 832 dot
272
+ 1 1.00 608 832 256 832 256 640 3 polygon
273
+ (5 V) {/Times-Roman 1.000 cf} 2 16 0 944 656 label
274
+ 1 1.00 608 688 704 688 2 polygon
275
+ 1.00 0 608 688 dot
276
+ 0 1.00 332 566 332 518 508 518 508 566 4 polygon
277
+ 1.00 60 392 584 arrow
278
+ 1.00 120 388 500 arrow
279
+ 0 1.00 640 612 640 564 848 564 848 612 4 polygon
280
+ 1.00 30 724 652 arrow
281
+ 1.00 165 732 520 arrow
282
+ 1.00 0 608 480 gnd
283
+ ("low" logic level \(0\)) {/Helvetica 1.000 cf} (0 V = ) {/Times-Roman 1.000 cf} 4 16 0 384 320 label
284
+ ( = 0 V) {ns} (in) {ss} (V) {/Times-Roman 1.000 cf} 6 16 0 336 528 label
285
+ ( = 5 V) {ns} (out) {ss} (V) {/Times-Roman 1.000 cf} 6 16 0 656 576 label
286
+ ("low" input) {/Helvetica 1.000 cf} 2 16 0 320 416 label
287
+ ("high" output) {/Helvetica 1.000 cf} 2 16 0 672 416 label
288
+ ("high" logic level \(1\)) {/Helvetica 1.000 cf} (5 V = ) {/Times-Roman 1.000 cf} 4 16 0 384 256 label
289
+ (Transistor in cutoff) {/Helvetica-Oblique 1.000 cf} 2 16 0 432 912 label
290
+ pgsave restore showpage
291
+
292
+ %%Trailer
293
+ XCIRCsave restore
294
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04070.eps ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04070.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 08:42:52 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 203 126
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /invert {
143
+ % -48 -40 112 80 bbox
144
+ begingate
145
+ 0 1.00 -32 -40 -32 40 40 0 3 polygon
146
+ 1 1.00 48 0 8 0.00 360.00 xcarc
147
+ 1 1.00 -32 0 -48 0 2 polygon
148
+ 1 1.00 56 0 64 0 2 polygon
149
+ 1.000 0.000 0.000 scb
150
+ (Out) {/Helvetica 1.000 cf} 2 4 0 64 0 pinlabel
151
+ (In) {/Helvetica 1.000 cf} 2 7 0 -48 0 pinlabel
152
+ sce
153
+ endgate
154
+ } def
155
+
156
+ %%Page: 1 1
157
+ %%PageOrientation: Portrait
158
+ /pgsave save def bop
159
+ % 464 296 offsets
160
+ 0.7500 inchscale
161
+ 2.6000 setlinewidth
162
+
163
+ 1.00 0 464 296 invert
164
+ (Inverter, or NOT gate) {/Helvetica-Oblique 1.000 cf} 2 16 0 288 408 label
165
+ 1 1.00 416 296 368 296 2 polygon
166
+ 1 1.00 528 296 576 296 2 polygon
167
+ (Input) {/Helvetica 1.000 cf} 2 16 0 256 280 label
168
+ (Output) {/Helvetica 1.000 cf} 2 16 0 592 280 label
169
+ pgsave restore showpage
170
+
171
+ %%Trailer
172
+ XCIRCsave restore
173
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04071.eps ADDED
@@ -0,0 +1,262 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04071.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 08:44:22 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 288 206
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /dot {
143
+ % -10 -10 20 20 bbox
144
+ begingate
145
+ 248 1.00 0 0 6 0.00 360.00 xcarc
146
+ endgate
147
+ } def
148
+
149
+ /spdt_toggle {
150
+ % -64 -32 128 64 bbox
151
+ begingate
152
+ 1.00 0 16 16 dot
153
+ 1 1.00 16 16 16 32 64 32 3 polygon
154
+ 1.00 0 16 -16 dot
155
+ 1 1.00 16 -16 16 -32 64 -32 3 polygon
156
+ 1 1.00 -16 0 32 -16 2 polygon
157
+ 1 1.00 -64 0 -16 0 2 polygon
158
+ 1.00 0 -16 0 dot
159
+ endgate
160
+ } def
161
+
162
+ /battery {
163
+ % -32 -64 64 128 bbox
164
+ begingate
165
+ % fundamental
166
+ 1 1.00 -32 32 32 32 2 polygon
167
+ 1 1.00 0 64 0 32 2 polygon
168
+ 1 1.00 -16 12 16 12 2 polygon
169
+ 1 1.00 -16 -28 16 -28 2 polygon
170
+ 1 1.00 -32 -8 32 -8 2 polygon
171
+ 1 1.00 0 -64 0 -28 2 polygon
172
+ 1.000 0.000 0.000 scb
173
+ (b.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
174
+ (b.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
175
+ sce
176
+ endgate
177
+ } def
178
+
179
+ /arrowhead {
180
+ % -12 -32 24 36 bbox
181
+ begingate
182
+ 8 -28 beginpath
183
+ 3 -18 3 -15 0 0 curveto
184
+ -3 -15 -3 -18 -8 -28 curveto
185
+ -2 -26 2 -26 8 -28 curveto
186
+ 249 1.00 endpath
187
+ endgate
188
+ } def
189
+
190
+ /arrow {
191
+ % -12 -40 24 80 bbox
192
+ begingate
193
+ 1 0.80 0 -40 0 20 2 polygon
194
+ 1.00 0 0 40 arrowhead
195
+ endgate
196
+ } def
197
+
198
+ /gnd {
199
+ % -32 -60 64 68 bbox
200
+ begingate
201
+ 1 1.00 0 0 0 -32 2 polygon
202
+ 1 1.00 -32 -32 32 -32 2 polygon
203
+ 1 1.00 -18 -46 18 -46 2 polygon
204
+ 1 1.00 -4 -60 4 -60 2 polygon
205
+ 1.000 0.000 0.000 scb
206
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
207
+ sce
208
+ endgate
209
+ } def
210
+
211
+ /invert {
212
+ % -48 -40 112 80 bbox
213
+ begingate
214
+ 0 1.00 -32 -40 -32 40 40 0 3 polygon
215
+ 1 1.00 48 0 8 0.00 360.00 xcarc
216
+ 1 1.00 -32 0 -48 0 2 polygon
217
+ 1 1.00 56 0 64 0 2 polygon
218
+ 1.000 0.000 0.000 scb
219
+ (Out) {/Helvetica 1.000 cf} 2 4 0 64 0 pinlabel
220
+ (In) {/Helvetica 1.000 cf} 2 7 0 -48 0 pinlabel
221
+ sce
222
+ endgate
223
+ } def
224
+
225
+ %%Page: 04068.eps 1
226
+ %%PageOrientation: Portrait
227
+ /pgsave save def bop
228
+ % 608 444 offsets
229
+ % 32.00 8.00 gridspace
230
+ 0.7500 inchscale
231
+ 2.6000 setlinewidth
232
+
233
+ 1 1.00 608 380 608 316 2 polygon
234
+ 1.00 -1 320 444 spdt_toggle
235
+ 1.00 0 896 492 battery
236
+ 1 1.00 608 668 896 668 896 556 3 polygon
237
+ 1 1.00 896 428 896 316 256 316 256 412 4 polygon
238
+ 1.00 0 608 316 dot
239
+ 1.00 0 608 668 dot
240
+ 1 1.00 608 668 256 668 256 476 3 polygon
241
+ (5 V) {/Times-Roman 1.000 cf} 2 16 0 944 492 label
242
+ 1.00 60 392 421 arrow
243
+ 1.00 120 392 336 arrow
244
+ 1.00 0 608 316 gnd
245
+ 1.00 0 608 444 invert
246
+ 1 1.00 384 444 560 444 2 polygon
247
+ 1 1.00 608 668 608 468 2 polygon
248
+ 1 1.00 608 420 608 380 2 polygon
249
+ (in) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 436 372 label
250
+ 0 1.00 428 404 428 356 508 356 508 404 4 polygon
251
+ (out) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 768 372 label
252
+ 0 1.00 764 404 764 356 844 356 844 404 4 polygon
253
+ 1.00 60 728 421 arrow
254
+ 1.00 120 728 336 arrow
255
+ 1 1.00 672 444 688 444 2 polygon
256
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 864 692 label
257
+ (Ground) {/Times-Roman 1.000 cf} 2 16 0 832 268 label
258
+ pgsave restore showpage
259
+
260
+ %%Trailer
261
+ XCIRCsave restore
262
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04072.eps ADDED
@@ -0,0 +1,216 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04072.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 08:45:01 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 184 168
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /dot {
143
+ % -10 -10 20 20 bbox
144
+ begingate
145
+ 248 1.00 0 0 6 0.00 360.00 xcarc
146
+ endgate
147
+ } def
148
+
149
+ /spdt_toggle {
150
+ % -64 -32 128 64 bbox
151
+ begingate
152
+ 1.00 0 16 16 dot
153
+ 1 1.00 16 16 16 32 64 32 3 polygon
154
+ 1.00 0 16 -16 dot
155
+ 1 1.00 16 -16 16 -32 64 -32 3 polygon
156
+ 1 1.00 -16 0 32 -16 2 polygon
157
+ 1 1.00 -64 0 -16 0 2 polygon
158
+ 1.00 0 -16 0 dot
159
+ endgate
160
+ } def
161
+
162
+ /gnd {
163
+ % -32 -60 64 68 bbox
164
+ begingate
165
+ 1 1.00 0 0 0 -32 2 polygon
166
+ 1 1.00 -32 -32 32 -32 2 polygon
167
+ 1 1.00 -18 -46 18 -46 2 polygon
168
+ 1 1.00 -4 -60 4 -60 2 polygon
169
+ 1.000 0.000 0.000 scb
170
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
171
+ sce
172
+ endgate
173
+ } def
174
+
175
+ /invert {
176
+ % -48 -40 112 80 bbox
177
+ begingate
178
+ 0 1.00 -32 -40 -32 40 40 0 3 polygon
179
+ 1 1.00 48 0 8 0.00 360.00 xcarc
180
+ 1 1.00 -32 0 -48 0 2 polygon
181
+ 1 1.00 56 0 64 0 2 polygon
182
+ 1.000 0.000 0.000 scb
183
+ (Out) {/Helvetica 1.000 cf} 2 4 0 64 0 pinlabel
184
+ (In) {/Helvetica 1.000 cf} 2 7 0 -48 0 pinlabel
185
+ sce
186
+ endgate
187
+ } def
188
+
189
+ %%Page: 04068.eps 1
190
+ %%PageOrientation: Portrait
191
+ /pgsave save def bop
192
+ % 512 444 offsets
193
+ 0.7500 inchscale
194
+ 2.6000 setlinewidth
195
+
196
+ 1 1.00 512 380 512 316 2 polygon
197
+ 1.00 -1 352 444 spdt_toggle
198
+ 1.00 0 512 316 gnd
199
+ 1.00 0 512 444 invert
200
+ 1 1.00 512 420 512 380 2 polygon
201
+ 1 1.00 576 444 592 444 2 polygon
202
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 480 556 label
203
+ 1 1.00 512 468 512 540 2 polygon
204
+ 1 1.00 592 444 640 444 2 polygon
205
+ 1 1.00 416 444 464 444 2 polygon
206
+ 1 1.00 288 476 288 540 2 polygon
207
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 256 556 label
208
+ 1 1.00 288 412 288 348 2 polygon
209
+ 1.00 0 288 348 gnd
210
+ 1 1.00 480 540 544 540 2 polygon
211
+ 1 1.00 256 540 320 540 2 polygon
212
+ pgsave restore showpage
213
+
214
+ %%Trailer
215
+ XCIRCsave restore
216
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04073.eps ADDED
@@ -0,0 +1,284 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04073.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 08:47:30 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 325 303
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /arrowhead {
144
+ % -12 -32 24 36 bbox
145
+ begingate
146
+ 8 -28 beginpath
147
+ 3 -18 3 -15 0 0 curveto
148
+ -3 -15 -3 -18 -8 -28 curveto
149
+ -2 -26 2 -26 8 -28 curveto
150
+ 249 1.00 endpath
151
+ endgate
152
+ } def
153
+
154
+ /_npn {
155
+ % -64 -64 72 128 bbox
156
+ begingate
157
+ % fundamental
158
+ 1 1.00 -48 0 -64 0 2 polygon
159
+ 1 1.00 -48 48 -48 -48 2 polygon
160
+ 1 1.00 0 48 -48 22 2 polygon
161
+ 1 1.00 0 48 0 64 2 polygon
162
+ 1 1.00 0 -48 -48 -22 2 polygon
163
+ 1 1.00 0 -48 0 -64 2 polygon
164
+ 1.00 240 0 -48 arrowhead
165
+ 1.000 0.000 0.000 scb
166
+ (C) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
167
+ (B) {/Times-Roman 1.000 cf} 2 7 0 -64 0 pinlabel
168
+ (E) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
169
+ sce
170
+ 0.000 1.000 0.000 scb
171
+ (spice:Q%i %pC %pB %pE npn) {/Times-Roman 1.000 cf} 2 4 0 -244 -139 infolabel
172
+ (sim:b %pB %pE %pC) {/Times-Roman 1.000 cf} 2 4 0 -244 -187 infolabel
173
+ sce
174
+ endgate
175
+ } def
176
+
177
+ /_resistor {
178
+ % -14 -64 28 128 bbox
179
+ begingate
180
+ % fundamental
181
+ 1 1.00 0 64 0 36 2 polygon
182
+ 1 1.00 0 -64 0 -36 2 polygon
183
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
184
+ 1.000 0.000 0.000 scb
185
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
186
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
187
+ sce
188
+ 0.000 1.000 0.000 scb
189
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
190
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
191
+ sce
192
+ endgate
193
+ } def
194
+
195
+ /dot {
196
+ % -10 -10 20 20 bbox
197
+ begingate
198
+ 248 1.00 0 0 6 0.00 360.00 xcarc
199
+ endgate
200
+ } def
201
+
202
+ /diode {
203
+ % -8 -48 36 96 bbox
204
+ begingate
205
+ % fundamental
206
+ 248 1.00 -18 -16 0 16 18 -16 3 polygon
207
+ 1 1.00 0 -48 0 -16 2 polygon
208
+ 1 1.00 0 48 0 16 2 polygon
209
+ 1 1.00 -18 16 18 16 2 polygon
210
+ 1.000 0.000 0.000 scb
211
+ (d.m) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
212
+ (d.p) {/Times-Roman 1.000 cf} 2 13 0 0 -48 pinlabel
213
+ sce
214
+ endgate
215
+ } def
216
+
217
+ /gnd {
218
+ % -32 -60 64 68 bbox
219
+ begingate
220
+ 1 1.00 0 0 0 -32 2 polygon
221
+ 1 1.00 -32 -32 32 -32 2 polygon
222
+ 1 1.00 -18 -46 18 -46 2 polygon
223
+ 1 1.00 -4 -60 4 -60 2 polygon
224
+ 1.000 0.000 0.000 scb
225
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
226
+ sce
227
+ endgate
228
+ } def
229
+
230
+ %%Page: 1 1
231
+ %%PageOrientation: Portrait
232
+ /pgsave save def bop
233
+ % 880 476 offsets
234
+ % 32.00 8.00 gridspace
235
+ 0.7500 inchscale
236
+ 2.6000 setlinewidth
237
+
238
+ 1.00 270 560 604 _npn
239
+ 1.00 0 752 604 _npn
240
+ 1 1.00 624 604 688 604 2 polygon
241
+ 1.00 0 560 732 _resistor
242
+ 1.00 0 752 732 _resistor
243
+ 1.00 0 912 668 _npn
244
+ 1 1.00 752 668 848 668 2 polygon
245
+ 1.00 0 752 668 dot
246
+ 1.00 0 912 796 _resistor
247
+ 1 1.00 560 796 560 860 912 860 3 polygon
248
+ 1.00 0 752 860 dot
249
+ 1 1.00 752 860 752 796 2 polygon
250
+ 1.00 -181 912 556 diode
251
+ 1.00 0 912 444 _npn
252
+ 1.00 0 752 444 dot
253
+ 1 1.00 752 444 848 444 2 polygon
254
+ 1.00 0 752 380 _resistor
255
+ 1 1.00 752 540 752 444 2 polygon
256
+ 1.00 0 464 492 diode
257
+ 1.00 0 464 604 dot
258
+ 1 1.00 496 604 368 604 2 polygon
259
+ 1 1.00 464 604 464 540 2 polygon
260
+ 1 1.00 464 444 464 316 912 316 912 380 4 polygon
261
+ 1.00 0 752 316 dot
262
+ 1.00 0 912 508 dot
263
+ 1 1.00 912 508 1008 508 2 polygon
264
+ (Output) {/Helvetica 1.000 cf} 2 16 0 1024 492 label
265
+ (Input) {/Helvetica 1.000 cf} 2 16 0 256 588 label
266
+ 1 1.00 752 860 752 924 2 polygon
267
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 720 940 label
268
+ 1.00 0 752 316 gnd
269
+ (Practical inverter \(NOT\) circuit) {/Helvetica-Oblique 1.000 cf} 2 16 0 480 1036 label
270
+ (1) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 544 588 label
271
+ (2) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 744 596 label
272
+ (3) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 904 660 label
273
+ (4) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 904 436 label
274
+ (1) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 400 476 label
275
+ (2) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 944 548 label
276
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 504 724 label
277
+ (2) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 688 724 label
278
+ (3) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 688 372 label
279
+ (4) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 848 788 label
280
+ pgsave restore showpage
281
+
282
+ %%Trailer
283
+ XCIRCsave restore
284
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04074.eps ADDED
@@ -0,0 +1,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04074.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 08:49:04 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 338 298
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /arrowhead {
143
+ % -12 -32 24 36 bbox
144
+ begingate
145
+ 8 -28 beginpath
146
+ 3 -18 3 -15 0 0 curveto
147
+ -3 -15 -3 -18 -8 -28 curveto
148
+ -2 -26 2 -26 8 -28 curveto
149
+ 249 1.00 endpath
150
+ endgate
151
+ } def
152
+
153
+ /_npn {
154
+ % -64 -64 72 128 bbox
155
+ begingate
156
+ % fundamental
157
+ 1 1.00 -48 0 -64 0 2 polygon
158
+ 1 1.00 -48 48 -48 -48 2 polygon
159
+ 1 1.00 0 48 -48 22 2 polygon
160
+ 1 1.00 0 48 0 64 2 polygon
161
+ 1 1.00 0 -48 -48 -22 2 polygon
162
+ 1 1.00 0 -48 0 -64 2 polygon
163
+ 1.00 240 0 -48 arrowhead
164
+ 1.000 0.000 0.000 scb
165
+ (C) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
166
+ (B) {/Times-Roman 1.000 cf} 2 7 0 -64 0 pinlabel
167
+ (E) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
168
+ sce
169
+ 0.000 1.000 0.000 scb
170
+ (spice:Q%i %pC %pB %pE npn) {/Times-Roman 1.000 cf} 2 4 0 -244 -139 infolabel
171
+ (sim:b %pB %pE %pC) {/Times-Roman 1.000 cf} 2 4 0 -244 -187 infolabel
172
+ sce
173
+ endgate
174
+ } def
175
+
176
+ /_resistor {
177
+ % -14 -64 28 128 bbox
178
+ begingate
179
+ % fundamental
180
+ 1 1.00 0 64 0 36 2 polygon
181
+ 1 1.00 0 -64 0 -36 2 polygon
182
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
183
+ 1.000 0.000 0.000 scb
184
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
185
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
186
+ sce
187
+ 0.000 1.000 0.000 scb
188
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
189
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
190
+ sce
191
+ endgate
192
+ } def
193
+
194
+ /dot {
195
+ % -10 -10 20 20 bbox
196
+ begingate
197
+ 248 1.00 0 0 6 0.00 360.00 xcarc
198
+ endgate
199
+ } def
200
+
201
+ /diode {
202
+ % -8 -48 36 96 bbox
203
+ begingate
204
+ % fundamental
205
+ 248 1.00 -18 -16 0 16 18 -16 3 polygon
206
+ 1 1.00 0 -48 0 -16 2 polygon
207
+ 1 1.00 0 48 0 16 2 polygon
208
+ 1 1.00 -18 16 18 16 2 polygon
209
+ 1.000 0.000 0.000 scb
210
+ (d.m) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
211
+ (d.p) {/Times-Roman 1.000 cf} 2 13 0 0 -48 pinlabel
212
+ sce
213
+ endgate
214
+ } def
215
+
216
+ /gnd {
217
+ % -32 -60 64 68 bbox
218
+ begingate
219
+ 1 1.00 0 0 0 -32 2 polygon
220
+ 1 1.00 -32 -32 32 -32 2 polygon
221
+ 1 1.00 -18 -46 18 -46 2 polygon
222
+ 1 1.00 -4 -60 4 -60 2 polygon
223
+ 1.000 0.000 0.000 scb
224
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
225
+ sce
226
+ endgate
227
+ } def
228
+
229
+ /spdt_toggle {
230
+ % -64 -32 128 64 bbox
231
+ begingate
232
+ 1.00 0 16 16 dot
233
+ 1 1.00 16 16 16 32 64 32 3 polygon
234
+ 1.00 0 16 -16 dot
235
+ 1 1.00 16 -16 16 -32 64 -32 3 polygon
236
+ 1 1.00 -16 0 32 -16 2 polygon
237
+ 1 1.00 -64 0 -16 0 2 polygon
238
+ 1.00 0 -16 0 dot
239
+ endgate
240
+ } def
241
+
242
+ /arrow {
243
+ % -12 -40 24 80 bbox
244
+ begingate
245
+ 1 0.80 0 -40 0 20 2 polygon
246
+ 1.00 0 0 40 arrowhead
247
+ endgate
248
+ } def
249
+
250
+ %%Page: 04073.eps 1
251
+ %%PageOrientation: Portrait
252
+ /pgsave save def bop
253
+ % 928 476 offsets
254
+ % 32.00 4.00 gridspace
255
+ 0.7500 inchscale
256
+ 2.6000 setlinewidth
257
+
258
+ 1.00 270 608 604 _npn
259
+ 1.00 0 800 604 _npn
260
+ 1 1.00 672 604 736 604 2 polygon
261
+ 1.00 0 608 732 _resistor
262
+ 1.00 0 800 732 _resistor
263
+ 1.00 0 960 668 _npn
264
+ 1 1.00 800 668 896 668 2 polygon
265
+ 1.00 0 800 668 dot
266
+ 1.00 0 960 796 _resistor
267
+ 1 1.00 608 796 608 860 960 860 3 polygon
268
+ 1.00 0 800 860 dot
269
+ 1 1.00 800 860 800 796 2 polygon
270
+ 1.00 -181 960 556 diode
271
+ 1.00 0 960 444 _npn
272
+ 1.00 0 800 444 dot
273
+ 1 1.00 800 444 896 444 2 polygon
274
+ 1.00 0 800 380 _resistor
275
+ 1 1.00 800 540 800 444 2 polygon
276
+ 1.00 0 512 492 diode
277
+ 1.00 0 512 604 dot
278
+ 1 1.00 544 604 416 604 2 polygon
279
+ 1 1.00 512 604 512 540 2 polygon
280
+ 1 1.00 512 444 512 316 960 316 960 380 4 polygon
281
+ 1.00 0 800 316 dot
282
+ 1.00 0 960 508 dot
283
+ 1 1.00 960 508 1056 508 2 polygon
284
+ (Output) {/Helvetica 1.000 cf} 2 16 0 1072 492 label
285
+ (Input) {/Helvetica 1.000 cf} 2 16 0 400 620 label
286
+ 1 1.00 800 860 800 924 2 polygon
287
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 768 940 label
288
+ 1.00 0 800 316 gnd
289
+ (1) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 592 588 label
290
+ (2) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 792 596 label
291
+ (3) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 952 660 label
292
+ (4) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 952 436 label
293
+ (1) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 448 476 label
294
+ (2) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 992 548 label
295
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 552 724 label
296
+ (2) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 736 724 label
297
+ (3) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 736 372 label
298
+ (4) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 896 788 label
299
+ 1.00 180 352 604 spdt_toggle
300
+ 1.00 0 288 572 gnd
301
+ 1 1.00 288 636 288 700 2 polygon
302
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 256 716 label
303
+ 1 1.00 256 700 320 700 2 polygon
304
+ ( = 5 volts) {ns} (cc) {ss} (V) {/Times-Roman 1.000 cf} 6 16 0 928 1020 label
305
+ (+) {/Times-Roman 1.000 cf} 2 16 0 532 520 label
306
+ (-) {/Times-Roman 1.000 cf} 2 16 0 532 444 label
307
+ (5 V) {/Times-Roman 1.000 cf} 2 16 0 548 482 label
308
+ (0 V) {/Times-Roman 1.000 cf} 2 16 0 444 724 label
309
+ 1.00 300 568 796 arrow
310
+ 1.00 195 504 652 arrow
311
+ 0 1.00 532 692 532 780 428 780 428 692 4 polygon
312
+ pgsave restore showpage
313
+
314
+ %%Trailer
315
+ XCIRCsave restore
316
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04075.eps ADDED
@@ -0,0 +1,318 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04075.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 08:49:33 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 338 298
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /arrowhead {
143
+ % -12 -32 24 36 bbox
144
+ begingate
145
+ 8 -28 beginpath
146
+ 3 -18 3 -15 0 0 curveto
147
+ -3 -15 -3 -18 -8 -28 curveto
148
+ -2 -26 2 -26 8 -28 curveto
149
+ 249 1.00 endpath
150
+ endgate
151
+ } def
152
+
153
+ /_npn {
154
+ % -64 -64 72 128 bbox
155
+ begingate
156
+ % fundamental
157
+ 1 1.00 -48 0 -64 0 2 polygon
158
+ 1 1.00 -48 48 -48 -48 2 polygon
159
+ 1 1.00 0 48 -48 22 2 polygon
160
+ 1 1.00 0 48 0 64 2 polygon
161
+ 1 1.00 0 -48 -48 -22 2 polygon
162
+ 1 1.00 0 -48 0 -64 2 polygon
163
+ 1.00 240 0 -48 arrowhead
164
+ 1.000 0.000 0.000 scb
165
+ (C) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
166
+ (B) {/Times-Roman 1.000 cf} 2 7 0 -64 0 pinlabel
167
+ (E) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
168
+ sce
169
+ 0.000 1.000 0.000 scb
170
+ (spice:Q%i %pC %pB %pE npn) {/Times-Roman 1.000 cf} 2 4 0 -244 -139 infolabel
171
+ (sim:b %pB %pE %pC) {/Times-Roman 1.000 cf} 2 4 0 -244 -187 infolabel
172
+ sce
173
+ endgate
174
+ } def
175
+
176
+ /_resistor {
177
+ % -14 -64 28 128 bbox
178
+ begingate
179
+ % fundamental
180
+ 1 1.00 0 64 0 36 2 polygon
181
+ 1 1.00 0 -64 0 -36 2 polygon
182
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
183
+ 1.000 0.000 0.000 scb
184
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
185
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
186
+ sce
187
+ 0.000 1.000 0.000 scb
188
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
189
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
190
+ sce
191
+ endgate
192
+ } def
193
+
194
+ /dot {
195
+ % -10 -10 20 20 bbox
196
+ begingate
197
+ 248 1.00 0 0 6 0.00 360.00 xcarc
198
+ endgate
199
+ } def
200
+
201
+ /diode {
202
+ % -8 -48 36 96 bbox
203
+ begingate
204
+ % fundamental
205
+ 248 1.00 -18 -16 0 16 18 -16 3 polygon
206
+ 1 1.00 0 -48 0 -16 2 polygon
207
+ 1 1.00 0 48 0 16 2 polygon
208
+ 1 1.00 -18 16 18 16 2 polygon
209
+ 1.000 0.000 0.000 scb
210
+ (d.m) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
211
+ (d.p) {/Times-Roman 1.000 cf} 2 13 0 0 -48 pinlabel
212
+ sce
213
+ endgate
214
+ } def
215
+
216
+ /gnd {
217
+ % -32 -60 64 68 bbox
218
+ begingate
219
+ 1 1.00 0 0 0 -32 2 polygon
220
+ 1 1.00 -32 -32 32 -32 2 polygon
221
+ 1 1.00 -18 -46 18 -46 2 polygon
222
+ 1 1.00 -4 -60 4 -60 2 polygon
223
+ 1.000 0.000 0.000 scb
224
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
225
+ sce
226
+ endgate
227
+ } def
228
+
229
+ /spdt_toggle {
230
+ % -64 -32 128 64 bbox
231
+ begingate
232
+ 1.00 0 16 16 dot
233
+ 1 1.00 16 16 16 32 64 32 3 polygon
234
+ 1.00 0 16 -16 dot
235
+ 1 1.00 16 -16 16 -32 64 -32 3 polygon
236
+ 1 1.00 -16 0 32 -16 2 polygon
237
+ 1 1.00 -64 0 -16 0 2 polygon
238
+ 1.00 0 -16 0 dot
239
+ endgate
240
+ } def
241
+
242
+ /arrow {
243
+ % -12 -40 24 80 bbox
244
+ begingate
245
+ 1 0.80 0 -40 0 20 2 polygon
246
+ 1.00 0 0 40 arrowhead
247
+ endgate
248
+ } def
249
+
250
+ %%Page: 04073.eps 1
251
+ %%PageOrientation: Portrait
252
+ /pgsave save def bop
253
+ % 928 476 offsets
254
+ 0.7500 inchscale
255
+ 2.6000 setlinewidth
256
+
257
+ 1.00 0 800 604 _npn
258
+ 1 1.00 672 604 736 604 2 polygon
259
+ 1.00 0 608 732 _resistor
260
+ 1.00 0 800 732 _resistor
261
+ 1.00 0 960 668 _npn
262
+ 1 1.00 800 668 896 668 2 polygon
263
+ 1.00 0 800 668 dot
264
+ 1.00 0 960 796 _resistor
265
+ 1 1.00 608 796 608 860 960 860 3 polygon
266
+ 1.00 0 800 860 dot
267
+ 1 1.00 800 860 800 796 2 polygon
268
+ 1.00 -181 960 556 diode
269
+ 1.00 0 960 444 _npn
270
+ 1.00 0 800 444 dot
271
+ 1 1.00 800 444 896 444 2 polygon
272
+ 1.00 0 800 380 _resistor
273
+ 1 1.00 800 540 800 444 2 polygon
274
+ 1.00 0 512 492 diode
275
+ 1.00 0 512 604 dot
276
+ 1 1.00 544 604 416 604 2 polygon
277
+ 1 1.00 512 604 512 540 2 polygon
278
+ 1 1.00 512 444 512 316 960 316 960 380 4 polygon
279
+ 1.00 0 800 316 dot
280
+ 1.00 0 960 508 dot
281
+ 1 1.00 960 508 1056 508 2 polygon
282
+ (Output) {/Helvetica 1.000 cf} 2 16 0 1072 492 label
283
+ (Input) {/Helvetica 1.000 cf} 2 16 0 400 620 label
284
+ 1 1.00 800 860 800 924 2 polygon
285
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 768 940 label
286
+ 1.00 0 800 316 gnd
287
+ (2) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 792 596 label
288
+ (3) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 952 660 label
289
+ (4) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 952 436 label
290
+ (1) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 448 476 label
291
+ (2) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 992 548 label
292
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 552 724 label
293
+ (2) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 736 724 label
294
+ (3) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 736 372 label
295
+ (4) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 896 788 label
296
+ 1.00 180 352 604 spdt_toggle
297
+ 1.00 0 288 572 gnd
298
+ 1 1.00 288 636 288 700 2 polygon
299
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 256 716 label
300
+ 1 1.00 256 700 320 700 2 polygon
301
+ ( = 5 volts) {ns} (cc) {ss} (V) {/Times-Roman 1.000 cf} 6 16 0 928 1020 label
302
+ (+) {/Times-Roman 1.000 cf} 2 16 0 532 520 label
303
+ (-) {/Times-Roman 1.000 cf} 2 16 0 532 444 label
304
+ (5 V) {/Times-Roman 1.000 cf} 2 16 0 548 482 label
305
+ (0 V) {/Times-Roman 1.000 cf} 2 16 0 444 724 label
306
+ 1.00 300 568 796 arrow
307
+ 1.00 195 504 652 arrow
308
+ 0 1.00 532 692 532 780 428 780 428 692 4 polygon
309
+ 1.00 90 560 604 diode
310
+ 1.00 -91 656 604 diode
311
+ 1.00 0 608 604 dot
312
+ 1 1.00 608 604 608 668 2 polygon
313
+ (") {ns} (1) {ss} ("Q) {/Times-Roman 1.000 cf} 6 16 0 576 540 label
314
+ pgsave restore showpage
315
+
316
+ %%Trailer
317
+ XCIRCsave restore
318
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04076.eps ADDED
@@ -0,0 +1,328 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04076.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 08:52:52 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 338 298
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /arrowhead {
143
+ % -12 -32 24 36 bbox
144
+ begingate
145
+ 8 -28 beginpath
146
+ 3 -18 3 -15 0 0 curveto
147
+ -3 -15 -3 -18 -8 -28 curveto
148
+ -2 -26 2 -26 8 -28 curveto
149
+ 249 1.00 endpath
150
+ endgate
151
+ } def
152
+
153
+ /_npn {
154
+ % -64 -64 72 128 bbox
155
+ begingate
156
+ % fundamental
157
+ 1 1.00 -48 0 -64 0 2 polygon
158
+ 1 1.00 -48 48 -48 -48 2 polygon
159
+ 1 1.00 0 48 -48 22 2 polygon
160
+ 1 1.00 0 48 0 64 2 polygon
161
+ 1 1.00 0 -48 -48 -22 2 polygon
162
+ 1 1.00 0 -48 0 -64 2 polygon
163
+ 1.00 240 0 -48 arrowhead
164
+ 1.000 0.000 0.000 scb
165
+ (C) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
166
+ (B) {/Times-Roman 1.000 cf} 2 7 0 -64 0 pinlabel
167
+ (E) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
168
+ sce
169
+ 0.000 1.000 0.000 scb
170
+ (spice:Q%i %pC %pB %pE npn) {/Times-Roman 1.000 cf} 2 4 0 -244 -139 infolabel
171
+ (sim:b %pB %pE %pC) {/Times-Roman 1.000 cf} 2 4 0 -244 -187 infolabel
172
+ sce
173
+ endgate
174
+ } def
175
+
176
+ /_resistor {
177
+ % -14 -64 28 128 bbox
178
+ begingate
179
+ % fundamental
180
+ 1 1.00 0 64 0 36 2 polygon
181
+ 1 1.00 0 -64 0 -36 2 polygon
182
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
183
+ 1.000 0.000 0.000 scb
184
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
185
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
186
+ sce
187
+ 0.000 1.000 0.000 scb
188
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
189
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
190
+ sce
191
+ endgate
192
+ } def
193
+
194
+ /dot {
195
+ % -10 -10 20 20 bbox
196
+ begingate
197
+ 248 1.00 0 0 6 0.00 360.00 xcarc
198
+ endgate
199
+ } def
200
+
201
+ /diode {
202
+ % -8 -48 36 96 bbox
203
+ begingate
204
+ % fundamental
205
+ 248 1.00 -18 -16 0 16 18 -16 3 polygon
206
+ 1 1.00 0 -48 0 -16 2 polygon
207
+ 1 1.00 0 48 0 16 2 polygon
208
+ 1 1.00 -18 16 18 16 2 polygon
209
+ 1.000 0.000 0.000 scb
210
+ (d.m) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
211
+ (d.p) {/Times-Roman 1.000 cf} 2 13 0 0 -48 pinlabel
212
+ sce
213
+ endgate
214
+ } def
215
+
216
+ /gnd {
217
+ % -32 -60 64 68 bbox
218
+ begingate
219
+ 1 1.00 0 0 0 -32 2 polygon
220
+ 1 1.00 -32 -32 32 -32 2 polygon
221
+ 1 1.00 -18 -46 18 -46 2 polygon
222
+ 1 1.00 -4 -60 4 -60 2 polygon
223
+ 1.000 0.000 0.000 scb
224
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
225
+ sce
226
+ endgate
227
+ } def
228
+
229
+ /spdt_toggle {
230
+ % -64 -32 128 64 bbox
231
+ begingate
232
+ 1.00 0 16 16 dot
233
+ 1 1.00 16 16 16 32 64 32 3 polygon
234
+ 1.00 0 16 -16 dot
235
+ 1 1.00 16 -16 16 -32 64 -32 3 polygon
236
+ 1 1.00 -16 0 32 -16 2 polygon
237
+ 1 1.00 -64 0 -16 0 2 polygon
238
+ 1.00 0 -16 0 dot
239
+ endgate
240
+ } def
241
+
242
+ /arrow {
243
+ % -12 -40 24 80 bbox
244
+ begingate
245
+ 1 0.80 0 -40 0 20 2 polygon
246
+ 1.00 0 0 40 arrowhead
247
+ endgate
248
+ } def
249
+
250
+ %%Page: 04073.eps 1
251
+ %%PageOrientation: Portrait
252
+ /pgsave save def bop
253
+ % 928 476 offsets
254
+ 0.7500 inchscale
255
+ 2.6000 setlinewidth
256
+
257
+ 1.00 0 800 604 _npn
258
+ 1 1.00 672 604 736 604 2 polygon
259
+ 1.00 0 608 732 _resistor
260
+ 1.00 0 800 732 _resistor
261
+ 1.00 0 960 668 _npn
262
+ 1 1.00 800 668 896 668 2 polygon
263
+ 1.00 0 800 668 dot
264
+ 1.00 0 960 796 _resistor
265
+ 1 1.00 608 796 608 860 960 860 3 polygon
266
+ 1.00 0 800 860 dot
267
+ 1 1.00 800 860 800 796 2 polygon
268
+ 1.00 -181 960 556 diode
269
+ 1.00 0 960 444 _npn
270
+ 1.00 0 800 444 dot
271
+ 1 1.00 800 444 896 444 2 polygon
272
+ 1.00 0 800 380 _resistor
273
+ 1 1.00 800 540 800 444 2 polygon
274
+ 1.00 0 512 492 diode
275
+ 1.00 0 512 604 dot
276
+ 1 1.00 544 604 416 604 2 polygon
277
+ 1 1.00 512 604 512 540 2 polygon
278
+ 1 1.00 512 444 512 316 960 316 960 380 4 polygon
279
+ 1.00 0 800 316 dot
280
+ 1.00 0 960 508 dot
281
+ 1 1.00 960 508 1056 508 2 polygon
282
+ (Output) {/Helvetica 1.000 cf} 2 16 0 1072 492 label
283
+ (Input) {/Helvetica 1.000 cf} 2 16 0 400 620 label
284
+ 1 1.00 800 860 800 924 2 polygon
285
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 768 940 label
286
+ 1.00 0 800 316 gnd
287
+ (2) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 792 596 label
288
+ (3) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 952 660 label
289
+ (4) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 952 436 label
290
+ (1) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 448 476 label
291
+ (2) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 992 548 label
292
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 552 724 label
293
+ (2) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 736 724 label
294
+ (3) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 736 372 label
295
+ (4) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 896 788 label
296
+ 1.00 180 352 604 spdt_toggle
297
+ 1.00 0 288 572 gnd
298
+ 1 1.00 288 636 288 700 2 polygon
299
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 256 716 label
300
+ 1 1.00 256 700 320 700 2 polygon
301
+ ( = 5 volts) {ns} (cc) {ss} (V) {/Times-Roman 1.000 cf} 6 16 0 928 1020 label
302
+ (+) {/Times-Roman 1.000 cf} 2 16 0 532 520 label
303
+ (-) {/Times-Roman 1.000 cf} 2 16 0 532 444 label
304
+ (5 V) {/Times-Roman 1.000 cf} 2 16 0 548 482 label
305
+ (0 V) {/Times-Roman 1.000 cf} 2 16 0 444 724 label
306
+ 1.00 300 568 796 arrow
307
+ 1.00 195 504 652 arrow
308
+ 0 1.00 532 692 532 780 428 780 428 692 4 polygon
309
+ 1.00 90 560 604 diode
310
+ 1.00 -91 656 604 diode
311
+ 1.00 0 608 604 dot
312
+ 1 1.00 608 604 608 668 2 polygon
313
+ (") {ns} (1) {ss} ("Q) {/Times-Roman 1.000 cf} 6 16 0 576 540 label
314
+ 1 1.00 656 764 656 700 2 polygon
315
+ 1 1.00 640 748 656 764 672 748 3 polygon
316
+ 1 1.00 736 652 672 652 2 polygon
317
+ 1 1.00 688 636 672 652 688 668 3 polygon
318
+ 1 2.00 832 476 832 540 2 polygon
319
+ 1 2.00 816 524 832 540 848 524 3 polygon
320
+ 1 2.00 848 348 848 412 2 polygon
321
+ 1 2.00 832 396 848 412 864 396 3 polygon
322
+ 1 2.00 832 732 832 796 2 polygon
323
+ 1 2.00 816 780 832 796 848 780 3 polygon
324
+ pgsave restore showpage
325
+
326
+ %%Trailer
327
+ XCIRCsave restore
328
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04077.eps ADDED
@@ -0,0 +1,339 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04077.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 08:53:32 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 338 298
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /arrowhead {
143
+ % -12 -32 24 36 bbox
144
+ begingate
145
+ 8 -28 beginpath
146
+ 3 -18 3 -15 0 0 curveto
147
+ -3 -15 -3 -18 -8 -28 curveto
148
+ -2 -26 2 -26 8 -28 curveto
149
+ 249 1.00 endpath
150
+ endgate
151
+ } def
152
+
153
+ /_npn {
154
+ % -64 -64 72 128 bbox
155
+ begingate
156
+ % fundamental
157
+ 1 1.00 -48 0 -64 0 2 polygon
158
+ 1 1.00 -48 48 -48 -48 2 polygon
159
+ 1 1.00 0 48 -48 22 2 polygon
160
+ 1 1.00 0 48 0 64 2 polygon
161
+ 1 1.00 0 -48 -48 -22 2 polygon
162
+ 1 1.00 0 -48 0 -64 2 polygon
163
+ 1.00 240 0 -48 arrowhead
164
+ 1.000 0.000 0.000 scb
165
+ (C) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
166
+ (B) {/Times-Roman 1.000 cf} 2 7 0 -64 0 pinlabel
167
+ (E) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
168
+ sce
169
+ 0.000 1.000 0.000 scb
170
+ (spice:Q%i %pC %pB %pE npn) {/Times-Roman 1.000 cf} 2 4 0 -244 -139 infolabel
171
+ (sim:b %pB %pE %pC) {/Times-Roman 1.000 cf} 2 4 0 -244 -187 infolabel
172
+ sce
173
+ endgate
174
+ } def
175
+
176
+ /_resistor {
177
+ % -14 -64 28 128 bbox
178
+ begingate
179
+ % fundamental
180
+ 1 1.00 0 64 0 36 2 polygon
181
+ 1 1.00 0 -64 0 -36 2 polygon
182
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
183
+ 1.000 0.000 0.000 scb
184
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
185
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
186
+ sce
187
+ 0.000 1.000 0.000 scb
188
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
189
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
190
+ sce
191
+ endgate
192
+ } def
193
+
194
+ /dot {
195
+ % -10 -10 20 20 bbox
196
+ begingate
197
+ 248 1.00 0 0 6 0.00 360.00 xcarc
198
+ endgate
199
+ } def
200
+
201
+ /diode {
202
+ % -8 -48 36 96 bbox
203
+ begingate
204
+ % fundamental
205
+ 248 1.00 -18 -16 0 16 18 -16 3 polygon
206
+ 1 1.00 0 -48 0 -16 2 polygon
207
+ 1 1.00 0 48 0 16 2 polygon
208
+ 1 1.00 -18 16 18 16 2 polygon
209
+ 1.000 0.000 0.000 scb
210
+ (d.m) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
211
+ (d.p) {/Times-Roman 1.000 cf} 2 13 0 0 -48 pinlabel
212
+ sce
213
+ endgate
214
+ } def
215
+
216
+ /gnd {
217
+ % -32 -60 64 68 bbox
218
+ begingate
219
+ 1 1.00 0 0 0 -32 2 polygon
220
+ 1 1.00 -32 -32 32 -32 2 polygon
221
+ 1 1.00 -18 -46 18 -46 2 polygon
222
+ 1 1.00 -4 -60 4 -60 2 polygon
223
+ 1.000 0.000 0.000 scb
224
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
225
+ sce
226
+ endgate
227
+ } def
228
+
229
+ /spdt_toggle {
230
+ % -64 -32 128 64 bbox
231
+ begingate
232
+ 1.00 0 16 16 dot
233
+ 1 1.00 16 16 16 32 64 32 3 polygon
234
+ 1.00 0 16 -16 dot
235
+ 1 1.00 16 -16 16 -32 64 -32 3 polygon
236
+ 1 1.00 -16 0 32 -16 2 polygon
237
+ 1 1.00 -64 0 -16 0 2 polygon
238
+ 1.00 0 -16 0 dot
239
+ endgate
240
+ } def
241
+
242
+ /arrow {
243
+ % -12 -40 24 80 bbox
244
+ begingate
245
+ 1 0.80 0 -40 0 20 2 polygon
246
+ 1.00 0 0 40 arrowhead
247
+ endgate
248
+ } def
249
+
250
+ %%Page: 04073.eps 1
251
+ %%PageOrientation: Portrait
252
+ /pgsave save def bop
253
+ % 928 476 offsets
254
+ % 32.00 2.00 gridspace
255
+ 0.7500 inchscale
256
+ 2.6000 setlinewidth
257
+
258
+ 1.00 0 800 604 _npn
259
+ 1 1.00 672 604 736 604 2 polygon
260
+ 1.00 0 608 732 _resistor
261
+ 1.00 0 800 732 _resistor
262
+ 1.00 0 960 668 _npn
263
+ 1 1.00 800 668 896 668 2 polygon
264
+ 1.00 0 800 668 dot
265
+ 1.00 0 960 796 _resistor
266
+ 1 1.00 608 796 608 860 960 860 3 polygon
267
+ 1.00 0 800 860 dot
268
+ 1 1.00 800 860 800 796 2 polygon
269
+ 1.00 -181 960 556 diode
270
+ 1.00 0 960 444 _npn
271
+ 1.00 0 800 444 dot
272
+ 1 1.00 800 444 896 444 2 polygon
273
+ 1.00 0 800 380 _resistor
274
+ 1 1.00 800 540 800 444 2 polygon
275
+ 1.00 0 512 492 diode
276
+ 1.00 0 512 604 dot
277
+ 1 1.00 544 604 416 604 2 polygon
278
+ 1 1.00 512 604 512 540 2 polygon
279
+ 1 1.00 512 444 512 316 960 316 960 380 4 polygon
280
+ 1.00 0 800 316 dot
281
+ 1.00 0 960 508 dot
282
+ 1 1.00 960 508 1056 508 2 polygon
283
+ (Output) {/Helvetica 1.000 cf} 2 16 0 1072 492 label
284
+ (Input) {/Helvetica 1.000 cf} 2 16 0 400 620 label
285
+ 1 1.00 800 860 800 924 2 polygon
286
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 768 940 label
287
+ 1.00 0 800 316 gnd
288
+ (2) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 792 596 label
289
+ (3) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 952 660 label
290
+ (4) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 952 436 label
291
+ (1) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 448 476 label
292
+ (2) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 992 548 label
293
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 552 724 label
294
+ (2) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 736 724 label
295
+ (3) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 736 372 label
296
+ (4) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 896 788 label
297
+ 1.00 180 352 604 spdt_toggle
298
+ 1.00 0 288 572 gnd
299
+ 1 1.00 288 636 288 700 2 polygon
300
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 256 716 label
301
+ 1 1.00 256 700 320 700 2 polygon
302
+ ( = 5 volts) {ns} (cc) {ss} (V) {/Times-Roman 1.000 cf} 6 16 0 928 1020 label
303
+ (+) {/Times-Roman 1.000 cf} 2 16 0 532 520 label
304
+ (-) {/Times-Roman 1.000 cf} 2 16 0 532 444 label
305
+ (5 V) {/Times-Roman 1.000 cf} 2 16 0 548 482 label
306
+ (0 V) {/Times-Roman 1.000 cf} 2 16 0 444 724 label
307
+ 1.00 300 568 796 arrow
308
+ 1.00 195 504 652 arrow
309
+ 0 1.00 532 692 532 780 428 780 428 692 4 polygon
310
+ 1.00 90 560 604 diode
311
+ 1.00 -91 656 604 diode
312
+ 1.00 0 608 604 dot
313
+ 1 1.00 608 604 608 668 2 polygon
314
+ (") {ns} (1) {ss} ("Q) {/Times-Roman 1.000 cf} 6 16 0 576 540 label
315
+ 1 1.00 656 764 656 700 2 polygon
316
+ 1 1.00 640 748 656 764 672 748 3 polygon
317
+ 1 1.00 736 652 672 652 2 polygon
318
+ 1 1.00 688 636 672 652 688 668 3 polygon
319
+ 1 2.00 832 492 832 556 2 polygon
320
+ 1 2.00 816 540 832 556 848 540 3 polygon
321
+ 1 2.00 848 348 848 412 2 polygon
322
+ 1 2.00 832 396 848 412 864 396 3 polygon
323
+ 1 2.00 832 732 832 796 2 polygon
324
+ 1 2.00 816 780 832 796 848 780 3 polygon
325
+ 1 1.00 896 468 832 468 2 polygon
326
+ 1 1.00 848 452 832 468 848 484 3 polygon
327
+ (0 V) {/Times-Roman 1.000 cf} (\273 ) {/Symbol 1.000 cf} 4 16 0 1040 396 label
328
+ 1.00 30 1056 468 arrow
329
+ 1.00 120 1000 364 arrow
330
+ 0 1.00 1038 432 1038 384 1158 384 1158 432 4 polygon
331
+ (0.7 V) {/Times-Roman 1.000 cf} (\273 ) {/Symbol 1.000 cf} 4 16 0 568 368 label
332
+ 0 1.00 562 402 562 360 718 360 718 402 4 polygon
333
+ 1.00 300 756 422 arrow
334
+ 1.00 240 758 338 arrow
335
+ pgsave restore showpage
336
+
337
+ %%Trailer
338
+ XCIRCsave restore
339
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04078.eps ADDED
@@ -0,0 +1,331 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04078.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 08:54:07 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 338 298
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /arrowhead {
143
+ % -12 -32 24 36 bbox
144
+ begingate
145
+ 8 -28 beginpath
146
+ 3 -18 3 -15 0 0 curveto
147
+ -3 -15 -3 -18 -8 -28 curveto
148
+ -2 -26 2 -26 8 -28 curveto
149
+ 249 1.00 endpath
150
+ endgate
151
+ } def
152
+
153
+ /_npn {
154
+ % -64 -64 72 128 bbox
155
+ begingate
156
+ % fundamental
157
+ 1 1.00 -48 0 -64 0 2 polygon
158
+ 1 1.00 -48 48 -48 -48 2 polygon
159
+ 1 1.00 0 48 -48 22 2 polygon
160
+ 1 1.00 0 48 0 64 2 polygon
161
+ 1 1.00 0 -48 -48 -22 2 polygon
162
+ 1 1.00 0 -48 0 -64 2 polygon
163
+ 1.00 240 0 -48 arrowhead
164
+ 1.000 0.000 0.000 scb
165
+ (C) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
166
+ (B) {/Times-Roman 1.000 cf} 2 7 0 -64 0 pinlabel
167
+ (E) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
168
+ sce
169
+ 0.000 1.000 0.000 scb
170
+ (spice:Q%i %pC %pB %pE npn) {/Times-Roman 1.000 cf} 2 4 0 -244 -139 infolabel
171
+ (sim:b %pB %pE %pC) {/Times-Roman 1.000 cf} 2 4 0 -244 -187 infolabel
172
+ sce
173
+ endgate
174
+ } def
175
+
176
+ /_resistor {
177
+ % -14 -64 28 128 bbox
178
+ begingate
179
+ % fundamental
180
+ 1 1.00 0 64 0 36 2 polygon
181
+ 1 1.00 0 -64 0 -36 2 polygon
182
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
183
+ 1.000 0.000 0.000 scb
184
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
185
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
186
+ sce
187
+ 0.000 1.000 0.000 scb
188
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
189
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
190
+ sce
191
+ endgate
192
+ } def
193
+
194
+ /dot {
195
+ % -10 -10 20 20 bbox
196
+ begingate
197
+ 248 1.00 0 0 6 0.00 360.00 xcarc
198
+ endgate
199
+ } def
200
+
201
+ /diode {
202
+ % -8 -48 36 96 bbox
203
+ begingate
204
+ % fundamental
205
+ 248 1.00 -18 -16 0 16 18 -16 3 polygon
206
+ 1 1.00 0 -48 0 -16 2 polygon
207
+ 1 1.00 0 48 0 16 2 polygon
208
+ 1 1.00 -18 16 18 16 2 polygon
209
+ 1.000 0.000 0.000 scb
210
+ (d.m) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
211
+ (d.p) {/Times-Roman 1.000 cf} 2 13 0 0 -48 pinlabel
212
+ sce
213
+ endgate
214
+ } def
215
+
216
+ /gnd {
217
+ % -32 -60 64 68 bbox
218
+ begingate
219
+ 1 1.00 0 0 0 -32 2 polygon
220
+ 1 1.00 -32 -32 32 -32 2 polygon
221
+ 1 1.00 -18 -46 18 -46 2 polygon
222
+ 1 1.00 -4 -60 4 -60 2 polygon
223
+ 1.000 0.000 0.000 scb
224
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
225
+ sce
226
+ endgate
227
+ } def
228
+
229
+ /spdt_toggle {
230
+ % -64 -32 128 64 bbox
231
+ begingate
232
+ 1.00 0 16 16 dot
233
+ 1 1.00 16 16 16 32 64 32 3 polygon
234
+ 1.00 0 16 -16 dot
235
+ 1 1.00 16 -16 16 -32 64 -32 3 polygon
236
+ 1 1.00 -16 0 32 -16 2 polygon
237
+ 1 1.00 -64 0 -16 0 2 polygon
238
+ 1.00 0 -16 0 dot
239
+ endgate
240
+ } def
241
+
242
+ /arrow {
243
+ % -12 -40 24 80 bbox
244
+ begingate
245
+ 1 0.80 0 -40 0 20 2 polygon
246
+ 1.00 0 0 40 arrowhead
247
+ endgate
248
+ } def
249
+
250
+ %%Page: 04073.eps 1
251
+ %%PageOrientation: Portrait
252
+ /pgsave save def bop
253
+ % 928 476 offsets
254
+ % 32.00 8.00 gridspace
255
+ 0.7500 inchscale
256
+ 2.6000 setlinewidth
257
+
258
+ 1.00 0 800 604 _npn
259
+ 1 1.00 672 604 736 604 2 polygon
260
+ 1.00 0 608 732 _resistor
261
+ 1.00 0 800 732 _resistor
262
+ 1.00 0 960 668 _npn
263
+ 1 1.00 800 668 896 668 2 polygon
264
+ 1.00 0 800 668 dot
265
+ 1.00 0 960 796 _resistor
266
+ 1 1.00 608 796 608 860 960 860 3 polygon
267
+ 1.00 0 800 860 dot
268
+ 1 1.00 800 860 800 796 2 polygon
269
+ 1.00 -181 960 556 diode
270
+ 1.00 0 960 444 _npn
271
+ 1.00 0 800 444 dot
272
+ 1 1.00 800 444 896 444 2 polygon
273
+ 1.00 0 800 380 _resistor
274
+ 1 1.00 800 540 800 444 2 polygon
275
+ 1.00 0 512 492 diode
276
+ 1.00 0 512 604 dot
277
+ 1 1.00 544 604 416 604 2 polygon
278
+ 1 1.00 512 604 512 540 2 polygon
279
+ 1 1.00 512 444 512 316 960 316 960 380 4 polygon
280
+ 1.00 0 800 316 dot
281
+ 1.00 0 960 508 dot
282
+ 1 1.00 960 508 1056 508 2 polygon
283
+ (Output) {/Helvetica 1.000 cf} 2 16 0 1072 492 label
284
+ (Input) {/Helvetica 1.000 cf} 2 16 0 400 620 label
285
+ 1 1.00 800 860 800 924 2 polygon
286
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 768 940 label
287
+ 1.00 0 800 316 gnd
288
+ (2) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 792 596 label
289
+ (3) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 952 660 label
290
+ (4) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 952 436 label
291
+ (1) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 448 476 label
292
+ (2) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 992 548 label
293
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 552 724 label
294
+ (2) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 736 724 label
295
+ (3) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 736 372 label
296
+ (4) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 896 788 label
297
+ 1.00 -1 352 604 spdt_toggle
298
+ 1.00 0 288 572 gnd
299
+ 1 1.00 288 636 288 700 2 polygon
300
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 256 716 label
301
+ 1 1.00 256 700 320 700 2 polygon
302
+ ( = 5 volts) {ns} (cc) {ss} (V) {/Times-Roman 1.000 cf} 6 16 0 928 1020 label
303
+ 1.00 300 568 796 arrow
304
+ 1.00 195 504 652 arrow
305
+ 0 1.00 532 692 532 780 428 780 428 692 4 polygon
306
+ 1.00 90 560 604 diode
307
+ 1.00 -91 656 604 diode
308
+ 1.00 0 608 604 dot
309
+ 1 1.00 608 604 608 668 2 polygon
310
+ (") {ns} (1) {ss} ("Q) {/Times-Roman 1.000 cf} 6 16 0 576 540 label
311
+ 1 1.00 656 764 656 700 2 polygon
312
+ 1 1.00 640 748 656 764 672 748 3 polygon
313
+ 1 1.00 528 652 592 652 2 polygon
314
+ 1 1.00 576 636 592 652 576 668 3 polygon
315
+ 1.00 30 1056 468 arrow
316
+ 1.00 120 1000 364 arrow
317
+ 0 1.00 1038 432 1038 384 1158 384 1158 432 4 polygon
318
+ (5 V) {/Times-Roman 1.000 cf} 2 16 0 448 722 label
319
+ (0 V) {/Times-Roman 1.000 cf} 2 16 0 550 482 label
320
+ (+) {/Times-Roman 1.000 cf} 2 16 0 524 790 label
321
+ (-) {/Times-Roman 1.000 cf} 2 16 0 510 662 label
322
+ 1 1.00 832 796 832 732 2 polygon
323
+ 1 1.00 816 780 832 796 848 780 3 polygon
324
+ 1 1.00 896 692 832 692 2 polygon
325
+ 1 1.00 848 676 832 692 848 708 3 polygon
326
+ (5 V) {/Times-Roman 1.000 cf} (\273 ) {/Symbol 1.000 cf} 4 16 0 1040 396 label
327
+ pgsave restore showpage
328
+
329
+ %%Trailer
330
+ XCIRCsave restore
331
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04079.eps ADDED
@@ -0,0 +1,323 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04079.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 08:54:43 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 332 298
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman font Symbol
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /arrowhead {
144
+ % -12 -32 24 36 bbox
145
+ begingate
146
+ 8 -28 beginpath
147
+ 3 -18 3 -15 0 0 curveto
148
+ -3 -15 -3 -18 -8 -28 curveto
149
+ -2 -26 2 -26 8 -28 curveto
150
+ 249 1.00 endpath
151
+ endgate
152
+ } def
153
+
154
+ /_npn {
155
+ % -64 -64 72 128 bbox
156
+ begingate
157
+ % fundamental
158
+ 1 1.00 -48 0 -64 0 2 polygon
159
+ 1 1.00 -48 48 -48 -48 2 polygon
160
+ 1 1.00 0 48 -48 22 2 polygon
161
+ 1 1.00 0 48 0 64 2 polygon
162
+ 1 1.00 0 -48 -48 -22 2 polygon
163
+ 1 1.00 0 -48 0 -64 2 polygon
164
+ 1.00 240 0 -48 arrowhead
165
+ 1.000 0.000 0.000 scb
166
+ (C) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
167
+ (B) {/Times-Roman 1.000 cf} 2 7 0 -64 0 pinlabel
168
+ (E) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
169
+ sce
170
+ 0.000 1.000 0.000 scb
171
+ (spice:Q%i %pC %pB %pE npn) {/Times-Roman 1.000 cf} 2 4 0 -244 -139 infolabel
172
+ (sim:b %pB %pE %pC) {/Times-Roman 1.000 cf} 2 4 0 -244 -187 infolabel
173
+ sce
174
+ endgate
175
+ } def
176
+
177
+ /_resistor {
178
+ % -14 -64 28 128 bbox
179
+ begingate
180
+ % fundamental
181
+ 1 1.00 0 64 0 36 2 polygon
182
+ 1 1.00 0 -64 0 -36 2 polygon
183
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
184
+ 1.000 0.000 0.000 scb
185
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
186
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
187
+ sce
188
+ 0.000 1.000 0.000 scb
189
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
190
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
191
+ sce
192
+ endgate
193
+ } def
194
+
195
+ /dot {
196
+ % -10 -10 20 20 bbox
197
+ begingate
198
+ 248 1.00 0 0 6 0.00 360.00 xcarc
199
+ endgate
200
+ } def
201
+
202
+ /diode {
203
+ % -8 -48 36 96 bbox
204
+ begingate
205
+ % fundamental
206
+ 248 1.00 -18 -16 0 16 18 -16 3 polygon
207
+ 1 1.00 0 -48 0 -16 2 polygon
208
+ 1 1.00 0 48 0 16 2 polygon
209
+ 1 1.00 -18 16 18 16 2 polygon
210
+ 1.000 0.000 0.000 scb
211
+ (d.m) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
212
+ (d.p) {/Times-Roman 1.000 cf} 2 13 0 0 -48 pinlabel
213
+ sce
214
+ endgate
215
+ } def
216
+
217
+ /gnd {
218
+ % -32 -60 64 68 bbox
219
+ begingate
220
+ 1 1.00 0 0 0 -32 2 polygon
221
+ 1 1.00 -32 -32 32 -32 2 polygon
222
+ 1 1.00 -18 -46 18 -46 2 polygon
223
+ 1 1.00 -4 -60 4 -60 2 polygon
224
+ 1.000 0.000 0.000 scb
225
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
226
+ sce
227
+ endgate
228
+ } def
229
+
230
+ /arrow {
231
+ % -12 -40 24 80 bbox
232
+ begingate
233
+ 1 0.80 0 -40 0 20 2 polygon
234
+ 1.00 0 0 40 arrowhead
235
+ endgate
236
+ } def
237
+
238
+ %%Page: 04073.eps 1
239
+ %%PageOrientation: Portrait
240
+ /pgsave save def bop
241
+ % 906 476 offsets
242
+ % 32.00 8.00 gridspace
243
+ 0.7500 inchscale
244
+ 2.6000 setlinewidth
245
+
246
+ 1.00 0 778 604 _npn
247
+ 1 1.00 650 604 714 604 2 polygon
248
+ 1.00 0 586 732 _resistor
249
+ 1.00 0 778 732 _resistor
250
+ 1.00 0 938 668 _npn
251
+ 1 1.00 778 668 874 668 2 polygon
252
+ 1.00 0 778 668 dot
253
+ 1.00 0 938 796 _resistor
254
+ 1 1.00 586 796 586 860 938 860 3 polygon
255
+ 1.00 0 778 860 dot
256
+ 1 1.00 778 860 778 796 2 polygon
257
+ 1.00 -181 938 556 diode
258
+ 1.00 0 938 444 _npn
259
+ 1.00 0 778 444 dot
260
+ 1 1.00 778 444 874 444 2 polygon
261
+ 1.00 0 778 380 _resistor
262
+ 1 1.00 778 540 778 444 2 polygon
263
+ 1.00 0 490 492 diode
264
+ 1.00 0 490 604 dot
265
+ 1 1.00 522 604 394 604 2 polygon
266
+ 1 1.00 490 604 490 540 2 polygon
267
+ 1 1.00 490 444 490 316 938 316 938 380 4 polygon
268
+ 1.00 0 778 316 dot
269
+ 1.00 0 938 508 dot
270
+ 1 1.00 938 508 1034 508 2 polygon
271
+ (Output) {/Helvetica 1.000 cf} 2 16 0 1050 492 label
272
+ (Input) {/Helvetica 1.000 cf} 2 16 0 294 596 label
273
+ 1 1.00 778 860 778 924 2 polygon
274
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 746 940 label
275
+ 1.00 0 778 316 gnd
276
+ (2) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 770 596 label
277
+ (3) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 930 660 label
278
+ (4) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 930 436 label
279
+ (1) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 426 476 label
280
+ (2) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 970 548 label
281
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 530 724 label
282
+ (2) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 714 724 label
283
+ (3) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 714 372 label
284
+ (4) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 874 788 label
285
+ ( = 5 volts) {ns} (cc) {ss} (V) {/Times-Roman 1.000 cf} 6 16 0 906 1020 label
286
+ (+) {/Times-Roman 1.000 cf} 2 16 0 510 520 label
287
+ (-) {/Times-Roman 1.000 cf} 2 16 0 510 444 label
288
+ (5 V) {/Times-Roman 1.000 cf} 2 16 0 526 482 label
289
+ (0 V) {/Times-Roman 1.000 cf} 2 16 0 422 724 label
290
+ 1.00 300 546 796 arrow
291
+ 1.00 195 482 652 arrow
292
+ 0 1.00 510 692 510 780 406 780 406 692 4 polygon
293
+ 1.00 90 538 604 diode
294
+ 1.00 -91 634 604 diode
295
+ 1.00 0 586 604 dot
296
+ 1 1.00 586 604 586 668 2 polygon
297
+ (") {ns} (1) {ss} ("Q) {/Times-Roman 1.000 cf} 6 16 0 554 540 label
298
+ 1 1.00 634 764 634 700 2 polygon
299
+ 1 1.00 618 748 634 764 650 748 3 polygon
300
+ 1 1.00 714 652 650 652 2 polygon
301
+ 1 1.00 666 636 650 652 666 668 3 polygon
302
+ 1 2.00 810 492 810 556 2 polygon
303
+ 1 2.00 794 540 810 556 826 540 3 polygon
304
+ 1 2.00 826 348 826 412 2 polygon
305
+ 1 2.00 810 396 826 412 842 396 3 polygon
306
+ 1 2.00 810 732 810 796 2 polygon
307
+ 1 2.00 794 780 810 796 826 780 3 polygon
308
+ 1 1.00 874 468 810 468 2 polygon
309
+ 1 1.00 826 452 810 468 826 484 3 polygon
310
+ (0 V) {/Times-Roman 1.000 cf} (\273 ) {/Symbol 1.000 cf} 4 16 0 1018 396 label
311
+ 1.00 30 1034 468 arrow
312
+ 1.00 120 978 364 arrow
313
+ 0 1.00 1016 432 1016 384 1136 384 1136 432 4 polygon
314
+ (0.7 V) {/Times-Roman 1.000 cf} (\273 ) {/Symbol 1.000 cf} 4 16 0 546 368 label
315
+ 0 1.00 540 402 540 360 696 360 696 402 4 polygon
316
+ 1.00 300 734 422 arrow
317
+ 1.00 240 736 338 arrow
318
+ (\(floating\)) {/Helvetica-Oblique 1.000 cf} 2 16 0 256 556 label
319
+ pgsave restore showpage
320
+
321
+ %%Trailer
322
+ XCIRCsave restore
323
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04080.eps ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04080.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 08:56:00 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 268 208
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Helvetica-BoldOblique font Times-Roman
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /dot {
144
+ % -10 -10 20 20 bbox
145
+ begingate
146
+ 248 1.00 0 0 6 0.00 360.00 xcarc
147
+ endgate
148
+ } def
149
+
150
+ /spdt_toggle {
151
+ % -64 -32 128 64 bbox
152
+ begingate
153
+ 1.00 0 16 16 dot
154
+ 1 1.00 16 16 16 32 64 32 3 polygon
155
+ 1.00 0 16 -16 dot
156
+ 1 1.00 16 -16 16 -32 64 -32 3 polygon
157
+ 1 1.00 -16 0 32 -16 2 polygon
158
+ 1 1.00 -64 0 -16 0 2 polygon
159
+ 1.00 0 -16 0 dot
160
+ endgate
161
+ } def
162
+
163
+ /gnd {
164
+ % -32 -60 64 68 bbox
165
+ begingate
166
+ 1 1.00 0 0 0 -32 2 polygon
167
+ 1 1.00 -32 -32 32 -32 2 polygon
168
+ 1 1.00 -18 -46 18 -46 2 polygon
169
+ 1 1.00 -4 -60 4 -60 2 polygon
170
+ 1.000 0.000 0.000 scb
171
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
172
+ sce
173
+ endgate
174
+ } def
175
+
176
+ /resistor {
177
+ % -14 -64 28 128 bbox
178
+ begingate
179
+ % fundamental
180
+ 1 1.00 0 64 0 36 2 polygon
181
+ 1 1.00 0 -64 0 -36 2 polygon
182
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
183
+ 1.000 0.000 0.000 scb
184
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
185
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
186
+ sce
187
+ 0.000 1.000 0.000 scb
188
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
189
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
190
+ sce
191
+ endgate
192
+ } def
193
+
194
+ %%Page: 1 1
195
+ %%PageOrientation: Portrait
196
+ /pgsave save def bop
197
+ % 464 444 offsets
198
+ 0.7500 inchscale
199
+ 2.6000 setlinewidth
200
+
201
+ 0.603 0.603 0.603 scb
202
+ 3 1.00 400 572 400 316 656 444 400 572 4 polygon
203
+ sce
204
+ 1 1.00 400 444 304 444 2 polygon
205
+ 1.00 180 560 444 spdt_toggle
206
+ 1 1.00 624 444 720 444 2 polygon
207
+ (Input) {/Helvetica 1.000 cf} 2 16 0 256 460 label
208
+ (Output) {/Helvetica 1.000 cf} 2 16 0 672 460 label
209
+ 1 1.00 496 476 496 572 2 polygon
210
+ 1 1.00 464 572 528 572 2 polygon
211
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 464 588 label
212
+ 1 1.00 496 412 496 316 2 polygon
213
+ 1.00 0 496 316 gnd
214
+ 1 1.00 400 444 432 444 2 polygon
215
+ (...) {/Times-Roman 1.000 cf} 2 16 0 440 444 label
216
+ 1.00 0 816 380 resistor
217
+ 1 1.00 720 444 816 444 2 polygon
218
+ 1.00 0 816 316 gnd
219
+ (Load) {/Helvetica 1.000 cf} 2 16 0 848 364 label
220
+ 1 2.00 768 348 768 412 2 polygon
221
+ 1 2.00 752 396 768 412 784 396 3 polygon
222
+ 1 2.00 528 492 528 556 2 polygon
223
+ 1 2.00 512 540 528 556 544 540 3 polygon
224
+ 0.603 0.603 0.603 scb
225
+ 3 1.00 672 444 16 0.00 360.00 xcarc
226
+ sce
227
+ ( current) {/Helvetica-Oblique 1.000 cf} (sourcing) {/Helvetica-BoldOblique 1.000 cf} (Simplified gate circuit )
228
+ {/Helvetica-Oblique 1.000 cf} 6 16 0 256 700 label
229
+ pgsave restore showpage
230
+
231
+ %%Trailer
232
+ XCIRCsave restore
233
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04081.eps ADDED
@@ -0,0 +1,347 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04081.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 08:55:20 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 388 317
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Helvetica-BoldOblique font Times-Roman font Symbol
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /arrowhead {
144
+ % -12 -32 24 36 bbox
145
+ begingate
146
+ 8 -28 beginpath
147
+ 3 -18 3 -15 0 0 curveto
148
+ -3 -15 -3 -18 -8 -28 curveto
149
+ -2 -26 2 -26 8 -28 curveto
150
+ 249 1.00 endpath
151
+ endgate
152
+ } def
153
+
154
+ /_npn {
155
+ % -64 -64 72 128 bbox
156
+ begingate
157
+ % fundamental
158
+ 1 1.00 -48 0 -64 0 2 polygon
159
+ 1 1.00 -48 48 -48 -48 2 polygon
160
+ 1 1.00 0 48 -48 22 2 polygon
161
+ 1 1.00 0 48 0 64 2 polygon
162
+ 1 1.00 0 -48 -48 -22 2 polygon
163
+ 1 1.00 0 -48 0 -64 2 polygon
164
+ 1.00 240 0 -48 arrowhead
165
+ 1.000 0.000 0.000 scb
166
+ (C) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
167
+ (B) {/Times-Roman 1.000 cf} 2 7 0 -64 0 pinlabel
168
+ (E) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
169
+ sce
170
+ 0.000 1.000 0.000 scb
171
+ (spice:Q%i %pC %pB %pE npn) {/Times-Roman 1.000 cf} 2 4 0 -244 -139 infolabel
172
+ (sim:b %pB %pE %pC) {/Times-Roman 1.000 cf} 2 4 0 -244 -187 infolabel
173
+ sce
174
+ endgate
175
+ } def
176
+
177
+ /_resistor {
178
+ % -14 -64 28 128 bbox
179
+ begingate
180
+ % fundamental
181
+ 1 1.00 0 64 0 36 2 polygon
182
+ 1 1.00 0 -64 0 -36 2 polygon
183
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
184
+ 1.000 0.000 0.000 scb
185
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
186
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
187
+ sce
188
+ 0.000 1.000 0.000 scb
189
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
190
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
191
+ sce
192
+ endgate
193
+ } def
194
+
195
+ /dot {
196
+ % -10 -10 20 20 bbox
197
+ begingate
198
+ 248 1.00 0 0 6 0.00 360.00 xcarc
199
+ endgate
200
+ } def
201
+
202
+ /diode {
203
+ % -8 -48 36 96 bbox
204
+ begingate
205
+ % fundamental
206
+ 248 1.00 -18 -16 0 16 18 -16 3 polygon
207
+ 1 1.00 0 -48 0 -16 2 polygon
208
+ 1 1.00 0 48 0 16 2 polygon
209
+ 1 1.00 -18 16 18 16 2 polygon
210
+ 1.000 0.000 0.000 scb
211
+ (d.m) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
212
+ (d.p) {/Times-Roman 1.000 cf} 2 13 0 0 -48 pinlabel
213
+ sce
214
+ endgate
215
+ } def
216
+
217
+ /gnd {
218
+ % -32 -60 64 68 bbox
219
+ begingate
220
+ 1 1.00 0 0 0 -32 2 polygon
221
+ 1 1.00 -32 -32 32 -32 2 polygon
222
+ 1 1.00 -18 -46 18 -46 2 polygon
223
+ 1 1.00 -4 -60 4 -60 2 polygon
224
+ 1.000 0.000 0.000 scb
225
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
226
+ sce
227
+ endgate
228
+ } def
229
+
230
+ /spdt_toggle {
231
+ % -64 -32 128 64 bbox
232
+ begingate
233
+ 1.00 0 16 16 dot
234
+ 1 1.00 16 16 16 32 64 32 3 polygon
235
+ 1.00 0 16 -16 dot
236
+ 1 1.00 16 -16 16 -32 64 -32 3 polygon
237
+ 1 1.00 -16 0 32 -16 2 polygon
238
+ 1 1.00 -64 0 -16 0 2 polygon
239
+ 1.00 0 -16 0 dot
240
+ endgate
241
+ } def
242
+
243
+ /arrow {
244
+ % -12 -40 24 80 bbox
245
+ begingate
246
+ 1 0.80 0 -40 0 20 2 polygon
247
+ 1.00 0 0 40 arrowhead
248
+ endgate
249
+ } def
250
+
251
+ %%Page: 04073.eps 1
252
+ %%PageOrientation: Portrait
253
+ /pgsave save def bop
254
+ % 928 544 offsets
255
+ 0.7500 inchscale
256
+ 2.6000 setlinewidth
257
+
258
+ 1.00 0 800 672 _npn
259
+ 1 1.00 672 672 736 672 2 polygon
260
+ 1.00 0 608 800 _resistor
261
+ 1.00 0 800 800 _resistor
262
+ 1.00 0 960 736 _npn
263
+ 1 1.00 800 736 896 736 2 polygon
264
+ 1.00 0 800 736 dot
265
+ 1.00 0 960 864 _resistor
266
+ 1 1.00 608 864 608 928 960 928 3 polygon
267
+ 1.00 0 800 928 dot
268
+ 1 1.00 800 928 800 864 2 polygon
269
+ 1.00 -181 960 624 diode
270
+ 1.00 0 960 512 _npn
271
+ 1.00 0 800 512 dot
272
+ 1 1.00 800 512 896 512 2 polygon
273
+ 1.00 0 800 448 _resistor
274
+ 1 1.00 800 608 800 512 2 polygon
275
+ 1.00 0 512 560 diode
276
+ 1.00 0 512 672 dot
277
+ 1 1.00 544 672 416 672 2 polygon
278
+ 1 1.00 512 672 512 608 2 polygon
279
+ 1 1.00 512 512 512 384 960 384 960 448 4 polygon
280
+ 1.00 0 800 384 dot
281
+ 1.00 0 960 576 dot
282
+ 1 1.00 960 576 1056 576 2 polygon
283
+ (Output) {/Helvetica 1.000 cf} 2 16 0 1072 600 label
284
+ (Input) {/Helvetica 1.000 cf} 2 16 0 400 688 label
285
+ 1 1.00 800 928 800 992 2 polygon
286
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 768 1008 label
287
+ 1.00 0 800 384 gnd
288
+ (2) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 792 664 label
289
+ (3) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 984 728 label
290
+ (4) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 952 504 label
291
+ (1) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 448 544 label
292
+ (2) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 992 616 label
293
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 552 792 label
294
+ (2) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 736 792 label
295
+ (3) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 736 440 label
296
+ (4) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 896 856 label
297
+ 1.00 -1 352 672 spdt_toggle
298
+ 1.00 0 288 640 gnd
299
+ 1 1.00 288 704 288 768 2 polygon
300
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 256 784 label
301
+ 1 1.00 256 768 320 768 2 polygon
302
+ ( = 5 volts) {ns} (cc) {ss} (V) {/Times-Roman 1.000 cf} 6 16 0 928 1088 label
303
+ 1.00 300 568 864 arrow
304
+ 1.00 195 504 720 arrow
305
+ 0 1.00 532 760 532 848 428 848 428 760 4 polygon
306
+ 1.00 90 560 672 diode
307
+ 1.00 -91 656 672 diode
308
+ 1.00 0 608 672 dot
309
+ 1 1.00 608 672 608 736 2 polygon
310
+ (") {ns} (1) {ss} ("Q) {/Times-Roman 1.000 cf} 6 16 0 576 608 label
311
+ 1 1.00 656 832 656 768 2 polygon
312
+ 1 1.00 640 816 656 832 672 816 3 polygon
313
+ 1 1.00 528 720 592 720 2 polygon
314
+ 1 1.00 576 704 592 720 576 736 3 polygon
315
+ 1.00 30 1056 536 arrow
316
+ 1.00 120 1000 432 arrow
317
+ 0 1.00 1038 500 1038 452 1158 452 1158 500 4 polygon
318
+ (5 V) {/Times-Roman 1.000 cf} 2 16 0 448 790 label
319
+ (0 V) {/Times-Roman 1.000 cf} 2 16 0 550 550 label
320
+ (+) {/Times-Roman 1.000 cf} 2 16 0 524 858 label
321
+ (-) {/Times-Roman 1.000 cf} 2 16 0 510 730 label
322
+ 1 1.00 832 864 832 800 2 polygon
323
+ 1 1.00 816 848 832 864 848 848 3 polygon
324
+ 1 1.00 896 760 832 760 2 polygon
325
+ 1 1.00 848 744 832 760 848 776 3 polygon
326
+ (5 V) {/Times-Roman 1.000 cf} (\273 ) {/Symbol 1.000 cf} 4 16 0 1040 464 label
327
+ 1.00 0 1248 480 _resistor
328
+ 1 1.00 1056 576 1248 576 1248 544 3 polygon
329
+ 1.00 0 1248 416 gnd
330
+ (Load) {/Helvetica 1.000 cf} 2 16 0 1280 480 label
331
+ 1 2.00 1200 448 1200 512 2 polygon
332
+ 1 2.00 1184 496 1200 512 1216 496 3 polygon
333
+ 1 2.00 1184 544 1120 544 2 polygon
334
+ 1 2.00 1136 560 1120 544 1136 528 3 polygon
335
+ 1 2.00 912 592 912 656 2 polygon
336
+ 1 2.00 896 640 912 656 928 640 3 polygon
337
+ 1 2.00 992 864 992 928 2 polygon
338
+ 1 2.00 976 912 992 928 1008 912 3 polygon
339
+ 1 2.00 960 704 960 768 2 polygon
340
+ 1 2.00 944 752 960 768 976 752 3 polygon
341
+ ( current) {/Helvetica-Oblique 1.000 cf} (sourcing) {/Helvetica-BoldOblique 1.000 cf} (Inverter gate )
342
+ {/Helvetica-Oblique 1.000 cf} 6 16 0 528 256 label
343
+ pgsave restore showpage
344
+
345
+ %%Trailer
346
+ XCIRCsave restore
347
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04082.eps ADDED
@@ -0,0 +1,351 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04082.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 08:56:40 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 388 317
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Helvetica-BoldOblique font Times-Roman font Symbol
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /arrowhead {
144
+ % -12 -32 24 36 bbox
145
+ begingate
146
+ 8 -28 beginpath
147
+ 3 -18 3 -15 0 0 curveto
148
+ -3 -15 -3 -18 -8 -28 curveto
149
+ -2 -26 2 -26 8 -28 curveto
150
+ 249 1.00 endpath
151
+ endgate
152
+ } def
153
+
154
+ /_npn {
155
+ % -64 -64 72 128 bbox
156
+ begingate
157
+ % fundamental
158
+ 1 1.00 -48 0 -64 0 2 polygon
159
+ 1 1.00 -48 48 -48 -48 2 polygon
160
+ 1 1.00 0 48 -48 22 2 polygon
161
+ 1 1.00 0 48 0 64 2 polygon
162
+ 1 1.00 0 -48 -48 -22 2 polygon
163
+ 1 1.00 0 -48 0 -64 2 polygon
164
+ 1.00 240 0 -48 arrowhead
165
+ 1.000 0.000 0.000 scb
166
+ (C) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
167
+ (B) {/Times-Roman 1.000 cf} 2 7 0 -64 0 pinlabel
168
+ (E) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
169
+ sce
170
+ 0.000 1.000 0.000 scb
171
+ (spice:Q%i %pC %pB %pE npn) {/Times-Roman 1.000 cf} 2 4 0 -244 -139 infolabel
172
+ (sim:b %pB %pE %pC) {/Times-Roman 1.000 cf} 2 4 0 -244 -187 infolabel
173
+ sce
174
+ endgate
175
+ } def
176
+
177
+ /_resistor {
178
+ % -14 -64 28 128 bbox
179
+ begingate
180
+ % fundamental
181
+ 1 1.00 0 64 0 36 2 polygon
182
+ 1 1.00 0 -64 0 -36 2 polygon
183
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
184
+ 1.000 0.000 0.000 scb
185
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
186
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
187
+ sce
188
+ 0.000 1.000 0.000 scb
189
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
190
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
191
+ sce
192
+ endgate
193
+ } def
194
+
195
+ /dot {
196
+ % -10 -10 20 20 bbox
197
+ begingate
198
+ 248 1.00 0 0 6 0.00 360.00 xcarc
199
+ endgate
200
+ } def
201
+
202
+ /diode {
203
+ % -8 -48 36 96 bbox
204
+ begingate
205
+ % fundamental
206
+ 248 1.00 -18 -16 0 16 18 -16 3 polygon
207
+ 1 1.00 0 -48 0 -16 2 polygon
208
+ 1 1.00 0 48 0 16 2 polygon
209
+ 1 1.00 -18 16 18 16 2 polygon
210
+ 1.000 0.000 0.000 scb
211
+ (d.m) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
212
+ (d.p) {/Times-Roman 1.000 cf} 2 13 0 0 -48 pinlabel
213
+ sce
214
+ endgate
215
+ } def
216
+
217
+ /gnd {
218
+ % -32 -60 64 68 bbox
219
+ begingate
220
+ 1 1.00 0 0 0 -32 2 polygon
221
+ 1 1.00 -32 -32 32 -32 2 polygon
222
+ 1 1.00 -18 -46 18 -46 2 polygon
223
+ 1 1.00 -4 -60 4 -60 2 polygon
224
+ 1.000 0.000 0.000 scb
225
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
226
+ sce
227
+ endgate
228
+ } def
229
+
230
+ /spdt_toggle {
231
+ % -64 -32 128 64 bbox
232
+ begingate
233
+ 1.00 0 16 16 dot
234
+ 1 1.00 16 16 16 32 64 32 3 polygon
235
+ 1.00 0 16 -16 dot
236
+ 1 1.00 16 -16 16 -32 64 -32 3 polygon
237
+ 1 1.00 -16 0 32 -16 2 polygon
238
+ 1 1.00 -64 0 -16 0 2 polygon
239
+ 1.00 0 -16 0 dot
240
+ endgate
241
+ } def
242
+
243
+ /arrow {
244
+ % -12 -40 24 80 bbox
245
+ begingate
246
+ 1 0.80 0 -40 0 20 2 polygon
247
+ 1.00 0 0 40 arrowhead
248
+ endgate
249
+ } def
250
+
251
+ %%Page: 04073.eps 1
252
+ %%PageOrientation: Portrait
253
+ /pgsave save def bop
254
+ % 928 544 offsets
255
+ 0.7500 inchscale
256
+ 2.6000 setlinewidth
257
+
258
+ 1.00 0 800 672 _npn
259
+ 1 1.00 672 672 736 672 2 polygon
260
+ 1.00 0 608 800 _resistor
261
+ 1.00 0 800 800 _resistor
262
+ 1.00 0 960 736 _npn
263
+ 1 1.00 800 736 896 736 2 polygon
264
+ 1.00 0 800 736 dot
265
+ 1.00 0 960 864 _resistor
266
+ 1 1.00 608 864 608 928 960 928 3 polygon
267
+ 1.00 0 800 928 dot
268
+ 1 1.00 800 928 800 864 2 polygon
269
+ 1.00 -181 960 624 diode
270
+ 1.00 0 960 512 _npn
271
+ 1.00 0 800 512 dot
272
+ 1 1.00 800 512 896 512 2 polygon
273
+ 1.00 0 800 448 _resistor
274
+ 1 1.00 800 608 800 512 2 polygon
275
+ 1.00 0 512 560 diode
276
+ 1.00 0 512 672 dot
277
+ 1 1.00 544 672 416 672 2 polygon
278
+ 1 1.00 512 672 512 608 2 polygon
279
+ 1 1.00 512 512 512 384 960 384 960 448 4 polygon
280
+ 1.00 0 800 384 dot
281
+ 1.00 0 960 576 dot
282
+ 1 1.00 960 576 1056 576 2 polygon
283
+ (Output) {/Helvetica 1.000 cf} 2 16 0 1072 608 label
284
+ (Input) {/Helvetica 1.000 cf} 2 16 0 400 688 label
285
+ 1 1.00 800 928 800 992 2 polygon
286
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 768 1008 label
287
+ 1.00 0 800 384 gnd
288
+ (2) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 792 664 label
289
+ (3) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 952 728 label
290
+ (4) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 1000 504 label
291
+ (1) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 448 544 label
292
+ (2) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 992 616 label
293
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 552 792 label
294
+ (2) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 736 792 label
295
+ (3) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 736 440 label
296
+ (4) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 896 856 label
297
+ 1.00 180 352 672 spdt_toggle
298
+ 1.00 0 288 640 gnd
299
+ 1 1.00 288 704 288 768 2 polygon
300
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 256 784 label
301
+ 1 1.00 256 768 320 768 2 polygon
302
+ ( = 5 volts) {ns} (cc) {ss} (V) {/Times-Roman 1.000 cf} 6 16 0 928 1088 label
303
+ (+) {/Times-Roman 1.000 cf} 2 16 0 532 588 label
304
+ (-) {/Times-Roman 1.000 cf} 2 16 0 532 512 label
305
+ (5 V) {/Times-Roman 1.000 cf} 2 16 0 548 550 label
306
+ (0 V) {/Times-Roman 1.000 cf} 2 16 0 444 792 label
307
+ 1.00 300 568 864 arrow
308
+ 1.00 195 504 720 arrow
309
+ 0 1.00 532 760 532 848 428 848 428 760 4 polygon
310
+ 1.00 90 560 672 diode
311
+ 1.00 -91 656 672 diode
312
+ 1.00 0 608 672 dot
313
+ 1 1.00 608 672 608 736 2 polygon
314
+ (") {ns} (1) {ss} ("Q) {/Times-Roman 1.000 cf} 6 16 0 576 608 label
315
+ 1 1.00 656 832 656 768 2 polygon
316
+ 1 1.00 640 816 656 832 672 816 3 polygon
317
+ 1 1.00 736 720 672 720 2 polygon
318
+ 1 1.00 688 704 672 720 688 736 3 polygon
319
+ 1 1.00 832 560 832 624 2 polygon
320
+ 1 1.00 816 608 832 624 848 608 3 polygon
321
+ 1 1.00 848 416 848 480 2 polygon
322
+ 1 1.00 832 464 848 480 864 464 3 polygon
323
+ 1 1.00 832 800 832 864 2 polygon
324
+ 1 1.00 816 848 832 864 848 848 3 polygon
325
+ 1 1.00 896 536 832 536 2 polygon
326
+ 1 1.00 848 520 832 536 848 552 3 polygon
327
+ (0.7 V) {/Times-Roman 1.000 cf} (\273 ) {/Symbol 1.000 cf} 4 16 0 568 436 label
328
+ 0 1.00 562 470 562 428 718 428 718 470 4 polygon
329
+ 1.00 300 756 490 arrow
330
+ 1.00 240 758 406 arrow
331
+ 1.00 0 1248 672 _resistor
332
+ 1 1.00 1056 576 1248 576 1248 608 3 polygon
333
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 1216 816 label
334
+ 1 1.00 1248 736 1248 800 2 polygon
335
+ 1 1.00 1216 800 1280 800 2 polygon
336
+ 1 2.00 976 480 976 544 2 polygon
337
+ 1 2.00 960 528 976 544 992 528 3 polygon
338
+ 1 2.00 1088 544 1152 544 2 polygon
339
+ 1 2.00 1136 560 1152 544 1136 528 3 polygon
340
+ 1 2.00 1216 672 1216 736 2 polygon
341
+ 1 2.00 1200 720 1216 736 1232 720 3 polygon
342
+ (current) {/Helvetica-Oblique 1.000 cf} (sinking ) {/Helvetica-BoldOblique 1.000 cf} (Inverter gate )
343
+ {/Helvetica-Oblique 1.000 cf} 6 16 0 512 256 label
344
+ (Load) {/Helvetica 1.000 cf} 2 16 0 1280 664 label
345
+ 1 2.00 880 352 944 352 2 polygon
346
+ 1 2.00 928 368 944 352 928 336 3 polygon
347
+ pgsave restore showpage
348
+
349
+ %%Trailer
350
+ XCIRCsave restore
351
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04083.eps ADDED
@@ -0,0 +1,235 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04083.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 08:57:12 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 266 208
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Helvetica-BoldOblique font Times-Roman
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /dot {
144
+ % -10 -10 20 20 bbox
145
+ begingate
146
+ 248 1.00 0 0 6 0.00 360.00 xcarc
147
+ endgate
148
+ } def
149
+
150
+ /spdt_toggle {
151
+ % -64 -32 128 64 bbox
152
+ begingate
153
+ 1.00 0 16 16 dot
154
+ 1 1.00 16 16 16 32 64 32 3 polygon
155
+ 1.00 0 16 -16 dot
156
+ 1 1.00 16 -16 16 -32 64 -32 3 polygon
157
+ 1 1.00 -16 0 32 -16 2 polygon
158
+ 1 1.00 -64 0 -16 0 2 polygon
159
+ 1.00 0 -16 0 dot
160
+ endgate
161
+ } def
162
+
163
+ /gnd {
164
+ % -32 -60 64 68 bbox
165
+ begingate
166
+ 1 1.00 0 0 0 -32 2 polygon
167
+ 1 1.00 -32 -32 32 -32 2 polygon
168
+ 1 1.00 -18 -46 18 -46 2 polygon
169
+ 1 1.00 -4 -60 4 -60 2 polygon
170
+ 1.000 0.000 0.000 scb
171
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
172
+ sce
173
+ endgate
174
+ } def
175
+
176
+ /resistor {
177
+ % -14 -64 28 128 bbox
178
+ begingate
179
+ % fundamental
180
+ 1 1.00 0 64 0 36 2 polygon
181
+ 1 1.00 0 -64 0 -36 2 polygon
182
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
183
+ 1.000 0.000 0.000 scb
184
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
185
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
186
+ sce
187
+ 0.000 1.000 0.000 scb
188
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
189
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
190
+ sce
191
+ endgate
192
+ } def
193
+
194
+ %%Page: 04080.eps 1
195
+ %%PageOrientation: Portrait
196
+ /pgsave save def bop
197
+ % 464 444 offsets
198
+ 0.7500 inchscale
199
+ 2.6000 setlinewidth
200
+
201
+ 0.603 0.603 0.603 scb
202
+ 3 1.00 400 572 400 316 656 444 400 572 4 polygon
203
+ sce
204
+ 1 1.00 400 444 304 444 2 polygon
205
+ 1.00 -1 560 444 spdt_toggle
206
+ 1 1.00 624 444 720 444 2 polygon
207
+ (Input) {/Helvetica 1.000 cf} 2 16 0 256 460 label
208
+ (Output) {/Helvetica 1.000 cf} 2 16 0 704 396 label
209
+ 1 1.00 496 476 496 572 2 polygon
210
+ 1 1.00 464 572 528 572 2 polygon
211
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 464 588 label
212
+ 1 1.00 496 412 496 316 2 polygon
213
+ 1.00 0 496 316 gnd
214
+ 1 1.00 400 444 432 444 2 polygon
215
+ (...) {/Times-Roman 1.000 cf} 2 16 0 440 444 label
216
+ 1.00 0 816 508 resistor
217
+ 1 1.00 720 444 816 444 2 polygon
218
+ (Load) {/Helvetica 1.000 cf} 2 16 0 848 492 label
219
+ 1 2.00 784 508 784 572 2 polygon
220
+ 1 2.00 768 556 784 572 800 556 3 polygon
221
+ 1 2.00 528 316 528 380 2 polygon
222
+ 1 2.00 512 364 528 380 544 364 3 polygon
223
+ 0.603 0.603 0.603 scb
224
+ 3 1.00 672 444 16 0.00 360.00 xcarc
225
+ sce
226
+ ( current) {/Helvetica-Oblique 1.000 cf} (sinking) {/Helvetica-BoldOblique 1.000 cf} (Simplified gate circuit )
227
+ {/Helvetica-Oblique 1.000 cf} 6 16 0 272 700 label
228
+ 1 1.00 784 604 848 604 2 polygon
229
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 784 620 label
230
+ 1 1.00 816 604 816 572 2 polygon
231
+ pgsave restore showpage
232
+
233
+ %%Trailer
234
+ XCIRCsave restore
235
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04084.eps ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04084.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 08:57:43 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 350 190
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /dot {
144
+ % -10 -10 20 20 bbox
145
+ begingate
146
+ 248 1.00 0 0 6 0.00 360.00 xcarc
147
+ endgate
148
+ } def
149
+
150
+ /spdt_toggle {
151
+ % -64 -32 128 64 bbox
152
+ begingate
153
+ 1.00 0 16 16 dot
154
+ 1 1.00 16 16 16 32 64 32 3 polygon
155
+ 1.00 0 16 -16 dot
156
+ 1 1.00 16 -16 16 -32 64 -32 3 polygon
157
+ 1 1.00 -16 0 32 -16 2 polygon
158
+ 1 1.00 -64 0 -16 0 2 polygon
159
+ 1.00 0 -16 0 dot
160
+ endgate
161
+ } def
162
+
163
+ /gnd {
164
+ % -32 -60 64 68 bbox
165
+ begingate
166
+ 1 1.00 0 0 0 -32 2 polygon
167
+ 1 1.00 -32 -32 32 -32 2 polygon
168
+ 1 1.00 -18 -46 18 -46 2 polygon
169
+ 1 1.00 -4 -60 4 -60 2 polygon
170
+ 1.000 0.000 0.000 scb
171
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
172
+ sce
173
+ endgate
174
+ } def
175
+
176
+ /arrowhead {
177
+ % -12 -32 24 36 bbox
178
+ begingate
179
+ 8 -28 beginpath
180
+ 3 -18 3 -15 0 0 curveto
181
+ -3 -15 -3 -18 -8 -28 curveto
182
+ -2 -26 2 -26 8 -28 curveto
183
+ 249 1.00 endpath
184
+ endgate
185
+ } def
186
+
187
+ /arrow {
188
+ % -12 -40 24 80 bbox
189
+ begingate
190
+ 1 0.80 0 -40 0 20 2 polygon
191
+ 1.00 0 0 40 arrowhead
192
+ endgate
193
+ } def
194
+
195
+ %%Page: 04080.eps 1
196
+ %%PageOrientation: Portrait
197
+ /pgsave save def bop
198
+ % 464 444 offsets
199
+ % 32.00 8.00 gridspace
200
+ 0.7500 inchscale
201
+ 2.6000 setlinewidth
202
+
203
+ 0.603 0.603 0.603 scb
204
+ 3 1.00 400 572 400 316 656 444 400 572 4 polygon
205
+ sce
206
+ 1 1.00 400 444 304 444 2 polygon
207
+ 1.00 180 560 444 spdt_toggle
208
+ 1 1.00 624 444 720 444 2 polygon
209
+ (Input) {/Helvetica 1.000 cf} 2 16 0 256 460 label
210
+ 1 1.00 496 476 496 572 2 polygon
211
+ 1 1.00 464 572 528 572 2 polygon
212
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 464 588 label
213
+ 1 1.00 496 412 496 316 2 polygon
214
+ 1.00 0 496 316 gnd
215
+ 1 1.00 400 444 432 444 2 polygon
216
+ (...) {/Times-Roman 1.000 cf} 2 16 0 440 444 label
217
+ 1 1.00 720 444 816 444 2 polygon
218
+ 0.603 0.603 0.603 scb
219
+ 3 1.00 672 444 16 0.00 360.00 xcarc
220
+ 3 1.00 912 572 912 316 1168 444 912 572 4 polygon
221
+ sce
222
+ 1 1.00 912 444 816 444 2 polygon
223
+ (...) {/Times-Roman 1.000 cf} 2 16 0 952 444 label
224
+ 1 1.00 912 444 944 444 2 polygon
225
+ 0.603 0.603 0.603 scb
226
+ 3 1.00 1184 444 16 0.00 360.00 xcarc
227
+ sce
228
+ (TTL) {/Helvetica 1.000 cf} 2 16 0 992 452 label
229
+ (gate) {/Helvetica 1.000 cf} 2 16 0 992 420 label
230
+ 1 1.00 1200 444 1232 444 2 polygon
231
+ 1.00 135 576 524 arrow
232
+ ( is not) {ns} (cc) {ss} (A direct connection to V) {/Helvetica-Oblique 1.000 cf} 6 16 0 576 636 label
233
+ (necessary to drive the TTL gate) {/Helvetica-Oblique 1.000 cf} 2 16 0 576 596 label
234
+ (input high!) {/Helvetica-Oblique 1.000 cf} 2 16 0 608 556 label
235
+ pgsave restore showpage
236
+
237
+ %%Trailer
238
+ XCIRCsave restore
239
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04085.eps ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04085.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 08:58:14 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 350 181
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /dot {
144
+ % -10 -10 20 20 bbox
145
+ begingate
146
+ 248 1.00 0 0 6 0.00 360.00 xcarc
147
+ endgate
148
+ } def
149
+
150
+ /spdt_toggle {
151
+ % -64 -32 128 64 bbox
152
+ begingate
153
+ 1.00 0 16 16 dot
154
+ 1 1.00 16 16 16 32 64 32 3 polygon
155
+ 1.00 0 16 -16 dot
156
+ 1 1.00 16 -16 16 -32 64 -32 3 polygon
157
+ 1 1.00 -16 0 32 -16 2 polygon
158
+ 1 1.00 -64 0 -16 0 2 polygon
159
+ 1.00 0 -16 0 dot
160
+ endgate
161
+ } def
162
+
163
+ /gnd {
164
+ % -32 -60 64 68 bbox
165
+ begingate
166
+ 1 1.00 0 0 0 -32 2 polygon
167
+ 1 1.00 -32 -32 32 -32 2 polygon
168
+ 1 1.00 -18 -46 18 -46 2 polygon
169
+ 1 1.00 -4 -60 4 -60 2 polygon
170
+ 1.000 0.000 0.000 scb
171
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
172
+ sce
173
+ endgate
174
+ } def
175
+
176
+ /arrowhead {
177
+ % -12 -32 24 36 bbox
178
+ begingate
179
+ 8 -28 beginpath
180
+ 3 -18 3 -15 0 0 curveto
181
+ -3 -15 -3 -18 -8 -28 curveto
182
+ -2 -26 2 -26 8 -28 curveto
183
+ 249 1.00 endpath
184
+ endgate
185
+ } def
186
+
187
+ /arrow {
188
+ % -12 -40 24 80 bbox
189
+ begingate
190
+ 1 0.80 0 -40 0 20 2 polygon
191
+ 1.00 0 0 40 arrowhead
192
+ endgate
193
+ } def
194
+
195
+ %%Page: 04080.eps 1
196
+ %%PageOrientation: Portrait
197
+ /pgsave save def bop
198
+ % 464 444 offsets
199
+ % 32.00 8.00 gridspace
200
+ 0.7500 inchscale
201
+ 2.6000 setlinewidth
202
+
203
+ 0.603 0.603 0.603 scb
204
+ 3 1.00 400 572 400 316 656 444 400 572 4 polygon
205
+ sce
206
+ 1 1.00 400 444 304 444 2 polygon
207
+ 1.00 180 560 444 spdt_toggle
208
+ 1 1.00 624 444 720 444 2 polygon
209
+ (Input) {/Helvetica 1.000 cf} 2 16 0 256 460 label
210
+ 1 1.00 464 572 528 572 2 polygon
211
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 464 588 label
212
+ 1 1.00 496 412 496 316 2 polygon
213
+ 1.00 0 496 316 gnd
214
+ 1 1.00 400 444 432 444 2 polygon
215
+ (...) {/Times-Roman 1.000 cf} 2 16 0 440 444 label
216
+ 1 1.00 720 444 816 444 2 polygon
217
+ 0.603 0.603 0.603 scb
218
+ 3 1.00 672 444 16 0.00 360.00 xcarc
219
+ 3 1.00 912 572 912 316 1168 444 912 572 4 polygon
220
+ sce
221
+ 1 1.00 912 444 816 444 2 polygon
222
+ (...) {/Times-Roman 1.000 cf} 2 16 0 952 444 label
223
+ 1 1.00 912 444 944 444 2 polygon
224
+ 0.603 0.603 0.603 scb
225
+ 3 1.00 1184 444 16 0.00 360.00 xcarc
226
+ sce
227
+ (TTL) {/Helvetica 1.000 cf} 2 16 0 992 452 label
228
+ (gate) {/Helvetica 1.000 cf} 2 16 0 992 420 label
229
+ 1 1.00 1200 444 1232 444 2 polygon
230
+ 1.00 135 576 524 arrow
231
+ 1 1.00 496 572 496 508 2 polygon
232
+ (An output that "floats" when high) {/Helvetica-Oblique 1.000 cf} 2 16 0 592 604 label
233
+ (is sufficient.) {/Helvetica-Oblique 1.000 cf} 2 16 0 592 564 label
234
+ pgsave restore showpage
235
+
236
+ %%Trailer
237
+ XCIRCsave restore
238
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04086.eps ADDED
@@ -0,0 +1,271 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04086.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 08:59:28 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 325 303
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /arrowhead {
144
+ % -12 -32 24 36 bbox
145
+ begingate
146
+ 8 -28 beginpath
147
+ 3 -18 3 -15 0 0 curveto
148
+ -3 -15 -3 -18 -8 -28 curveto
149
+ -2 -26 2 -26 8 -28 curveto
150
+ 249 1.00 endpath
151
+ endgate
152
+ } def
153
+
154
+ /_npn {
155
+ % -64 -64 72 128 bbox
156
+ begingate
157
+ % fundamental
158
+ 1 1.00 -48 0 -64 0 2 polygon
159
+ 1 1.00 -48 48 -48 -48 2 polygon
160
+ 1 1.00 0 48 -48 22 2 polygon
161
+ 1 1.00 0 48 0 64 2 polygon
162
+ 1 1.00 0 -48 -48 -22 2 polygon
163
+ 1 1.00 0 -48 0 -64 2 polygon
164
+ 1.00 240 0 -48 arrowhead
165
+ 1.000 0.000 0.000 scb
166
+ (C) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
167
+ (B) {/Times-Roman 1.000 cf} 2 7 0 -64 0 pinlabel
168
+ (E) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
169
+ sce
170
+ 0.000 1.000 0.000 scb
171
+ (spice:Q%i %pC %pB %pE npn) {/Times-Roman 1.000 cf} 2 4 0 -244 -139 infolabel
172
+ (sim:b %pB %pE %pC) {/Times-Roman 1.000 cf} 2 4 0 -244 -187 infolabel
173
+ sce
174
+ endgate
175
+ } def
176
+
177
+ /_resistor {
178
+ % -14 -64 28 128 bbox
179
+ begingate
180
+ % fundamental
181
+ 1 1.00 0 64 0 36 2 polygon
182
+ 1 1.00 0 -64 0 -36 2 polygon
183
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
184
+ 1.000 0.000 0.000 scb
185
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
186
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
187
+ sce
188
+ 0.000 1.000 0.000 scb
189
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
190
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
191
+ sce
192
+ endgate
193
+ } def
194
+
195
+ /dot {
196
+ % -10 -10 20 20 bbox
197
+ begingate
198
+ 248 1.00 0 0 6 0.00 360.00 xcarc
199
+ endgate
200
+ } def
201
+
202
+ /diode {
203
+ % -8 -48 36 96 bbox
204
+ begingate
205
+ % fundamental
206
+ 248 1.00 -18 -16 0 16 18 -16 3 polygon
207
+ 1 1.00 0 -48 0 -16 2 polygon
208
+ 1 1.00 0 48 0 16 2 polygon
209
+ 1 1.00 -18 16 18 16 2 polygon
210
+ 1.000 0.000 0.000 scb
211
+ (d.m) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
212
+ (d.p) {/Times-Roman 1.000 cf} 2 13 0 0 -48 pinlabel
213
+ sce
214
+ endgate
215
+ } def
216
+
217
+ /gnd {
218
+ % -32 -60 64 68 bbox
219
+ begingate
220
+ 1 1.00 0 0 0 -32 2 polygon
221
+ 1 1.00 -32 -32 32 -32 2 polygon
222
+ 1 1.00 -18 -46 18 -46 2 polygon
223
+ 1 1.00 -4 -60 4 -60 2 polygon
224
+ 1.000 0.000 0.000 scb
225
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
226
+ sce
227
+ endgate
228
+ } def
229
+
230
+ %%Page: 04073.eps 1
231
+ %%PageOrientation: Portrait
232
+ /pgsave save def bop
233
+ % 880 476 offsets
234
+ 0.7500 inchscale
235
+ 2.6000 setlinewidth
236
+
237
+ 1.00 270 560 604 _npn
238
+ 1.00 0 752 604 _npn
239
+ 1 1.00 624 604 688 604 2 polygon
240
+ 1.00 0 560 732 _resistor
241
+ 1.00 0 752 732 _resistor
242
+ 1.00 0 752 860 dot
243
+ 1 1.00 752 860 752 796 2 polygon
244
+ 1.00 0 912 444 _npn
245
+ 1.00 0 752 444 dot
246
+ 1 1.00 752 444 848 444 2 polygon
247
+ 1.00 0 752 380 _resistor
248
+ 1 1.00 752 540 752 444 2 polygon
249
+ 1.00 0 464 492 diode
250
+ 1.00 0 464 604 dot
251
+ 1 1.00 496 604 368 604 2 polygon
252
+ 1 1.00 464 604 464 540 2 polygon
253
+ 1 1.00 464 444 464 316 912 316 912 380 4 polygon
254
+ 1.00 0 752 316 dot
255
+ 1 1.00 912 508 1008 508 2 polygon
256
+ (Output) {/Helvetica 1.000 cf} 2 16 0 1024 492 label
257
+ (Input) {/Helvetica 1.000 cf} 2 16 0 256 588 label
258
+ 1 1.00 752 860 752 924 2 polygon
259
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 720 940 label
260
+ 1.00 0 752 316 gnd
261
+ (1) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 400 476 label
262
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 504 724 label
263
+ (2) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 688 724 label
264
+ (3) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 688 372 label
265
+ (Inverter circuit with open-collector output) {/Helvetica-Oblique 1.000 cf} 2 16 0 400 1036 label
266
+ 1 1.00 752 860 560 860 560 796 3 polygon
267
+ pgsave restore showpage
268
+
269
+ %%Trailer
270
+ XCIRCsave restore
271
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04087.eps ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04087.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 09:01:50 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 312 191
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Bold
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /invert {
144
+ % -48 -40 112 80 bbox
145
+ begingate
146
+ 0 1.00 -32 -40 -32 40 40 0 3 polygon
147
+ 1 1.00 48 0 8 0.00 360.00 xcarc
148
+ 1 1.00 -32 0 -48 0 2 polygon
149
+ 1 1.00 56 0 64 0 2 polygon
150
+ 1.000 0.000 0.000 scb
151
+ (Out) {/Helvetica 1.000 cf} 2 4 0 64 0 pinlabel
152
+ (In) {/Helvetica 1.000 cf} 2 7 0 -48 0 pinlabel
153
+ sce
154
+ endgate
155
+ } def
156
+
157
+ /arrowhead {
158
+ % -12 -32 24 36 bbox
159
+ begingate
160
+ 8 -28 beginpath
161
+ 3 -18 3 -15 0 0 curveto
162
+ -3 -15 -3 -18 -8 -28 curveto
163
+ -2 -26 2 -26 8 -28 curveto
164
+ 249 1.00 endpath
165
+ endgate
166
+ } def
167
+
168
+ /arrow {
169
+ % -12 -40 24 80 bbox
170
+ begingate
171
+ 1 0.80 0 -40 0 20 2 polygon
172
+ 1.00 0 0 40 arrowhead
173
+ endgate
174
+ } def
175
+
176
+ %%Page: 1 1
177
+ %%PageOrientation: Portrait
178
+ /pgsave save def bop
179
+ % 552 384 offsets
180
+ % 32.00 8.00 gridspace
181
+ 0.7500 inchscale
182
+ 2.6000 setlinewidth
183
+
184
+ 1.00 0 392 384 invert
185
+ 1.00 0 600 384 invert
186
+ 1 1.00 456 384 552 384 2 polygon
187
+ 1 1.00 664 384 712 384 2 polygon
188
+ 1 1.00 344 384 296 384 2 polygon
189
+ (0) {/Times-Bold 1.000 cf} 2 16 0 256 368 label
190
+ (1) {/Times-Bold 1.000 cf} 2 16 0 488 400 label
191
+ (0) {/Times-Bold 1.000 cf} 2 16 0 728 368 label
192
+ 1.00 0 496 328 arrow
193
+ (0 inverted into a 1) {/Helvetica 1.000 cf} 2 16 0 344 256 label
194
+ 1.00 150 776 432 arrow
195
+ (Logic state re-inverted) {/Helvetica 1.000 cf} 2 16 0 680 528 label
196
+ (to original status) {/Helvetica 1.000 cf} 2 16 0 688 488 label
197
+ (Double inversion) {/Helvetica-Oblique 1.000 cf} 2 16 0 376 640 label
198
+ pgsave restore showpage
199
+
200
+ %%Trailer
201
+ XCIRCsave restore
202
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04089.eps ADDED
@@ -0,0 +1,303 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04089.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 09:02:57 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 361 322
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /arrowhead {
144
+ % -12 -32 24 36 bbox
145
+ begingate
146
+ 8 -28 beginpath
147
+ 3 -18 3 -15 0 0 curveto
148
+ -3 -15 -3 -18 -8 -28 curveto
149
+ -2 -26 2 -26 8 -28 curveto
150
+ 249 1.00 endpath
151
+ endgate
152
+ } def
153
+
154
+ /_npn {
155
+ % -64 -64 72 128 bbox
156
+ begingate
157
+ % fundamental
158
+ 1 1.00 -48 0 -64 0 2 polygon
159
+ 1 1.00 -48 48 -48 -48 2 polygon
160
+ 1 1.00 0 48 -48 22 2 polygon
161
+ 1 1.00 0 48 0 64 2 polygon
162
+ 1 1.00 0 -48 -48 -22 2 polygon
163
+ 1 1.00 0 -48 0 -64 2 polygon
164
+ 1.00 240 0 -48 arrowhead
165
+ 1.000 0.000 0.000 scb
166
+ (C) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
167
+ (B) {/Times-Roman 1.000 cf} 2 7 0 -64 0 pinlabel
168
+ (E) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
169
+ sce
170
+ 0.000 1.000 0.000 scb
171
+ (spice:Q%i %pC %pB %pE npn) {/Times-Roman 1.000 cf} 2 4 0 -244 -139 infolabel
172
+ (sim:b %pB %pE %pC) {/Times-Roman 1.000 cf} 2 4 0 -244 -187 infolabel
173
+ sce
174
+ endgate
175
+ } def
176
+
177
+ /_resistor {
178
+ % -14 -64 28 128 bbox
179
+ begingate
180
+ % fundamental
181
+ 1 1.00 0 64 0 36 2 polygon
182
+ 1 1.00 0 -64 0 -36 2 polygon
183
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
184
+ 1.000 0.000 0.000 scb
185
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
186
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
187
+ sce
188
+ 0.000 1.000 0.000 scb
189
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
190
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
191
+ sce
192
+ endgate
193
+ } def
194
+
195
+ /dot {
196
+ % -10 -10 20 20 bbox
197
+ begingate
198
+ 248 1.00 0 0 6 0.00 360.00 xcarc
199
+ endgate
200
+ } def
201
+
202
+ /diode {
203
+ % -8 -48 36 96 bbox
204
+ begingate
205
+ % fundamental
206
+ 248 1.00 -18 -16 0 16 18 -16 3 polygon
207
+ 1 1.00 0 -48 0 -16 2 polygon
208
+ 1 1.00 0 48 0 16 2 polygon
209
+ 1 1.00 -18 16 18 16 2 polygon
210
+ 1.000 0.000 0.000 scb
211
+ (d.m) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
212
+ (d.p) {/Times-Roman 1.000 cf} 2 13 0 0 -48 pinlabel
213
+ sce
214
+ endgate
215
+ } def
216
+
217
+ /gnd {
218
+ % -32 -60 64 68 bbox
219
+ begingate
220
+ 1 1.00 0 0 0 -32 2 polygon
221
+ 1 1.00 -32 -32 32 -32 2 polygon
222
+ 1 1.00 -18 -46 18 -46 2 polygon
223
+ 1 1.00 -4 -60 4 -60 2 polygon
224
+ 1.000 0.000 0.000 scb
225
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
226
+ sce
227
+ endgate
228
+ } def
229
+
230
+ /arrow {
231
+ % -12 -40 24 80 bbox
232
+ begingate
233
+ 1 0.80 0 -40 0 20 2 polygon
234
+ 1.00 0 0 40 arrowhead
235
+ endgate
236
+ } def
237
+
238
+ %%Page: 04073.eps 1
239
+ %%PageOrientation: Portrait
240
+ /pgsave save def bop
241
+ % 880 544 offsets
242
+ 0.7500 inchscale
243
+ 2.6000 setlinewidth
244
+
245
+ 1.00 270 560 672 _npn
246
+ 1.00 0 752 672 _npn
247
+ 1 1.00 624 672 688 672 2 polygon
248
+ 1.00 0 560 800 _resistor
249
+ 1.00 0 752 800 _resistor
250
+ 1.00 0 752 928 dot
251
+ 1 1.00 752 928 752 864 2 polygon
252
+ 1.00 0 880 512 _npn
253
+ 1.00 0 752 512 dot
254
+ 1.00 0 752 448 _resistor
255
+ 1 1.00 752 608 752 512 2 polygon
256
+ 1.00 0 464 560 diode
257
+ 1.00 0 464 672 dot
258
+ 1 1.00 496 672 368 672 2 polygon
259
+ 1 1.00 464 672 464 608 2 polygon
260
+ 1.00 0 752 384 dot
261
+ (Output) {/Helvetica 1.000 cf} 2 16 0 1152 640 label
262
+ (Input) {/Helvetica 1.000 cf} 2 16 0 256 656 label
263
+ 1 1.00 752 928 752 992 2 polygon
264
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 720 1008 label
265
+ 1.00 0 752 384 gnd
266
+ (1) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 400 544 label
267
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 504 792 label
268
+ (2) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 688 792 label
269
+ (3) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 688 440 label
270
+ 1 1.00 752 928 560 928 560 864 3 polygon
271
+ (Buffer circuit with open-collector output) {/Helvetica-Oblique 1.000 cf} 2 16 0 400 1104 label
272
+ 1.00 0 1072 576 _npn
273
+ 1 1.00 912 576 1008 576 2 polygon
274
+ 1 1.00 1072 512 1072 384 912 384 3 polygon
275
+ 1.00 0 960 736 _resistor
276
+ 1.00 0 960 576 dot
277
+ 1 1.00 752 928 960 928 960 800 3 polygon
278
+ 1 1.00 960 672 960 576 2 polygon
279
+ 1 1.00 1072 640 1136 640 2 polygon
280
+ (1) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 544 656 label
281
+ (2) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 736 664 label
282
+ (3) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 864 504 label
283
+ (4) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 1056 568 label
284
+ (4) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 976 728 label
285
+ 1.00 0 880 384 dot
286
+ 1 1.00 464 512 464 384 912 384 3 polygon
287
+ 1 1.00 880 384 880 448 2 polygon
288
+ 1 1.00 752 512 816 512 2 polygon
289
+ 1 1.00 880 576 912 576 2 polygon
290
+ 0.603 0.603 0.603 scb
291
+ 5 1.00 912 1056 912 256 2 polygon
292
+ sce
293
+ (Inverter) {/Helvetica 1.000 cf} 2 16 0 672 256 label
294
+ 1.00 90 624 272 arrow
295
+ 1.00 -91 864 272 arrow
296
+ (Inverter) {/Helvetica 1.000 cf} 2 16 0 1008 256 label
297
+ 1.00 -91 1200 272 arrow
298
+ 1.00 90 960 272 arrow
299
+ pgsave restore showpage
300
+
301
+ %%Trailer
302
+ XCIRCsave restore
303
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04090.eps ADDED
@@ -0,0 +1,301 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04090.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 09:03:29 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 361 276
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /arrowhead {
143
+ % -12 -32 24 36 bbox
144
+ begingate
145
+ 8 -28 beginpath
146
+ 3 -18 3 -15 0 0 curveto
147
+ -3 -15 -3 -18 -8 -28 curveto
148
+ -2 -26 2 -26 8 -28 curveto
149
+ 249 1.00 endpath
150
+ endgate
151
+ } def
152
+
153
+ /_npn {
154
+ % -64 -64 72 128 bbox
155
+ begingate
156
+ % fundamental
157
+ 1 1.00 -48 0 -64 0 2 polygon
158
+ 1 1.00 -48 48 -48 -48 2 polygon
159
+ 1 1.00 0 48 -48 22 2 polygon
160
+ 1 1.00 0 48 0 64 2 polygon
161
+ 1 1.00 0 -48 -48 -22 2 polygon
162
+ 1 1.00 0 -48 0 -64 2 polygon
163
+ 1.00 240 0 -48 arrowhead
164
+ 1.000 0.000 0.000 scb
165
+ (C) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
166
+ (B) {/Times-Roman 1.000 cf} 2 7 0 -64 0 pinlabel
167
+ (E) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
168
+ sce
169
+ 0.000 1.000 0.000 scb
170
+ (spice:Q%i %pC %pB %pE npn) {/Times-Roman 1.000 cf} 2 4 0 -244 -139 infolabel
171
+ (sim:b %pB %pE %pC) {/Times-Roman 1.000 cf} 2 4 0 -244 -187 infolabel
172
+ sce
173
+ endgate
174
+ } def
175
+
176
+ /_resistor {
177
+ % -14 -64 28 128 bbox
178
+ begingate
179
+ % fundamental
180
+ 1 1.00 0 64 0 36 2 polygon
181
+ 1 1.00 0 -64 0 -36 2 polygon
182
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
183
+ 1.000 0.000 0.000 scb
184
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
185
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
186
+ sce
187
+ 0.000 1.000 0.000 scb
188
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
189
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
190
+ sce
191
+ endgate
192
+ } def
193
+
194
+ /dot {
195
+ % -10 -10 20 20 bbox
196
+ begingate
197
+ 248 1.00 0 0 6 0.00 360.00 xcarc
198
+ endgate
199
+ } def
200
+
201
+ /diode {
202
+ % -8 -48 36 96 bbox
203
+ begingate
204
+ % fundamental
205
+ 248 1.00 -18 -16 0 16 18 -16 3 polygon
206
+ 1 1.00 0 -48 0 -16 2 polygon
207
+ 1 1.00 0 48 0 16 2 polygon
208
+ 1 1.00 -18 16 18 16 2 polygon
209
+ 1.000 0.000 0.000 scb
210
+ (d.m) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
211
+ (d.p) {/Times-Roman 1.000 cf} 2 13 0 0 -48 pinlabel
212
+ sce
213
+ endgate
214
+ } def
215
+
216
+ /gnd {
217
+ % -32 -60 64 68 bbox
218
+ begingate
219
+ 1 1.00 0 0 0 -32 2 polygon
220
+ 1 1.00 -32 -32 32 -32 2 polygon
221
+ 1 1.00 -18 -46 18 -46 2 polygon
222
+ 1 1.00 -4 -60 4 -60 2 polygon
223
+ 1.000 0.000 0.000 scb
224
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
225
+ sce
226
+ endgate
227
+ } def
228
+
229
+ /spdt_toggle {
230
+ % -64 -32 128 64 bbox
231
+ begingate
232
+ 1.00 0 16 16 dot
233
+ 1 1.00 16 16 16 32 64 32 3 polygon
234
+ 1.00 0 16 -16 dot
235
+ 1 1.00 16 -16 16 -32 64 -32 3 polygon
236
+ 1 1.00 -16 0 32 -16 2 polygon
237
+ 1 1.00 -64 0 -16 0 2 polygon
238
+ 1.00 0 -16 0 dot
239
+ endgate
240
+ } def
241
+
242
+ %%Page: 04073.eps 1
243
+ %%PageOrientation: Portrait
244
+ /pgsave save def bop
245
+ % 880 476 offsets
246
+ 0.7500 inchscale
247
+ 2.6000 setlinewidth
248
+
249
+ 1.00 270 560 604 _npn
250
+ 1.00 0 752 604 _npn
251
+ 1 1.00 624 604 688 604 2 polygon
252
+ 1.00 0 560 732 _resistor
253
+ 1.00 0 752 732 _resistor
254
+ 1.00 0 752 860 dot
255
+ 1 1.00 752 860 752 796 2 polygon
256
+ 1.00 0 912 444 _npn
257
+ 1.00 0 752 444 dot
258
+ 1 1.00 752 444 848 444 2 polygon
259
+ 1.00 0 752 380 _resistor
260
+ 1 1.00 752 540 752 444 2 polygon
261
+ 1.00 0 464 492 diode
262
+ 1.00 0 464 604 dot
263
+ 1 1.00 464 604 464 540 2 polygon
264
+ 1 1.00 464 444 464 316 912 316 912 380 4 polygon
265
+ 1.00 0 752 316 dot
266
+ (Output) {/Helvetica 1.000 cf} 2 16 0 1152 572 label
267
+ (Input) {/Helvetica 1.000 cf} 2 16 0 384 620 label
268
+ 1 1.00 752 860 752 924 2 polygon
269
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 720 940 label
270
+ 1.00 0 752 316 gnd
271
+ (1) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 400 476 label
272
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 504 724 label
273
+ (2) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 688 724 label
274
+ (3) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 688 372 label
275
+ 1 1.00 752 860 560 860 560 796 3 polygon
276
+ 1.00 0 1072 508 _npn
277
+ 1 1.00 912 508 1008 508 2 polygon
278
+ 1 1.00 1072 444 1072 316 912 316 3 polygon
279
+ 1.00 0 912 316 dot
280
+ 1.00 0 960 668 _resistor
281
+ 1.00 0 960 508 dot
282
+ 1 1.00 752 860 960 860 960 732 3 polygon
283
+ 1 1.00 960 604 960 508 2 polygon
284
+ 1 1.00 1072 572 1136 572 2 polygon
285
+ (1) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 544 588 label
286
+ (2) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 736 596 label
287
+ (3) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 896 436 label
288
+ (4) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 1056 500 label
289
+ (4) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 896 660 label
290
+ 1.00 180 352 604 spdt_toggle
291
+ 1 1.00 496 604 464 604 2 polygon
292
+ 1 1.00 288 636 288 700 2 polygon
293
+ 1 1.00 256 700 320 700 2 polygon
294
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 256 716 label
295
+ 1.00 0 288 572 gnd
296
+ 1 1.00 416 604 464 604 2 polygon
297
+ pgsave restore showpage
298
+
299
+ %%Trailer
300
+ XCIRCsave restore
301
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04091.eps ADDED
@@ -0,0 +1,320 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04091.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 09:04:05 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 361 276
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /arrowhead {
143
+ % -12 -32 24 36 bbox
144
+ begingate
145
+ 8 -28 beginpath
146
+ 3 -18 3 -15 0 0 curveto
147
+ -3 -15 -3 -18 -8 -28 curveto
148
+ -2 -26 2 -26 8 -28 curveto
149
+ 249 1.00 endpath
150
+ endgate
151
+ } def
152
+
153
+ /_npn {
154
+ % -64 -64 72 128 bbox
155
+ begingate
156
+ % fundamental
157
+ 1 1.00 -48 0 -64 0 2 polygon
158
+ 1 1.00 -48 48 -48 -48 2 polygon
159
+ 1 1.00 0 48 -48 22 2 polygon
160
+ 1 1.00 0 48 0 64 2 polygon
161
+ 1 1.00 0 -48 -48 -22 2 polygon
162
+ 1 1.00 0 -48 0 -64 2 polygon
163
+ 1.00 240 0 -48 arrowhead
164
+ 1.000 0.000 0.000 scb
165
+ (C) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
166
+ (B) {/Times-Roman 1.000 cf} 2 7 0 -64 0 pinlabel
167
+ (E) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
168
+ sce
169
+ 0.000 1.000 0.000 scb
170
+ (spice:Q%i %pC %pB %pE npn) {/Times-Roman 1.000 cf} 2 4 0 -244 -139 infolabel
171
+ (sim:b %pB %pE %pC) {/Times-Roman 1.000 cf} 2 4 0 -244 -187 infolabel
172
+ sce
173
+ endgate
174
+ } def
175
+
176
+ /_resistor {
177
+ % -14 -64 28 128 bbox
178
+ begingate
179
+ % fundamental
180
+ 1 1.00 0 64 0 36 2 polygon
181
+ 1 1.00 0 -64 0 -36 2 polygon
182
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
183
+ 1.000 0.000 0.000 scb
184
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
185
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
186
+ sce
187
+ 0.000 1.000 0.000 scb
188
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
189
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
190
+ sce
191
+ endgate
192
+ } def
193
+
194
+ /dot {
195
+ % -10 -10 20 20 bbox
196
+ begingate
197
+ 248 1.00 0 0 6 0.00 360.00 xcarc
198
+ endgate
199
+ } def
200
+
201
+ /diode {
202
+ % -8 -48 36 96 bbox
203
+ begingate
204
+ % fundamental
205
+ 248 1.00 -18 -16 0 16 18 -16 3 polygon
206
+ 1 1.00 0 -48 0 -16 2 polygon
207
+ 1 1.00 0 48 0 16 2 polygon
208
+ 1 1.00 -18 16 18 16 2 polygon
209
+ 1.000 0.000 0.000 scb
210
+ (d.m) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
211
+ (d.p) {/Times-Roman 1.000 cf} 2 13 0 0 -48 pinlabel
212
+ sce
213
+ endgate
214
+ } def
215
+
216
+ /gnd {
217
+ % -32 -60 64 68 bbox
218
+ begingate
219
+ 1 1.00 0 0 0 -32 2 polygon
220
+ 1 1.00 -32 -32 32 -32 2 polygon
221
+ 1 1.00 -18 -46 18 -46 2 polygon
222
+ 1 1.00 -4 -60 4 -60 2 polygon
223
+ 1.000 0.000 0.000 scb
224
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
225
+ sce
226
+ endgate
227
+ } def
228
+
229
+ /spdt_toggle {
230
+ % -64 -32 128 64 bbox
231
+ begingate
232
+ 1.00 0 16 16 dot
233
+ 1 1.00 16 16 16 32 64 32 3 polygon
234
+ 1.00 0 16 -16 dot
235
+ 1 1.00 16 -16 16 -32 64 -32 3 polygon
236
+ 1 1.00 -16 0 32 -16 2 polygon
237
+ 1 1.00 -64 0 -16 0 2 polygon
238
+ 1.00 0 -16 0 dot
239
+ endgate
240
+ } def
241
+
242
+ %%Page: 04073.eps 1
243
+ %%PageOrientation: Portrait
244
+ /pgsave save def bop
245
+ % 880 476 offsets
246
+ % 32.00 8.00 gridspace
247
+ 0.7500 inchscale
248
+ 2.6000 setlinewidth
249
+
250
+ 1.00 270 560 604 _npn
251
+ 1.00 0 752 604 _npn
252
+ 1 1.00 624 604 688 604 2 polygon
253
+ 1.00 0 560 732 _resistor
254
+ 1.00 0 752 732 _resistor
255
+ 1.00 0 752 860 dot
256
+ 1 1.00 752 860 752 796 2 polygon
257
+ 1.00 0 912 444 _npn
258
+ 1.00 0 752 444 dot
259
+ 1 1.00 752 444 848 444 2 polygon
260
+ 1.00 0 752 380 _resistor
261
+ 1 1.00 752 540 752 444 2 polygon
262
+ 1.00 0 464 492 diode
263
+ 1.00 0 464 604 dot
264
+ 1 1.00 464 604 464 540 2 polygon
265
+ 1 1.00 464 444 464 316 912 316 912 380 4 polygon
266
+ 1.00 0 752 316 dot
267
+ (Output) {/Helvetica 1.000 cf} 2 16 0 1152 572 label
268
+ (Input) {/Helvetica 1.000 cf} 2 16 0 384 620 label
269
+ 1 1.00 752 860 752 924 2 polygon
270
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 720 940 label
271
+ 1.00 0 752 316 gnd
272
+ (1) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 400 476 label
273
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 504 724 label
274
+ (2) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 688 724 label
275
+ (3) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 688 372 label
276
+ 1 1.00 752 860 560 860 560 796 3 polygon
277
+ 1.00 0 1072 508 _npn
278
+ 1 1.00 912 508 1008 508 2 polygon
279
+ 1 1.00 1072 444 1072 316 912 316 3 polygon
280
+ 1.00 0 912 316 dot
281
+ 1.00 0 960 668 _resistor
282
+ 1.00 0 960 508 dot
283
+ 1 1.00 752 860 960 860 960 732 3 polygon
284
+ 1 1.00 960 604 960 508 2 polygon
285
+ 1 1.00 1072 572 1136 572 2 polygon
286
+ (1) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 544 588 label
287
+ (2) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 768 596 label
288
+ (3) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 896 436 label
289
+ (4) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 1056 500 label
290
+ (4) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 896 660 label
291
+ 1.00 180 352 604 spdt_toggle
292
+ 1 1.00 496 604 464 604 2 polygon
293
+ 1 1.00 288 636 288 700 2 polygon
294
+ 1 1.00 256 700 320 700 2 polygon
295
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 256 716 label
296
+ 1.00 0 288 572 gnd
297
+ 1 1.00 416 604 464 604 2 polygon
298
+ 1 1.00 592 748 592 812 2 polygon
299
+ 1 1.00 576 796 592 812 608 796 3 polygon
300
+ 1 1.00 688 636 624 636 2 polygon
301
+ 1 1.00 640 652 624 636 640 620 3 polygon
302
+ 1 2.00 784 748 784 812 2 polygon
303
+ 1 2.00 768 796 784 812 800 796 3 polygon
304
+ 1 2.00 752 572 752 636 2 polygon
305
+ 1 2.00 736 620 752 636 768 620 3 polygon
306
+ 1 2.00 784 476 784 540 2 polygon
307
+ 1 2.00 768 524 784 540 800 524 3 polygon
308
+ 1 2.00 784 364 784 428 2 polygon
309
+ 1 2.00 768 412 784 428 800 412 3 polygon
310
+ 1 1.00 856 468 792 468 2 polygon
311
+ 1 1.00 808 484 792 468 808 452 3 polygon
312
+ 1 2.00 944 340 944 404 2 polygon
313
+ 1 2.00 928 388 944 404 960 388 3 polygon
314
+ 1 2.00 992 668 992 732 2 polygon
315
+ 1 2.00 976 716 992 732 1008 716 3 polygon
316
+ pgsave restore showpage
317
+
318
+ %%Trailer
319
+ XCIRCsave restore
320
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04092.eps ADDED
@@ -0,0 +1,312 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04092.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 09:04:40 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 361 276
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /arrowhead {
143
+ % -12 -32 24 36 bbox
144
+ begingate
145
+ 8 -28 beginpath
146
+ 3 -18 3 -15 0 0 curveto
147
+ -3 -15 -3 -18 -8 -28 curveto
148
+ -2 -26 2 -26 8 -28 curveto
149
+ 249 1.00 endpath
150
+ endgate
151
+ } def
152
+
153
+ /_npn {
154
+ % -64 -64 72 128 bbox
155
+ begingate
156
+ % fundamental
157
+ 1 1.00 -48 0 -64 0 2 polygon
158
+ 1 1.00 -48 48 -48 -48 2 polygon
159
+ 1 1.00 0 48 -48 22 2 polygon
160
+ 1 1.00 0 48 0 64 2 polygon
161
+ 1 1.00 0 -48 -48 -22 2 polygon
162
+ 1 1.00 0 -48 0 -64 2 polygon
163
+ 1.00 240 0 -48 arrowhead
164
+ 1.000 0.000 0.000 scb
165
+ (C) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
166
+ (B) {/Times-Roman 1.000 cf} 2 7 0 -64 0 pinlabel
167
+ (E) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
168
+ sce
169
+ 0.000 1.000 0.000 scb
170
+ (spice:Q%i %pC %pB %pE npn) {/Times-Roman 1.000 cf} 2 4 0 -244 -139 infolabel
171
+ (sim:b %pB %pE %pC) {/Times-Roman 1.000 cf} 2 4 0 -244 -187 infolabel
172
+ sce
173
+ endgate
174
+ } def
175
+
176
+ /_resistor {
177
+ % -14 -64 28 128 bbox
178
+ begingate
179
+ % fundamental
180
+ 1 1.00 0 64 0 36 2 polygon
181
+ 1 1.00 0 -64 0 -36 2 polygon
182
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
183
+ 1.000 0.000 0.000 scb
184
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
185
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
186
+ sce
187
+ 0.000 1.000 0.000 scb
188
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
189
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
190
+ sce
191
+ endgate
192
+ } def
193
+
194
+ /dot {
195
+ % -10 -10 20 20 bbox
196
+ begingate
197
+ 248 1.00 0 0 6 0.00 360.00 xcarc
198
+ endgate
199
+ } def
200
+
201
+ /diode {
202
+ % -8 -48 36 96 bbox
203
+ begingate
204
+ % fundamental
205
+ 248 1.00 -18 -16 0 16 18 -16 3 polygon
206
+ 1 1.00 0 -48 0 -16 2 polygon
207
+ 1 1.00 0 48 0 16 2 polygon
208
+ 1 1.00 -18 16 18 16 2 polygon
209
+ 1.000 0.000 0.000 scb
210
+ (d.m) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
211
+ (d.p) {/Times-Roman 1.000 cf} 2 13 0 0 -48 pinlabel
212
+ sce
213
+ endgate
214
+ } def
215
+
216
+ /gnd {
217
+ % -32 -60 64 68 bbox
218
+ begingate
219
+ 1 1.00 0 0 0 -32 2 polygon
220
+ 1 1.00 -32 -32 32 -32 2 polygon
221
+ 1 1.00 -18 -46 18 -46 2 polygon
222
+ 1 1.00 -4 -60 4 -60 2 polygon
223
+ 1.000 0.000 0.000 scb
224
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
225
+ sce
226
+ endgate
227
+ } def
228
+
229
+ /spdt_toggle {
230
+ % -64 -32 128 64 bbox
231
+ begingate
232
+ 1.00 0 16 16 dot
233
+ 1 1.00 16 16 16 32 64 32 3 polygon
234
+ 1.00 0 16 -16 dot
235
+ 1 1.00 16 -16 16 -32 64 -32 3 polygon
236
+ 1 1.00 -16 0 32 -16 2 polygon
237
+ 1 1.00 -64 0 -16 0 2 polygon
238
+ 1.00 0 -16 0 dot
239
+ endgate
240
+ } def
241
+
242
+ %%Page: 04073.eps 1
243
+ %%PageOrientation: Portrait
244
+ /pgsave save def bop
245
+ % 880 476 offsets
246
+ % 32.00 8.00 gridspace
247
+ 0.7500 inchscale
248
+ 2.6000 setlinewidth
249
+
250
+ 1.00 270 560 604 _npn
251
+ 1.00 0 752 604 _npn
252
+ 1 1.00 624 604 688 604 2 polygon
253
+ 1.00 0 560 732 _resistor
254
+ 1.00 0 752 732 _resistor
255
+ 1.00 0 752 860 dot
256
+ 1 1.00 752 860 752 796 2 polygon
257
+ 1.00 0 912 444 _npn
258
+ 1.00 0 752 444 dot
259
+ 1 1.00 752 444 848 444 2 polygon
260
+ 1.00 0 752 380 _resistor
261
+ 1 1.00 752 540 752 444 2 polygon
262
+ 1.00 0 464 492 diode
263
+ 1.00 0 464 604 dot
264
+ 1 1.00 464 604 464 540 2 polygon
265
+ 1 1.00 464 444 464 316 912 316 912 380 4 polygon
266
+ 1.00 0 752 316 dot
267
+ (Output) {/Helvetica 1.000 cf} 2 16 0 1152 572 label
268
+ (Input) {/Helvetica 1.000 cf} 2 16 0 384 668 label
269
+ 1 1.00 752 860 752 924 2 polygon
270
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 720 940 label
271
+ 1.00 0 752 316 gnd
272
+ (1) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 400 476 label
273
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 504 724 label
274
+ (2) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 688 724 label
275
+ (3) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 688 372 label
276
+ 1 1.00 752 860 560 860 560 796 3 polygon
277
+ 1.00 0 1072 508 _npn
278
+ 1 1.00 912 508 1008 508 2 polygon
279
+ 1 1.00 1072 444 1072 316 912 316 3 polygon
280
+ 1.00 0 912 316 dot
281
+ 1.00 0 960 668 _resistor
282
+ 1.00 0 960 508 dot
283
+ 1 1.00 752 860 960 860 960 732 3 polygon
284
+ 1 1.00 960 604 960 508 2 polygon
285
+ 1 1.00 1072 572 1136 572 2 polygon
286
+ (1) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 544 588 label
287
+ (2) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 768 596 label
288
+ (3) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 896 436 label
289
+ (4) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 1056 500 label
290
+ (4) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 896 660 label
291
+ 1.00 -1 352 604 spdt_toggle
292
+ 1 1.00 496 604 464 604 2 polygon
293
+ 1 1.00 288 636 288 700 2 polygon
294
+ 1 1.00 256 700 320 700 2 polygon
295
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 256 716 label
296
+ 1.00 0 288 572 gnd
297
+ 1 1.00 416 604 464 604 2 polygon
298
+ 1 1.00 592 748 592 812 2 polygon
299
+ 1 1.00 576 796 592 812 608 796 3 polygon
300
+ 1 1.00 416 636 480 636 2 polygon
301
+ 1 1.00 464 652 480 636 464 620 3 polygon
302
+ 1 1.00 992 668 992 732 2 polygon
303
+ 1 1.00 976 716 992 732 1008 716 3 polygon
304
+ 1 1.00 1017 455 962 488 2 polygon
305
+ 1 1.00 984 493 962 488 968 465 3 polygon
306
+ 1 1.00 333 549 390 580 2 polygon
307
+ 1 1.00 383 559 390 580 367 588 3 polygon
308
+ pgsave restore showpage
309
+
310
+ %%Trailer
311
+ XCIRCsave restore
312
+ %%EOF
derived/Source/circuit_generation_code/DIGI/04093.eps ADDED
@@ -0,0 +1,323 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 04093.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Tue Aug 21 09:05:13 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 392 317
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /arrowhead {
144
+ % -12 -32 24 36 bbox
145
+ begingate
146
+ 8 -28 beginpath
147
+ 3 -18 3 -15 0 0 curveto
148
+ -3 -15 -3 -18 -8 -28 curveto
149
+ -2 -26 2 -26 8 -28 curveto
150
+ 249 1.00 endpath
151
+ endgate
152
+ } def
153
+
154
+ /_npn {
155
+ % -64 -64 72 128 bbox
156
+ begingate
157
+ % fundamental
158
+ 1 1.00 -48 0 -64 0 2 polygon
159
+ 1 1.00 -48 48 -48 -48 2 polygon
160
+ 1 1.00 0 48 -48 22 2 polygon
161
+ 1 1.00 0 48 0 64 2 polygon
162
+ 1 1.00 0 -48 -48 -22 2 polygon
163
+ 1 1.00 0 -48 0 -64 2 polygon
164
+ 1.00 240 0 -48 arrowhead
165
+ 1.000 0.000 0.000 scb
166
+ (C) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
167
+ (B) {/Times-Roman 1.000 cf} 2 7 0 -64 0 pinlabel
168
+ (E) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
169
+ sce
170
+ 0.000 1.000 0.000 scb
171
+ (spice:Q%i %pC %pB %pE npn) {/Times-Roman 1.000 cf} 2 4 0 -244 -139 infolabel
172
+ (sim:b %pB %pE %pC) {/Times-Roman 1.000 cf} 2 4 0 -244 -187 infolabel
173
+ sce
174
+ endgate
175
+ } def
176
+
177
+ /_resistor {
178
+ % -14 -64 28 128 bbox
179
+ begingate
180
+ % fundamental
181
+ 1 1.00 0 64 0 36 2 polygon
182
+ 1 1.00 0 -64 0 -36 2 polygon
183
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
184
+ 1.000 0.000 0.000 scb
185
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
186
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
187
+ sce
188
+ 0.000 1.000 0.000 scb
189
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
190
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
191
+ sce
192
+ endgate
193
+ } def
194
+
195
+ /dot {
196
+ % -10 -10 20 20 bbox
197
+ begingate
198
+ 248 1.00 0 0 6 0.00 360.00 xcarc
199
+ endgate
200
+ } def
201
+
202
+ /diode {
203
+ % -8 -48 36 96 bbox
204
+ begingate
205
+ % fundamental
206
+ 248 1.00 -18 -16 0 16 18 -16 3 polygon
207
+ 1 1.00 0 -48 0 -16 2 polygon
208
+ 1 1.00 0 48 0 16 2 polygon
209
+ 1 1.00 -18 16 18 16 2 polygon
210
+ 1.000 0.000 0.000 scb
211
+ (d.m) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
212
+ (d.p) {/Times-Roman 1.000 cf} 2 13 0 0 -48 pinlabel
213
+ sce
214
+ endgate
215
+ } def
216
+
217
+ /gnd {
218
+ % -32 -60 64 68 bbox
219
+ begingate
220
+ 1 1.00 0 0 0 -32 2 polygon
221
+ 1 1.00 -32 -32 32 -32 2 polygon
222
+ 1 1.00 -18 -46 18 -46 2 polygon
223
+ 1 1.00 -4 -60 4 -60 2 polygon
224
+ 1.000 0.000 0.000 scb
225
+ (GND) {/Times-Roman 1.000 cf} 2 1 0 0 0 pinglobal
226
+ sce
227
+ endgate
228
+ } def
229
+
230
+ /arrow {
231
+ % -12 -40 24 80 bbox
232
+ begingate
233
+ 1 0.80 0 -40 0 20 2 polygon
234
+ 1.00 0 0 40 arrowhead
235
+ endgate
236
+ } def
237
+
238
+ %%Page: 04073.eps 1
239
+ %%PageOrientation: Portrait
240
+ /pgsave save def bop
241
+ % 832 544 offsets
242
+ 0.7500 inchscale
243
+ 2.6000 setlinewidth
244
+
245
+ 1.00 270 512 672 _npn
246
+ 1.00 0 704 672 _npn
247
+ 1 1.00 576 672 640 672 2 polygon
248
+ 1.00 0 512 800 _resistor
249
+ 1.00 0 704 800 _resistor
250
+ 1.00 0 704 928 dot
251
+ 1 1.00 704 928 704 864 2 polygon
252
+ 1.00 0 864 512 _npn
253
+ 1.00 0 704 512 dot
254
+ 1 1.00 704 512 800 512 2 polygon
255
+ 1.00 0 704 448 _resistor
256
+ 1 1.00 704 608 704 512 2 polygon
257
+ 1.00 0 416 560 diode
258
+ 1.00 0 416 672 dot
259
+ 1 1.00 416 672 416 608 2 polygon
260
+ 1 1.00 416 512 416 384 864 384 864 448 4 polygon
261
+ 1.00 0 704 384 dot
262
+ (Output) {/Helvetica 1.000 cf} 2 16 0 1264 640 label
263
+ (Input) {/Helvetica 1.000 cf} 2 16 0 256 672 label
264
+ 1 1.00 704 928 704 992 2 polygon
265
+ (cc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 672 1008 label
266
+ 1.00 0 704 384 gnd
267
+ (1) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 352 544 label
268
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 456 792 label
269
+ (2) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 640 792 label
270
+ (3) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 640 440 label
271
+ 1 1.00 704 928 512 928 512 864 3 polygon
272
+ 1.00 0 864 384 dot
273
+ (1) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 496 656 label
274
+ (2) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 688 664 label
275
+ (3) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 848 504 label
276
+ 1.00 270 784 736 diode
277
+ 1.00 0 704 736 dot
278
+ 1 1.00 736 736 704 736 2 polygon
279
+ 1 1.00 832 736 864 736 864 576 3 polygon
280
+ 1.00 0 1024 736 _npn
281
+ 1.00 0 864 736 dot
282
+ 1.00 0 1024 864 _resistor
283
+ 1.00 0 1024 480 _resistor
284
+ 1 1.00 864 384 1024 384 1024 416 3 polygon
285
+ 1 1.00 1024 544 1024 672 2 polygon
286
+ 1 1.00 864 736 960 736 2 polygon
287
+ 1 1.00 704 928 1024 928 2 polygon
288
+ 1.00 0 1184 800 _npn
289
+ 1.00 -181 1184 688 diode
290
+ 1.00 0 1184 576 _npn
291
+ 1.00 0 1024 576 dot
292
+ 1 1.00 1024 576 1120 576 2 polygon
293
+ 1.00 0 1024 800 dot
294
+ 1 1.00 1024 800 1120 800 2 polygon
295
+ 1 1.00 1024 928 1184 928 1184 864 3 polygon
296
+ 1.00 0 1024 928 dot
297
+ 1.00 0 1024 384 dot
298
+ 1 1.00 1024 384 1184 384 1184 512 3 polygon
299
+ 1.00 0 1184 640 dot
300
+ 1 1.00 1184 640 1248 640 2 polygon
301
+ 1 1.00 448 672 352 672 2 polygon
302
+ (Buffer circuit with totem pole output) {/Helvetica-Oblique 1.000 cf} 2 16 0 432 1088 label
303
+ (4) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 1008 728 label
304
+ (5) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 1168 792 label
305
+ (6) {ss} (Q) {/Times-Roman 1.000 cf} 4 16 0 1168 568 label
306
+ (2) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 760 776 label
307
+ (3) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 1112 680 label
308
+ (4) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 960 856 label
309
+ (5) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 960 472 label
310
+ 0.603 0.603 0.603 scb
311
+ 5 1.00 928 1056 928 256 2 polygon
312
+ sce
313
+ (Inverter) {/Helvetica 1.000 cf} 2 16 0 688 256 label
314
+ (Inverter) {/Helvetica 1.000 cf} 2 16 0 1024 256 label
315
+ 1.00 270 880 272 arrow
316
+ 1.00 90 640 272 arrow
317
+ 1.00 90 976 272 arrow
318
+ 1.00 -91 1216 272 arrow
319
+ pgsave restore showpage
320
+
321
+ %%Trailer
322
+ XCIRCsave restore
323
+ %%EOF