\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee2.tikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) node[nmos](q){$Q_1$};
\draw (q.D) -- ++(0,0.9) node[ocirc](d1){} node[left]{$d_1$};
\draw (d1) ++(0,0.08) -- ++(0,0.7) coordinate(bin);
% the unknown block
\draw[line width=1.2pt, pattern=north east lines] ($(bin)+(-0.55,0)$) rectangle ($(bin)+(0.55,1.8)$);
\node[left, font=\small] at ($(bin)+(-0.55,-0.1)$) {in};
\node[left, font=\small] at ($(bin)+(-0.55,1.9)$) {out};
\draw ($(bin)+(0,1.8)$) -- ++(0,0.8) node[ocirc](d2){} node[left]{$d_2$};
\draw[dashed] (d2) ++(0,0.08) -- ++(0,1.0);
\draw[->] (1.8,5.3) -| (0.3,5.9);
\node[right] at (1.8,5.3) {To Load};
\draw[<-] ($(d2)+(0.3,-0.25)$) |- ++(1.5,0.3) node[right]{$K r_\mathrm{o1}$};
\draw[<-] ($(d1)+(0.3,0.15)$) |- ++(1.5,0.4) node[right]{$r_\mathrm{o1}$};
\draw (q.G) -- ++(-1.2,0) node[ocirc](in){};
\node[font=\small] at ($(in)+(0,-0.45)$) {$+$};
\node at ($(in)+(0,-1.05)$) {$V_\mathrm{i}$};
\node[font=\small] at ($(in)+(0,-1.6)$) {$-$};
\draw ($(in)+(0,-1.85)$) node[ground]{};
\draw (q.S) node[ground]{};
% curved arrow + remark
\draw[->] (3.9,-0.6) .. controls (4.1,2.2) and (2.6,3.4) .. (1.0,3.4);
\node[anchor=west] at (2.6,-0.9) {it must be a current buffer. CG or CB config.};
% equivalent
\node[font=\Large] at (4.9,3.0) {$\equiv$};
\begin{scope}[xshift=6.6cm, yshift=1.2cm]
\draw (0,3) to[american controlled current source, l=$g_\mathrm{m1}V_\mathrm{i}$] (0,0) node[ground]{};
\draw (0,3) -- (2,3) node[circ]{} to[R, l=$K r_\mathrm{o1}$] (2,0) node[ground]{};
\draw (2,3) to[short, -o] (3.6,3) node[above]{$d_2$};
\draw[dashed] (3.7,3) -- (4.4,3);
\end{scope}
\end{circuitikz}
\end{document}
