Liquid crystal display device

11604391 · 2023-03-14

Assignee

Inventors

Cpc classification

International classification

Abstract

To suppress a malfunction of a circuit due to deterioration in a transistor. In a transistor which continuously outputs signals having certain levels (e.g., L-level signals) in a pixel or a circuit, the direction of current flowing through the transistor is changed (inverted). That is, by changing the level of voltage applied to a first terminal and a second terminal (terminals serving as a source and a drain) every given period, the source and the drain are switched every given period. Specifically, in a portion which successively outputs signals having certain levels (e.g., L-level signals) in a circuit including a transistor, L-level signals having a plurality of different potentials (L-level signals whose potentials are changed every given period) are used as the signals having certain levels.

Claims

1. A semiconductor device comprising: a first circuit, a second circuit and a third circuit, wherein each of the first circuit, the second circuit and the third circuit comprises a first transistor to a twelfth transistor, wherein in the second circuit, one of a source and a drain of the first transistor, one of a source and a drain of the second transistor, a gate of the fourth transistor, one of a source and a drain of the seventh transistor, a gate of the eighth transistor, a gate of the ninth transistor, and a gate of the eleventh transistor are directly connected to each other; a gate of the first transistor and a gate of the sixth transistor are directly connected to the first circuit; a gate of the second transistor is electrically connected to the third circuit; one of a source and a drain of the third transistor and a gate of the third transistor are electrically connected to each other; the other of the source and the drain of the third transistor, one of a source and a drain of the fourth transistor, and a gate of the fifth transistor are electrically connected to each other; one of a source and a drain of the fifth transistor, one of a source and a drain of the sixth transistor, a gate of the seventh transistor, one of a source and a drain of the eighth transistor, a gate of the tenth transistor, and a gate of the twelfth transistor are electrically connected to each other; one of a source and a drain of the ninth transistor and one of a source and a drain of the tenth transistor are directly connected to the first circuit and the third circuit; one of a source and a drain of the eleventh transistor and one of a source and a drain of the twelfth transistor are directly connected to an output terminal; the other of the source and the drain of the ninth transistor and the other of the source and the drain of the eleventh transistor are electrically connected to a first wiring; the other of the source and the drain of the second transistor is electrically connected to a second wiring; and the other of the source and the drain of the twelfth transistor is electrically connected to a third wiring; and wherein the first wiring has a function of supplying a clock signal to the second circuit.

2. The semiconductor device according to claim 1, wherein each of the first transistor to the twelfth transistor comprises an amorphous silicon.

3. A semiconductor device comprising: a first circuit, a second circuit and a third circuit, wherein each of the first circuit, the second circuit and the third circuit comprises a first transistor to a twelfth transistor, wherein in the second circuit, one of a source and a drain of the first transistor, one of a source and a drain of the second transistor, a gate of the fourth transistor, one of a source and a drain of the seventh transistor, a gate of the eighth transistor, a gate of the ninth transistor, and a gate of the eleventh transistor are directly connected to each other; a gate of the first transistor and a gate of the sixth transistor are electrically connected to the first circuit; a gate of the second transistor is electrically connected to the third circuit; one of a source and a drain of the third transistor and a gate of the third transistor are electrically connected to each other; the other of the source and the drain of the third transistor, one of a source and a drain of the fourth transistor, and a gate of the fifth transistor are electrically connected to each other; one of a source and a drain of the fifth transistor, one of a source and a drain of the sixth transistor, a gate of the seventh transistor, one of a source and a drain of the eighth transistor, a gate of the tenth transistor and a gate of the twelfth transistor are electrically connected to each other; one of a source and a drain of the ninth transistor and one of a source and a drain of the tenth transistor are directly connected to the first circuit and the third circuit; one of a source and a drain of the eleventh transistor and one of a source and a drain of the twelfth transistor are directly connected to an output terminal; the other of the source and the drain of the ninth transistor and the other of the source and the drain of the eleventh transistor are electrically connected to a first wiring; the other of the source and the drain of the second transistor is electrically connected to a second wiring; the other of the source and the drain of the twelfth transistor is electrically connected to a third wiring; and the other of the source and the drain of the fifth transistor and a gate of the third transistor are electrically connected to each other.

4. The semiconductor device according to claim 3, wherein the first wiring has a function of supplying a clock signal to the second circuit.

5. The semiconductor device according to claim 3, wherein each of the first transistor to the twelfth transistor comprises an amorphous silicon.

6. A semiconductor device comprising: a first circuit, a second circuit and a third circuit, wherein each of the first circuit, the second circuit and the third circuit comprises a first transistor to a twelfth transistor, wherein in the second circuit, one of a source and a drain of the first transistor, one of a source and a drain of the second transistor, a gate of the fourth transistor, one of a source and a drain of the seventh transistor, a gate of the eighth transistor, a gate of the ninth transistor, and a gate of the eleventh transistor are electrically connected to each other; a gate of the first transistor and a gate of the sixth transistor are electrically connected to the first circuit; a signal is directly input into the gate of the first transistor and the gate of the sixth transistor from the first circuit; a gate of the second transistor is electrically connected to the third circuit; one of a source and a drain of the third transistor and a gate of the third transistor are electrically connected to each other; the other of the source and the drain of the third transistor, one of a source and a drain of the fourth transistor, and a gate of the fifth transistor are directly connected to each other; one of a source and a drain of the fifth transistor, one of a source and a drain of the sixth transistor, a gate of the seventh transistor, one of a source and a drain of the eighth transistor, a gate of the tenth transistor and a gate of the twelfth transistor are electrically connected to each other; one of a source and a drain of the ninth transistor and one of a source and a drain of the tenth transistor are electrically connected to the first circuit and the third circuit; one of a source and a drain of the eleventh transistor and one of a source and a drain of the twelfth transistor are electrically connected to an output terminal; the other of the source and the drain of the ninth transistor and the other of the source and the drain of the eleventh transistor are electrically connected to a first wiring; the other of the source and the drain of the second transistor, the other of the source and the drain of the fourth transistor, the other of the source and the drain of the sixth transistor, the other of the source and the drain of the seventh transistor, and the other of the source and the drain of the eighth transistor are electrically connected to a second wiring; and the other of the source and the drain of the twelfth transistor is electrically connected to a third wiring.

7. The semiconductor device according to claim 6, wherein the first wiring has a function of supplying a clock signal to the second circuit.

8. The semiconductor device according to claim 6, wherein each of the first transistor to the twelfth transistor comprises an amorphous silicon.

9. A semiconductor device comprising: a first circuit, a second circuit and a third circuit, wherein each of the first circuit, the second circuit and the third circuit comprises a first transistor to a twelfth transistor, wherein in the second circuit, one of a source and a drain of the first transistor, one of a source and a drain of the second transistor, a gate of the fourth transistor, one of a source and a drain of the seventh transistor, a gate of the eighth transistor, a gate of the ninth transistor, and a gate of the eleventh transistor are electrically connected to each other; a gate of the first transistor and a gate of the sixth transistor are directly connected to the first circuit; a gate of the second transistor is electrically connected to the third circuit; one of a source and a drain of the third transistor and a gate of the third transistor are electrically connected to each other; the other of the source and the drain of the third transistor, one of a source and a drain of the fourth transistor, and a gate of the fifth transistor are directly connected to each other; one of a source and a drain of the fifth transistor, one of a source and a drain of the sixth transistor, a gate of the seventh transistor, one of a source and a drain of the eighth transistor, a gate of the tenth transistor and a gate of the twelfth transistor are electrically connected to each other; one of a source and a drain of the ninth transistor and one of a source and a drain of the tenth transistor are electrically connected to the first circuit and the third circuit; one of a source and a drain of the eleventh transistor and one of a source and a drain of the twelfth transistor are electrically connected to an output terminal; the other of the source and the drain of the ninth transistor and the other of the source and the drain of the eleventh transistor are electrically connected to a first wiring; the other of the source and the drain of the second transistor, the other of the source and the drain of the fourth transistor, the other of the source and the drain of the sixth transistor, the other of the source and the drain of the seventh transistor, and the other of the source and the drain of the eighth transistor are electrically connected to a second wiring; the other of the source and the drain of the twelfth transistor is electrically connected to a third wiring; and the other of the source and the drain of the fifth transistor and a gate of the third transistor are electrically connected to each other.

10. The semiconductor device according to claim 9, wherein the first wiring has a function of supplying a clock signal to the second circuit.

11. The semiconductor device according to claim 9, wherein each of the first transistor to the twelfth transistor comprises an amorphous silicon.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) In the accompanying drawings:

(2) FIGS. 1A to 1C illustrate examples of a semiconductor device;

(3) FIG. 2A illustrates a semiconductor device, and FIGS. 2B to 2F illustrate a driving method of the semiconductor device;

(4) FIGS. 3A to 3E illustrate the semiconductor device and a driving method thereof;

(5) FIG. 4A illustrates a semiconductor device, and FIGS. 4B to 4F illustrate a driving method of the semiconductor device;

(6) FIGS. 5A to 5C illustrate examples of a semiconductor device;

(7) FIGS. 6A to 6G illustrate an example of operation of the semiconductor device;

(8) FIGS. 7A to 7G illustrate an example of operation of the semiconductor device;

(9) FIGS. 8A to 8G illustrate an example of operation of the semiconductor device;

(10) FIGS. 9A to 9G illustrate an example of operation of the semiconductor device;

(11) FIGS. 10A to 10G illustrate an example of operation of the semiconductor device;

(12) FIGS. 11A to 11G illustrate an example of operation of the semiconductor device;

(13) FIGS. 12A to 12C illustrate examples of a semiconductor device;

(14) FIGS. 13A to 13H illustrate an example of operation of the semiconductor device;

(15) FIGS. 14A to 14H illustrate an example of operation of the semiconductor device;

(16) FIGS. 15A to 15H illustrate an example of operation of the semiconductor device;

(17) FIG. 16 illustrates an example of a semiconductor device;

(18) FIG. 17 illustrates an example of a semiconductor device;

(19) FIG. 18 illustrates an example of a semiconductor device;

(20) FIG. 19 illustrates an example of a semiconductor device;

(21) FIG. 20 illustrates an example of a semiconductor device;

(22) FIGS. 21A to 21C illustrate examples of a semiconductor device;

(23) FIGS. 22A to 22C illustrate examples of a semiconductor device;

(24) FIG. 23 illustrates an example of a semiconductor device;

(25) FIG. 24 illustrates an example of a semiconductor device;

(26) FIG. 25 illustrates an example of a semiconductor device;

(27) FIG. 26 illustrates an example of a semiconductor device;

(28) FIGS. 27A to 27D illustrate an example of a semiconductor device; and

(29) FIGS. 28A to 28E illustrate applications of a semiconductor device.

DETAILED DESCRIPTION OF THE INVENTION

(30) Hereinafter, embodiments will be described with reference to the drawings. Note that the embodiments can be implemented in various different ways and it will be readily appreciated by those skilled in the art that modes and details of the embodiments can be changed in various ways without departing from the spirit and scope of the present invention. Therefore, the present invention should not be construed as being limited to the following description of the embodiments. Note that in structures described below, the same portions or portions having similar functions are denoted by common reference numerals in different drawings, and description thereof is not repeated.

(31) Further, a content (or may be part of the content) described in one embodiment may be applied to, combined with, or replaced by a different content (or may be part of the different content) described in the embodiment and/or a content (or may be part of the content) described in one or a plurality of different embodiments.

(32) Note that in each embodiment, a content described in the embodiment is a content described with reference to a variety of diagrams or a content described with a text described in this specification.

(33) Note that by combining a diagram (or may be part of the diagram) illustrated in one embodiment with another pan of the diagram, a different diagram (or may be part of the different diagram) illustrated in the embodiment, and/or a diagram (or may be part of the diagram) illustrated in one or a plurality of different embodiments, much more diagrams can be formed.

(34) Note that in a diagram or a text described in one embodiment, part of the diagram or the text is taken out, and one embodiment of the invention can be constituted. Thus, in the case where a diagram or a text related to a certain portion is described, the context taken out from part of the diagram or the text is also disclosed as one embodiment of the invention, and one embodiment of the invention can be constituted. Therefore, for example, in a diagram (e.g., a cross-sectional view, a plan view, a circuit diagram, a block diagram, a flow chart, a process diagram, a perspective view, a cubic diagram, a layout diagram, a timing chart, a structure diagram, a schematic view, a graph, a list, a ray diagram, a vector diagram, a phase diagram, a waveform chart, a photograph, or a chemical formula) or a text in which one or more active elements (e.g., transistors or diodes), wirings, passive elements (e.g., capacitors or resistors), conductive layers, insulating layers, semiconductor layers, organic materials, inorganic materials, components, substrates, modules, devices, solids, liquids, gases, operating methods, manufacturing methods, or the like are described, part of the diagram or the text is taken out, and one embodiment of the invention can be constituted. For example, M pieces of circuit elements (e.g., transistors or capacitors) (M is an integer, where M<N) are taken out from a circuit diagram in which N pieces of circuit elements (e.g., transistors or capacitors) (N is an integer) are provided, and one embodiment of the invention can be constituted. As another example, U pieces of layers (M is an integer, where M<N) are taken out from a cross-sectional view in which N pieces of layers (N is an integer) are provided, and one embodiment of the invention can be constituted. As another example, M pieces of elements (M is an integer, where M<A) are taken out from a flow chart in which N pieces of elements (N is an integer) are provided, and one embodiment of the invention can be constituted.

(35) Note that in a diagram or a text described in one embodiment, in the case where at least one specific example is described, it will be readily appreciated by those skilled in the art that a broader concept of the specific example can be derived. Therefore, in the diagram or the text described in one embodiment, in the case where at least one specific example is described, a broader concept of the specific example is disclosed as one embodiment of the invention, and one embodiment of the invention can be constituted.

(36) Note that a content described in at least a diagram (or may be part of the diagram) is disclosed as one embodiment of the invention, and one embodiment of the invention can be constituted. Therefore, when a certain content is described in a diagram, the content is disclosed as one embodiment of the invention even when the content is not described with a text, and one embodiment of the invention can be constituted. In a similar manner, part of a diagram, which is taken out from the diagram, is disclosed as one embodiment of the invention, and one embodiment of the invention can be constituted.

