Patent ID: 6987383

Claim:
A semiconductor device having a semiconductor integrated circuit, the semiconductor device comprising: a first plurality of leads each for supplying the semiconductor device with a first power source from an outside; a first internal power source line directly connected to an internal circuit including a plurality of logic circuits of the semiconductor integrated circuit and for supplying the internal circuit of the semiconductor integrated circuit with the first power source; a first plurality of internal terminals each coupled to a corresponding one of the first plurality of leads and each for supplying the first internal power source line with the first power source from a corresponding one of the first plurality of leads; and a first switching circuit portion including a first plurality of switching circuits, each of the first plurality of switching circuits interposed between a corresponding one of the first plurality of internal terminals and the first internal source line, where the first plurality of switching circuits includes fewer switching circuits than the first plurality of internal terminals includes internal terminals, wherein an internal terminal of the first plurality of internal terminals is connected directly to the first internal power source line.