\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{tikzpicture}
% NMOS cross-section
\draw (0,0) -- (5.2,0);
\draw (0.4,1.1) rectangle (4.8,1.45);
\draw (0.4,1.45) rectangle (4.8,1.8);
\draw (-0.3,1.1) -- (0.4,1.1) (4.8,1.1) -- (5.5,1.1);
\draw (-0.3,1.1) arc (180:360:0.55 and 0.45) node[midway, above=1pt, font=\small]{};
\draw (4.4,1.1) arc (180:360:0.55 and 0.45);
\node[font=\small] at (0.25,0.85) {$n^+$}; \node[font=\small] at (4.95,0.85) {$n^+$};
\node at (2.6,0.35) {$p$-sub};
\node[font=\large] at (2.6,-0.5) {NMOS};
% PMOS cross-section
\begin{scope}[xshift=7cm]
\draw (0,0) -- (5.2,0);
\draw (0.4,1.1) rectangle (4.8,1.45);
\draw (0.4,1.45) rectangle (4.8,1.8);
\draw (-0.3,1.1) -- (0.4,1.1) (4.8,1.1) -- (5.5,1.1);
\draw (-0.3,1.1) arc (180:360:0.55 and 0.45);
\draw (4.4,1.1) arc (180:360:0.55 and 0.45);
\node[font=\small] at (0.25,0.85) {$p^+$}; \node[font=\small] at (4.95,0.85) {$p^+$};
\node[font=\small, gaaccent] at (2.6,0.9) {h h h h h h h h h h};
\draw (0.15,1.1) -- (0.15,1.9) node[ocirc]{} node[above]{S};
\draw (2.6,1.8) -- (2.6,2.2) node[ocirc]{} node[above]{G};
\draw (5.05,1.1) -- (5.05,1.9) node[ocirc]{} node[above]{D};
\node at (2.6,0.35) {$n$-type};
\node[font=\large] at (2.6,-0.5) {PMOS};
\end{scope}
\end{tikzpicture}
\end{document}