(37) Note that it might be possible for those skilled in the art to constitute one embodiment of the invention even when portions to which all terminals of an active element (e.g., a transistor or a diode), a passive element (e.g., a capacitor or a resistor), or the like are connected are not specified. In particular, in the case where the number of portions to which the terminal is connected is plural, it is not necessary to specify the portions to which the terminal is connected. Therefore, it might be possible to constitute one embodiment of the invention by specifying only portions to which some of terminals of an active element (e.g., a transistor or a diode), a passive element (e.g., a capacitor or a resistor), or the like are connected.

(38) Note that it might be possible for those skilled in the art to specify the invention when at least a connection portion of a circuit is specified. Alternatively, it might be possible for those skilled in the art to specify the invention when at least a function of a circuit is specified. Therefore, when a connection portion of a circuit is specified, the circuit is disclosed as one embodiment of the invention even when a function is not specified, and one embodiment of the invention can be constituted. Alternatively, when a function of a circuit is specified, the circuit is disclosed as one embodiment of the invention even when a connection portion is not specified, and one embodiment of the invention can be constituted.

Embodiment 1

(39) In this embodiment, examples of a semiconductor device including a transistor are described.

(40) In order to suppress deterioration in a transistor, in the semiconductor device described in this embodiment, the direction of current flowing through the transistor is changed (inverted) in a period during which the transistor is on. That is, by changing the level of voltage applied to a first terminal and a second terminal (terminals serving as a source and a drain) of the transistor in the period during which the transistor is on every given period, the source and the drain are switched every given period. Specific circuit structures and operation are described below with reference to drawings.

(41) The semiconductor device described in this embodiment includes at least a transistor 111 provided between a wiring 101 and a wiring 103 and a transistor 112 provided between a wiring 102 and the wiring 103 (see FIG. 1A).

(42) One of a source and a drain of the transistor 111 is electrically connected to the wiring 101, and the other of the source and the drain of the transistor 111 is electrically connected to the wiring 103. By turning on the transistor 111, a signal which is input to the wiring 101 (IN1) is supplied to the wiring 103. One of a source and a drain of the transistor 112 is electrically connected to the wiring 102, and the other of the source and the drain of the transistor 112 is electrically connected to the wiring 103. By turning on the transistor 112, a signal which is input to the wiring 102 (IN2) is supplied to the wiring 103.

(43) That is, a first signal corresponding to the signal which is input to the wiring 101 (IN1) or a second signal corresponding to the signal which is input to the wiring 102 (IN2) is supplied to the wiring 103.

(44) For example, by using a high potential (a high (H)-level signal) and a low potential (a low (L)-level signal) as the first signal and the second signal and by controlling on/off of the transistor 111 and the transistor 112, the H-level signal or the L-level signal can be selectively output to the wiring 103. Alternatively, as illustrated in FIG. 2A, by connecting a gate of a transistor to the wiring 103 and outputting the H-level signal or the L-level signal from the wiring 103, on/off of the transistor can be controlled.

(45) Note that although n-channel transistors are used as the transistor 111 and the transistor 112 in FIGS. 1A to 1C, p-channel transistors may be used. Alternatively, the polarities of the transistor 111 and the transistor 112 may be different from each other, or a CMOS may be used for each transistor. Further, the transistor 111 can serve as a switch provided between the wiring 101 and the wiring 103, and the transistor 112 can serve as a switch provided between the wiring 102 and the wiring 103 (see FIG. 1B).

(46) In this embodiment, in the structures illustrated in FIGS. 1A to 1C, in at least one of the transistor 111 and the transistor 112, the direction of current flowing through the transistor is changed. That is, the level of voltage applied to a first terminal and a second terminal (terminals serving as the source and the drain) of at least one of the transistor 111 and the transistor 112 is changed every given period (the source and the drain are switched).

(47) In particular, in operating a circuit, in a transistor which is kept on for a long time, it is preferable that the direction of current flowing through the transistor be changed. For example, in the case where the transistor 112 is kept on for along time in FIG. 1A, at least the direction of current flowing through the transistor 112 (a direction A or a direction B) is changed. That is, the level of voltage applied to the first terminal and the second terminal of the transistor 112 is changed every period (the source and the drain are switched).

(48) A specific operating method is described below with reference to FIGS. 2A to 2F and FIGS. 3A to 3E.

(49) In the following description, a structure where a gate of an n-channel transistor 121 is electrically connected to the wiring 103 (e.g., a structure where the wiring 103 serves as a gate line) is described (see FIG. 2A). In addition, the case is described in which the direction of current flowing through the transistor 112 is changed in a period during which the transistor 112 is on by using a signal whose potential is changed every predetermined period as a signal which is input to the wiring 102.

(50) FIGS. 2B to 2F illustrate a signal which is supplied to the wiring 103 (Out), the signal which is input to the wiring 101 (IN1), the signal which is input to the wiring 102 (IN2), a signal which is input to a gate of the transistor 111 (IN3), and a signal which is input to agate of the transistor 112 (IN4), respectively. Needless to say, these signals (IN1 to IN4) are just examples, and signals are not limited to the signals illustrated in FIGS. 2A to 2F.

(51) First, in a period T1, the signal for turning on the transistor 111 (IN3) is input to the gate of the transistor 111. Accordingly, the transistor 111 is turned on, and the first signal corresponding to the signal which is input to the wiring 101 (IN1) (here, an H-level signal (a selection signal for turning on the transistor 121)) is supplied to the wiring 103 through the transistor 111. Then, the selection signal is input to the gate of the transistor 121 which is connected to the wiring 103, so that the transistor 121 is turned on (see FIG. 3A).

(52) In the period T1, in the case where a potential of the signal which is input to the gate of the transistor 111 (IN3) is V.sub.H, when it is assumed that the threshold voltage of the transistor 111 is Vth, a potential of a signal which is output to the wiring 103 is V.sub.H-Vth. In order to set the potential of the signal which is output to the wiring 103 at V.sub.H, the potential of the signal which is input to the gate of the transistor 111 (IN3) is set higher than V.sub.H+Vth by setting the gate of the transistor 111 in a floating state in the period T1 and performing bootstrap operation. Needless to say, in order to set the potential of the signal which is output to the wiring 103 at V.sub.H, the potential of the signal which is input to the gate of the transistor 111 (IN3) may be set higher than V.sub.H+Vth (e.g., V.sub.H+Vth+α) in advance.

(53) In addition, in the period T1, the transistor 112 is brought out of conduction (off). Note that this embodiment is not limited to this, and the transistor 112 may be on as long as the selection signal is output to the wiring 103. In this case, a potential of the signal which is input to the wiring 102 (IN2) is preferably V.sub.H.

(54) Alternatively, in a period before the period T1, the transistor 111 may be on. In this case, the signal which is input to the wiring 101 is preferably an L-level signal.

(55) Next, in a period T2, the signal for turning on the transistor 112 (IN4) is input to the gate of the transistor 112. In this case, in the transistor 112, a potential of a terminal which is connected to the wiring 102 (in this case, V.sub.LL) is lower than a potential of a terminal which is connected to the wiring 103 (in this case, V.sub.11), so that the terminal which is connected to the wiring 102 is the source and the terminal which is connected to the wiring 103 is the drain. Accordingly, a gate-source potential of the transistor 112 (VgsB=V.sub.H−V.sub.LL) is higher than the threshold voltage of the transistor 112, so that the transistor 112 is turned on. Thus, the second signal corresponding to the signal which is input to the wiring 102 (IN2) (here, a non-selection signal for turning off the transistor 121 (having the potential V.sub.LL)) is supplied to the wiring 103 through the transistor 112.

(56) Then, the non-selection signal is supplied to the gate of the transistor 121 which is connected to the wiring 103, so that the transistor 121 is turned off. Note that in the period T2, the transistor 111 is off. Note that the state of the transistor 111 is not limited to this, and the transistor 111 may be on as long as the signal IN1 has the potential V.sub.LL.

(57) In this manner, in the period T2, in the transistor 112, the potential of the terminal which is connected to the wiring 102 is lower than the potential of the terminal which is connected to the wiring 103, so that the terminal which is connected to the wiring 102 is the source and the terminal which is connected to the wiring 103 is the drain. Current flows from the drain to the source (in a direction B in FIG. 2A)(see FIG. 3B).

(58) Next, in a period T3, the transistor 111 is kept off, and the potential of the signal which is input to the wiring 102 (IN2) is changed from V.sub.LL to V.sub.LH (V.sub.LL<V.sub.LH). In this case, in the transistor 112, the potential of the terminal which is connected to the wiring 102 (in this case, V.sub.LH) is higher than the potential of the terminal which is connected to the wiring 103 (in this case, V.sub.LL), so that the terminal which is connected to the wiring 102 is the drain and the terminal which is connected to the wiring 103 is the source. Since the gate-source potential of the transistor 112 (VgsA=V.sub.H−V.sub.LH) is kept higher than the threshold voltage of the transistor 112, the transistor 112 is kept on, and the second signal corresponding to the signal which is input to the wiring 102 (IN2) (here, the non-selection signal for turning off the transistor 121 (having the potential V.sub.LH)) is supplied to the wiring 103 through the transistor 112.

(59) Then, since the non-selection signal is input to the gate of the transistor 121 which is connected to the wiring 103, the transistor 121 is kept off. Here, the potential V.sub.LH and the potential V.sub.LL are different from each other and are potentials which do not turn on the transistor 121 even when they are applied to the gate of the transistor 121. For example, when the lowest potential in a source or a drain of the transistor 121 is Vmin, the highest voltage is Vmax, and the threshold voltage of the transistor 121 is Vth, V.sub.LH−Vmin<Vth and V.sub.H−Vmax>Vth are satisfied.

(60) In this manner, in the period T3, in the transistor 112, the potential of the terminal which is connected to the wiring 102 is higher than the potential of the terminal which is connected to the wiring 103, so that the terminal which is connected to the wiring 102 is the drain and the terminal which is connected to the wiring 103 is the source. Current flows from the drain to the source (in a direction A in FIG. 2A) (see FIG. 3C).

(61) In consecutive periods Tn and T (n+1), the operation in the period T2 and the period T3 is repeated. Thus, a second signal whose potential is switched between the potential V.sub.LL and the potential V.sub.LH every predetermined period is supplied to the wiring 103 (here, a signal whose potential is V.sub.LH and is V.sub.LL in even-numbered periods is supplied), and the transistor 121 is kept off. Further, although the transistor 112 is kept on, the direction of current is changed (see FIGS. 3D and 3E).

(62) In other words, in this embodiment, the level of voltage of the two terminals serving as the source and the drain of the transistor 112 is changed by input of an L-level signal (a non-selection signal) whose potential is changed every given period to the transistor 112 which continuously outputs L-level signals, so that the direction of current flowing through the transistor 112 is changed.

(63) With a structure in which the direction of current flowing through the transistor 112 is changed (the source and the drain are switched) in this manner, even in the case where the transistor 112 is on for a long time in order to stably turn off the transistor 121, concentration of an electric field on a channel portion (an end of the drain) of the transistor 112 is relieved. Thus, deterioration in the transistor 112 can be suppressed. Accordingly, a malfunction of the circuit due to deterioration in the transistor is suppressed, so that reliability can be improved.

(64) In particular, in the case where amorphous silicon or microcrystalline silicon (microcrystal silicon or nanocrystal silicon) is used for a channel formation region of a transistor, it is effective to operate a transistor which is kept on for a long time in an operating period of a circuit as illustrated in FIGS. 2A to 2F or FIGS. 3A to 3E in suppressing deterioration in the transistor. Note that besides amorphous silicon or microcrystalline silicon, it is effective to use, for example, polysilicon, an oxide semiconductor (e.g., ZnO or IGZO (InGaZnO)), an organic semiconductor, a carbon nanotube, or the like for a channel formation region in suppressing deterioration in the transistor.

(65) Note that although FIGS. 2A to 2F illustrate the case where a signal whose potential is switched between a first potential V.sub.LH and a second potential V.sub.LL (V.sub.LH>V.sub.LL) every given period is used as an L-level signal, signals which are input to the wiring 102 are not limited to two kinds of signals having different potentials. Three or more kinds of different potentials may be input to the transistor 112 in combination as long as the potentials are not potentials for turning on the transistor 121.

(66) In addition, although FIGS. 2A to 2F illustrate the case where the first potential V.sub.LH and the second potential V.sub.LL are alternately and repeatedly input to the wiring 102 for the same length of time, periods for inputting the first potential and the second potential can be set optionally. Further, even in the case where the first potential V.sub.LH and the second potential V.sub.LL are alternately and repeatedly input to the wiring 102 for the same length of time, the cycle can be set optionally.

(67) In addition, the signals illustrated in FIGS. 2A to 2F (IN1 to IN4) are just examples, and this embodiment is not limited to this. For example, although FIGS. 2A to 2F illustrate the case where a signal having a constant potential is input to the wiring 101 (e.g., the case where the wiring 101 is connected to a power supply line), a different signal (e.g., a clock signal) may be input to the wiring 101. Further, although FIGS. 2A to 2F illustrate the case where the transistor 111 is off in the period T2 to the period Tn, a period during which the transistor 111 is on may be provided in the case where an L-level signal is supplied from the wiring 101.

(68) In addition, although the case where the potential of the signal which is input to the gate of the transistor 112 (IN4) is V.sub.LL in the period T1 is described, the potential of the signal is not limited to this as long as the transistor 112 is turned off. For example, a potential which is lower than V.sub.LL may be used as the potential of the signal which is input to the gate of the transistor 112 (IN4). In this case, since Vgs can be made lower than 0 V when the transistor 112 is off, deterioration in the transistor 112 can be effectively suppressed.

(69) In addition, although FIGS. 2A to 2F illustrate the case where the transistor 112 is kept on in the period T2 to the period Tn, the state of the transistor 112 is not limited to this. For example, the transistor 112 may be turned off in some of the period T2 to the period Tn. That is, a period during which the transistor 112 is on is combined with a period during which the transistor 112 is of, and the direction of current flowing through the transistor 112 is changed in the period during which the transistor 112 is on. In this case, deterioration in the transistor 112 can be more effectively suppressed. Note that the potentials of the wiring 102 and the wiring 103 may be the same or different in the period during which the transistor 112 is off. Further, although the period during which the transistor 112 is off is not particularly limited to a certain period, it is preferable that the period during which the transistor 112 is on and the period during which the transistor 112 is off be the same or substantially the same in view of controllability.

