Patent ID: 7743297

Claim:
An electronic circuit having a scan testing circuit, comprising: a flip-flop having a master latch and a slave latch; a first transmission circuit which transmits a signal output from the flip-flop as a scan output signal; a second transmission circuit which transmits another signal output from the flip-flop as a normal output signal; a power-supply controller which applies a power-supply voltage to the first transmission circuit in the scan test mode and stops application of the power-supply voltage to the first transmission circuit in normal operation mode; wherein the power-supply controller comprises: a first switching transistor which turns ON to apply a first power-supply voltage to one power-supply input of the first transmission circuit in the scan test mode and turns OFF to stop application of the first power-supply voltage to the one power-supply input of the first transmission circuit in a normal operating mode; and a second switching transistor which turns ON to apply a first power-supply voltage to the other power-supply input of the first transmission circuit in the scan test mode and turns OFF to stop application of the first power-supply voltage to the other power-supply input of the first transmission circuit in the normal operating mode.