\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
% \micD{(x,y)}: hand-drawn microphone, flat side on the right with its middle at (x,y); terminals at (x,y+0.35) and (x,y-0.35)
\newcommand\micD[1]{\begin{scope}[shift={#1}]\draw[line width=1.2pt] (0,0.35) -- (-0.25,0.35) arc (90:270:0.35) -- (0,-0.35) -- cycle;\end{scope}}
\begin{document}
\begin{tikzpicture}
\draw (-0.4,0) -- (8.4,0);
% NMOS
\foreach \x in {0.6,3.6}{\draw[fill=white] (\x-0.4,0) arc (180:360:0.4 and 0.3); \node[font=\scriptsize] at (\x,-0.13){$n^+$};}
\draw (0.5,0.08) rectangle (3.7,0.18); \draw (0.6,0.18) rectangle (3.6,0.45);
\node[above] at (2.1,0.45) {NMOS};
% PMOS in n-well
\draw (4.9,0) -- (4.9,-0.9) arc (180:270:0.4) -- (7.5,-1.3) arc (270:360:0.4) -- (7.9,0);
\node[font=\small] at (6.4,-1.0) {$n$-well};
\foreach \x in {5.6,7.2}{\draw[fill=white] (\x-0.35,0) arc (180:360:0.35 and 0.3); \node[font=\scriptsize] at (\x,-0.13){$p^+$};}
\draw (5.5,0.08) rectangle (7.3,0.18); \draw (5.6,0.18) rectangle (7.2,0.45);
\node[above] at (6.4,0.45) {PMOS};
\draw (2.2,-1.75) -- (8.2,-1.75);
\node[above, font=\small] at (3.6,-1.75) {$p$-substrate (wafer)};
\end{tikzpicture}
\end{document}
