Embodiments of the present invention include an electronic circuit for
performing current sensing. In one embodiment, the present invention
includes a first switching transistor and a second switching transistor
both coupled to receive a first switching current and a switching signal,
and one or more transistors coupled in a first series. A first terminal
of an initial transistor in the first series is coupled to a second
terminal of the second switching transistor. A second terminal of a last
transistor in the first series is coupled to a reference voltage. The
first switching current is coupled to a second node between the second
terminal of the second switching transistor and the first terminal of the
initial transistor in the first series. In this manner, the circuit
produces a switching voltage corresponding to said first switching
current.