In the case where a plurality of components are denoted by the same reference numerals, and, particularly when they need to be distinguished from each other, an identification sign such as “_1”, “_2”, “[n]”, or “[m,n]” is sometimes added to the reference numerals. For example, the second wiring GL is referred to as a wiring GL[2].
Embodiment 1
A structure and operation of a semiconductor device of one embodiment of the present invention will be described with reference to FIG. 1 to FIG. 7. The semiconductor device of one embodiment of the present invention has a function of an audio codec that is used for encoding analog audio data into digital data and decoding digital audio data into analog data. In particular, the semiconductor device of one embodiment of the present invention has a function of a mixer circuit that amplifies and adds audio signals input from a plurality of channels and controls its gain (amplification factor) in a functional block serving as an audio codec.
FIG. 1 is a block diagram illustrating the semiconductor device of one embodiment of the present invention. FIG. 1 shows microphones 11_1 and 11_2, amplifier circuits 12_1 and 12_2, a mixer circuit 13, an analog-digital converter circuit 14, a digital effector 15, a digital interface 16, an external control circuit 17, a digital-analog converter circuit 18, a mixer circuit 19, amplifier circuits 20_1 and 20_2, and speakers 21_1 and 21_2, as an example.