Debian Codegraph @

texmf-dist/doc/latex/circuit-macros/doc/fetcompMan.m4

raw
1 .PS
2 # fetcompMan.m4
3 cct_init
4
5 define(`elbox',`{R: box wid 4*m4_U ht 7*m4_U outlined "lightgray" thick 0.4 \
6 `$1'}')
7 define(`mmosfet',`Q: mosfet($@) with .S at R.sw')
8
9 # The `mosfet' components
10 Row1: [
11 movewid = 1mm__
12 right_
13 elbox
14 Q: mosfet with .S at R.sw; {`"\tt mosfet$\;\;$"' at R.s below}
15 elbox(with .w at R.e+(0.15,0))
16 Q: mosfet(,,uS) with .S at R.sw; {`"\tt uS"' at R.s below}
17 dx = 0.10
18 foreach_(`opt',
19 `elbox(with .w at R.e+(dx,0))
20 Q: mosfet(,,opt) with .S at R.sw; {`"\tt 'opt`"' at R.s below}',
21 D,dB,E,F,uG,dH,M,uM,dM,M1,uM2,M1Z,Q,R,dT,X)
22 foreach_(`opt',
23 `elbox(with .w at R.e+(dx,0))
24 Q: mosfet(,,opt) with .S at R.sw; {`"\tt 'opt`"' at Q.s below}',
25 K,OPy)
26 ]
27
28 Row2: [
29 linewid = linewid*1.2
30 Q1: mosfet(,,dGSDF)
31 {"\tt `mosfet'(,{,}dGSDF)" wid 1.25 with .nw at last [].sw+(-0.2,-0.1)
32 thinlines_
33 arrow <- down .05 left .15 from (Q1.G.x,Q1.G.y-0.05)
34 "\tt dG" rjust
35 arrow <- down .10 left .30 from Q1.Channel.start+(.15,0)
36 "\tt F" rjust
37 arrow <- down .05 left .15 from (Q1.S.x,Q1.S.y+0.05)
38 "\tt S" rjust
39 arrow <- down .05 right .15 from (Q1.D.x,Q1.D.y+0.05)
40 "\tt D" ljust
41 thicklines_ }
42
43 move right_ 0.5
44 Q2: mosfet(,,uHSDF)
45 {"\tt `$\ldots$'(,{,}uHSDF)" at last [].s+(0,-0.18) below
46 thinlines_
47 arrow <- down .05 left .15 from (Q2.G.x,Q2.G.y-0.05)
48 "\tt uH" rjust
49 thicklines_ }
50
51 move right_ 0.5
52 J: mosfet(,,dMEDSQuB,)
53 {"\tt `$\ldots$'(,{,}dMEDSQuB)" at last [].s+(0,-0.05) below
54 thinlines_
55 arrow <- down .05 left .15 from (J.G.x,J.G.y-0.05)
56 "\tt dM" rjust
57 arrow <- down .13 left .30 from J.Channel.start+(.12,0)
58 "\tt E" rjust
59 arrow <- down .05 left .10 from J.S+(.06,0)
60 "\tt Q" rjust
61 arrow <- down .08 right .24 from (J.B.x,J.B.y+0.175)
62 "\tt uB" ljust
63 thicklines_ }
64
65 move right_ 0.5
66 J: mosfet(,,uMEDSuB)
67 {`"{\tt $\ldots$(,{,}uMEDSuB)}"' at last [].s+(0,-0.18) below
68 "$G$" at last [].G rjust
69 "$S$" at last [].S rjust
70 "$D$" at last [].D ljust
71 "$B$" at last [].B below
72 }
73 move right_ 0.6
74 J: mosfet(,,dBSDFQM1,E) with .w at J.e+(0.5,0)
75 "$G0$" at J.G0 above rjust
76 "$G1$" at J.G1 above ljust
77 {"\tt $\ldots$(,{,}dBSDFQM1,E)" at last [].s below }
78 J: mosfet(,,dBSDFQuM1) with .nw at J.ne+(0.4,0)
79 { "$G0$" at J.G0 ljust
80 "$G1$" at J.G1 rjust
81 "\tt ...(,{,}dBSDFQuM1)" wid 1.25 with .n at last [].s+(0,-0.25) }
82 move right_ 0.4
83 Q5: mosfet(,,ZSDFdT)
84 {"\tt `$\ldots$'(,{,}ZSDFdT)" at last [].s below
85 thinlines_
86 arrow <- down .08 left .08 from (Q5.S.x,Q5.S.y+0.12)
87 "\tt Z" rjust
88 arrow from last arrow.end to Q5.Channel.c+(0.05,0)
89 arrow from last arrow.start to (Q5.D.x,Q5.D.y+.05)
90 arrow <- down .08 right .24 from (Q5.G.x,Q5.G.y-0.02)
91 "\tt dT" ljust
92 thicklines_ }
93 mosfet(,,SDFdT) with .w at last [].e+(0.4,0)
94 {"\tt $\ldots$(,{,}SDFdT)" at last [].s+(0,-0.15) below}
95 ] with .nw at last [].sw+(0,-0.20)
96
97 .PE