(70) In addition, the semiconductor device described in this embodiment can have a circuit structure in which bootstrap operation is performed utilizing capacitive coupling between the gate and the source of the transistor 111 by temporally setting the gate of the transistor 111 in a floating state, as described above. In this case, as illustrated in FIG. 1C, a capacitor 115 may be provided between the gate of the transistor 111 and the one of the source and the drain of the transistor 111. With provision of the capacitor 115, bootstrap operation can be performed stably. Note that in the case where sufficient parasitic capacitance is generated between the gate of the transistor 111 and the one of the source and the drain of the transistor 111, bootstrap operation can be performed without provision of the capacitor 115.

(71) In addition, although the structure where the direction of current flowing through the transistor 112 which continuously outputs L-level signals is changed is given as an example in this embodiment, the direction of current flowing through the transistor 111 may be changed in the case where the transistor 111 continuously outputs L-level signals. In this case, a signal whose potential is switched between the first potential V.sub.LH and the second potential V.sub.LL (V.sub.LH>V.sub.LL) every given period can be used as the signal which is input to the wiring 101 (IN1).

(72) Alternatively, in the case where the transistor 112 (or the transistor 111) continuously outputs H-level signals, the direction of current flowing through the transistor 112 (or the transistor 111) may be changed. In this case, a signal whose potential is switched between a first potential V.sub.HH and a second potential V.sub.HL (V.sub.HH>V.sub.HL) every given period can be used as the signal which is input to the wiring 102 (or the wiring 101).

(73) Needless to say, a structure where the direction of current is changed in both the transistor 111 and the transistor 112 may be used. For example, in the case where an H-level signal is supplied from the wiring 101 to the wiring 103 through the transistor 111 and an L-level signal is supplied from the wiring 102 to the wiring 103 through the transistor 112, a signal whose potential is switched between the first potential Vs and the second potential V.sub.HL every given period can be used as the signal which is input to the wiring 101 (IN1), and a signal whose potential is switched between the first potential V.sub.LH and the second potential V.sub.LL every given period can be used as the signal which is input to the wiring 102 (IN2).

(74) Further, although n-channel transistors are used as the transistors 111, 112, and 121 in this embodiment, p-channel transistors may be used (see FIGS. 4A to 4F). In the case where p-channel transistors are used, by using a signal whose potential is switched between the first potential V.sub.HH and the second potential V.sub.HL every given period as the signal which is input to the wiring 102, operation can be performed such that the direction of current flowing through the transistor 112 is changed. Accordingly, deterioration in the transistor 112 is suppressed, so that a malfunction of the circuit can be suppressed. Note that although p-channel transistors are used as the transistors 111, 112, and 121 in FIGS. 4A to 4F, an n-channel transistor may be used as the transistor 121.

(75) Note that the structure described in this embodiment can be combined with a different structure described in this specification (including a structure described in any of the other embodiments) as appropriate.

Embodiment 2

(76) In this embodiment, examples of a semiconductor device having a structure which is different from the structure in the above embodiment are described with reference to drawings.

(77) The semiconductor device described in this embodiment includes at least the transistor 111 provided between the wiring 101 and the wiring 103 and a plurality of transistors 112a and 112b provided in parallel with each other between the wiring 102 and the wiring 103 (see FIG. 5A). That is, the structure illustrated in FIG. 5A is a structure obtained by adding the transistor 112b to the structure illustrated in FIG. 1A (the transistor 112a in FIGS. 5A to 5C corresponds to the transistor 112 in FIGS. 1A to 1C). Note that although FIG. 5A illustrates the case where two transistors (the transistors 112a and 112b) are provided in parallel, three or more transistors may be provided.

(78) One of a source and a drain of each of the transistors 112a and 112b is electrically connected to the wiring 102, and the other of the source and the drain of each of the transistors 112a and 112b is electrically connected to the wiring 103. The transistors 112a and 112b are provided in parallel with each other. Therefore, by turning on at least one of the transistors 112a and 112b, the signal which is input to the wiring 102 (IN2) is supplied to the wiring 103.

(79) That is, a first signal corresponding to the signal which is input to the wiring 101 (IN1) or a second signal corresponding to the signal which is input to the wiring 102 (IN2) is supplied to the wiring 103.

(80) Note that although n-channel transistors are used as the transistors 111, 112a, and 112b in FIGS. 5A to 5C, p-channel transistors may be used or CMOSs may be used. Further, the transistor 11 serves as a switch provided between the wiring 101 and the wiring 103, and each of the transistors 112a and 112b serves as a switch provided between the wiring 102 and the wiring 103 (see FIG. 5B).

(81) In this embodiment, a plurality of transistors provided in parallel (the transistors 112a and 112b in FIGS. 5A to 5C) are alternately turned on and off. In addition, a structure where the direction of current flowing through the plurality of transistors is changed (a structure where the level of voltage applied to a terminal serving as the source or the drain of each transistor is changed every period (the source and the drain are switched)) is used. That is, on/off of the plurality of transistors provided in parallel is controlled. Further, by controlling the direction of current flowing through the plurality of transistors, concentration of an electric field on a channel portion (an end of the drain) of each transistor is relieved, so that deterioration is suppressed.

(82) A specific operating method is described below with reference to drawings.

(83) [Operation in the Case where the Cycle of IN2 is Shorter than the Cycle of IN4 or IN5]

(84) FIGS. 6A to 6F illustrate a signal which is output from the wiring 103 (Out), the signal which is input to the wiring 101 (IN1), the signal which is input to the wiring 102 (IN2), the signal which is input to the gate of the transistor 111 (IN3), a signal which is input to a gate of the transistor 112a (IN4), and a signal which is input to a gate of the transistor 112b (IN5), respectively. FIGS. 6C, 6E, and 6F illustrate the case where the cycle of the signal which is input to the wiring 102 (IN2) is half of the cycle of the signal which is input to the gate of the transistor 112a or 112b (IN4 or IN5). Needless to say, signals to be input (IN1 to IN5) are just examples, and signals are not limited to the signals illustrated in FIGS. 6A to 6F.

(85) In addition, FIG. 6G illustrates the direction of current flowing through the transistor 112a and the transistor 112b, and A.sub.1, A.sub.2, B.sub.1, and B.sub.2 correspond to the directions illustrated in FIGS. 5A to 5C. Further, a period during which the transistor is off and current does not flow is indicated by x.

(86) First, in the period T1, the signal for turning on the transistor 111 (IN3) is input to the gate of the transistor 111. Accordingly, the transistor 111 is turned on, and the first signal corresponding to the signal which is input to the wiring 101 (IN1) (here, an H-level signal (a selection signal)) is supplied to the wiring 103 through the transistor 111. In the case where the gate of the transistor 121 is connected to the wiring 103 (see FIG. 5C), the selection signal is input to the gate of the transistor 121 which is connected to the wiring 103, so that the transistor 121 is turned on.

(87) In the period T1, in the case where a potential of the signal which is input to the gate of the transistor 111 (IN3) is V.sub.H, when it is assumed that the threshold voltage of the transistor 111 is Vth, a potential of a signal which is output to the wiring 103 is V.sub.H−Vth. In this case, in order to set the potential of the signal which is output to the wiring 103 at V the gate of the transistor 111 is set to be in a floating state in the period T1 and bootstrap operation is performed. Needless to say, in order to set the potential of the signal which is output to the wiring 103 at V.sub.H, the potential of the signal which is input to the gate of the transistor 111 (IN3) may be set at V.sub.H+Vth or higher in advance.

(88) In addition, in the period T1, the transistors 112a and 112b are off. Note that this embodiment is not limited to this, and the transistors 112a and 112b may be on as long as the selection signal is output to the wiring 103. In this case, a potential of the signal which is input to the wiring 102 (IN2) is preferably V.sub.H.

(89) Next, in the period T2, the signal for turning on the transistor 112a (IN4) is input to the gate of the transistor 112a. In this case, in the transistor 112a, a potential of a terminal which is connected to the wiring 102 (in this case, V.sub.L) is lower than a potential of a terminal which is connected to the wiring 103 (in this case, V.sub.H), so that the terminal which is connected to the wiring 102 is the source and the terminal which is connected to the wiring 103 is the drain. Accordingly, a gate-source potential of the transistor 112a (VgsB=V.sub.H−V.sub.LL) is higher than the threshold voltage of the transistor 112a, so that the transistor 112a is turned on. Thus, a second signal which corresponds to the signal input to the wiring 102 (IN2) and has the potential V.sub.LL (a non-selection signal) is supplied to the wiring 103 through the transistor 112a.

(90) In the case where the gate of the transistor 121 is connected to the wiring 103, the non-selection signal is input to the gate of the transistor 121 which is connected to the wiring 103, so that the transistor 121 is turned off.

(91) Subsequently, in the latter half of the period T2, the potential of the signal which is input to the wiring 102 (IN2) is changed (is changed from V.sub.LL to V.sub.LH, here). In this case, in the transistor 112a, the potential of the terminal which is connected to the wiring 102 (in this case, V.sub.LH) is higher than the potential of the terminal which is connected to the wiring 103 (in this case, V.sub.LL), so that the terminal which is connected to the wiring 102 is the drain and the terminal which is connected to the wiring 103 is the source. Accordingly, the gate-source potential of the transistor 112a (VgsA=V.sub.H−V.sub.LL) is higher than the threshold voltage of the transistor 112a, so that the transistor 112a is kept on. Thus, the second signal which corresponds to the signal input to the wiring 102 (IN2) and has the potential V.sub.LH (the non-selection signal) is supplied to the wiring 103 through the transistor 112a.

(92) In the case where the gate of the transistor 121 is connected to the wiring 103, the non-selection signal is input to the gate of the transistor 121 which is connected to the wiring 103, so that the transistor 121 is kept off.

(93) In this manner, in the first half of the period T2, in the transistor 112a, the potential of the terminal which is connected to the wiring 102 is lower than the potential of the terminal which is connected to the wiring 103, so that the terminal which is connected to the wiring 102 is the source and the terminal which is connected to the wiring 103 is the drain. Current flows from the drain to the source (in a direction B.sub.1 in FIGS. 5A to 5C). On the other hand, in the latter half of the period T2, in the transistor 112a, the potential of the terminal which is connected to the wiring 102 is higher than the potential of the terminal which is connected to the wiring 103, so that the terminal which is connected to the wiring 102 is the drain and the terminal which is connected to the wiring 103 is the source. Current flows from the drain to the source (in a direction A.sub.1 in FIGS. 5A to 5C).

(94) Next, in the period T3, the transistor 112a is turned off, and the signal for turning on the transistor 112b (IN5) is input to the gate of the transistor 112b. In this case, in the transistor 112b, a potential of a terminal which is connected to the wiring 102 (in this case, V.sub.LL) is lower than a potential of a terminal which is connected to the wiring 103 (in this case, V.sub.LH), so that the terminal which is connected to the wiring 102 is the source and the terminal which is connected to the wiring 103 is the drain. Accordingly, a gate-source potential of the transistor 112b (VgsB=V.sub.H−V.sub.LL) is higher than the threshold voltage of the transistor 112b, so that the transistor 112b is turned on. Thus, the second signal which corresponds to the signal input to the wiring 102 (IN2) and has the potential V.sub.LL (the non-selection signal) is supplied to the wiring 103 through the transistor 112b.

(95) In the case where the gate of the transistor 121 is connected to the wiring 103, the non-selection signal is input to the gate of the transistor 121 which is connected to the wiring 103, so that the transistor 121 is kept off.

(96) Subsequently, in the latter half of the period T3, the potential of the signal which is input to the wiring 102 (IN2) is changed (is changed from V.sub.LL to V.sub.LH, here). In this case, in the transistor 112b, the potential of the terminal which is connected to the wiring 102 (in this case, V.sub.LH) is higher than the potential of the terminal which is connected to the wiring 103 (in this case, V.sub.LL), so that the terminal which is connected to the wiring 102 is the drain of the transistor 112b and the terminal which is connected to the wiring 103 is the source. Accordingly, the gate-source potential of the transistor 112b (VgsA=V.sub.H−V.sub.LL) is higher than the threshold voltage of the transistor 112b, so that the transistor 112b is kept on. Thus, the second signal which corresponds to the signal input to the wiring 102 (IN2) and has the potential V.sub.LH (the non-selection signal) is supplied to the wiring 103 through the transistor 112b.

(97) In the case where the gate of the transistor 121 is connected to the wiring 103, the non-selection signal is input to the gate of the transistor 121 which is connected to the wiring 103, so that the transistor 121 is kept off.

(98) In this manner, in the first half of the period T3, in the transistor 112b, the potential of the terminal which is connected to the wiring 102 is lower than the potential of the terminal which is connected to the wiring 103, so that the terminal which is connected to the wiring 102 is the source and the terminal which is connected to the wiring 103 is the drain. Current flows from the drain to the source (in a direction B.sub.2 in FIGS. 5A to 5C). On the other hand, in the latter half of the period T3, in the transistor 112b, the potential of the terminal which is connected to the wiring 102 is higher than the potential of the terminal which is connected to the wiring 103, so that the terminal which is connected to the wiring 102 is the drain and the terminal which is connected to the wiring 103 is the source. Current flows from the drain to the source (in a direction A.sub.2 in FIGS. 5A to 5C).

(99) In consecutive periods T4 to Tn, operation which is similar to the operation in the period T2 or the period T3 is performed.

(100) In the periods T3 to Tn, when the transistor 112a is on, the second signal having the potential V.sub.U is supplied from the wiring 102 to the wiring 103 in the first half of a period during which the transistor 112a is on, and the second signal having the potential V is supplied from the wiring 102 to the wiring 103 in the latter half of the period during which the transistor 112a is on. Therefore, in the first half of the period during which the transistor 112a is on, the terminal which is connected to the wiring 102 is the source, the terminal which is connected to the wiring 103 is the drain, and current flows from the drain to the source (in the direction B.sub.1 in FIGS. 5A to 5C). In addition, in the latter half of the period during which the transistor 112a is on, the terminal which is connected to the wiring 102 is the drain, the terminal which is connected to the wiring 103 is the source, and current flows from the drain to the source (in the direction A.sub.1 in FIGS. 5A to 5C).

