\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../fm.tikz}
\begin{document}
\begin{tikzpicture}[font=\small]
\draw (0,0) node[nmos, xscale=-1](m){}; \node[left] at ([xshift=-0.1cm]m.east) {$M_1$};
\draw (m.G) -- ++(0.7,0) node[circ]{} node[right]{$V_\mathrm{b}$};
\draw (0,2.6) node[pmos](p){}; \node[right] at (p.east) {$M_2$};
\draw (p.S) -- ++(0,0.3) coordinate(tt) ++(-0.25,0) -- ++(0.5,0); \node[right] at ([xshift=0.25cm]tt) {$V_\mathrm{DD}$};
\draw (p.D) -- (m.D) coordinate[pos=0.55](o); \draw (p.D) ++(0,-0.15) coordinate(dd) node[circ]{}; \draw (p.G) -- ++(-0.4,0) |- (dd);
\draw (o) node[circ]{} -- ++(1.1,0) node[ocirc]{} node[right]{$V_\mathrm{out}$};
\draw[gaaccent, ->] ([shift={(0.25,-0.15)}]dd) -- ([shift={(0.25,0.15)}]dd); \node[right, font=\footnotesize] at ([shift={(0.3,0)}]dd) {$\frac{1}{g_\mathrm{m2}}$};
\draw (m.S) -- ++(0,-0.4) node[circ]{} coordinate(s) node[below, font=\footnotesize]{$V_X$}; \draw (s) to[R, l_=$R_\mathrm{S}$] ++(-2.0,0) node[ocirc]{} node[left]{$V_\mathrm{in}$};
\end{tikzpicture}
\end{document}
