\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 (0,3.0) node[pmos](p){}; \node[right] at (p.east) {$M_2$};
\draw (n.S) node[ground]{}; \draw (p.D) -- (n.D) coordinate[midway](x);
\draw (x) node[circ]{} -- ++(2.2,0) coordinate(xr) -- ++(0,-0.4) coordinate(vt);
\draw ([yshift=-1.5cm]vt) node[ground]{} to[V, l_={$V_\mathrm{X} = 0.9$ V}, invert] (vt);
\draw[gaaccent, ->] ([shift={(-0.3,0.2)}]xr) -- ([shift={(-1.0,0.2)}]xr) node[midway, above, font=\footnotesize]{$I_\mathrm{X}$};
\node[font=\footnotesize, above right] at ([xshift=0.05cm]x) {0.9 V};
\draw (p.S) -- ++(0,0.3) node[vcc]{} node[right=2pt]{$V_\mathrm{DD} = 1.8$ V};
\draw (p.G) -- ++(-0.6,0) coordinate(gp) -- (gp |- n.G) coordinate(gn) -- (n.G);
\draw (gp |- x) node[circ]{} -- ++(-0.9,0) -- ++(0,-0.3) coordinate(b);
\draw (b) to[battery1, l_=$V_\mathrm{B}$] ++(0,-0.9) node[ground]{};
\node[font=\scriptsize] at ([shift={(0.22,-0.25)}]b) {$+$};
\node[font=\scriptsize] at ([shift={(0.22,-0.65)}]b) {$-$};
\draw[gaaccent, ->] ([shift={(0.25,-0.1)}]p.D) -- ([shift={(0.25,-0.45)}]p.D) node[midway, right, font=\footnotesize]{$I_\mathrm{D2}$};
\draw[gaaccent, ->] ([shift={(0.25,0.5)}]n.D) -- ([shift={(0.25,0.15)}]n.D) node[midway, right, font=\footnotesize]{$I_\mathrm{D1}$};
\node[font=\footnotesize] at ([shift={(-0.25,0.2)}]p.G) {$+$}; \node[font=\footnotesize, below] at ([shift={(-0.2,-0.02)}]p.G) {0.8 V};
\node[font=\footnotesize] at ([shift={(-0.55,0.45)}]p.S) {$-1$};
\node[font=\footnotesize, above] at ([shift={(-0.22,0.0)}]n.G) {0.8 V}; \node[font=\footnotesize] at ([shift={(-0.25,-0.3)}]n.G) {$+$}; \node[font=\footnotesize] at ([shift={(-0.3,-0.55)}]n.G) {0.8};  \node[font=\footnotesize] at ([shift={(-0.3,0.0)}]n.S) {$-$};
\end{tikzpicture}
\end{document}