(101) Further, in the latter half of the period during which the transistor 112a is on (a period during which the transistor 112b is off), a potential of the wiring 102 is V.sub.L, so that the level of the gate-source voltage (Vgs) of the transistor 112b is negative (Vgs<0 V). By providing a period during which the level of the gate-source voltage (Vgs) of the transistor 112b is negative (Vgs<0 V) in this manner, deterioration in the transistor can be effectively suppressed.

(102) In the periods T3 to Tn, when the transistor 112b is on, the second signal having the potential V.sub.LL is supplied from the wiring 102 to the wiring 103 in the first half of a period during which the transistor 112b is on, and the second signal having the potential V.sub.LH is supplied from the wiring 102 to the wiring 103 in the latter half of the period during which the transistor 112b is on. Therefore, in the first half of the period during which the transistor 112b is on, the terminal which is connected to the wiring 102 is the source, the terminal which is connected to the wiring 103 is the drain, and current flows from the drain to the source (in the direction B.sub.2 in FIGS. 5A to 5C). In addition, in the latter half of the period during which the transistor 112b is on, the terminal which is connected to the wiring 102 is the drain, the terminal which is connected to the wiring 103 is the source, and current flows from the drain to the source (in the direction A.sub.2 in FIGS. 5A to 5C).

(103) Further, in the latter half of the period during which the transistor 112b is on (a period during which the transistor 112a is off), the potential of the wiring 102 is V.sub.LH, so that the level of the gate-source voltage (Vgs) of the transistor 112a is negative (Vgs<0 V). By providing a period during which the level of the gate-source voltage (Vgs) of the transistor 112a is negative (Vgs<0 V) in this manner, deterioration in the transistor can be effectively suppressed.

(104) With a structure in which a plurality of transistors provided in parallel are alternately turned on and off and the direction of current flowing through the transistor is changed (the level of voltage applied to a first terminal and a second terminal (terminals serving as a source and a drain) of the transistor is changed every period (the source and the drain are switched)) in a period during which the transistor is on in this manner, concentration of an electric field on a channel portion (an end of the drain) of the transistor is relieved. Thus, deterioration in the transistor can be suppressed. Accordingly, a malfunction of a circuit due to deterioration in the transistor is suppressed, so that reliability can be improved.

(105) Further, as illustrated in FIGS. 6A to 6G, it is preferable that the length of the period during which the transistor 112a or 112b is on and the length of the period during which the transistor 112a or 112b is off be the same or substantially the same in view of controllability. In this case, the direction of current flowing through the transistor can be changed every half of the period during which the transistor 112a or 112b is on.

(106) Note that although FIGS. 6A to 6G illustrate the case where the plurality of transistors provided in parallel (the transistors 112a and 112b) are alternately turned on and off, the period during which the transistor 112a is on and the period during which the transistor 112b is on may partly overlap with each other, or the period during which the transistor 112a is of and the period during which the transistor 112b is off may partly overlap with each other. That is, a period during which both the transistors 112a and 112b are on or a period during which both the transistors 112a and 112b are off may be provided.

(107) Although FIGS. 6C, 6E, and 6F illustrate the case where the cycle of the signal which is input to the wiring 102 (IN2) is half of the cycle of the signal which is input to the gate of the transistor 112a or 112b (IN4 or IN5), this embodiment is not limited to this. The cycle may be shorter or longer than half of the cycle of the signal which is input to the gate of the transistor 112a or 112b (IN4 or IN5). In addition, in FIG. 6C, the phase of the signal which is input to the wiring 102 (IN2) may be changed. For example, the phase of the signal which is input to the wiring 102 (IN2) may be changed by half or quarter of the cycle.

(108) Further, in the operation of the structures illustrated in FIGS. 5A to 5C, the cycle of the signal which is input to the wiring 102 (IN2) is not limited to a cycle which is shorter than the cycle of the signal which is input to the gate of the transistor 112a or 112b (IN4 or IN5). The case where the cycle of the signal which is input to the wiring 102 (IN2) is equal to the cycle of the signal which is input to the gate of the transistor 112a or 112b (IN4 or IN5) and the case where the cycle of the signal which is input to the wiring 102 (IN2) is longer than the cycle of the signal which is input to the gate of the transistor 112a or 112b (IN4 or IN5) are described below with reference to drawings.

(109) [Operation in the Case where the Cycle of IN2 is Longer than the Cycle of IN4 or IN5]

(110) In the following description, FIGS. 7A to 7F and FIGS. 5A to 8F illustrate the signal which is output from the wiring 103 (Out), the signal which is input to the wiring 101 (IN1), the signal which is input to the wiring 102 (IN2), the signal which is input to the gate of the transistor 111 (IN3), the signal which is input to the gate of the transistor 112a (IN4), and the signal which is input to the gate of the transistor 112b (IN5). FIGS. 7C, 7E, and 7F and FIGS. 8C, 8E, and 8F illustrate the case where the cycle of the signal which is input to the wiring 102 (IN2) is longer than the cycle of the signal which is input to the gate of the transistor 112a or 112b (IN4 or IN5)(the case where the cycle of IN2 is twice the cycle of IN4 or IN5). Needless to say, signals to be input (IN1 to IN5) are just examples, and signals are not limited to the signals illustrated in FIGS. 7A to 7F and FIGS. 8A to 8F.

(111) In addition, FIG. 7G and FIG. 8G illustrate the direction of current flowing through the transistor 112a and the transistor 112b, and A.sub.1, A.sub.2, B.sub.1 and B.sub.2 correspond to the directions illustrated in FIGS. 5A to 5C. Further, a period during which the transistor is of and current does not flow is indicated by x. Furthermore, a period during which the transistor is on but current does not flow is indicated by -.

(112) First, in the period T1, the signal for turning on the transistor 111 (IN3) is input to the gate of the transistor 11. Here, operation which is similar to the operation in the period T1 in FIGS. 6A to 6G is performed.

(113) Next, in the period T2, the signal for turning on the transistor 112a (IN4) is input to the gate of the transistor 112a. In this case, in the transistor 112a, the potential of the terminal which is connected to the wiring 102 (in this case, V.sub.LL) is lower than the potential of the terminal which is connected to the wiring 103 (in this case, V.sub.H), so that the terminal which is connected to the wiring 102 is the source and the terminal which is connected to the wiring 103 is the drain. Accordingly, the gate-source potential of the transistor 112a (VgsB=V.sub.H−V.sub.LL) is higher than the threshold voltage of the transistor 112a, so that the transistor 112a is turned on. Thus, the second signal which corresponds to the signal input to the wiring 102 (IN2) and has the potential V.sub.L. (the non-selection signal) is supplied to the wiring 103 through the transistor 112a.

(114) In the case where the gate of the transistor 121 is connected to the wiring 103 (see FIG. 5C), the non-selection signal is input to the gate of the transistor 121 which is connected to the wiring 103, so that the transistor 121 is turned off.

(115) In this manner, in the period T2, in the transistor 112a, the potential of the terminal which is connected to the wiring 102 is lower than the potential of the terminal which is connected to the wiring 103, so that the terminal which is connected to the wiring 102 is the source and the terminal which is connected to the wiring 103 is the drain. Current flows from the drain to the source (in the direction B.sub.1 in FIGS. 5A to 5C).

(116) Next, in the period T3, the signal for turning off the transistor 112a (IN4) is input to the gate of the transistor 112a, and the signal for turning on the transistor 112b (IN5) is input to the gate of the transistor 112b, so that on/off of the transistors 112a and 112b is switched. In this case, in the transistor 112b, the potential of the terminal which is connected to the wiring 102 (in this case, V.sub.LH) is higher than the potential of the terminal which is connected to the wiring 103 (in this case, V.sub.LL), so that the terminal which is connected to the wiring 102 is the drain and the terminal which is connected to the wiring 103 is the source. Accordingly, the gate-source potential of the transistor 112b (VgsA=V.sub.H−V.sub.LL) is higher than the threshold voltage of the transistor 112b, so that the transistor 112b is turned on. Thus, the second signal which corresponds to the signal input to the wiring 102 (IN2) and has the potential V.sub.LH (the non-selection signal) is supplied to the wiring 103 through the transistor 112b.

(117) In this manner, in the period T3, in the transistor 112b, the potential of the terminal which is connected to the wiring 103 is lower than the potential of the terminal which is connected to the wiring 102, so that the terminal which is connected to the wiring 103 is the source and the terminal which is connected to the wiring 102 is the drain. Current flows from the drain to the source (in the direction A.sub.2 in FIGS. 5A to 5C).

(118) Further, in the period T3, the level of the gate-source voltage (Vgs) of the transistor 112a is negative (Vgs<0 V). By providing a period during which the level of the gate-source voltage (Vgs) of the transistor 112a is negative (Vgs<0 V) in this manner, deterioration in the transistor can be more effectively suppressed as compared to the case where Vgs=0 V.

(119) Next, in the period T4, the signal for turning on the transistor 112a (IN4) is input to the gate of the transistor 112a, and the signal for turning off the transistor 112b (IN5) is input to the gate of the transistor 112b, so that on/off of the transistors 112a and 112b is switched. In addition, since the potential of the wiring 102 is kept at V.sub.LH, the potential of the wiring 103 is also kept at V.sub.LH. Therefore, in the transistor 112a, the potential of the terminal which is connected to the wiring 102 is equal to the potential of the terminal which is connected to the wiring 103, so that current does not flow through the transistor 112a.

(120) Next, in the period T5, the signal for turning off the transistor 112a (IN4) is input to the gate of the transistor 112a, and the signal for turning on the transistor 1126 (IN5) is input to the gate of the transistor 112b, so that on/off of the transistors 112a and 112b is switched. In this case, in the transistor 112b, the potential of the terminal which is connected to the wiring 102 (in this case, V.sub.LL) is lower than the potential of the terminal which is connected to the wiring 103 (in this case, V.sub.LH), so that the terminal which is connected to the wiring 102 is the source and the terminal which is connected to the wiring 103 is the drain. Accordingly, the gate-source potential of the transistor 112b (VgsB=V.sub.H−V.sub.LL) is higher than the threshold voltage of the transistor 112b, so that the transistor 112h is turned on. Thus, the second signal which corresponds to the signal input to the wiring 102 (IN2) and has the potential V.sub.LL (the non-selection signal) is supplied to the wiring 103 through the transistor 112b.

(121) In this manner, in the period T5, in the transistor 112b, the potential of the terminal which is connected to the wiring 102 is lower than the potential of the terminal which is connected to the wiring 103, so that the terminal which is connected to the wiring 102 is the source and the terminal which is connected to the wiring 103 is the drain. Current flows from the drain to the source (in the direction 132 in FIGS. 5A to 5C).

(122) In consecutive periods T6 to Tn, the operation in the periods T2 to is repeated. Thus, the transistor 111 is kept off, the transistors 112a and 112b are alternately turned on, and a signal whose potential is switched between the potential V.sub.LH and the potential V.sub.LL every given period is input to the wiring 103. Therefore, in the case where the gate of the transistor 121 is connected to the wiring 103, the transistor 121 is stably kept off.

(123) Note that in the operating method illustrated in FIGS. 7A to 7G, it is impossible to change the direction of current flowing through the transistor 112a (to switch the source and the drain). Therefore, it is preferable to use a structure where the cycle of the signal which is input to the wiring 102 (IN2) is changed every certain period and the direction of current flowing through the transistor 112a is changed.

(124) FIGS. 8A to 8G illustrate the case where the cycle of the signal which is input to the wiring 102 (IN2) is changed and the direction of current flowing through the transistor 112a is changed. In the operation illustrated in FIGS. 8A to 8G, it is impossible to change the direction of current flowing through the transistor 112b (to switch the source and the drain). Therefore, in operating the circuit, by switching the operation illustrated in FIGS. 7A to 70 and the operation illustrated in FIGS. 8A to 8G, deterioration in the transistor 112a and the transistor 112b can be suppressed even in the case where the cycle of the signal which is input to the wiring 102 (IN2) is made longer than the cycle of the signal which is input to the transistor 112a or 112b (IN4 or IN5).

(125) Note that although FIGS. 7A to 7G, and FIGS. 8A to 8G illustrate the case where the plurality of transistors provided in parallel (the transistors 112a and 112b) are alternately turned on and off, the period during which the transistor 112a is on and the period during which the transistor 112b is on may partly overlap with each other, or the period during which the transistor 112a is off and the period during which the transistor 112b is off may partly overlap with each other. That is, a period during which both the transistors 112a and 112b are on or a period during which both the transistors 112a and 112h are off may be provided.

(126) Although FIGS. 7C, 7E, and 7F and FIGS. 8C, 8E, and 8F illustrate the case where the cycle of the signal which is input to the wiring 102 (IN2) is twice the cycle of the signal which is input to the gate of the transistor 112a or 112b (IN4 or IN5), this embodiment is not limited to this. The cycle may be shorter or longer than twice the cycle of the signal which is input to the gate of the transistor 112a or 112b (IN4 or IN5).

(127) [Operation in the Case where the Cycle of IN2 is Equal to the Cycle of IN4 or IN5]

(128) In the following description, FIGS. 9A to 9F and FIGS. 10A to 10F illustrate the signal which is output from the wiring 103 (Out), the signal which is input to the wiring 101 (IN1), the signal which is input to the wiring 102 (IN2), the signal which is input to the gate of the transistor 111 (IN3), the signal which is input to the gate of the transistor 112a (IN4), and the signal which is input to the gate of the transistor 112b (IN5). FIGS. 9C, 9E, and 9F and FIGS. 10C, 10E, and 10F illustrate the case where the cycle of the signal which is input to the wiring 102 (IN2) is equal to the cycle of the signal which is input to the gate of the transistor 112a or 112b (IN4 or IN5). Needless to say, signals to be input (IN1 to IN5) are just examples, and signals are not limited to the signals illustrated in FIGS. 9A to 9F and FIGS. 10A to 10F.

(129) In addition, FIG. 9G and FIG. 10G illustrate the direction of current flowing through the transistor 112a and the transistor 112b, and A.sub.1, A.sub.2, B.sub.1, and B.sub.2 correspond to the directions illustrated in FIGS. 5A to 5C. Further, a period during which the transistor is off and current does not flow is indicated by x. Furthermore, a period during which the transistor is on but current does not flow is indicated by -.

