Patent ID: 7710166

Claim:
A semiconductor device comprising: a transistor; a capacitor; a first switch; a second switch; a third switch; a fourth switch; and a current source supplying a current to the transistor and the capacitor, wherein: one of a source and a drain of the transistor is electrically connected to one terminal of the first switch, the other terminal of the first switch is electrically connected to a gate of the transistor and one terminal of the capacitor, the other terminal of the capacitor is electrically connected to one terminal of the second switch and one terminal of the third switch, the other terminal of the third switch is electrically connected to the other of the source and the drain of the transistor and one terminal of the fourth switch, the other terminal of the second switch is electrically connected to an input terminal, and the other terminal of the fourth switch is electrically connected to an output terminal.