\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{circuitikz}
% measurement
\draw[line width=1.1pt] (0.6,2.4) rectangle (1.5,3.1) (1.5,2.4) rectangle (2.4,3.1);
\node at (1.05,3.35) {n}; \node at (1.95,3.35) {p};
\draw (0.6,2.75) -- (0,2.75) -- (0,1.2) -- (0.9,1.2) to[american voltage source, hsrc, l_=$V_x$, invert] (2.1,1.2) -- (3,1.2) to[short, i=$I_x$] (3,2.75) -- (2.4,2.75);
% I-V: I_x = I_s (exp(V_x/V_T) - 1)
\begin{axis}[sketch, at={(4.2cm,0.2cm)}, width=6.4cm, height=4.4cm, xmin=-1, xmax=1, ymin=-0.35, ymax=1.2, xlabel={$V_x$}, ylabel={$I_x$}]
  \addplot[domain=-0.95:0.55, samples=120] {0.15*(exp(x/0.25)-1)};
  \draw[dim] (axis cs:-0.95,-0.15) -- (axis cs:0,-0.15);
  \node[anchor=east, font=\small] at (axis cs:-0.95,-0.15) {$-I_\mathrm{S}$};
  \draw[decorate, decoration={brace, amplitude=4pt, mirror}] (axis cs:-0.9,-0.22) -- (axis cs:-0.05,-0.22) node[midway, below=4pt, font=\small]{reverse bias};
  \draw[decorate, decoration={brace, amplitude=4pt, mirror}] (axis cs:0.05,-0.22) -- (axis cs:0.9,-0.22) node[midway, below=4pt, font=\small]{forward bias};
  \draw[note, <-] (axis cs:0.5,0.9) -- (axis cs:0.75,0.9) node[right]{conducts};
  \draw[note, <-] (axis cs:0,0) -- (axis cs:-0.3,0.8) node[left]{equilibrium};
  \node[note, align=center] at (axis cs:-0.6,0.22) {$-I_\mathrm{S}$: leakage\\current};
\end{axis}
\end{circuitikz}
\end{document}