(130) In this embodiment, the transistors are operated by alternately performing the operation illustrated in FIGS. 9A to 9G and the operation illustrated in FIGS. 10A to 10G every given period.

(131) First, in periods Tx1 to Txn, the second signal having the potential V.sub.LL is supplied from the wiring 102 to the wiring 103 when the transistor 112a is on, and the second signal having the potential V.sub.LH is supplied from the wiring 102 to the wiring 103 when the transistor 112b is on (see FIGS. 9A to 9G).

(132) Therefore, in the periods Tx1 to Txn, when the transistor 112a is on, in the transistor 112a the terminal which is connected to the wiring 102 is the source, the terminal which is connected to the wiring 103 is the drain, and current flows from the drain to the source (in the direction B.sub.1 in FIGS. 5A to 5C). In addition, when the transistor 112b is on, in the transistor 112b, the terminal which is connected to the wiring 103 is the source, the terminal which is connected to the wiring 102 is the drain, and current flows from the drain to the source (in the direction A.sub.2 in FIGS. 5A to 5C). Further, in the case where the transistor 112a is off, the level of the gate-source voltage (Vgs) of the transistor 112a can be negative (Vgs<0 V). Thus, deterioration in the transistor can be more effectively suppressed as compared to the case where Vgs=0 V.

(133) Note that in each of the transistor 112a and the transistor 112b, in the case where current flows and the potential or the terminal which is connected to the wiring 102 is equal to the potential of the terminal which is connected to the wiring 103, there is no distinction between the source and the drain.

(134) First, in periods Ty1 to Tyn, the second signal having the potential V.sub.LH is supplied from the wiring 102 to the wiring 103 when the transistor 112a is on, and the second signal having the potential V.sub.LL is supplied from the wiring 102 to the wiring 103 when the transistor 112b is on (see FIGS. 10A to 10G).

(135) Therefore, in the periods Ty1 to Tyn, when the transistor 112a is on, in the transistor 112a, the terminal which is connected to the wiring 102 is the drain, the terminal which is connected to the wiring 103 is the source, and current flows from the drain to the source (in the direction A.sub.1 in FIGS. 5A to 5C). In addition, when the transistor 112b is on, in the transistor 112b, the terminal which is connected to the wiring 103 is the drain, the terminal which is connected to the wiring 102 is the source, and current flows from the drain to the source (in the direction B.sub.2 in FIGS. 5A to 5C). Further, in the case where the transistor 112b is of the level of the gate-source voltage (Vgs) of the transistor 112b can be negative (Vgs<0 V). Thus, deterioration in the transistor can be more effectively suppressed as compared to the case where Vgs=0 V.

(136) Therefore, by changing (for example, inverting) the cycle of the signal which is input to the wiring 102 (IN2) every given period and by combining the operation in FIGS. 9A to 9G with the operation in FIGS. 10A to 10G (for example, see FIGS. 11A to 11G), a structure can be used in which the direction of current flowing through the transistors 112a and 112b is changed (the level of voltage applied to the terminals serving as the source and the drain of the transistor is changed every period (the source and the drain are switched)). Accordingly, concentration of an electric field on channel portions (ends of the drains) of the transistors 112a and 112b is relieved. Thus, deterioration can be suppressed. Further, by alternately turning on and off the plurality of transistors provided in parallel (the transistors 112a and 112b) deterioration in the transistors can be suppressed.

(137) In a given period, for example, in the case where the semiconductor device in this embodiment is used as a gate driver of a display device, the operation illustrated in FIGS. 9A to 9G and the operation illustrated in FIGS. 10A to 10G can be switched every one frame period.

(138) Note that although FIGS. 9A to 9G and FIGS. 11A to 10G illustrate the case where rising and falling of the signal which is input to the wiring 102 (IN2) and the signal which is input to the gate of the transistor 112a or 112b (IN4 or IN5) are performed at the same timing, this embodiment is not limited to this. For example, the operation may be performed by changing the cycle of the signal which is input to the wiring 102 (IN2) by quarter of the cycle.

(139) With a structure in which a plurality of transistors provided in parallel are alternately turned on and off and the direction of current flowing through the plurality of transistors is changed (the level of voltage applied to terminals serving as a source and a drain of the transistor is changed every period (the source and the drain are switched)) as illustrated in this embodiment, concentration of an electric field on a channel portion (an end of the drain) of the transistor is relieved. Thus, deterioration in the transistor can be effectively suppressed.

(140) Note that although n-channel transistors are used as the transistors 111, 112a, 112b, and 121 in this embodiment, p-channel transistors may be used. Also in this case, by performing operation such that the direction of current flowing through the transistors 112a and 112b is changed, deterioration in the transistors is suppressed, so that a malfunction of the circuit can be suppressed.

(141) Further, in this embodiment, a structure where L-level signals are continuously output in operating the circuit is used. However, in the case where H-level signals are continuously output, a structure can be used in which a plurality of transistors are provided in parallel with each other between the wiring 101 and the wiring 103 and a signal whose potential is switched between the first potential V.sub.LH and the second potential V.sub.LL every given period is used as the signal which is input to the wiring 101.

(142) Note that the structure described in this embodiment can be combined with a different structure described in this specification (including a structure described in any of the other embodiments) as appropriate.

Embodiment 3

(143) In this embodiment, examples of a semiconductor device having a structure which is different from the structure in the above embodiment are described with reference to drawings.

(144) The semiconductor device described in this embodiment includes at least the transistor 111 provided between the wiring 101 and the wiring 103, the transistor 112 provided between the wiring 102 and the wiring 103, and a transistor 114 provided between a wiring 104 and the wiring 103 (see FIG. 12A).

(145) One of a source and a drain of the transistor 114 is electrically connected to the wiring 104, and the other of the source and the drain of the transistor 114 is electrically connected to the wiring 103. That is, the structures illustrated in FIGS. 12A to 12C are structures obtained by adding the wiring 104 to the structures illustrated in FIGS. 5A to 5C and by electrically connecting the one of the source and the drain of the transistor 112b in FIGS. 5A to 5C not to the wiring 102 but to the wiring 104. Therefore, by turning on the transistor 114, a signal which is input to the wiring 104 (IN6) is supplied to the wiring 103.

(146) Therefore, a first signal corresponding to the signal which is input to the wiring 101 (IN1), a second signal corresponding to the signal which is input to the wiring 102 (IN2), or a third signal corresponding to the signal which is input to the wiring 104 (IN6) is supplied to the wiring 103.

(147) By separately providing the wiring 102 and the wiring 104 in this manner, different signals can be simultaneously supplied to the transistor 112 and the transistor 114. Accordingly, the frequency of signals is lowered, so that power consumption can be reduced.

(148) Note that although n-channel transistors are used as the transistors 111, 112, and 114 in FIGS. 12A to 12C, p-channel transistors may be used or CMOSs may be used. Further, the transistor 111 serves as a switch provided between the wiring 101 and the wiring 103; the transistor 112 serves as a switch provided between the wiring 102 and the wiring 103; the transistor 114 serves as a switch provided between the wiring 104 and the wiring 103 (see FIG. 12B).

(149) In this embodiment, in the case where certain signals (e.g., non-selection signals) are continuously supplied to the wiring 103, a structure is used in which a plurality of transistors each having one of a source and a drain which is connected to the wiring 103 and the other of the source and the drain which is connected to a different wiring (the transistors 112 and 114 in FIGS. 12A to 12C) are alternately turned on and off and the direction of current flowing through the plurality of transistors is changed (the level of voltage applied to terminals serving as the sources and the drains of the transistors is changed every period (the sources and the drains are switched)). That is, by controlling on/off of the plurality of transistors and the direction of current flowing through the transistors, concentration of an electric field on channel portions (ends of the drains) of the transistors is relieved, so that deterioration is suppressed.

(150) A specific operating method is described below with reference to drawings.

(151) In the following description, FIGS. 13A to 13G and FIGS. 14A to 14G illustrate the signal which is output from the wiring 103 (Out), the signal which is input to the wiring 101 (IN1), the signal which is input to the wiring 102 (IN2), the signal which is input to the wiring 104 (IN6), the signal which is input to the gate of the transistor 111 (IN3), the signal which is input to the gate of the transistor 112 (IN4), and a signal which is input to a gate of the transistor 114 (IN5). Needless to say, signals to be input (IN1 to IN6) are just examples, and signals are not limited to the signals illustrated in FIGS. 13A to 13G and FIGS. 14A to 14G.

(152) In addition, FIG. 13H and FIG. 14H illustrate the direction of current flowing through the transistor 112 and the transistor 114, and A.sub.1, A.sub.2, B.sub.1, and B.sub.2 correspond to the directions illustrated in FIGS. 12A to 12C. Further, a period during which the transistor is off and current does not flow is indicated by x. Furthermore, a period during which the transistor is on but current does not flow is indicated by -.

(153) In FIGS. 13A to 13H and FIGS. 14A to 14H, the potential V.sub.LL and the potential V.sub.LH are alternately applied to the wiring 102 and the wiring 104 every given period. In the following description, the case where the periods Tx1 to Txn during which the potential V.sub.LL is applied to the wiring 102 and the potential V.sub.LH is applied to the wiring 104 and the periods Ty1 to Tyn during which the potential V.sub.LH is applied to the wiring 102 and the potential V.sub.LL is applied to the wiring 104 are switched every given period is described.

(154) First, in the periods Tx1 to Txn, when the transistor 111 is on (in the period Tx1), the first signal corresponding to the signal which is input to the wiring 101 (IN1) (here, an H-level signal (a selection signal)) is supplied to the wiring 103. In the case where the gate of the transistor 121 is connected to the wiring 103 (see FIG. 12C), the selection signal is input to the gate of the transistor 121 which is connected to the wiring 103, so that the transistor 121 is turned on.

(155) In addition, in the periods Tx1 to Txn, the second signal having the potential V.sub.LL is supplied from the wiring 102 to the wiring 103 when the transistor 112 is on (here, in the periods Tx2, Tx4, Tx6, Tx8, and Txn), and the third signal having the potential V.sub.LH is supplied from the wiring 104 to the wiring 103 when the transistor 114 is on (here, in the periods Tx3, Tx5, and Tx7) (see FIGS. 13A to 13H). In the case where the gate of the transistor 121 is connected to the wiring 103 (see FIG. 12C), the transistor 121 is turned off.

(156) Therefore, in the periods Tx1 to Txn, when the transistor 112 is on, in the transistor 112, the terminal which is connected to the wiring 102 is the source, the terminal which is connected to the wiring 103 is the drain, and current flows from the drain to the source (in a direction B.sub.1 in FIGS. 12A to 12C). In addition, when the transistor 114 is on, in the transistor 114, a terminal which is connected to the wiring 103 is the source, a terminal which is connected to the wiring 102 is the drain, and current flows from the drain to the source (in a direction A.sub.2 in FIGS. 12A to 12C).

(157) In the periods Ty1 to Tyn, the second signal having the potential V.sub.LH is supplied from the wiring 102 to the wiring 103 when the transistor 112 is on (here, in the periods Ty4, Ty6, Ty8, and Tyn), and the third signal having the potential V.sub.LL is supplied from the wiring 104 to the wiring 103 when the transistor 114 is on (here, in the periods Ty3, Ty5, and Ty7) (see FIGS. 14A to 14H).

(158) Therefore, in the periods Ty1 to Tyn, when the transistor 112 is on, in the transistor 112, the terminal which is connected to the wiring 102 is the drain, the terminal which is connected to the wiring 103 is the source, and current flows from the drain to the source (in a direction A.sub.1 in FIGS. 12A to 12C). In addition, when the transistor 114 is on, in the transistor 114, the terminal which is connected to the wiring 103 is the drain, the terminal which is connected to the wiring 102 is the source, and current flows from the drain to the source (in a direction B.sub.2 in FIGS. 12A to 12C).

(159) Therefore, by inverting the signal which is input to the wiring 102 (IN2) and the signal which is input to the wiring 104 (IN6) every given period and by combining the operation in FIGS. 13A to 13H with the operation in FIGS. 14A to 14H (for example, see FIGS. 15A to 15H), a structure can be used in which the direction of current flowing through the transistors 112 and 114 is changed (the level of voltage applied to the terminals serving as the source and the drain of the transistor is changed every period (the source and the drain are switched)). Accordingly, concentration of an electric field on channel portions (ends of the drains) of the transistors 112 and 114 is relieved. Thus, deterioration can be suppressed. Further, by alternately turning on and off the plurality of transistors (the transistors 112 and 114), deterioration in the transistors can be suppressed.

(160) In a given period, for example, in the case where the semiconductor device in this embodiment is used as a gate driver of a display device, the operation illustrated in FIGS. 13A to 13H and the operation illustrated in FIGS. 14A to 14H can be switched every one frame period.

(161) Further, with the structure described in this embodiment, even in the case where certain signals having a plurality of potentials (e.g., non-selection signals) are continuously supplied to the wiring 103, potentials of the wirings 102 and 104 can be made constant. Thus, power consumption can be reduced.

(162) Note that the structure described in this embodiment can be combined with a different structure described in this specification (including a structure described in any of the other embodiments) as appropriate.

Embodiment 4

(163) In this embodiment, applications of the structures described in the above embodiments are described with reference to drawings.

(164) Any of the structures described in the above embodiments can be used for a scan line driver circuit and/or a signal line driver circuit (see FIG. 16). A display device includes the scan line driver circuit (gate driver), the signal line driver circuit (source driver), and a pixel portion.

(165) FIG. 17 illustrates the case whom the structure described in Embodiment 1 is used for a gate driver of a display device. In specific, FIG. 17 illustrates the case where the structure described in Embodiment 1 is used for a gale driver of a liquid crystal display device including a plurality of pixels.

(166) In each of the transistors 121 provided in the plurality of pixels, the gate is electrically connected to any one of wirings 103a to 103c serving as gate lines; the one of the source and the drain is electrically connected to any one of wirings 141a to 141c serving as source lines; the other of the source and the drain is electrically connected to a pixel electrode 125. In addition, a liquid crystal material is provided between the pixel electrode 125 and a counter electrode 126. Note that although wirings 101a to 101c are electrically isolated from each other in FIG. 17, the wirings 101a to 101c may be provided in common.

