\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../fm.tikz}
\begin{document}
\begin{tikzpicture}[font=\small]
\draw (0,0) node[nmos](n){}; \node[right] at (n.east) {$M_1$};
\draw (n.G) -- ++(-0.9,0) node[ocirc]{} node[left]{$V_\mathrm{in}$};
\draw (n.D) -- ++(0,0.3) node[circ]{} coordinate(o) to[R, l=$R_\mathrm{D}$] ++(0,1.4) coordinate(t);
\draw (t) -- ++(0,0.2) coordinate(tt) ++(-0.25,0) -- ++(0.5,0); \node[right] at ([xshift=0.25cm]tt) {$V_\mathrm{DD}$};
\draw (o) -- ++(1.1,0) node[ocirc]{} node[right]{$V_\mathrm{out}$};
\draw (0,-1.9) node[pmos, xscale=-1](q){}; \node[left] at ([xshift=-0.2cm]q.east) {$M_2$}; \draw (n.S) -- (q.S); \draw (q.D) node[ground]{};
\draw (q.G) -- ++(0.7,0) node[circ]{} node[right]{$V_\mathrm{b}$};
\end{tikzpicture}
\end{document}
