\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee2.tikz}
\begin{document}
\begin{circuitikz}
% PMOS mirror
\draw (0,4) node[pmos, xscale=-1, anchor=S](m1){};
\draw (m1.S) node[vcc]{};
\node[left] at ($(m1.D)!0.5!(m1.S)+(-0.35,0)$) {$M_1$};
\draw (m1.D) -- ++(0,-0.5) coordinate(x) -- ++(0,-0.3) to[american current source, l_=$I_\mathrm{REF}$] ++(0,-1.8) node[ground]{};
\draw (x) node[circ]{} -- ++(1.0,0) |- (m1.G);
\draw (m1.G -| 2.2,0) node[pmos, anchor=G](mp){};
\draw (m1.G) -- (mp.G);
\draw (mp.S) node[vcc]{};
\draw (1.1,0 |- m1.G) node[circ]{};
\path (1.1,0 |- m1.G) ++(0,0.3) node{$-$} ++(0,0.5) node{$V_\mathrm{SG}$} ++(0,0.5) node{$+$} ++(0,0.45) node{$V_\mathrm{DD}$};
% NMOS mirror
\draw (mp.D) -- (mp.D |- 0,1.6) coordinate(y);
\draw (y) -- ++(0,-0.5) node[nmos, xscale=-1, anchor=D](mn){};
\draw (y) node[circ]{} -- ++(0.9,0) |- (mn.G);
\draw (mn.S) node[ground]{};
\draw (mn.G -| 6.0,0) node[nmos, anchor=G](m2){};
\draw (mn.G) -- (m2.G);
\draw (m2.S) node[ground]{};
\draw (m2.D) -- ++(0,1.4) coordinate(o) -- ++(0,0.3) node[nmos, anchor=S](f){};
\draw (f.D) node[vcc]{};
\draw (f.G) -- ++(-0.6,0) node[ocirc]{} node[left]{$V_\mathrm{in}$};
\draw (o) node[circ]{} -- ++(0.8,0) node[ocirc]{} node[right]{$V_\mathrm{out}$};
\draw[->] ($(m2.D)+(0.25,1.1)$) -- ++(0,-0.6) node[midway, right]{$I_2 = I_\mathrm{REF}$};
\end{circuitikz}
\end{document}