(167) In addition, in order to turn on the transistors 121, H-level signals which are selection signals are supplied from the wirings 101a to 101c through the transistors 111. In order to turn off the transistors 121, L-level signals which are non-selection signals are supplied from the wirings 102 through the transistors 112.

(168) In the case of a method by which data is written by selecting pixels in each row, such as a line-at-a-time driving method, it is necessary to supply a non-selection signal for turning off the transistor 121 provided in each pixel to the gate of the transistor 121 after the transistor 121 is turned on. In particular, it is effective to continuously supply non-selection signals to the wirings 103a to 103c through the transistors 112 for a predetermined period in turning off the transistors 121 stably.

(169) Here, by using a structure where a plurality of L-level signals which are non-selection signals are input to the wirings 102 and the direction of current flowing through the transistors 112 is changed in a period during which the transistors 112 are on as described in Embodiment 1, deterioration in the transistors 112 can be suppressed. Accordingly, the transistor 121 provided in each pixel can be stably turned off and a malfunction of a circuit due to deterioration in the transistors 112 can be suppressed.

(170) In particular, in the case where amorphous silicon or microcrystalline silicon is used for a channel formation region of a transistor, it is effective to suppress deterioration in a transistor which is kept on for a long time in an operating period of a circuit in suppressing a malfunction of the circuit.

(171) In addition, although n-channel transistors are used as all the transistors 111 and 112 provided in the gate driver and the transistors 121 provided in the pixels in FIG. 17, p-channel transistors may be used or CMOSs can be used.

(172) Further, although FIG. 17 illustrates the case where the structure described in Embodiment 1 is used for the gate driver, this embodiment is not limited to this. The structure described in Embodiment 2 or 3 can be used.

(173) In the case where the structure described in Embodiment 2 is used, in FIG. 17, the transistor 112b may be provided (see FIG. 18). The one of the source and the drain of the transistor 112b is electrically connected to the wiring 102. The other of the source and the drain of the transistor 112b is connected to the wiring 103a (or the wiring 103b or 103c). The transistor 112b is provided in parallel with the transistor 112.

(174) In the case where the structure described in Embodiment 3 is used, in FIG. 17, the wiring 104 may be additionally provided and the transistor 114 may be provided (see FIG. 19). The one of the source and the drain of the transistor 114 is electrically connected to the wiring 104. The other of the source and the drain of the transistor 114 is connected to the wiring 103a (or the wiring 103b or 103c).

(175) Note that FIG. 19 illustrates the case where a structure in which the one of the source and the drain of the transistor 112 is electrically connected to the wiring 102 and the one of the source and the drain of the transistor 114 is electrically connected to the wiring 104 and a structure in which the one of the source and the drain of the transistor 112 is electrically connected to the wiring 104 and the one of the source and the drain of the transistor 114 is electrically connected to the wiring 102 are alternately provided in a row direction; however, this embodiment is not limited to this. In all the rows, the one of the source and the drain of the transistor 112 may be electrically connected to the wiring 102 and the one of the source and the drain of the transistor 114 may be electrically connected to the wiring 104, or the one of the source and the drain of the transistor 112 may be electrically connected to the wiring 104 and the one of the source and the drain of the transistor 114 may be electrically connected to the wiring 102.

(176) Further, although FIG. 17, FIG. 18, and FIG. 19 illustrate the case where any of the structures described in the above embodiments is used for a liquid crystal display device, any of the structures described in the above embodiments can be used for a gate driver and/or a source driver of a different display device (e.g., an organic EL display device). For example, as illustrated in FIG. 20, any of the structures described in the above embodiments can be used for a gate driver of an organic EL display device including the transistor 121, a transistor 128, and a light-emitting element 129 in a pixel.

(177) In FIG. 20, in each of the transistors 121 provided in a plurality of pixels, the gate is electrically connected to any one of the wirings 103a to 103c, and the one of the source and the drain is electrically connected to a gate of the transistor 128. Note that each of the transistors 121 is referred to as a switching transistor in some cases. Further, one of a source and a drain of the transistor 128 is electrically connected to one of wirings 142a and 142b, and the other of the source and the drain of the transistor 128 is electrically connected to one of electrodes of the light-emitting element 129. Note that the transistor 128 is referred to as a driving transistor in some cases.

(178) Note that the circuit structures illustrated in FIG. 17, FIG. 18, FIG. 19, and FIG. 20 are just examples, and a different circuit structure can be used.

(179) Next, circuit structures which can be used for a driver circuit are described.

(180) A structure where one of a source and a drain of a different transistor (here, a transistor 161) is electrically connected to the gate of the transistor 111 can be used (see FIG. 21A). Alternatively, a structure where one of a source and a drain of a different transistor (here, a transistor 162) is electrically connected to the gate of the transistor 111 in the structure of FIG. 21A can be used (see FIG. 21B). Alternatively, a structure where one of a source and a drain of a different transistor (here, a transistor 163) is electrically connected to the gate of the transistor 112 in the structure of FIG. 21A can be used (see FIG. 21).

(181) Note that in FIG. 21B, a wiring to which the other of the source and the drain of the transistor 162 is connected may be electrically connected to the wiring 102, or the gate of the transistor 112 and a gate of the transistor 162 may be electrically connected to the same wiring.

(182) Alternatively, in FIGS. 21A to 21C, a gate of the transistor 161 may be electrically connected to the drain of the transistor 161 (the transistor 161 may be diode-connected) (see FIGS. 22A to 22C).

(183) Next, specific circuit structures in the case where any of the structures described in the above embodiments is used for a gate driver are described in detail.

(184) A structure example of a shift register included in the gate driver is described with reference to FIG. 23. Note that FIG. 23 illustrates the structure of the shift register in an n-th stage.

(185) The shift register in the n-th stage includes first to seventh transistors 20) to 207 and a capacitor 208. Note that although n-channel transistors are used as the first to seventh transistors 201 to 207 in FIG. 23, p-channel transistors may be used.

(186) A gate of the first transistor 201 is electrically connected to a source of the second transistor 202, one of a source and a drain of the third transistor 203, one of a source and a drain of the fourth transistor 204, and a gate of the fifth transistor 205. One of a source and a drain of the first transistor 201 is electrically connected to a wiring 212a. The other of the source and the drain of the first transistor 201 is electrically connected to a gate of the third transistor 203, a gate of the sixth transistor 206, and one of electrodes of the capacitor 209.

(187) A gate of the second transistor 202 is electrically connected to a drain of the second transistor 202 (the second transistor 202 is diode-connected). The source of the second transistor 202 is electrically connected to the gate of the first transistor 201 and the gate of the fifth transistor 205. In addition, a signal which is output from an (n−1)th stage is input to the drain of the second transistor 202.

(188) The gate of the third transistor 203 is electrically connected to the other of the source and the drain of the first transistor 201 and the one of the electrodes of the capacitor 208. The one of the source and the drain of the third transistor 203 is electrically connected to the gate of the fifth transistor 205. The other of the source and the drain of the third transistor 203 is electrically connected to the wiring 212a.

(189) A signal which is output from an (n+1)th stage is input to a gate of the fourth transistor 204. The one of the source and the drain of the fourth transistor 204 is electrically connected to the gate of the fifth transistor 205. The other of the source and the drain of the fourth transistor 204 is electrically connected to the wiring 212a.

(190) The gate of the fifth transistor 205 is electrically connected to the gate of the first transistor 201, the source of the second transistor 202, the one of the source and the drain of the third transistor 203, and the one of the source and the drain of the fourth transistor 204. One of a source and a drain of the fifth transistor 205 is electrically connected to a wiring 211. The other of the source and the drain of the fifth transistor 205 is electrically connected to a wiring 213.

(191) The gate of the sixth transistor 206 is electrically connected to the other of the source and the drain of the first transistor 201 and the one of the electrodes of the capacitor 208. One of a source and a drain of the sixth transistor 206 is electrically connected to a wiring 212b. The other of the source and the drain of the sixth transistor 206 is electrically connected to the wiring 213.

(192) An inverted clock signal (CLKB) is input to a gate of the seventh transistor 207. One of a source and a drain of the seventh transistor 207 is electrically connected to a wiring 212c. The other of the source and the drain of the seventh transistor 207 is electrically connected to the wiring 213.

(193) The one of the electrodes of the capacitor 208 is electrically connected to the gate of the third transistor 203 and the gate of the sixth transistor 206. The other of the electrodes of the capacitor 208 is electrically connected to the wiring 211.

(194) A clock signal (CLK) is input to the wiring 211. L-level signals or L-level signals whose potentials are changed are input to the wirings 212a to 212c. Note that signals which are input to the wirings are not limited to these signals, and signals can be selected as appropriate.

(195) In the structure illustrated in FIG. 23, in a period other than a period during which the gates in the n-th stage are selected (a non-selection period during which non-selection signals are supplied to pixels), the third transistor 203 and the sixth transistor 206, and the seventh transistor 207 are alternately turned on. Therefore, by inputting L-level signals whose potentials are changed to the wirings 212b and 212c and by changing the direction of current flowing through the sixth transistor 206 and the seventh transistor 207 (switching the sources and the drains) as described in the above embodiments, concentration of an electric field on a source side or a drain side is suppressed. Thus, deterioration in the transistors can be suppressed. Further, a structure may be used in which the direction of current flowing through the third transistor 203 is changed (the source and the drain are switched) by input of an L-level signal whose potential is changed to the wiring 212a.

(196) Note that at least two of the wirings 212a, 212b, and 212c may be electrically connected to each other. In the case where the wirings 212b and 212c are electrically connected to each other, the sixth transistor 206 and the seventh transistor 207 serve as the transistor 112a and the transistor 112b in FIGS. 5A to 5C. In the case where the wirings 212b and 212c are electrically isolated from each other and different signals are supplied, the sixth transistor 206 and the seventh transistor 207 serve as the transistor 112 and the transistor 114 in FIGS. 12A to 12C.

(197) Note a circuit structure which can be used for the gate driver is not limited to the circuit structure in FIG. 23. For example, as illustrated in FIG. 24, a structure may be used in which first to twelfth transistors 221 to 232 are provided in respective stages (here, n pieces of stages).

(198) In FIG. 24, an output signal from the (n−1)th stage is input to a gate of the first transistor 221. One of a source and a drain of the first transistor 221 is electrically connected to a wiring 241. The other of the source and the drain of the first transistor 221 is electrically connected to a gate of the fourth transistor 224, a gate of the eighth transistor 228, a gate of the ninth transistor 229, and a gate of the eleventh transistor 231. An output signal from the (n+1)th stage is input to a gate of the second transistor 222. One of a source and a drain of the second transistor 222 is electrically connected to a wiring 242a. The other of the source and the drain of the second transistor 222 is electrically connected to the gate of the fourth transistor 224, the gate of the eighth transistor 228, the gate of the ninth transistor 229, and the gate of the eleventh transistor 231. A gate of the third transistor 223 is electrically connected to a drain of the third transistor 223 (the third transistor 223 is diode-connected). A source of the third transistor 223 is electrically connected to a gate of the fifth transistor 225. The drain of the third transistor 223 is electrically connected to the wiring 241. One of a source and a drain of the fourth transistor 224 is electrically connected to the wiring 242a. The other of the source and the drain of the fourth transistor 224 is electrically connected to the gate of the fifth transistor 225.

(199) One of a source and a drain of the fifth transistor 225 is electrically connected to the wiring 241. The other of the source and the drain of the fifth transistor 225 is electrically connected to a gate of the seventh transistor 227, a gate of the tenth transistor 230, and a gate of the twelfth transistor 232. The output signal from the (n−1)th stage is input to agate of the sixth transistor 226. One of a source and a drain of the sixth transistor 226 is electrically connected to the wiring 242a. The other of the source and the drain of the sixth transistor 226 is electrically connected to the gate of the seventh transistor 227, the gate of the tenth transistor 230, and the gate of the twelfth transistor 232. One of a source and a drain of the seventh transistor 227 is electrically connected to the wiring 242a. The other of the source and the drain of the seventh transistor 227 is electrically connected to the gate of the fourth transistor 224, the gate of the eighth transistor 228, the gate of the ninth transistor 229, and the gate of the eleventh transistor 231. One of a source and a drain of the eighth transistor 228 is electrically connected to the wiring 242a. The other of the source and the drain of the eighth transistor 228 is electrically connected to the gate of the seventh transistor 227, the gate of the tenth transistor 230, and the gate of the twelfth transistor 232.

(200) The clock signal (CLK) or the inverted clock signal (CLKB) is input to one of a source and a drain of the ninth transistor 229. One of a source and a drain of the tenth transistor 230 is electrically connected to a wiring 242b. The clock signal or the inverted clock signal is input to one of a source and a drain of the eleventh transistor 231. The other of the source and the drain of the eleventh transistor 231 is electrically connected to a wiring 243. One of a source and a drain of the twelfth transistor 232 is electrically connected to the wiring 242b. The other of the source and the drain of the twelfth transistor 232 is electrically connected to the wiring 243.

(201) In the structure illustrated in FIG. 24, in a non-selection period, the seventh transistor 227, the tenth transistor 230, and the twelfth transistor 232 are kept on. Therefore, by inputting L-level signals or L-level signals whose potentials are changed to the wirings 242a and 242b and by changing the direction of current flowing through the seventh transistor 227, the tenth transistor 230, and the twelfth transistor 232 (switching the sources and the drains), concentration of an electric field on a source side or a drain side is suppressed. Thus, deterioration in the transistors can be suppressed.

(202) Note that although n-channel transistors are used as the first to twelfth transistors 221 to 232 in FIG. 24, p-channel transistors may be used. In addition, without provision of the ninth transistor 229 and the tenth transistor 230, a signal which is output from the wiring 243 may be output to the (n−1)th stage and the (n+1)th stage. Further, the wiring 242a and the wiring 242b may be electrically connected to each other. Furthermore, an H-level signal whose potential is changed may be input to the wiring 241. In this case, by changing the direction of current flowing through the fifth transistor 225 (switching the source and the drain), concentration of an electric field on a source side or a drain side is suppressed. Thus, deterioration in the transistor can be suppressed. Note that in FIG. 24, signals which are input to the wirings are not limited to these signals, and signals can be selected as appropriate.

