\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{circuitikz}
% CB with v_in = 0
\draw (0,2) node[ground]{} -- (0,2.4) -- (1.2,2.4) to[R, l_=$r_\pi$, v^=$v_\pi$] (1.2,0.4) -- (2.2,0.4) -- (2.2,0) coordinate(e);
\draw (e) -- (1.0,0) node[ground]{};
\node[left] at (0.9,0.1) {$v_\mathrm{in} = 0 \rightarrow$};
\draw (2.2,0.4) -- (3.0,0.4) to[american current source, l_=$g_\mathrm{m} v_\pi$, invert] (3.0,2.6) node[circ]{} coordinate(c);
\draw (c) to[R, l=$R_\mathrm{C}$] (3.0,4.0) -- (3.5,4.0) node[ground]{};
\draw (c) -- (5.2,2.6) coordinate(x);
\draw[<-] (5.2,2.6) -- (5.6,2.6) node[ocirc]{} coordinate(t);
\node[above] at (5.4,2.7) {$i_x$};
\draw (t) to[american voltage source, l=$v_x$] ++(0,-2.0) node[ground]{};
\node[group, fit={(-1.0,-0.5) (4.4,4.4)}] {};
% small-signal of CE
\begin{scope}[yshift=-5.6cm]
\node[note, anchor=west] at (-1.8,4.3) {small-signal of CE};
\draw (0,2.4) node[ground]{} -- (1.2,2.4) to[R, l_=$r_\pi$, v^=$v_\pi$] (1.2,0.4) -- (2.2,0.4) -- (2.2,0) node[ground]{};
\draw (2.2,0.4) -- (3.0,0.4) to[american current source, l_=$g_\mathrm{m} v_\pi$, invert] (3.0,2.6) node[circ]{} coordinate(c);
\draw (c) to[R] (3.0,4.0) -- (3.5,4.0) node[ground]{};
\draw (c) -- (5.2,2.6);
\draw[<-] (5.2,2.6) -- (5.6,2.6) node[ocirc]{} coordinate(t);
\node[above] at (5.4,2.7) {$i_x$};
\draw (t) to[american voltage source, l=$v_x$] ++(0,-2.0) node[ground]{};
\draw[gaaccent, rounded corners=14pt] (-0.6,1.0) -- (0.6,3.4) -- (2.0,4.6) -- (4.2,4.6) -- (4.2,0.6) -- (2.8,-0.6) -- (0.2,-0.6) -- cycle;
\node[anchor=west] at (6.6,3.0) {$R_\mathrm{out} = R_\mathrm{C}$};
\end{scope}
\end{circuitikz}
\end{document}
