| 1 |
%!PS-Adobe-3.0 EPSF-3.0 |
| 2 |
%%Title: fullwave.ps |
| 3 |
%%Creator: XCircuit v3.8 rev78 |
| 4 |
%%CreationDate: Mon Mar 9 14:48:54 2020 |
| 5 |
%%Pages: 1 |
| 6 |
%%BoundingBox: 68 68 538 112 |
| 7 |
%%DocumentNeededResources: font Helvetica Times-Roman |
| 8 |
%%EndComments |
| 9 |
%%BeginProlog |
| 10 |
% |
| 11 |
% PostScript prolog for output from xcircuit |
| 12 |
% Version: 3.8 |
| 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-2012) |
| 19 |
% |
| 20 |
%%BeginResource: procset XCIRCproc 3.8 0 |
| 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 |
/MR { /twidth exch def } def |
| 63 |
/CR { ns 0 /Bline Bline fscale0 neg add def Bline moveto } def |
| 64 |
/cf { dup type /realtype ne {1.0} if exch findfont exch kY 0 eq |
| 65 |
{ 40 mul dup /fscale0 exch def cf0 /xfont0 currentfont def} |
| 66 |
{fscale0 mul fscale mul cf0} ifelse } def |
| 67 |
/ctmk { counttomark dup 2 add -1 roll pop } bind def |
| 68 |
/label { gsave translate 0 0 moveto dup scale neg |
| 69 |
/rotval exch def /twidth 100000 def /just exch def just 384 and |
| 70 |
0 gt {/mshow {pop} def} {/mshow {show} def} ifelse just 16 and 0 |
| 71 |
gt {gsave rotval rotate 0 1 dtransform gsave pagemat setmatrix |
| 72 |
idtransform exch grestore 1 0 dtransform gsave pagemat setmatrix |
| 73 |
idtransform exch grestore dup abs 1e-9 lt {pop mul 0 gt} {3 1 roll |
| 74 |
pop pop 0 lt} ifelse grestore {-1 /rotval rotval neg def /just just |
| 75 |
dup 3 and 1 ne {3 xor} if def} {1} ifelse exch -1e-9 lt {-1 /rotval |
| 76 |
rotval neg def /just just dup 12 and 4 ne {12 xor} if def} {1} |
| 77 |
ifelse scale } if /showflag 0 def /fspc pspc def /Bline 0 def /Tabs |
| 78 |
0 array def /fscale 1.0 def /kY 0 def gsave dup 1 add copy dup |
| 79 |
1 0 dtransform exch atan rotate {exch dup type /stringtype eq {gsave |
| 80 |
dup gsave newpath 0 0 moveto true charpath flattenpath pathbbox pop |
| 81 |
exch pop exch pop grestore currentpoint pop add twidth |
| 82 |
ge {grestore CR exch 1 add dup 2 add {CR} exch 1 roll exch} {grestore} |
| 83 |
ifelse true charpath flattenpath} {dup type /arraytype eq {exec} {12 |
| 84 |
string cvs true charpath flattenpath} ifelse} ifelse} repeat exch pop |
| 85 |
pathbbox grestore 3 -1 roll pop 3 1 roll just 1 and 0 gt {just 2 and |
| 86 |
0 gt {exch pop neg fspc sub} {exch sub 0.5 mul neg} ifelse} {pop neg |
| 87 |
fspc add} ifelse exch Bline exch just 4 and 0 gt {just 8 and 0 gt |
| 88 |
{exch pop neg fspc sub} {add 0.5 mul neg} ifelse} {pop neg fspc add} |
| 89 |
ifelse rotval rotate Kn currentpoint translate /showflag 1 def /Bline |
| 90 |
0 def /Tabs 0 array def /fscale 1.0 def /kY 0 def {dup type |
| 91 |
/stringtype eq {mshow} {dup type /arraytype eq {exec} {12 string cvs |
| 92 |
mshow} ifelse} ifelse} repeat grestore endclip} def |
| 93 |
/pinlabel { 4 index 32 and 0 ne hlevel 0 eq or { /pspc 10 def label |
| 94 |
/pspc 0 def } { pop pop pop pop pop {pop} repeat } ifelse } def |
| 95 |
/pinglobal { pinlabel } def |
| 96 |
/infolabel { pinlabel } def |
| 97 |
/graphic { gsave 4 index cvx exec /DataSource get resetfile translate 0 0 |
| 98 |
moveto neg rotate dup scale cvx exec image grestore endclip} def |
| 99 |
|
| 100 |
/scb { setrgbcolor } bind def /sce { defColor aload pop scb } bind def |
| 101 |
/cRedef {/defColor currentcolor 3 array astore def} def |
| 102 |
/begingate {dup type /dicttype ne {1 dict} if begin % default params |
| 103 |
dup type /dicttype ne {1 dict} if begin % instanced params |
| 104 |
/hlevel hlevel 1 add def /defColor currentcolor sce 3 array astore |
| 105 |
def gsave sce translate 0 0 moveto neg rotate dup type /nametype |
| 106 |
eq not { dup abs currentlinewidth exch div setlinewidth } { pop } |
| 107 |
ifelse dup abs scale clipped 1 and 1 eq {/clipped clipped 1 add def} |
| 108 |
if} bind def |
| 109 |
/endgate { /hlevel hlevel 1 sub def grestore defColor aload pop cRedef |
| 110 |
scb end end endclip} bind def |
| 111 |
|
| 112 |
/hlevel 0 def |
| 113 |
/endclip {clipped 1 and 1 eq {grestore /clipped clipped 1 sub def} if} def |
| 114 |
/tmpa [1 0 0 1 0 0] def |
| 115 |
/gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind |
| 116 |
{8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind |
| 117 |
{8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind |
| 118 |
{8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind |
| 119 |
{8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind |
| 120 |
{8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind |
| 121 |
{8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def |
| 122 |
/ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll |
| 123 |
neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy |
| 124 |
gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll |
| 125 |
{ 3 index exch 5 exch put dup -8 3 index { 3 index |
| 126 |
exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def |
| 127 |
/setstyles { |
| 128 |
currentlinewidth mul setlinewidth /style exch def style 2048 and 0 gt |
| 129 |
clipped 1 and 0 eq and {clip newpath /clipped clipped 1 add def} { |
| 130 |
style 1 and 0 gt not {closepath} if |
| 131 |
style 1024 and 0 gt {2 setlinecap 0 setlinejoin} if |
| 132 |
style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if |
| 133 |
style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if |
| 134 |
gsave style 16 and 0 gt { style 224 and -5 bitshift style 256 and 0 gt { |
| 135 |
7 exch sub 8 div dup 1 exch sub currentrgbcolor 3 array astore |
| 136 |
{3 copy mul add 4 1 roll pop} forall pop pop setrgbcolor eofill} |
| 137 |
{dup 7 lt {gar exch get ppaint} {pop eofill} ifelse} ifelse} |
| 138 |
{style 256 and 0 gt {1 setgray eofill} if} ifelse grestore style 8 and 0 gt |
| 139 |
style 512 eq or {newpath} {stroke} ifelse grestore endclip} ifelse} def |
| 140 |
|
| 141 |
/addtoy {exch dup dup 2 mul 3 add 1 roll -1 1 { 4 1 roll dup 4 1 roll add |
| 142 |
4 -1 roll 2 mul 1 add index 2 mul 2 add 2 roll} for pop} def |
| 143 |
/addtoy1 {1 exch addtoy pop} def |
| 144 |
/addtoy3 {3 exch addtoy pop} def |
| 145 |
/addtoy4 {4 exch addtoy pop} def |
| 146 |
/addtox {exch dup dup 2 mul 3 add 1 roll -1 1 { 4 1 roll dup 4 1 roll 3 -1 roll |
| 147 |
add exch 4 -1 roll 2 mul 1 add index 2 mul 2 add 2 roll} for pop} def |
| 148 |
/addtox1 {1 exch addtox pop} def |
| 149 |
/addtox3 {3 exch addtox pop} def |
| 150 |
/addtox4 {4 exch addtox pop} def |
| 151 |
/polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def |
| 152 |
/xcarc { gsave newpath arc setstyles } def |
| 153 |
/elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll |
| 154 |
3 index div 1 scale } def |
| 155 |
/ele { 0 4 1 roll 0 4 1 roll } bind def |
| 156 |
/ellipse { gsave elb newpath ele arc setmatrix setstyles } def |
| 157 |
/pellip { elb ele arc setmatrix } def |
| 158 |
/nellip { elb ele arcn setmatrix } def |
| 159 |
/spline { gsave moveto curveto setstyles } def |
| 160 |
/polyc { {lineto} repeat } bind def |
| 161 |
/beginpath { gsave moveto } bind def |
| 162 |
/endpath { setstyles } bind def |
| 163 |
/bop { 1 setlinecap 2 setlinejoin 6 setmiterlimit 0 0 0 scb cRedef |
| 164 |
/clipped 0 def} def |
| 165 |
/psinsertion {/PSobj save def /showpage {} def /setpagedevice {pop} def bop |
| 166 |
rotate translate dup scale} def |
| 167 |
/end_insert {PSobj restore} def |
| 168 |
/setpagemat {/pagemat matrix currentmatrix def} def |
| 169 |
/inchscale {setpagemat 0.375 mul dup scale} def |
| 170 |
/cmscale {setpagemat 0.35433071 mul dup scale} def |
| 171 |
|
| 172 |
%%EndResource |
| 173 |
%%EndProlog |
| 174 |
|
| 175 |
% XCircuit output starts here. |
| 176 |
|
| 177 |
%%BeginSetup |
| 178 |
|
| 179 |
/analog::diode { |
| 180 |
begingate |
| 181 |
248 1.000 -18 -16 0 16 18 -16 3 polygon |
| 182 |
1 1.000 0 -48 0 -16 2 polygon |
| 183 |
1 1.000 0 48 0 16 2 polygon |
| 184 |
1 1.000 -18 16 18 16 2 polygon |
| 185 |
1.000 0.000 0.000 scb |
| 186 |
(d.m) {/Times-Roman cf} 2 9 0 1.000 0 48 pinlabel |
| 187 |
(d.p) {/Times-Roman cf} 2 13 0 1.000 0 -48 pinlabel |
| 188 |
endgate |
| 189 |
} def |
| 190 |
|
| 191 |
/analog::resistor { |
| 192 |
begingate |
| 193 |
1 1.000 0 64 0 36 2 polygon |
| 194 |
1 1.000 0 -64 0 -36 2 polygon |
| 195 |
1 1.000 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon |
| 196 |
1.000 0.000 0.000 scb |
| 197 |
(r.1) {/Times-Roman cf} 2 9 0 1.000 0 64 pinlabel |
| 198 |
(r.2) {/Times-Roman cf} 2 13 0 1.000 0 -64 pinlabel |
| 199 |
0.180 0.545 0.341 scb |
| 200 |
(spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman cf} 2 0 0 1.000 -208 -160 infolabel |
| 201 |
(sim:r %pr.1 %pr.2) {/Times-Roman cf} 2 0 0 1.000 -208 -208 infolabel |
| 202 |
endgate |
| 203 |
} def |
| 204 |
|
| 205 |
|
| 206 |
%%EndSetup |
| 207 |
|
| 208 |
%%Page: fullwave 1 |
| 209 |
%%PageOrientation: Portrait |
| 210 |
/pgsave save def bop |
| 211 |
1.0000 inchscale |
| 212 |
2.6000 setlinewidth 688 208 translate |
| 213 |
|
| 214 |
1.000 270 -80 64 analog::diode |
| 215 |
(SINE) {/Helvetica cf} 2 16 0 1.000 32 16 label |
| 216 |
(A1) {/Helvetica cf} 2 16 0 1.000 208 16 label |
| 217 |
(A2) {/Helvetica cf} 2 16 0 1.000 672 16 label |
| 218 |
(GND) {/Helvetica cf} 2 16 0 1.000 -368 16 label |
| 219 |
1.000 90 -208 48 analog::resistor |
| 220 |
0 1.000 16 64 16 0 128 0 128 64 4 polygon |
| 221 |
0 1.000 192 64 192 0 272 0 272 64 4 polygon |
| 222 |
1 1.000 128 32 192 32 2 polygon |
| 223 |
0 1.000 656 64 656 0 736 0 736 64 4 polygon |
| 224 |
0 1.000 -384 64 -384 0 -272 0 -272 64 4 polygon |
| 225 |
1.000 270 -80 16 analog::diode |
| 226 |
{/Helvetica cf} 1 16 0 1.000 320 64 label |
| 227 |
(IN) {/Helvetica cf} 2 16 0 1.000 448 16 label |
| 228 |
(OUT) {/Helvetica cf} 2 16 0 1.000 528 16 label |
| 229 |
1.000 90 368 48 analog::resistor |
| 230 |
1 1.000 160 32 160 -16 304 -16 304 48 4 polygon |
| 231 |
(51K) {/Helvetica cf} 2 16 0 1.000 336 0 label |
| 232 |
0 1.000 432 64 432 0 496 0 496 64 4 polygon |
| 233 |
0 1.000 528 64 528 0 624 0 624 64 4 polygon |
| 234 |
(1K) {/Helvetica cf} 2 16 0 1.000 -224 0 label |
| 235 |
1 1.000 624 32 656 32 2 polygon |
| 236 |
1 1.000 -32 64 -32 80 2 polygon |
| 237 |
1 1.000 -32 80 640 80 2 polygon |
| 238 |
1 1.000 640 80 640 32 2 polygon |
| 239 |
1 1.000 -32 16 -32 32 16 32 3 polygon |
| 240 |
1 1.000 -128 64 -144 64 -144 16 -128 16 4 polygon |
| 241 |
(IN1) {/Helvetica cf} 2 16 0 1.000 -480 16 label |
| 242 |
{/Helvetica cf} 1 16 0 1.000 -480 64 label |
| 243 |
0 1.000 -496 64 -496 0 -416 0 -416 64 4 polygon |
| 244 |
1 1.000 -448 64 -448 80 2 polygon |
| 245 |
1 1.000 -448 80 -144 80 -144 64 3 polygon |
| 246 |
pgsave restore showpage |
| 247 |
|
| 248 |
%%Trailer |
| 249 |
XCIRCsave restore |
| 250 |
%%EOF |