(203) Further, as illustrated in FIG. 25, a structure may be used in which first to fifth transistors 251 to 25 are provided in respective stages (hem, n pieces of stages).

(204) In FIG. 25, an inverted clock signal (CLKB) is input to a gate of the first transistor 251. An output signal from the (n−1)th stage is input to one of a source and a drain of the first transistor 251. The other of the source and the drain of the first transistor 251 is electrically connected to a gate of the fourth transistor 254. A gate of the second transistor 252 is electrically connected to a wiring 263. One of a source and a drain of the second transistor 252 is electrically connected to a wiring 262a. The other of the source and the drain of the second transistor 252 is electrically connected to a gate of the fifth transistor 255. The inverted clock signal (CLKB) is input to a gate of the third transistor 253. One of a source and a drain of the third transistor 253 is electrically connected to a wiring 264. The other of the source and the drain of the third transistor 253 is electrically to the gate of the fifth transistor 255. The gate of the fourth transistor 254 is electrically connected to the other of the source and the drain of the first transistor 251. A clock signal (CLK) is input to one of a source and a drain of the fourth transistor 254. The other of the source and the drain of the fourth transistor 254 is electrically connected to the wiring 263. One of a source and a drain of the fifth transistor 255 is electrically connected to a wiring 262b. The other of the source and the drain of the fifth transistor 255 is electrically connected to the wiring 263.

(205) In the structure illustrated in FIG. 25, in a non-selection period, the fifth transistor 255 is kept on. Therefore, by inputting an H-level signal whose potential is changed to the wiring 262b and by changing the direction of current flowing through the fifth transistor 255 (switching the source and the drain), concentration of an electric field on a source side or a drain side is suppressed. Thus, deterioration in the transistor can be suppressed.

(206) Note that although p-channel transistors are used as the first to fifth transistors 251 to 255 in FIG. 25, n-channel transistors may be used. Further, the wiring 262a and the wiring 262b may be electrically connected to each other. Furthermore, in FIG. 25, signals which are input to the wirings are not limited to these signals, and signals can be selected as appropriate.

(207) Further, as illustrated in FIG. 26, a structure may be used in which first to tenth transistors 271 to 280 are provided in respective stages (here, n pieces of stages).

(208) In FIG. 26, a first clock signal is input to agate of the first transistor 271. A first input signal is input to one of a source and a drain of the first transistor 271. The other of the source and the drain of the first transistor 271 is electrically connected to a gate of the eighth transistor 278. A second clock signal is input to a gate of the second transistor 272. A second input signal is input to one of a source and a drain of the second transistor 272. The other of the source and the drain of the second transistor 272 is electrically connected to the gate of the eighth transistor 278. One of a source and a drain of the third transistor 273 is electrically connected to a wiring 282a. The other of the source and the drain of the third transistor 273 is electrically connected to the gate of the eighth transistor 278. One of a source and a drain of the fourth transistor 274 is electrically connected to the wiring 282a. The other of the source and the drain of the fourth transistor 274 is electrically connected to one of a source and a drain of the fifth transistor 275 and one of a source and a drain of the sixth transistor 276. A third clock signal is input to agate of the fifth transistor 275. The one of the source and the drain of the fifth transistor 275 is electrically connected to the other of the source and the drain of the fourth transistor 274. The other of the source and the drain of the fifth transistor 275 is electrically connected to the gate of the eighth transistor 278.

(209) A gate of the sixth transistor 276 is electrically connected to a wiring 281. The one of the source and the drain of the sixth transistor 276 is electrically connected to the other of the source and the drain of the fourth transistor 274. The other of the source and the drain of the sixth transistor 276 is electrically connected to a gate of the ninth transistor 279. A gate of the seventh transistor 277 is electrically connected to a drain of the seventh transistor 277 (the seventh transistor 277 is diode-connected). A source of the seventh transistor 277 is electrically connected to the gate of the third transistor 273, the gate of the fourth transistor 274, and a gate of the tenth transistor 280. The third clock signal is input to the drain of the seventh transistor 277. One of a source and a drain of the eighth transistor 278 is electrically connected to the wiring 282a. The other of the source and the drain of the eighth transistor 278 is electrically connected to the gate of the third transistor 273, the gate of the fourth transistor 274, and the gate of the tenth transistor 280. A fourth clock signal is input to one of a source and a drain of the ninth transistor 279. The other of the source and the drain of the ninth transistor 279 is electrically connected to a wiring 283. One of a source and a drain of the tenth transistor 280 is electrically connected to a wiring 282b. The other of the source and the drain of the tenth transistor 280 is electrically connected to the wiring 283.

(210) In the structure illustrated in FIG. 26, in a non-selection period, the tenth transistor 280 is kept on. Therefore, by inputting an H-level signal whose potential is changed to the wiring 282b and by changing the direction of current flowing through the tenth transistor 280 (switching the source and the drain), concentration of an electric field on a source side or a drain side is suppressed. Thus, deterioration in the transistor can be suppressed.

(211) Note that although p-channel transistors are used as the first to tenth transistors 271 to 280 in FIC 26, n-channel transistors may be used. Further, the wiring 282a and the wiring 282b may be electrically connected to each other. Furthermore, in FIG. 26, signals which are input to the wirings are not limited to these signals, and signals can be selected as appropriate.

(212) Note that although the case where any of the structures described in the above embodiments is used for a driver circuit such as a gate driver or a source driver is described in this embodiment, this embodiment is not limited to this. Any of the structures described in the above embodiments can also be used in the case where a potential of a capacitor line is controlled or a potential of a common electrode is controlled.

(213) Note that the structure described in this embodiment can be combined with a different structure described in this specification (including a structure described in any of the other embodiments) as appropriate.

Embodiment 5

(214) In this embodiment, structures of transistors which can be used for the circuit described in any of the above embodiments are described. Transistors can be broadly classified according to materials used for semiconductor layers included in the transistors. The materials used for semiconductor layers can be classified into two categories: a silicon based material which contains silicon as its main component, and a non-silicon based material which does not contain silicon as its main component. Examples of the silicon based material are amorphous silicon (a-Si:H), microcrystal silicon (μc-Si), polysilicon (p-Si), single crystalline silicon (c-Si), and the like. Examples of the non-silicon based material are compound semiconductors such as gallium arsenide (GaAs), oxide semiconductors such as zinc oxide (ZnO) and an oxide containing indium, gallium, and zinc (InGaZnO), and the like.

(215) The use of amorphous silicon or microcrystal silicon for semiconductor layers of transistors has advantages of high uniformity of characteristics of the transistors and low manufacturing cost, and is particularly effective in manufacturing transistors over a large substrate with a diagonal of more than 500 mm. Examples of a structure of a capacitor and a structure of a transistor in which amorphous silicon or microcrystal silicon is used for a semiconductor layer are described below.

(216) FIG. 27A illustrates cross-sectional structures of a top-gate transistor and a capacitor.

(217) A first insulating film (an insulating film 5142) is formed over a substrate 5141. The first insulating film can have a function of a base film which prevents impurities from a substrate side from adversely affecting a semiconductor layer and changing characteristics of the transistor. Note that as the first insulating film, a single layer or a stacked layer of a silicon oxide film, a silicon nitride film, a silicon oxynitride film (SiO.sub.xN.sub.y), or the like can be used. In particular, the silicon nitride film is dense and has high barrier properties, so that the first insulating film preferably contains silicon nitride. Note that the first insulating film is not necessarily formed. When the first insulating film is not formed, reduction in the number of steps and manufacturing cost and increase in yield can be realized.

(218) A first conductive layer (a conductive layer 5143, a conductive layer 5144, and a conductive layer 5145) is formed over the first insulating film. The conductive layer 5143 includes a portion which serves as one of a source and a drain of a transistor 5158. The conductive layer 5144 includes a portion which serves as the other of the source and the drain of the transistor 5158. The conductive layer 5145 includes a portion which serves as a first electrode of a capacitor 5159. Note that for the first conductive layer, Ti, Mo, Ta, Cr, W, Al, Nd, Cu, Ag, Au, Pt, Nb, Si, Zn, Fe, Ba, Ge, or the like; or an alloy of any of these elements can be used. Alternatively, a stacked layer of any of these elements (including the alloy thereof) can be used.

(219) A first semiconductor layer (a semiconductor layer 5146 and a semiconductor layer 5147) is formed over the conductive layers 5143 and 5144. The semiconductor layer 5146 includes a portion which serves as one of a source and a drain. The semiconductor layer 5147 includes a portion which serves as the other of the source and the drain. Note that for the first semiconductor layer, silicon containing phosphorus or the like can be used, for example.

(220) A second semiconductor layer (a semiconductor layer 5148) is formed between the conductive layer 5143 and the conductive layer 5144 and over the first insulating film. In addition, part of the semiconductor layer 5148 extends over the conductive layer 5143 and the conductive layer 5144. The semiconductor layer 5148 includes a portion which serves as a channel region of the transistor 5158. Note that as the second semiconductor layer, a semiconductor layer having non-crystallinity, such as an amorphous silicon (a-Si:H) layer, or a semiconductor layer such as a microcrystalline silicon (μc-Si) layer, or the like can be used.

(221) A second insulating film (an insulating film 5149 and an insulating film 5150) is formed so as to cover at least the semiconductor layer 5148 and the conductive layer 5145. The second insulating film serves as a gate insulating film. Note that as the second insulating film, a single layer or a stacked layer of a silicon oxide film, a silicon nitride film, a silicon oxynitride film (SiO.sub.xN.sub.y), or the like can be used.

(222) Note that as the second insulating film which is in contact with the second semiconductor layer, a silicon oxide film is preferably used. This is because trap levels at an interface between the second semiconductor layer and the second insulating film is decreased.

(223) Note that in the case where the second insulating film is in contact with Mo, a silicon oxide film is preferably used as the second insulating film which is in contact with Mo. This is because the silicon oxide film does not oxidize Mo.

(224) A second conductive layer (a conductive layer 5151 and a conductive layer 5152) is formed over the second insulating film. The conductive layer 5151 includes a portion which serves as agate electrode of the transistor 5158. The conductive layer 5152 serves as a second electrode of the capacitor 5159 or a wiring. Note that for the second conductive layer, Ti, Mo, Ta, Cr, W, Al, Nd, Cu, Ag, Au, Pt, Nb, Si, Zn, Fe, Ba, Ge, or the like; or an alloy of any of these elements can be used. Alternatively, a stacked layer including any of these elements (including the alloy thereof) can be used.

(225) Note that in steps after forming the second conductive layer, a variety of insulating films or a variety of conductive films may be formed.

(226) FIG. 27B illustrates cross-sectional structures of an inverted-staggered (bottom-gate) transistor and a capacitor. In particular, the transistor illustrated in FIG. 27B has a channel-etched structure.

(227) A first insulating film (an insulating film 5162) is formed over a substrate 5161. The first insulating film can have a function of a base film which prevents impurities from a substrate side from adversely affecting a semiconductor layer and changing characteristics of the transistor. Note that as the first insulating film, a single layer or a stacked layer of a silicon oxide film, a silicon nitride film, a silicon oxynitride film (SiO.sub.xN.sub.y), or the like can be used. In particular, the silicon nitride film is dense and has high barrier properties, so that the first insulating film preferably contains silicon nitride. Note that the first insulating film is not necessarily formed. When the first insulating film is not formed, reduction in the number of steps and manufacturing cost and increase in yield can be realized.

(228) A first conductive layer (a conductive layer 5163 and a conductive layer 5164) is formed over the first insulating film. The conductive layer 5163 includes a portion which serves as a gate electrode of a transistor 5178. The conductive layer 5164 includes a portion which serves as a first electrode of a capacitor 5179. Note that for the first conductive layer, Ti, Mo, Ta, Cr, W, Al, Nd, Cu, Ag, Au, Pt, Nb, Si, Zn, Fe, Ba, Ge, or the like; or an alloy of any of these elements can be used. Alternatively, a stacked layer including any of these elements (including the alloy thereof) can be used.

(229) A second insulating film (an insulating film 5165) is formed so as to cover at least the first conductive layer. The second insulating film serves as a gate insulating film. Note that as the second insulating film, a single layer or a stacked layer of a silicon oxide film, a silicon nitride film, a silicon oxynitride film (SiO.sub.xN.sub.y), or the like can be used.

(230) Note that as the second insulating film which is in contact with a semiconductor layer, a silicon oxide film is preferably used. This is because trap levels at an interface between the semiconductor layer and the second insulating film is decreased.

(231) Note that in the case where the second insulating film is in contact with Mo, a silicon oxide film is preferably used as the second insulating film which is in contact with Mo. This is because the silicon oxide film does not oxidize Mo.

(232) A first semiconductor layer (a semiconductor layer 5166) is formed in part of a portion over the second insulating film, which overlaps with the first conductive layer, by photolithography, an inkjet method, a printing method, or the like. In addition, part of the semiconductor layer 5166 extends to a portion over the second insulating film, which does not overlap with the first conductive layer. The semiconductor layer 5166 includes a portion which serves as a channel region of the transistor 5178. Note that as the semiconductor layer 5166, a semiconductor layer having non-crystallinity, such as an amorphous silicon (a-Si:H) layer, or a semiconductor layer such as a microcrystalline silicon (μc-Si) layer, or the like can be used.

(233) A second semiconductor layer (a semiconductor layer 5167 and a semiconductor layer 5168) is formed over part of the first semiconductor layer. The semiconductor layer 5167 includes a portion which serves as one of a source and a drain. The semiconductor layer 5168 includes a portion which serves as the other of the source and the drain. Note that for the second semiconductor layer, silicon containing phosphorus or the like can be used, for example.

(234) A second conductive layer (a conductive layer 5169, a conductive layer 5170, and a conductive layer 5171) is formed over the second semiconductor layer and the second insulating film. The conductive layer 5169 includes a portion which serves as one of a source and a drain of the transistor 5178. The conductive layer 5170 includes a portion which serves as the other of the source and the drain of the transistor 5178. The conductive layer 5171 includes a portion which serves as a second electrode of the capacitor 5179. Note that for the second conductive layer, Ti, Mo, Ta, Cr, W, Al, Nd, Cu, Ag, Au, Pt. Nb, Si, Zn, Fe, Sa, Ge, or the like; or an alloy of any of these elements can be used. Alternatively, a stacked layer including any of these elements (including the alloy thereof) can be used.

