Patent ID: 7049991

Claim:
A semiconductor device comprising: a switching circuit including: n-pieces of input terminals D 1 , D 2 , . . . , and D n ; and m-pieces of output terminals O 1 , O 2 , . . . , and O m , and m-pieces of current sources I 1 , I 2 , . . . , and I m , wherein the current source I k and the output terminal O k of the switching circuit are electrically connected to each other (k=1 to m), the switching circuit selects the output terminals O 1 , O 2 , . . . , and O m to be connected to the input terminal D j (j=1 to n) by using signals which are input to the input terminals D 1 , D 2 , . . . , and D n of the switching circuit, and a signal which is output from the output terminal O k is input to the current source I k .