\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee2.tikz}
\newcommand\rail[1]{\draw #1 ++(-0.35,0) -- ++(0.7,0);}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[american voltage source, invert, v<=$V_1$] (0,2) to[short, i=$I_1$] (1.4,2) -- (3.4,2) -- (3.4,1.75);
\draw (3.4,1.0) node[nmos, anchor=D, yshift=0cm](m){};
\draw (3.4,1.75) -- (m.D);
\draw (m.D) ++(0,0.2) coordinate(t) -| ($(m.G)+(-0.3,0)$) -- (m.G);
\draw (m.S) |- (0,0);
\node at (m.east) [right=1pt]{$M_1$};
\draw[note, <-] ($(m.D)+(0.25,0.35)$) -- ++(0.6,0.7) node[above]{Diode-connected device};
\begin{axis}[sketch, at={(7.0cm,-0.6cm)}, width=5.2cm, height=4.2cm, xmin=-0.4, xmax=2.2, ymin=-0.3, ymax=2.0,
  xlabel={$V_1$}, ylabel={$I_1$}]
  \addplot[gaaccent, line width=1.1pt, domain=0:0.8] {0};
  \addplot[gaaccent, line width=1.1pt, domain=0.8:2.0, samples=50] {1.4*(x-0.8)^2};
  \draw (axis cs:0.8,0.06) -- (axis cs:0.8,-0.06) node[below]{$V_\mathrm{t}$};
  \draw[note, <-] (axis cs:1.75,1.2) -- (axis cs:2.3,1.5) node[right]{Quadratic};
\end{axis}
\end{circuitikz}
\end{document}