(235) Note that in steps after forming the second conductive layer, a variety of insulating films or a variety of conductive films may be formed.

(236) Note that in steps of manufacturing a channel-etched transistor, the first semiconductor layer and the second semiconductor layer can be successively formed. Further, the first semiconductor layer and the second semiconductor layer can be formed using the same mask.

(237) After the second conductive layer is formed, part of the second semiconductor layer can be removed by using the second conductive layer as a mask. Alternatively, by removing part of the second semiconductor layer by using the same mask used for the second conductive layer, the channel region of the transistor can be formed. Accordingly, it is not necessary to use an additional mask which is used only for removing part of the second semiconductor layer. Thus, a manufacturing process can be simplified, so that manufacturing cost can be reduced. Here, part of the first semiconductor layer below a region where the second semiconductor layer is removed serves as the channel region of the transistor.

(238) FIG. 27C illustrates cross-sectional structures of an inverted-staggered (bottom-gate) transistor and a capacitor. In particular, the transistor illustrated in FIG. 27C has a channel protection (etch stop) structure.

(239) A first insulating film (an insulating film 5182) is formed over a substrate 5181. The first insulating film can have a function of a base film which prevents impurities from a substrate side from adversely affecting a semiconductor layer and changing characteristics of the transistor. Note that as the first insulating film, a single layer or a stacked layer of a silicon oxide film, a silicon nitride film, a silicon oxynitride film (SiO.sub.xN.sub.y), or the like can be used. In particular, the silicon nitride film is dense and has high barrier properties, so that the first insulating film preferably contains silicon nitride. Note that the first insulating film is not necessarily formed. When the first insulating film is not formed, reduction in the number of steps and manufacturing cost and increase in yield can be realized.

(240) A first conductive layer (a conductive layer 5183 and a conductive layer 5184) is formed over the first insulating film. The conductive layer 5183 includes a portion which serves as a gate electrode of a transistor 5198. The conductive layer 5184 includes a portion which serves as a first electrode of a capacitor 5199. Note that for the first conductive layer, Ti, Mo, Ta, Cr, W, Al, Nd, Cu, Ag, Au, Pt, Nb, Si, Zn, Fe, Ba, Ge, or the like; or an alloy of any of these elements can be used. Alternatively, a stacked layer including any of these elements (including the alloy thereof) can be used.

(241) A second insulating film (an insulating film 5185) is formed so as to cover at least the first conductive layer. The second insulating film serves as a gate insulating film. Note that as the second insulating film, a single layer or a stacked layer of a silicon oxide film, a silicon nitride film, a silicon oxynitride film (SiO.sub.xN.sub.y), or the like can be used.

(242) Note that as the second insulating film which is in contact with a semiconductor layer, a silicon oxide film is preferably used. This is because trap levels at an interface between the semiconductor layer and the second insulating film is decreased.

(243) Note that in the case where the second insulating film is in contact with Mo, a silicon oxide film is preferably used as the second insulating film which is in contact with Mo. This is because the silicon oxide film does not oxidize Mo.

(244) A first semiconductor layer (a semiconductor layer 5186) is formed in part of a portion over the second insulating film, which overlaps with the first conductive layer, by photolithography, an inkjet method, a printing method, or the like. In addition, part of the semiconductor layer 5186 extends to a portion over the second insulating film, which does not overlap with the first conductive layer. The semiconductor layer 5186 includes a portion which serves as a channel region of the transistor 5198. Note that as the semiconductor layer 5186, a semiconductor layer having non-crystallinity, such as an amorphous silicon (a-Si:H) layer, or a semiconductor layer such as a microcrystalline silicon (μc-Si) layer, or the like can be used.

(245) A third insulating film (an insulating film 5192) is formed over part of the first semiconductor layer. The insulating film 5192 prevents the channel region of the transistor 5198 from being etched away. That is, the insulating film 5192 serves as a channel protective film (an etch stop film). Note that as the third insulating film, a single layer or a stacked layer of a silicon oxide film, a silicon nitride film, a silicon oxynitride film (SiO.sub.xN.sub.y), or the like can be used.

(246) A second semiconductor layer (a semiconductor layer 5187 and a semiconductor layer 5188) is formed over par of the first semiconductor layer and part of the third insulating film. The semiconductor layer 5187 includes a portion which serves as one of a source and a drain. The semiconductor layer 5188 includes a portion which serves as the other of the source and the drain. Note that for the second semiconductor layer, silicon containing phosphorus or the like can be used, for example.

(247) A second conductive layer (a conductive layer 5189, a conductive layer 5190, and a conductive layer 5191) is formed over the second semiconductor layer. The conductive layer 5189 includes a portion which serves as one of a source and a drain of the transistor 5198. The conductive layer 5190 includes a portion which serves as the other of the source and the drain of the transistor 5198. The conductive layer 5191 includes a portion which serves as a second electrode of the capacitor 5199. Note that for the second conductive layer, Ti, Mo, Ta, Cr, W, Al, Nd, Cu, Ag, Au, Pt, Nb, Si, Zn, Fe, Ba, Ge, or the like; or an alloy of any of these elements can be used. Alternatively, a stacked layer including any of these elements (including the alloy thereof) can be used.

(248) Note that in steps after forming the second conductive layer, a variety of insulating films or a variety of conductive films may be formed.

(249) The use of polysilicon for semiconductor layers of transistors has advantages of high mobility of the transistors and low manufacturing cost. Moreover, since little deterioration in characteristics over time occurs, a highly reliable device can be obtained. Examples of a structure of a capacitor and a structure of a transistor in which polysilicon is used fora semiconductor layer are described below.

(250) FIG. 27D illustrates cross-sectional structures of a bottom-gate transistor and a capacitor.

(251) A first insulating film (an insulating film 5202) is formed over a substrate 5201. The first insulating film can have a function of a base film which prevents impurities from a substrate side from adversely affecting a semiconductor layer and changing characteristics of the transistor. Note that as the first insulating film, a single layer or a stacked layer of a silicon oxide film, a silicon nitride film, a silicon oxynitride film (SiO.sub.xN.sub.y), or the like can be used. In particular, the silicon nitride film is dense and has high barrier properties, so that the first insulating film preferably contains silicon nitride. Note that the first insulating film is not necessarily formed. When the first insulating film is not formed, reduction in the number of steps and manufacturing cost and increase in yield can be realized.

(252) A first conductive layer (a conductive layer 5203 and a conductive layer 5204) is formed over the first insulating film. The conductive layer 5203 includes a portion which serves as a gate electrode of a transistor 5218. The conductive layer 5204 includes a portion which serves as a first electrode of a capacitor 5219. Note that for the first conductive layer, Ti, Mo, Ta, Cr, W, Al, Nd, Cu, Ag, Au, Pt, Nb, Si, Zn, Fe, Ba, Ge, or the like; or an alloy of any of these elements can be used. Alternatively, a stacked layer including any of these elements (including the alloy thereof) can be used.

(253) A second insulating film (an insulating film 5214) is formed so as to cover at least the first conductive layer. The second insulating film serves as a gate insulating film. Note that as the second insulating film, a single layer or a stacked layer of a silicon oxide film, a silicon nitride film, a silicon oxynitride film (SiO.sub.xN.sub.y), or the like can be used.

(254) Note that as the second insulating film which is in contact with the semiconductor layer, a silicon oxide film is preferably used. This is because trap levels at an interface between the semiconductor layer and the second insulating film is decreased.

(255) Note that in the case where the second insulating film is in contact with Mo, a silicon oxide film is preferably used as the second insulating film which is in contact with Mo. This is because the silicon oxide film does not oxidize Mo.

(256) A semiconductor layer is formed in part of a portion over the second insulating film, which overlaps with the first conductive layer, by photolithography, an inkjet method, a printing method, or the like. In addition, part of the semiconductor layer extends to a portion over the second insulating film, which does not overlap with the first conductive layer. The semiconductor layer includes a channel formation region (a channel formation region 5210), lightly doped drain (LDD) regions (LDD regions 5208 and 5209), and impurity regions (impurity regions 5205, 5206, and 5207). The channel formation region 5210 serves as a channel formation region of the transistor 5218. The LDD regions 5208 and 5209 serve as LDD regions of the transistor 5218. Note that formation of the LDD regions 5208 and 5209 can prevent application of a high electric field to a drain of the transistor, so that reliability of the transistor can be improved. Note that the LDD region is not necessarily formed. In this case, a manufacturing process can be simplified, so that manufacturing cost can be reduced. The impurity region 5205 includes a portion which serves as one of a source and a drain of the transistor 5218. The impurity region 5206 includes a portion which serves as the other of the source and the drain of the transistor 5218. The impurity region 5207 includes a portion which serves as a second electrode of the capacitor 5219.

(257) A contact hole is selectively formed in pail of a third insulating film (an insulating film 5211). The insulating film 5211 serves as an interlayer film. For the third insulating film, an inorganic material (e.g., silicon oxide, silicon nitride, or silicon oxynitride), an organic compound material having a low dielectric constant (e.g., a photosensitive or non-photosensitive organic resin material), or the like can be used. Alternatively, a material including siloxane can be used. Note that siloxane is a material having a skeleton structure by the bond of silicon (Si) and oxygen (O). An organic group (e.g., an alkyl group or aromatic hydrocarbon) or a fluoro group may be used as a substituent. A fluoro group may be contained in the organic group.

(258) A second conductive layer (a conductive layer 5212 and a conductive layer 5213) is formed over the third insulating film. The conductive layer 5212 is electrically connected to the other of the source and the drain of the transistor 5218 through the contact hole formed in the third insulating film. Therefore, the conductive layer 5212 includes a portion which serves as the other of the source or the drain of the transistor 5218. In the case where the conductive layer 5213 and the conductive layer 5204 are electrically connected to each other in a portion which is not illustrated, the conductive layer 5213 includes a portion which serves as the first electrode of the capacitor 5219. Alternatively, in the case where the conductive layer 5213 is electrically connected to the impurity region 5207 in a portion which is not illustrated, the conductive layer 5213 includes the portion which serves as the second electrode of the capacitor 5219. Alternatively, in the case where the conductive layer 5213 is not electrically connected to the conductive layer 5204 and the impurity region 5207, a capacitor which is different from the capacitor 5219 is formed. In this capacitor, the conductive layer 5213, the impurity region 5207, and the insulating film 5211 are used as a first electrode, a second electrode, and an insulating film, respectively. Note that for the second conductive layer, Ti, Mo, Ta, Cr, W, Al, Nd, Cu, Ag, Au, Pt, Nb, Si, Zn, Fe, Ba, Ge, or the like; or an alloy of any of these elements can be used. Alternatively, a stacked layer including any of these elements (including the alloy thereof) can be used.

(259) Note that in steps after forming the second conductive layer, a variety of insulating films or a variety of conductive films may be formed.

(260) Note that the transistor in which polysilicon is used for a semiconductor layer can have a top-gate structure.

(261) Note that the structure described in this embodiment can be combined with a different structure described in this specification (including a structure described in any of the other embodiments) as appropriate.

Embodiment 6

(262) In this embodiment, a variety of electronic devices including the semiconductor device described in any of the above embodiments are described with reference to drawings.

(263) Examples of electronic devices including the semiconductor device described in any of the above embodiments are television sets, cameras such as video cameras and digital cameras, goggle-type displays (head-mounted displays), navigation systems, audio reproducing devices (e.g., car audio equipment or audio component sets), laptops, game machines, portable information terminals (e.g., mobile computers, mobile phones, portable game machines, or e-book readers), image reproducing devices provided with recording media (specifically devices which reproduce the content of recording media such as DVDs (digital versatile disc) and have displays for displaying the reproduced images), and the like. Specific examples of such electronic devices are described in FIGS. 28A to 28E.

(264) FIG. 28A illustrates a display device, which includes a housing 8001, a support base 8002, a display portion 8003, speaker portions 8004, video input terminals 8005, and the like. The display device is manufactured by using the structure described in any of the above embodiments for the display portion 8003. Note that the display device includes in its category all devices for displaying information, for example, devices for a personal computer, for receiving TV broadcasting, and for displaying an advertisement. By using the display device described in any of the above embodiments, a display device having high reliability can be provided.

(265) FIG. 28B illustrates a computer, which includes a main body 8101, a housing 8102, a display portion 8103, a keyboard 8104, an external connection port 8105, a pointing device 8106, and the like. Note that the computer is manufactured by using the structure described in any of the above embodiments for the display portion 8103. By using the display device described in any of the above embodiments, a computer having high reliability can be provided.

(266) FIG. 28C illustrates a video camera, which includes a display portion 8202, an external connection port 8204, a remote control receiving portion 8205, an image receiving portion 8206, operation keys 8209, and the like. Note that the video camera is manufactured by using the structure described in any of the above embodiments for the display portion 8202. By using the display device described in any of the above embodiments, a video camera having high reliability can be provided.

(267) FIG. 28D illustrates a mobile phone, which includes a display portion 8403, an audio input portion 8404, an audio output portion 8405, operation keys 8406, an external connection port 8407, and the like. Note that the mobile phone is manufactured by using the structure described in any of the above embodiments for the display portion 8403. Further, the mobile phone may have an infrared communication function, a television receiving function, or the like. By using the display device described in any of the above embodiments, a mobile phone having high reliability can be provided.

(268) FIG. 28E illustrates a table lamp, which includes a lighting portion 8301, a shade 8302, an adjustable arm 8303, a switch 8305, and the like. Note that the table lamp is manufactured by using the structure described in any of the above embodiments for the lighting portion 8301. Note that the lamp includes ceiling lights, wall lights, and the like in its category. By using the display device described in any of the above embodiments, a table lamp having high reliability can be provided.

(269) As described above, electronic devices and lamps can be obtained by using the display device described in any of the above embodiments. The application range of the display device described in any of the above embodiments is extremely wide and the display device described in any of the above embodiments can be used for electronic devices in all fields.

(270) Note that the structure described in this embodiment can be combined with a different structure described in this specification (including a structure described in any of the other embodiments) as appropriate.

(271) This application is based on Japanese Patent Application serial no. 2008-292197 filed with Japan Patent Office on Nov. 14, 2008, the entire contents of which are hereby incorporated by reference.