nmos
和晶体管的源极pmos
和漏极锚点位置不同(对于nmos
,漏极在顶部,源极在底部;对于pmos
,源极在顶部,漏极在底部)。这是为什么呢?
\begin{circuitikz}
\draw (0,0) node[nmos](n){}
(n.gate) node[anchor=east]{G}
(n.drain) node[anchor=south]{D}
(n.source) node[anchor=north]{S}
%
(3,0) node[pmos](p){}
(p.gate) node[anchor=east]{G}
(p.drain) node[anchor=north]{D}
(p.source) node[anchor=south]{S};
\end{circuitikz}