Debian Codegraph @

eyes17/helpFiles/xcircuit/opamp-inv.ps

raw
1 %!PS-Adobe-3.0 EPSF-3.0
2 %%Title: opamp-inv.ps
3 %%Creator: XCircuit v3.7 rev55
4 %%CreationDate: Thu Mar 23 15:21:26 2017
5 %%Pages: 1
6 %%BoundingBox: 68 68 328 247
7 %%DocumentNeededResources: font Helvetica Times-Roman Symbol
8 %%EndComments
9 %%BeginProlog
10 %
11 % PostScript prolog for output from xcircuit
12 % Version: 3.7
13 %
14 % Electrical circuit (and otherwise general) drawing program
15 %
16 % Written by Tim Edwards 8/5/93--11/1/10 ([email protected])
17 % The Johns Hopkins University (1993-2004)
18 % MultiGiG, Inc. (2004-present)
19 %
20 %%BeginResource: procset XCIRCproc 3.7 2
21 %
22 % supporting definitions --- these are the primary xcircuit types.
23
24 /XCIRCsave save def
25 /topmat matrix currentmatrix def
26
27 /fontslant { /slant exch def [1 0 slant 1 0 0]
28 exch findfont exch makefont dup length dict /ndict exch def
29 { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
30 ndict definefont pop} def
31 /ul { dup type /stringtype eq showflag 1 eq and { gsave
32 currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
33 false charpath flattenpath pathbbox grestore exch pop 1 index
34 sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
35 rlineto stroke moveto } if } def
36 /ol { dup type /stringtype eq showflag 1 eq and { gsave gsave
37 currentpoint topmat setmatrix 2 index stringwidth pop 3 index
38 true charpath flattenpath pathbbox grestore exch pop
39 exch pop topmat setmatrix (_) true charpath pathbbox grestore
40 exch pop 1 index sub setlinewidth exch pop currentpoint
41 exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
42 moveto } if } def
43 /stW { gsave currentpoint newpath moveto true charpath flattenpath
44 pathbbox pop exch pop sub grestore } def
45 /Ts {mark Tabs aload pop counttomark 1 add array astore /Tabs exch def Tabs
46 0 currentpoint pop put} def
47 /Tbn {mark Tabs aload pop counttomark dup 2 add 1 roll cleartomark 1 sub} def
48 /Tb { 0 1 Tbn {Tabs exch get dup currentpoint pop lt
49 {currentpoint exch pop moveto exit} {pop} ifelse } for } def
50 /Tf { Tbn -1 0 {Tabs exch get dup currentpoint pop gt
51 {currentpoint exch pop moveto exit} {pop} ifelse } for } def
52 /qS { (aa) stW (a a) stW sub 4 div 0 Kn } def
53 /hS { qS qS } def
54 /pspc 0 def
55 /cf0 { scalefont setfont } bind def
56 /Kn { dup kY add /kY exch def rmoveto } bind def
57 /ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
58 0.33 mul neg Kn} def
59 /Ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
60 0.67 mul Kn } def
61 /ns { 0 kY neg Kn /kY 0 def /fscale 1.0 def xfont0 1.0 cf0 } def
62 /CR { ns 0 /Bline Bline fscale0 neg add def Bline moveto } def
63 /cf { dup type /realtype ne {1.0} if exch findfont exch kY 0 eq
64 { 40 mul dup /fscale0 exch def cf0 /xfont0 currentfont def}
65 {fscale0 mul fscale mul cf0} ifelse } def
66 /ctmk { counttomark dup 2 add -1 roll pop } bind def
67 /label { gsave translate 0 0 moveto dup scale neg /rotval exch def
68 /just exch def just 384 and 0 gt {/mshow {pop} def} {/mshow {show}
69 def} ifelse just 16 and 0 gt {gsave rotval rotate 0 1 dtransform
70 gsave pagemat setmatrix idtransform exch grestore 1 0 dtransform
71 gsave pagemat setmatrix idtransform exch grestore dup abs 1e-9 lt
72 {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse grestore {-1 /rotval
73 rotval neg def /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse
74 exch -1e-9 lt {-1 /rotval rotval neg def /just just dup 12 and
75 4 ne {12 xor} if def} {1} ifelse scale } if /showflag 0 def
76 /fspc pspc def /Bline 0 def /Tabs 0 array def /fscale 1.0 def
77 /kY 0 def gsave dup 1 add copy 0 exch 1 0 dtransform exch atan rotate
78 {exch dup type /stringtype eq {true charpath flattenpath} {dup type
79 /arraytype eq {exec} {12 string cvs true charpath flattenpath} ifelse}
80 ifelse} repeat pop pathbbox grestore 3 -1 roll pop 3 1 roll just
81 1 and 0 gt {just 2 and 0 gt {exch pop neg fspc sub} {exch sub 0.5
82 mul neg} ifelse} {pop neg fspc add} ifelse exch Bline exch just 4
83 and 0 gt {just 8 and 0 gt {exch pop neg fspc sub} {add 0.5 mul neg}
84 ifelse} {pop neg fspc add} ifelse rotval rotate Kn currentpoint
85 translate /showflag 1 def /Bline 0 def /Tabs 0 array def /fscale
86 1.0 def /kY 0 def {dup type /stringtype eq {mshow} {dup type
87 /arraytype eq {exec} {12 string cvs mshow} ifelse} ifelse} repeat
88 grestore endclip} def
89 /pinlabel { 4 index 32 and 0 ne hlevel 0 eq or { /pspc 10 def label
90 /pspc 0 def } { pop pop pop pop pop {pop} repeat } ifelse } def
91 /pinglobal { pinlabel } def
92 /infolabel { pinlabel } def
93 /graphic { gsave 4 index cvx exec /DataSource get resetfile translate 0 0
94 moveto neg rotate dup scale cvx exec image grestore endclip} def
95
96 /scb { setrgbcolor } bind def /sce { defColor aload pop scb } bind def
97 /cRedef {/defColor currentcolor 3 array astore def} def
98 /begingate {dup type /dicttype ne {1 dict} if begin % default params
99 dup type /dicttype ne {1 dict} if begin % instanced params
100 /hlevel hlevel 1 add def /defColor currentcolor sce 3 array astore
101 def gsave sce translate 0 0 moveto neg rotate dup type /nametype
102 eq not { dup abs currentlinewidth exch div setlinewidth } { pop }
103 ifelse dup abs scale clipped 1 and 1 eq {/clipped clipped 1 add def}
104 if} bind def
105 /endgate { /hlevel hlevel 1 sub def grestore defColor aload pop cRedef
106 scb end end endclip} bind def
107
108 /hlevel 0 def
109 /endclip {clipped 1 and 1 eq {grestore /clipped clipped 1 sub def} if} def
110 /tmpa [1 0 0 1 0 0] def
111 /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
112 {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
113 {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
114 {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
115 {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
116 {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
117 {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
118 /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
119 neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
120 gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
121 { 3 index exch 5 exch put dup -8 3 index { 3 index
122 exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
123 /setstyles {
124 currentlinewidth mul setlinewidth /style exch def style 2048 and 0 gt
125 clipped 1 and 0 eq and {clip newpath /clipped clipped 1 add def} {
126 style 1 and 0 gt not {closepath} if
127 style 1024 and 0 gt {2 setlinecap 0 setlinejoin} if
128 style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
129 style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
130 gsave style 16 and 0 gt { style 224 and -5 bitshift style 256 and 0 gt {
131 7 exch sub 8 div dup 1 exch sub currentrgbcolor 3 array astore
132 {3 copy mul add 4 1 roll pop} forall pop pop setrgbcolor eofill}
133 {dup 7 lt {gar exch get ppaint} {pop eofill} ifelse} ifelse}
134 {style 256 and 0 gt {1 setgray eofill} if} ifelse grestore style 8 and 0 gt
135 style 512 eq or {newpath} {stroke} ifelse grestore endclip} ifelse} def
136
137 /addtoy {exch dup dup 2 mul 3 add 1 roll -1 1 { 4 1 roll dup 4 1 roll add
138 4 -1 roll 2 mul 1 add index 2 mul 2 add 2 roll} for pop} def
139 /addtoy1 {1 exch addtoy pop} def
140 /addtoy3 {3 exch addtoy pop} def
141 /addtoy4 {4 exch addtoy pop} def
142 /addtox {exch dup dup 2 mul 3 add 1 roll -1 1 { 4 1 roll dup 4 1 roll 3 -1 roll
143 add exch 4 -1 roll 2 mul 1 add index 2 mul 2 add 2 roll} for pop} def
144 /addtox1 {1 exch addtox pop} def
145 /addtox3 {3 exch addtox pop} def
146 /addtox4 {4 exch addtox pop} def
147 /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
148 /xcarc { gsave newpath arc setstyles } def
149 /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
150 3 index div 1 scale } def
151 /ele { 0 4 1 roll 0 4 1 roll } bind def
152 /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
153 /pellip { elb ele arc setmatrix } def
154 /nellip { elb ele arcn setmatrix } def
155 /spline { gsave moveto curveto setstyles } def
156 /polyc { {lineto} repeat } bind def
157 /beginpath { gsave moveto } bind def
158 /endpath { setstyles } bind def
159 /bop { 1 setlinecap 2 setlinejoin 6 setmiterlimit 0 0 0 scb cRedef
160 /clipped 0 def} def
161 /psinsertion {/PSobj save def /showpage {} def /setpagedevice {pop} def bop
162 rotate translate dup scale} def
163 /end_insert {PSobj restore} def
164 /setpagemat {/pagemat matrix currentmatrix def} def
165 /inchscale {setpagemat 0.375 mul dup scale} def
166 /cmscale {setpagemat 0.35433071 mul dup scale} def
167
168 %%EndResource
169 %%EndProlog
170
171 % XCircuit output starts here.
172
173 %%BeginSetup
174
175 /analog::opamp {
176 begingate
177 0 1.000 -80 -80 -80 80 80 0 3 polygon
178 (-) {/Symbol cf} 2 5 0 1.000 -61 42 label
179 (+) {/Symbol cf} 2 5 0 1.000 -61 -50 label
180 1.000 0.000 0.000 scb
181 (in.m) {/Times-Roman cf} 2 7 0 1.000 -80 48 pinlabel
182 (in.p) {/Times-Roman cf} 2 7 0 1.000 -80 -48 pinlabel
183 (out) {/Times-Roman cf} 2 4 0 1.000 80 0 pinlabel
184 endgate
185 } def
186
187 /analog::resistor {
188 begingate
189 1 1.000 0 64 0 36 2 polygon
190 1 1.000 0 -64 0 -36 2 polygon
191 1 1.000 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
192 1.000 0.000 0.000 scb
193 (r.1) {/Times-Roman cf} 2 9 0 1.000 0 64 pinlabel
194 (r.2) {/Times-Roman cf} 2 13 0 1.000 0 -64 pinlabel
195 0.180 0.545 0.341 scb
196 (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman cf} 2 0 0 1.000 -208 -160 infolabel
197 (sim:r %pr.1 %pr.2) {/Times-Roman cf} 2 0 0 1.000 -208 -208 infolabel
198 endgate
199 } def
200
201
202 %%EndSetup
203
204 %%Page: opamp-inv 1
205 %%PageOrientation: Portrait
206 /pgsave save def bop
207 % 2.00 16.00 gridspace
208 1.0000 inchscale
209 2.6000 setlinewidth 544 256 translate
210
211 1.000 0 48 128 analog::opamp
212 1.000 90 48 336 analog::resistor
213 1 1.000 32 176 32 240 2 polygon
214 1 1.000 32 80 32 0 2 polygon
215 1 1.000 128 128 192 128 192 336 112 336 4 polygon
216 1 1.000 -16 336 -96 336 -96 176 -32 176 4 polygon
217 1.000 90 -160 176 analog::resistor
218 1 1.000 -224 176 -272 176 2 polygon
219 {/Helvetica cf} 1 16 0 1.000 -352 176 label
220 (WG) {/Helvetica cf} 2 16 0 1.000 -352 48 label
221 0 1.000 -352 336 -352 288 -272 288 -272 336 4 polygon
222 0 1.000 -352 80 -352 32 -272 32 -272 80 4 polygon
223 (A1) {/Helvetica cf} 2 16 0 1.000 -336 304 label
224 0 1.000 240 -16 240 -64 320 -64 320 -16 4 polygon
225 (A2) {/Helvetica cf} 2 16 0 1.000 256 -48 label
226 1 1.000 192 128 240 128 2 polygon
227 1 1.000 -32 80 -64 80 2 polygon
228 0 1.000 -208 -16 -208 -64 -112 -64 -112 -16 4 polygon
229 (GND) {/Helvetica cf} 2 16 0 1.000 -208 -48 label
230 (10K) {/Helvetica cf} 2 16 0 1.000 16 368 label
231 (1K) {/Helvetica cf} 2 16 0 1.000 -176 208 label
232 (+V) {/Helvetica cf} 2 16 0 1.000 256 272 label
233 (-V) {/Helvetica cf} 2 16 0 1.000 112 -48 label
234 (2) {/Helvetica cf} 2 16 0 1.000 -64 192 label
235 (3) {/Helvetica cf} 2 16 0 1.000 -64 96 label
236 (6) {/Helvetica cf} 2 16 0 1.000 144 144 label
237 (7) {/Helvetica cf} 2 16 0 1.000 48 208 label
238 (4) {/Helvetica cf} 2 16 0 1.000 48 48 label
239 0 1.000 240 304 240 256 320 256 320 304 4 polygon
240 0 1.000 112 -16 112 -64 176 -64 176 -16 4 polygon
241 1 1.000 -288 176 16 0.000 360.000 xcarc
242 1 1.000 -144 80 16 0.000 360.000 xcarc
243 1 1.000 256 128 16 0.000 360.000 xcarc
244 1 1.000 32 -16 16 0.000 360.000 xcarc
245 1 1.000 32 256 16 0.000 360.000 xcarc
246 1 1.000 -64 80 -128 80 2 polygon
247 1 1.000 289 -16 336 96 256 112 288 -16 spline
248 1 1.000 49 -16 64 -64 112 -48 48 -16 spline
249 1 1.000 -159 -16 -208 48 -144 64 -160 -16 spline
250 1 1.000 -303 80 -352 128 -288 160 -304 80 spline
251 1 1.000 -287 192 -368 256 -320 288 -288 192 spline
252 1 1.000 241 288 128 320 48 256 240 288 spline
253 pgsave restore showpage
254
255 %%Trailer
256 XCIRCsave restore
257 %%EOF