\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee2.tikz}
\begin{document}
\begin{circuitikz}
% input side
\draw (0,0) node[ground]{} to[american current source, l=$i_\mathrm{i}$] (0,2.4) -- (0.9,2.4) node[ocirc]{};
\draw[->] (0.5,2.65) -- ++(0.5,0) node[midway, above]{$i_\mathrm{i}$};
\draw (0.9,2.4) -- (2.2,2.4) node[circ]{} node[above]{$D_1, G_{1,2}$} coordinate(n);
\draw (n) to[R, l_=$r_\mathrm{o1}$] (2.2,0) node[ground]{};
\draw (n) -- (4.2,2.4) node[circ]{} to[R, l=$\dfrac{1}{g_\mathrm{m1}}$] (4.2,0) node[ground]{};
\draw[->] (3.9,2.2) -- ++(0,-0.5) node[midway, left]{$i_\mathrm{i}$};
\draw (4.2,2.4) -- (6.0,2.4) node[ocirc]{};
\node at (6.0,1.9) {$+$};
\node at (6.0,1.3) {$v_\mathrm{gs}$};
\node at (6.0,0.7) {$-$};
\draw[->] (1.2,-0.9) node[below]{$R_\mathrm{in}$} -- (1.2,1.4) -- (1.9,1.4);
% output side
\begin{scope}[xshift=8.0cm]
\draw (0,0) node[ground]{} to[american controlled current source, l=$g_\mathrm{m2}v_\mathrm{gs}$, invert] (0,2.4) -- (2.0,2.4) node[circ]{} coordinate(d2) node[above left]{$D_2$};
\node[right, font=\small] at (0.1,-0.15) {$S_2$};
\draw (d2) to[R, l_=$r_\mathrm{o2}$] (2.0,0) node[ground]{};
\draw[dashed] (d2) -- ++(1.6,0) -- ++(0,-2.4);
\draw (3.6,0) node[ground]{};
\draw[->] ([xshift=1.3cm, yshift=0.3cm]d2) -- ++(-0.7,0);
\node[above, font=\small] at ([xshift=1.4cm, yshift=0.35cm]d2) {$i_\mathrm{o}=g_\mathrm{m2}v_\mathrm{gs}$};
\draw[->] (3.0,0.3) -- (3.0,1.7) -- (2.25,1.7);
\node[below, font=\small, align=center] at (3.2,0.25) {$R_\mathrm{O}$};
\draw[note, ->] (4.6,-0.5) node[below]{ac $V_\mathrm{O}$ is grounded} -- (3.85,0.6);
\end{scope}
\end{circuitikz}
\end{document}
