A method of operating an integrated circuit comprising sensing a current, wherein sensing the current comprises:
- providing a first input signal node having a first voltage and conducting a first current;
- clamping the first voltage and passing the first current to a first transistor, the first transistor having a drain terminal;
- providing a second input signal node having a second voltage and conducting a second current;
- clamping the second voltage and passing the second current to a second transistor, the second transistor having a drain terminal;
- configuring either the first transistor to mirror the first current to the second transistor, or the second transistor to mirror the second current to the first transistor;
- actively balancing the capacitive loads across the drains of the first transistor and the second transistor with a third transistor scaled to at least the first or second transistor, a drain terminal of the third transistor being coupled to a drain node, wherein by coupling an electrical potential to the drain node an operating condition is established for the third transistor such that the capacitive loads across the drains of the first transistor and the second transistor are actively balanced;
- and
- comparing the voltage across the first or second transistor to the voltage across the second or first transistor, wherein the mirrored current causes the voltage difference between the voltage across the first transistor and the voltage across the second transistor to be amplified.