\begin{circuit}1

%% La fuente controlada

\at 2 2 \P1
\- 2 d \P11
\nl\cc \varU1 {$K v_i$} d
\- 2 d \P2

%% Los signos

\atpin P11 \shift 0.5 -0.8
\put{$+$}

\atpin P2 \shift 0.5 1.8
\put{$-$}


\atpin P1 
\- 2 l

\atpin P2
\- 2 l

%% Los conectores
\atpin P1
\_ 6 r \P3
\- 2 r
\atpin P3
\connection1 {$+$} c l \P5


\atpin P2
\_ 6 r \P4
\- 2 r
\atpin P4
\cc \connection2 {$-$} c l \P6

\atpin P3 \shift -1 -4
\put{$v_i$}

\atpin P5 \shift 0.5 0.5
\put{$A$}

\atpin P6 \shift 0.5 -1.5
\put{$B$}


\end{circuit}