| 1 |
.PS |
| 2 |
# Opamp.m4 |
| 3 |
sinclude(FOpamp.dim) |
| 4 |
sinclude(Circuit_macros.dim) |
| 5 |
sinclude(tst.dim) |
| 6 |
s_init(Opamp) |
| 7 |
cct_init |
| 8 |
A: opamp(,,,\;body=shaded "yellow") |
| 9 |
thinlines_ |
| 10 |
s_box(`\tt\shortstack[l]{opam{}p(,{,},\\body=shaded \"`yellow'\")}') \ |
| 11 |
at A.s-(0,0.35) |
| 12 |
s_box(\sl Out) below at A.Out |
| 13 |
spline <- from A.In1 left 0.1 then up 0.1 left 0.1 |
| 14 |
s_box(\sl In1) rjust above |
| 15 |
spline <- from A.In2 left 0.1 then down 0.1 left 0.1 |
| 16 |
s_box(\sl In2) rjust below |
| 17 |
arrow <- up 0.1 right 0.1 from A.N |
| 18 |
s_box(\sl N) ljust above |
| 19 |
arrow <- up 0.1 right 0.1 from A.E1 |
| 20 |
s_box(\sl E1) ljust above |
| 21 |
arrow <- up 0.1 right 0.1 from A.E |
| 22 |
s_box(\sl E) ljust above |
| 23 |
arrow <- down 0.1 right 0.1 from A.E2 |
| 24 |
s_box(\sl E2) ljust below |
| 25 |
arrow <- down 0.1 right 0.1 from A.S |
| 26 |
s_box(\sl S) ljust below |
| 27 |
arrow <- left 0.2 from A.W |
| 28 |
s_box(\sl W) rjust |
| 29 |
thicklines_ |
| 30 |
Point_(90) |
| 31 |
B: opamp(,,,,PR) with .sw at A.se+(1,0) |
| 32 |
thinlines_ |
| 33 |
s_box(`\tt\shortstack[l]{Point\_(90);\\opam{}p(,{,},{,}PR)}') \ |
| 34 |
at B.s-(0,0.20) |
| 35 |
spline <- left arrowht down arrowht from B.V1 then left 0.1 |
| 36 |
s_box(\sl V1) rjust |
| 37 |
spline <- right arrowht down arrowht from B.V2 then right 0.1 |
| 38 |
s_box(\sl V2) ljust |
| 39 |
thicklines_ |
| 40 |
right_ |
| 41 |
D: opamp(,,,body=shaded "orange",T) with .sw at B.se+(0.95,0) |
| 42 |
s_box(`\tt\shortstack[l]{opam{}p(,{,},\\body=shaded \"`orange'\"\\,T)}') \ |
| 43 |
at D.s+(0.2,-0.25) |
| 44 |
|
| 45 |
.PE |