\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{tikzpicture}
\draw (-0.3,0) -- (8.2,0);
% NMOS
\foreach \x in {0.4,3.0}{\draw[fill=white] (\x-0.4,0) arc (180:360:0.4 and 0.35); \node[font=\scriptsize] at (\x,-0.14){$n^+$};}
\draw (0.3,0.06) rectangle (3.1,0.16); \draw (0.4,0.16) rectangle (3.0,0.42);
\node[above] at (1.7,0.42) {NMOS};
% PMOS in an n-well
\draw (4.6,0) -- (4.6,-0.9) arc (180:270:0.35) -- (7.25,-1.25) arc (270:360:0.35) -- (7.6,0);
\node[font=\small] at (6.1,-0.95) {$n$-well};
\foreach \x in {5.3,6.9}{\draw[fill=white] (\x-0.35,0) arc (180:360:0.35 and 0.32); \node[font=\scriptsize] at (\x,-0.13){$p^+$};}
\draw (5.2,0.06) rectangle (7.0,0.16); \draw (5.3,0.16) rectangle (6.9,0.42);
\node[above] at (6.1,0.42) {PMOS};
\draw[decorate, decoration={brace, amplitude=6pt}] (0,1.1) -- (7.6,1.1) node[midway, above=7pt]{CMOS};
\draw (0,-1.7) -- (8.2,-1.7); \node[above, font=\small] at (1.7,-1.7) {$p$-sub};
\node[note, align=center, anchor=west] (n) at (8.7,0.1) {Just build a local $n$-substrate\\ that we call $n$-well!};
\draw[note, ->] (n.south) to[out=-90, in=0] (7.75,-0.9);
\end{tikzpicture}
\end{document}
