SEMICONDUCTOR DEVICE AND ELECTRONIC DEVICE
20230049977 · 2023-02-16
Inventors
- Yoshiyuki Kurokawa (Sagamihara, JP)
- Munehiro KOZUMA (Atsugi, JP)
- Takeshi AOKI (Ebina, JP)
- Takuro KANEMURA (Sapporo, JP)
Cpc classification
G11C11/405
PHYSICS
H10B41/70
ELECTRICITY
H01L27/1207
ELECTRICITY
Y02D10/00
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H01L27/1255
ELECTRICITY
H01L29/7869
ELECTRICITY
H01L29/78696
ELECTRICITY
H01L27/1225
ELECTRICITY
International classification
G11C11/405
PHYSICS
H01L27/12
ELECTRICITY
Abstract
A semiconductor device that has low power consumption and is capable of performing arithmetic operation is provided. The semiconductor device includes first to third circuits and first and second cells. The first cell includes a first transistor, and the second cell includes a second transistor. The first and second transistors operate in a subthreshold region. The first cell is electrically connected to the first circuit, the first cell is electrically connected to the second and third circuits, and the second cell is electrically connected to the second and third circuits. The first cell sets current flowing from the first circuit to the first transistor to a first current, and the second cell sets current flowing from the second circuit to the second transistor to a second current. At this time, a potential corresponding to the second current is input to the first cell. Then, a sensor included in the third circuit supplies a third current to change a potential of the second wiring, whereby the first cell outputs a fourth current corresponding to the first current and the amount of change in the potential.
Claims
1. A semiconductor device comprising: a first circuit, a second circuit, a third circuit, a first cell, a second cell, a first wiring, and a second wiring, wherein the first cell comprises a first transistor, wherein the second cell comprises a second transistor, wherein the third circuit comprises a sensor and a third transistor, wherein the first cell is electrically connected to the first circuit through the first wiring, wherein the first cell is electrically connected to the second wiring, wherein the second cell is electrically connected to the second wiring, wherein the sensor is electrically connected to a first terminal of the third transistor, wherein a second terminal of the third transistor is electrically connected to the second wiring, wherein the first circuit is configured to supply a first current to the first cell through the first wiring, wherein the second circuit is configured to supply a second current to the second wiring, wherein the sensor is configured to perform sensing and outputting a third current corresponding to a result of the sensing, wherein the third circuit is configured to supply the third current to the second wiring when the third transistor is in an on state, wherein the first cell is configured to set an amount of current flowing between a first terminal and a second terminal of the first transistor to an amount of the first current by retaining a potential corresponding to the first current in a gate of the first transistor, and wherein the second cell is configured to an amount of current flowing between a first terminal and a second terminal of the second transistor to an amount of current flowing through the second wiring by retaining a potential corresponding to the current flowing through the second wiring in a gate of the second transistor.
2. The semiconductor device according to claim 1, wherein, when the third transistor is in an off state, the second circuit is configured to supply the second current to the second cell through the second wiring, and a first potential corresponding to an amount of the second current to each of the first cell and the second cell through the second wiring, wherein the third circuit is configured to change the first potential supplied to each of the first cell and the second cell to a second potential by turning on the third transistor to supply the third current from the third circuit to the second wiring, wherein, when the third transistor is switched from the off state to the on state, the first cell is configured to change the amount of the first current flowing between the first terminal and the second terminal of the first transistor to an amount of fourth current corresponding to a difference between the first potential and the second potential, wherein the amount of the first current and the amount of the fourth current are each in a range of current flowing when the first transistor operates in a subthreshold region, and wherein the amount of the second current, an amount of the third current, and a sum of the amount of the second current and the amount of the third current are each in a range of current flowing when the second transistor operates in the subthreshold region.
3. The semiconductor device according to claim 1, wherein the first transistor and the second transistor each comprise a metal oxide in a channel formation region.
4. A semiconductor device comprising: a first circuit, a second circuit, a third circuit, a first cell, a second cell, a first wiring, and a second wiring, wherein the first cell comprises a first transistor, a fourth transistor, and a first capacitor, wherein the second cell comprises a second transistor, a fifth transistor, and a second capacitor, wherein the third circuit comprises a sensor and a third transistor, wherein the first circuit is electrically connected to the first wiring, wherein the second circuit is electrically connected to the second wiring, wherein the third circuit is electrically connected to the second wiring, wherein a first terminal of the first transistor is electrically connected to a first terminal of the fourth transistor and the first wiring, wherein a gate of the first transistor is electrically connected to a second terminal of the fourth transistor and a first terminal of the first capacitor, wherein a second terminal of the first capacitor is electrically connected to the second wiring, wherein a first terminal of the second transistor is electrically connected to a first terminal of the fifth transistor and the second wiring, wherein a gate of the second transistor is electrically connected to a second terminal of the fifth transistor and a first terminal of the second capacitor, wherein a second terminal of the second capacitor is electrically connected to the second wiring, wherein the sensor is electrically connected to a first terminal of the third transistor, wherein a second terminal of the third transistor is electrically connected to the second wiring, wherein the first circuit is configured to supply a first current to the first cell through the first wiring, wherein the second circuit is configured to supply a second current to the second wiring, wherein the sensor is configured to perform sensing and outputting a third current corresponding to a result of the sensing, wherein the third circuit is configured to supply the third current to the second wiring when the third transistor is in an on state, wherein the first cell is configured to set an amount of current flowing between the first terminal and a second terminal of the first transistor to an amount of the first current by retaining a potential corresponding to the first current in the gate of the first transistor, and wherein the second cell is configured to set an amount of current flowing between the first terminal and a second terminal of the second transistor to an amount of current flowing through the second wiring by retaining a potential corresponding to the current flowing through the second wiring in the gate of the second transistor.
5. The semiconductor device according to claim 4, wherein, when the third transistor is in an off state, the second circuit is configured to supply the second current to the first terminal of the second transistor through the second wiring, and configured to supply a first potential corresponding to an amount of the second current to each of the second terminal of the first capacitor and the second terminal of the second capacitor through the second wiring, wherein the third circuit is configured to change the first potential supplied to each of the second terminal of the first capacitor and the second terminal of the second capacitor to a second potential by turning on the third transistor to supply the third current from the third circuit to the second wiring, wherein, when the third transistor is switched from the off state to the on state, the first cell is configured to change the amount of the first current flowing between the first terminal and the second terminal of the first transistor to an amount of fourth current corresponding to a difference between the first potential and the second potential, wherein the amount of the first current and the amount of the fourth current are each in a range of current flowing when the first transistor operates in a subthreshold region, and wherein the amount of the second current, an amount of the third current, and a sum of the amount of the second current and the amount of the third current are each in a range of current flowing when the second transistor operates in the subthreshold region.
6. The semiconductor device according to claim 4, wherein the first transistor, the second transistor, the fourth transistor, and the fifth transistor each comprise a metal oxide in a channel formation region.
7. The semiconductor device according to claim 1, wherein the first circuit comprises a sixth transistor and a seventh transistor, wherein the seventh transistor comprises a first gate and a second gate, wherein a first terminal of the sixth transistor is electrically connected to the first wiring, and wherein a second terminal of the sixth transistor is electrically connected to a first terminal of the seventh transistor, the first gate of the seventh transistor, and the second gate of the seventh transistor.
8. The semiconductor device according to claim 7, wherein the sixth transistor and the seventh transistor each comprise a metal oxide in a channel formation region.
9. The semiconductor device according to claim 1, wherein the sensor comprises a photodiode.
10. An electronic device comprising: the semiconductor device according to claim 1 and a housing, wherein the semiconductor device is configured to perform product-sum operation.
11. The semiconductor device according to claim 4, wherein the first circuit comprises a sixth transistor and a seventh transistor, wherein the seventh transistor comprises a first gate and a second gate, wherein a first terminal of the sixth transistor is electrically connected to the first wiring, and wherein a second terminal of the sixth transistor is electrically connected to a first terminal of the seventh transistor, the first gate of the seventh transistor, and the second gate of the seventh transistor.
12. The semiconductor device according to claim 11, wherein the sixth transistor and the seventh transistor each comprise a metal oxide in a channel formation region.
13. The semiconductor device according to claim 4, wherein the sensor comprises a photodiode.
14. An electronic device comprising: the semiconductor device according to claim 4 and a housing, wherein the semiconductor device is configured to perform product-sum operation.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0052]
[0053]
[0054]
[0055]
[0056]
[0057]
[0058]
[0059]
[0060]
[0061]
[0062]
[0063]
[0064]
[0065]
[0066]
[0067]
[0068]
[0069]
[0070]
[0071]
[0072]
[0073]
[0074]
[0075]
[0076]
[0077]
[0078]
[0079]
[0080]
[0081]
[0082]
[0083]
[0084]
[0085]
[0086]
[0087]
[0088]
[0089]
[0090]
[0091]
MODE FOR CARRYING OUT THE INVENTION
[0092] In an artificial neural network (hereinafter, referred to as a neural network), the connection strength between synapses can be changed when existing information is given to the neural network. The processing for determining a connection strength by providing a neural network with existing information in such a manner is called “learning” in some cases.
[0093] Furthermore, when a neural network in which “learning” has been performed (the connection strength has been determined) is provided with some type of information, new information can be output on the basis of the connection strength. The processing for outputting new information on the basis of provided information and the connection strength in a neural network in such a manner is called “inference” or “recognition” in some cases.
[0094] Examples of the model of a neural network include a Hopfield type and a hierarchical type. In particular, a neural network with a multilayer structure is called a “deep neural network” (DNN), and machine learning using a deep neural network is called “deep learning” in some cases.
[0095] In this specification and the like, a metal oxide is an oxide of metal in a broad sense. Metal oxides are classified into an oxide insulator, an oxide conductor (including a transparent oxide conductor), an oxide semiconductor (also simply referred to as an OS), and the like. For example, in the case where a metal oxide is used in an active layer of a transistor, the metal oxide is called an oxide semiconductor in some cases. That is, when a metal oxide can form a channel formation region of a transistor that has at least one of an amplifying function, a rectifying function, and a switching function, the metal oxide can be called a metal oxide semiconductor. In the case where an OS transistor is mentioned, the OS transistor can also be referred to as a transistor including a metal oxide or an oxide semiconductor.
[0096] In this specification and the like, a metal oxide containing nitrogen is also collectively referred to as a metal oxide in some cases. A metal oxide containing nitrogen may be called a metal oxynitride.
[0097] In this specification and the like, one embodiment of the present invention can be constituted by appropriately combining a structure described in an embodiment with any of the structures described in the other embodiments. In addition, in the case where a plurality of structure examples are described in one embodiment, the structure examples can be combined as appropriate.
[0098] Note that a content (or part of the content) described in one embodiment can be applied to, combined with, or replaced with at least one of another content (or part of the content) in the embodiment and a content (or part of the content) described in one or a plurality of different embodiments.
[0099] Note that in each embodiment (or the example), a content described in the embodiment is a content described with reference to a variety of diagrams or a content described with text disclosed in the specification.
[0100] Note that by combining a diagram (or part thereof) described in one embodiment with at least one of another part of the diagram, a different diagram (or part thereof) described in the embodiment, and a diagram (or part thereof) described in one or a plurality of different embodiments, much more diagrams can be formed.
[0101] Embodiments described in this specification are described with reference to the drawings. Note that the embodiments can be implemented in many different modes, and it will be readily appreciated by those skilled in the art that modes and details can be changed in various ways without departing from the spirit and scope thereof. Therefore, the present invention should not be interpreted as being limited to the description in the embodiments. Note that in the structures of the invention in the embodiments, the same portions or portions having similar functions are denoted by the same reference numerals in different drawings, and repeated description thereof is omitted in some cases. In perspective views and the like, some components might not be illustrated for clarity of the drawings.
[0102] In this specification and the like, when a plurality of components are denoted with the same reference numerals, and in particular need to be distinguished from each other, an identification sign such as “_1”, “[n]”, or “[m,n]” is sometimes added to the reference numerals.
[0103] In the drawings in this specification, the size, the layer thickness, or the region is exaggerated for clarity in some cases. Therefore, they are not limited to the illustrated scale. The drawings are schematic views showing ideal examples, and embodiments of the present invention are not limited to shapes, values, or the like shown in the drawings. For example, variations in signal, voltage, or current due to noise, variations in signal, voltage, or current due to difference in timing, or the like can be included.
Embodiment 1
[0104] In this embodiment, an example of a circuit capable of performing product-sum operation that is a semiconductor device of one embodiment of the present invention is described.
Structure Example 1 of Arithmetic Circuit
[0105]
[0106] The arithmetic circuit MAC1 includes a circuit WCS, a circuit XCS, a circuit WSD, a circuit SWS1, a circuit SWS2, a cell array CA, and a converter circuit ITRZ[1] to a converter circuit ITRZ[n] (here, n is an integer greater than or equal to 1).
[0107] The cell array CA includes a cell IM[1,1] to a cell IM[m,n] (here, m is an integer greater than or equal to 1) and a cell IMref[1] to a cell IMref[m]. The cell IM[1,1] to the cell IM[m,n] have a function of retaining a potential corresponding to a current amount corresponding to the first data, and the cell IMref[1] to the cell IMref[m] have a function of supplying a potential corresponding to the second data necessary for performing product-sum operation with the retained potential to a wiring XCL[1] to a wiring XCL[m].
[0108] In the cell array CA in
[0109] The cell IM[1,1] to the cell IM[m,n] each include a transistor F1, a transistor F2, and a capacitor C5, and the cell IMref[1] to the cell IMref[m] each include a transistor F1m, a transistor F2m, and a capacitor C5m, for example.
[0110] It is particularly preferable that the sizes of the transistors F1 (e.g., the channel lengths, the channel widths, and the transistor structures) included in the cell IM[1,1] to the cell IM[m,n] be equal to each other, and the sizes of the transistors F2 included in the cell IM[1,1] to the cell IM[m,n] be equal to each other. It is preferable that the sizes of the transistors F1m included in the cell IMref[1] to the cell IMref[m] be equal to each other, and the sizes of the transistors F2m included in the cell IMref[1] to the cell IMref[m] be equal to each other. It is also preferable that the sizes of the transistor F1 and the transistor F1m be equal to each other, and the sizes of the transistor F2 and the transistor F2m be equal to each other.
[0111] By making the transistors have the same size, the transistors can have almost the same electrical characteristics. Thus, by making the transistors F1 included in the cell IM[1,1] to the cell IM[m,n] have the same size and the transistors F2 included in the cell IM[1,1] to the cell IM[m,n] have the same size, the cell IM[1,1] to the cell IM[m,n] can perform almost the same operation when being in the same conditions as each other. The same conditions here mean, for example, potentials of a source, a drain, a gate, and the like of the transistor F1, potentials of a source, a drain, a gate, and the like of the transistor F2, and voltage input to the cell IM[1,1] to the cell IM[m,n]. Similarly, by making the transistors F1m included in the cell IMref[1] to the cell IMref[m] have the same size and the transistors F2m included in the cell IMref[1] to the cell IMref[m] have the same size, for example, the cell IMref[1] to the cell IMref[m] can perform almost the same operation when being in the same conditions as each other. The same conditions here mean, for example, potentials of a source, a drain, a gate, and the like of the transistor F1m, potentials of a source, a drain, a gate, and the like of the transistor F2m, and voltage input to the cell IMref[1] to the cell IMref[m].
[0112] Unless otherwise specified, the transistor F1 and the transistor F1m in an on state may operate in a linear region in the end. In other words, the gate voltage, the source voltage, and the drain voltage of each of the above transistors may be appropriately biased to voltages in the range where the transistor operates in the linear region. However, one embodiment of the present invention is not limited thereto. For example, the transistor F1 and the transistor F1m in an on state may operate in a saturation region or may operate both in a linear region and in a saturation region.
[0113] Unless otherwise specified, the transistor F2 and the transistor F2m may operate in a subthreshold region (i.e., the gate-source voltage may be lower than the threshold voltage in the transistor F2 or the transistor F2m, further preferably, the drain current increases exponentially with respect to the gate-source voltage). In other words, the gate voltage, the source voltage, and the drain voltage of each of the above transistors may be appropriately biased to voltages in the range where the transistor operates in the subthreshold region. Thus, the transistor F2 and the transistor F2m may operate such that the off-state current flows between the source and the drain.
[0114] The transistor F1 and/or the transistor F1m are/is preferably an OS transistor, for example. In addition, it is further preferable that a channel formation region in the transistor F1 and/or the transistor F1m be an oxide containing at least one of indium, gallium, and zinc. Instead of the oxide, an oxide containing at least one of indium, an element M (as the element M, for example, one or more kinds selected from aluminum, gallium, yttrium, copper, vanadium, beryllium, boron, titanium, iron, nickel, germanium, zirconium, molybdenum, lanthanum, cerium, neodymium, hafnium, tantalum, tungsten, magnesium, and the like can be given), and zinc may be used. It is further preferable that the transistor F1 and/or the transistor F1m have especially a transistor structure described in Embodiment 5.
[0115] With the use of an OS transistor as the transistor F1 and/or the transistor F1m, the leakage current of the transistor F1 and/or the transistor F1m can be suppressed, so that the power consumption of the arithmetic circuit can be reduced. Specifically, in the case where the transistor F1 and/or the transistor F1m are/is in the non-conduction state, the amount of leakage current from a retention node to a write word line can be extremely small and thus the frequency of refresh operation for the potential of the retention node can be reduced. By reducing the frequency of refresh operation, the power consumption of the arithmetic circuit can be reduced. An extremely low leakage current from the retention node to a wiring WCL or the wiring XCL allows cells to retain the potential of the retention node for a long time, increasing the arithmetic operation accuracy of the arithmetic circuit.
[0116] The use of an OS transistor also as the transistor F2 and/or the transistor F2m enables operation with a wide range of current in the subthreshold region, leading to a reduction in the current consumption. With the use of an OS transistor also as the transistor F2 and/or the transistor F2m, the transistor F2 and/or the transistor F2m can be manufactured concurrently with the transistor F1 and the transistor F1m; thus, the manufacturing process of the arithmetic circuit can sometimes be shortened. The transistor F2 and/or the transistor F2m can be, other than an OS transistor, a transistor containing silicon in its channel formation region (hereinafter, referred to as a Si transistor). As the silicon, amorphous silicon (sometimes referred to as hydrogenated amorphous silicon), microcrystalline silicon, polycrystalline silicon, single crystal silicon, or the like can be used, for example.
[0117] When a semiconductor device or the like is highly integrated into a chip or the like, heat may be generated in the chip by circuit operation. This heat generation increases the temperature of a transistor to change the characteristics of the transistor; thus, the field-effect mobility thereof may change or the operation frequency thereof may decrease, for example. Since an OS transistor has a higher heat resistance than a Si transistor, a change in the field-effect mobility and a decrease in the operation frequency due to a temperature change are unlikely to occur. Even when having a high temperature, an OS transistor is likely to keep a property of the drain current increasing exponentially with respect to the gate-source voltage. With the use of an OS transistor, arithmetic operation, processing, or the like can thus be easily performed even in a high temperature environment. To fabricate a semiconductor device highly resistant to heat due to operation, an OS transistor is preferably used as its transistor.
[0118] In each of the cell IM[1,1] to the cell IM[m,n], a first terminal of the transistor F1 is electrically connected to a gate of the transistor F2. A first terminal of the transistor F2 is electrically connected to a wiring VE. A first terminal of the capacitor C5 is electrically connected to the gate of the transistor F2.
[0119] In each of the cell IMref[1] to the cell IMref[m], a first terminal of the transistor F1m is electrically connected to a gate of the transistor F2m. A first terminal of the transistor F2m is electrically connected to the wiring VE. A first terminal of the capacitor C5m is electrically connected to the gate of the transistor F2m.
[0120] In each of the transistor F1, the transistor F2, the transistor F1m, and the transistor F2m in
[0121] The transistor F1 and the transistor F2 illustrated in
[0122] The transistor F1 and the transistor F2 illustrated in
[0123] The above-described examples of changes in the structure and polarity of the transistor are not limited to the transistor F1 and the transistor F2. For example, the structures and polarities of the transistor F1m, the transistor F2m, a transistor F3[1] to a transistor F3[n] and a transistor F4[1] to a transistor F4[n], which are described later, a transistor described in other parts of the specification, and a transistor illustrated in other drawings may also be changed.
[0124] The wiring VE is a wiring for causing current to flow between the first terminal and a second terminal of the transistor F2 in each of the cell IM[1,1] to the cell IM[m,n] and functions as a wiring for causing current to flow between the first terminal and a second terminal of the transistor F2m in each of the cell IMref[1] to the cell IMref[m] as illustrated in
[0125] In the cell IM[1,1], a second terminal of the transistor F1 is electrically connected to a wiring WCL[1], and the gate of the transistor F1 is electrically connected to a wiring WSL[1]. The second terminal of the transistor F2 is electrically connected to the wiring WCL[1], and a second terminal of the capacitor C5 is electrically connected to the wiring XCL[1]. In the cell IM[1,1] in
[0126] In the cell IM[m,1], the second terminal of the transistor F1 is electrically connected to the wiring WCL[1], and the gate of the transistor F1 is electrically connected to a wiring WSL[m]. The second terminal of the transistor F2 is electrically connected to the wiring WCL[1], and the second terminal of the capacitor C5 is electrically connected to the wiring XCL[m]. In the cell IM[m,1] in
[0127] In the cell IM[1,n], the second terminal of the transistor F1 is electrically connected to a wiring WCL[n], and the gate of the transistor F1 is electrically connected to the wiring WSL[1]. The second terminal of the transistor F2 is electrically connected to the wiring WCL[n], and the second terminal of the capacitor C5 is electrically connected to the wiring XCL[1]. In the cell IM[1,n] in
[0128] In the cell IM[m,n], the second terminal of the transistor F1 is electrically connected to the wiring WCL[n], and the gate of the transistor F1 is electrically connected to the wiring WSL[m]. The second terminal of the transistor F2 is electrically connected to the wiring WCL[n], and the second terminal of the capacitor C5 is electrically connected to the wiring XCL[m]. In the cell IM[m,n] in
[0129] In the cell IMref[1], a second terminal of the transistor F1m is electrically connected to the wiring XCL[1], and the gate of the transistor F1m is electrically connected to the wiring WSL[1]. The second terminal of the transistor F2m is electrically connected to the wiring XCL[1], and the second terminal of the capacitor C5m is electrically connected to the wiring XCL[1]. In the cell IMref[1] in
[0130] In the cell IMref[m], the second terminal of the transistor F1m is electrically connected to the wiring XCL[m], and the gate of the transistor F1m is electrically connected to the wiring WSL[m]. The second terminal of the transistor F2m is electrically connected to the wiring XCL[m], and the second terminal of the capacitor C5m is electrically connected to the wiring XCL[m]. In the cell IMref[m] in
[0131] The node NN[1,1] to the node NN[m,n], and the node NNref[1] to the node NNref[m] function as retention nodes of the cells.
[0132] In the case where the transistor F1 is turned on in each of the cell IM[1,1] to the cell IM[m,n], for example, the transistor F2 is a diode-connected transistor. When a constant voltage supplied from the wiring VE is a ground potential (GND), the transistor F1 is turned on, and current with a current amount I flows from the wiring WCL to the second terminal of the transistor F2, the potential of the gate of the transistor F2 (the node NN) is determined in accordance with the current amount I. Since the transistor F1 is in the on state, the potential of the second terminal of the transistor F2 is ideally equal to that of the gate of the transistor F2 (the node NN). By turning off the transistor F1, the potential of the gate of the transistor F2 (the node NN) is retained. Accordingly, the transistor F2 can make current with the current amount I corresponding to the ground potential of the first terminal of the transistor F2 and the potential of the gate of the transistor F2 (the node NN) flow between a source and a drain of the transistor F2. In this specification and the like, such operation is called “setting (programing) the amount of current flowing between the source and the drain of the transistor F2 in the cell IM to I”.
[0133] The circuit SW includes the transistor F3[1] to the transistor F3[n], for example. A first terminal of the transistor F3[1] is electrically connected to the wiring WCL[1], a second terminal of the transistor F3[1] is electrically connected to the circuit WCS, and a gate of the transistor F3[1] is electrically connected to a wiring SWL1. A first terminal of the transistor F3[n] is electrically connected to the wiring WCL[n], a second terminal of the transistor F3[n] is electrically connected to the circuit WCS, and a gate of the transistor F3[n] is electrically connected to the wiring SWL1.
[0134] As each of the transistor F3[1] to the transistor F3[n], for example, a transistor that can be used as the transistor F1 and/or the transistor F2 can be used. It is particularly preferable to use an OS transistor as each of the transistor F3[1] to the transistor F3[n].
[0135] The circuit SWS1 functions as a circuit that switches electrical continuity and discontinuity between the circuit WCS and each of the wiring WCL[1] to the wiring WCL[n].
[0136] The circuit SWS2 includes the transistor F4[1] to the transistor F4[n], for example. A first terminal of the transistor F4[1] is electrically connected to the wiring WCL[1], a second terminal of the transistor F4[1] is electrically connected to an input terminal of the converter circuit ITRZ[1], and a gate of the transistor F4[1] is electrically connected to a wiring SWL2. A first terminal of the transistor F4[n] is electrically connected to the wiring WCL[n], a second terminal of the transistor F4[n] is electrically connected to an input terminal of the converter circuit ITRZ[n], and a gate of the transistor F4[n] is electrically connected to the wiring SWL2.
[0137] As each of the transistor F4[1] to the transistor F4[n], for example, a transistor that can be used as the transistor F1 and/or the transistor F2 can be used. It is particularly preferable to use an OS transistor as each of the transistor F4[1] to the transistor F4[n].
[0138] The circuit SWS2 has a function of establishing or breaking electrical continuity between the wiring WCL[1] and the converter circuit ITRZ[1] and between the wiring WCL[n] and the converter circuit ITRZ[n]. The circuit SWS2 also has a function of establishing or breaking electrical continuity between the wiring WCL and the converter circuit ITRZ in any one of the second column to the n−1-th column, which are not illustrated in
[0139] The circuit WCS has a function of supplying data that is to be retained in each cell included in the cell array CA.
[0140] The circuit XCS is electrically connected to the wiring XCL[1] to the wiring XCL[m]. The circuit XCS has a function of supplying current with the amount corresponding to reference data described later or current with the amount corresponding to the second data to each of the cell IMref[1] to the cell IMref[m] included in the cell array CA.
[0141] The circuit WSD is electrically connected to the wiring WSL[1] to the wiring WSL[m]. The circuit WSD has a function of selecting a row of the cell array CA to which the first data is written, by supplying a predetermined signal to the wiring WSL[1] to the wiring WSL[m] at the time of writing the first data to the cell IM[1,1] to the cell IM[m,n]. That is, the wiring WSL[1] to the wiring WSL[m] function as write word lines.
[0142] The circuit WSD is electrically connected to the wiring SWL1 and the wiring SWL2, for example. The circuit WSD has a function of establishing electrical continuity and discontinuity between the circuit WCS and the cell array CA by supplying a predetermined signal to the wiring SWL1, and a function of establishing electrical continuity and discontinuity between the converter circuit ITRZ[1] to the converter circuit ITRZ[n] and the cell array CA by supplying a predetermined signal to the wiring SWL2.
[0143] The converter circuit ITRZ[1] to the converter circuit ITRZ[n] each include an input terminal and an output terminal, for example. An output terminal of the converter circuit ITRZ[1] is electrically connected to a wiring OL[1], and an output terminal of the converter circuit ITRZ[n] is electrically connected to a wiring OL[n], for example.
[0144] The converter circuit ITRZ[1] to the converter circuit ITRZ[n] have a function of converting current input to their input terminals into voltage according to the amount of the current and outputting the voltage from their output terminals. The voltage can be, for example, an analog voltage, a digital voltage, and the like. The converter circuit ITRZ[1] to the converter circuit ITRZ[n] may each include an arithmetic circuit of a function system. In that case, for example, the arithmetic circuit may perform arithmetic operation of a function with the use of the converted voltage and may output the arithmetic operation results to the wiring OL[1] to the wiring OL[n].
[0145] In particular, in the case of performing arithmetic operation of the hierarchical neural network, a sigmoid function, a tanh function, a softmax function, a ReLU function, a threshold function, or the like can be used as the above-described function.
«Circuit WCS and Circuit XCS»
[0146] Here, specific examples of the circuit WCS and the circuit XCS are described.
[0147] First, the circuit WCS is described.
[0148] The circuit WCS includes, for example, circuits WCSa the number of which is the same as that of wirings WCL. That is, the circuit WCS includes n circuits WCSa.
[0149] The circuit SWS1 includes the transistors F3 the number of which is the same as that of wirings WCL. That is, the circuit SWS1 includes n transistors F3.
[0150] Accordingly, the transistor F3 illustrated in
[0151] Thus, the wiring WCL[1] to the wiring WCL[n] are electrically connected to the respective circuits WCSa through the respective transistors F3.
[0152] The circuit WCSa illustrated in
[0153] As the switch SWW, an electrical switch such as an analog switch or a transistor can be used, for example. When a transistor is used as the switch SWW, for example, the transistor can have a structure similar to that of the transistor F1 and the transistor F2. A mechanical switch may be used other than the electrical switch.
[0154] The circuit WCSa in
[0155] Each of the current sources CS in
[0156] The plurality of current sources CS included in the circuit WCSa have a function of outputting the same constant currents I.sub.Wut from the terminals T1. Actually, at the manufacturing stage of the arithmetic circuit MAC1, the transistors included in the current sources CS may have different electrical characteristics; this may yield errors. The errors in the constant currents I.sub.Wut output from the terminals T1 of the plurality of current sources CS are thus preferably within 10%, further preferably within 5%, still further preferably within 1%. In this embodiment, the description is made on the assumption that there is no error in the constant currents I.sub.Wut output from the terminals T1 of the plurality of current sources CS included in the circuit WCSa.
[0157] The wiring DW[1] to the wiring DW[K] function as wirings for transmitting control signals to make the current sources CS, which are electrically connected to the wiring DW[1] to the wiring DW[K], output the constant currents I.sub.Wut. Specifically, for example, when a high-level potential is supplied to the wiring DW[1], the current source CS electrically connected to the wiring DW[1] supplies I.sub.Wut as a constant current to the second terminal of the transistor F3, and when a low-level potential is supplied to the wiring DW[1], the current source CS electrically connected to the wiring DW[1] does not output I.sub.Wut. For example, when a high-level potential is supplied to the wiring DW[2], the two current sources CS electrically connected to the wiring DW[2] supply the sum of constant currents 2I.sub.Wut to the second terminal of the transistor F3, and when a low-level potential is supplied to the wiring DW[2], the current sources CS electrically connected to the wiring DW[2] do not output the sum of constant currents 2I.sub.Wut. For example, when a high-level potential is supplied to the wiring DW[K], the 2.sup.K−1 current sources CS electrically connected to the wiring DW[K] supply the sum of constant currents 2.sup.K−1I.sub.Wut to the second terminal of the transistor F3, and when a low-level potential is supplied to the wiring DW[K], the current sources CS electrically connected to the wiring DW[K] do not output the sum of constant currents 2.sup.K−1I.sub.Wut.
[0158] The amount of current flowing from the one current source CS electrically connected to the wiring DW[1] corresponds to the value of the first bit, the amount of current flowing from the two current sources CS electrically connected to the wiring DW[2] corresponds to the value of the second bit, and the amount of current flowing from the K current sources CS electrically connected to the wiring DW[K] corresponds to the value of the K-th bit. The circuit WCSa with K of 2 is considered. For example, when the value of the first bit is “1” and the value of the second bit is “0”, a high-level potential is supplied to the wiring DW[1], and a low-level potential is supplied to the wiring DW[2]. In this case, the constant current I.sub.Wut flows to the second terminal of the transistor F3 of the circuit SWS1 from the circuit WCSa. For example, when the value of the first bit is “0” and the value of the second bit is “1”, a low-level potential is supplied to the wiring DW[1], and a high-level potential is supplied to the wiring DW[2]. In this case, the constant current 2I.sub.Wut flows to the second terminal of the transistor F3 of the circuit SWS1 from the circuit WCSa. For example, when the value of the first bit is “1” and the value of the second bit is “1”, a high-level potential is supplied to the wiring DW[1] and the wiring DW[2]. In this case, the constant current 3I.sub.Wut flows to the second terminal of the transistor F3 of the circuit SWS1 from the circuit WCSa. For example, when the value of the first bit is “0” and the value of the second bit is “0”, a low-level potential is supplied to the wiring DW[1] and the wiring DW[2]. In this case, the constant current does not flow from the circuit WCSa to the second terminal of the transistor F3 of the circuit SWS1.
[0159]
[0160] Next, a specific structure example of the current source CS is described.
[0161] A current source CS1 illustrated in
[0162] A first terminal of the transistor Tr1 is electrically connected to a wiring VDDL, and a second terminal of the transistor Tr1 is electrically connected to a gate of the transistor Tr1, a back gate of the transistor Tr1, and a first terminal of the transistor Tr2. A second terminal of the transistor Tr2 is electrically connected to the terminal T1, and a gate of the transistor Tr2 is electrically connected to the terminal T2. The terminal T2 is electrically connected to the wiring DW.
[0163] The wiring DW is any one of the wiring DW[1] to the wiring DW[n] in
[0164] The wiring VDDL functions as a wiring for supplying a constant voltage. The constant voltage can be a high-level potential, for example.
[0165] When a constant voltage supplied from the wiring VDDL is set at a high-level potential, a high-level potential is input to the first terminal of the transistor Tr1. The potential of the second terminal of the transistor Tr1 is lower than the high-level potential. At this time, the first terminal of the transistor Tr1 functions as a drain, and the second terminal of the transistor Tr1 functions as a source. Since the gate of the transistor Tr1 is electrically connected to the second terminal of the transistor Tr1, the gate-source voltage of the transistor Tr1 is 0 V. When the threshold voltage of the transistor Tr1 is within an appropriate range, current in the current range of the subthreshold region (drain current) flows between the first terminal and the second terminal of the transistor Tr1. The amount of the current is preferably smaller than or equal to 1.0×10.sup.−8 A, further preferably smaller than or equal to 1.0×10.sup.−12 A, still further preferably smaller than or equal to 1.0×10.sup.−15A, for example, when the transistor Tr1 is an OS transistor. For example, the current is further preferably within a range where the current exponentially increases with respect to the gate-source voltage. That is, the transistor Tr1 functions as a current source for supplying current within a current range of the transistor Tr1 operating in the subthreshold region. The current corresponds to I.sub.Wut described above or I.sub.Xut described later.
[0166] The transistor Tr2 functions as a switching element. When the potential of the first terminal of the transistor Tr2 is higher than the potential of the second terminal of the transistor Tr2, the first terminal of the transistor Tr2 functions as a drain and the second terminal of the transistor Tr2 functions as a source. Since a back gate of the transistor Tr2 and the second terminal of the transistor Tr2 are electrically connected to each other, a back gate-source voltage becomes 0 V. Thus, when the threshold voltage of the transistor Tr2 is within an appropriate range and a high-level potential is input to the gate of the transistor Tr2, the transistor Tr2 is turned on; when a low-level potential is input to the gate of the transistor Tr2, the transistor Tr2 is turned off. Specifically, when the transistor Tr2 is in the on state, current within the current range of the subthreshold region flows from the second terminal of the transistor Tr1 to the terminal T1, and when the transistor Tr2 is in the off state, the current does not flow from the second terminal of the transistor Tr1 to the terminal T1.
[0167] The circuit that can be used as the current source CS included in the circuit WCSa in
[0168] For example, the current source CS1 has a structure in which the back gate of the transistor Tr1 and the second terminal of the transistor Tr1 are electrically connected to each other; however, the voltage between the back gate and the second terminal of the transistor Tr2 may be retained with a capacitor. Such a structure example is illustrated in
[0169] For example, as the circuit that can be used as the current source CS included in the circuit WCSa in
[0170] When a high current flows between the first terminal and the second terminal of the transistor Tr1 in the current source CS4, the on-state current of the transistor Tr2 needs to be increased to supply the current from the terminal T1 to the outside of the current source CS4. In this case, in the current source CS4, the wiring VTHL is supplied with a high-level potential to decrease the threshold voltage of the transistor Tr2 and increase the on-state current of the transistor Tr2, whereby a high current flowing between the first terminal and the second terminal of the transistor Tr1 can be supplied from the terminal T1 to the outside of the current source CS4.
[0171] The use of the current source CS1 to the current source CS4 illustrated in
[0172] As the circuit WCSa in
[0173] As the transistor Tr1 (including the transistor Tr1[1] to the transistor Tr2[K]), the transistor Tr2 (including the transistor Tr2[1] to the transistor Tr2[K]), and the transistor Tr3, a transistor that can be used as the transistor F1 and/or the transistor F2 can be used, for example. In particular, as the transistor Tr1 (including the transistor Tr1[] to the transistor Tr2[K]), the transistor Tr2 (including the transistor Tr2[1] to the transistor Tr2[K]), and the transistor Tr3, OS transistors are preferably used.
[0174] Next, a specific example of the circuit XCS is described.
[0175]
[0176] The circuit XCS includes, for example, circuits XCSa the number of which is the same as that of wirings XCL. That is, the circuit XCS includes m circuits XCSa.
[0177] Thus, the wiring XCL illustrated in
[0178] The circuit XCSa illustrated in
[0179] As the switch SWX, a switch that can be used as the switch SWW can be used, for example.
[0180] The circuit XCSa in
[0181] The reference data output from the circuit XCSa as current can be information in which the first bit value is “1” and the second and subsequent bit values are “0”, for example.
[0182] In
[0183] The plurality of current sources CS included in the circuit XCSa has a function of outputting the same constant currents I.sub.Xut from the terminals T1. The wiring DX[1] to the wiring DX[L] electrically connected to the current sources CS function as wirings for transmitting control signals to make the current sources CS output I.sub.Xut. In other words, the circuit XCSa has a function of supplying current with the amount corresponding to the L-bit data transmitted from the wiring DX[1] to the wiring DX[L] to the wiring XCL.
[0184] Specifically, the circuit XCSa with L of 2 is considered here. For example, when the value of the first bit is “1” and the value of the second bit is “0”, a high-level potential is supplied to the wiring DX[1], and a low-level potential is supplied to the wiring DX[2]. In this case, the constant current I.sub.Xut flows from the circuit XCSa to the circuit XCL. For example, when the value of the first bit is “0” and the value of the second bit is “1”, a low-level potential is supplied to the wiring DX[1], and a high-level potential is supplied to the wiring DX[2]. In this case, the constant current 2I.sub.Xut flows from the circuit XCSa to the wiring XCL. For example, when the value of the first bit is “1” and the value of the second bit is “1”, a high-level potential is supplied to the wiring DX[1] and the wiring DX[2]. In this case, the constant current 3I.sub.Xut flows from the circuit XCSa to the wiring XCL. For example, when the value of the first bit is “0” and the value of the second bit is “0”, a low-level potential is supplied to the wiring DX[1] and the wiring DX[2]. In this case, the constant current does not flow from the circuit XCSa to the wiring XCL. In this specification and the like, this case is sometimes rephrased as “current with the amount 0 flows from the circuit XCSa to the wiring XCL”. The current amount 0, I.sub.Xut, 2I.sub.Xut, 3I.sub.Xut, or the like output from the circuit XCSa can be the second data output from the circuit XCSa; particularly, the current amount I.sub.Xut output from the circuit XCSa can be the reference data output from the circuit XCSa.
[0185] When the transistors in the current sources CS included in the circuit XCSa have different electrical characteristics and this yields errors, the errors in the constant currents I.sub.Xut output from the terminals T1 of the plurality of current sources CS are preferably within 10%, further preferably within 5%, still further preferably within 1%. In this embodiment, the description is made on the assumption that there is no error in the constant currents I.sub.Xut output from the terminals T1 of the plurality of current sources CS included in the circuit XCSa.
[0186] As the current source CS of the circuit XCSa, any of the current source CS1 to the current source CS4 in
[0187] The circuit XCSa in
«Converter Circuit ITRZ [1] to Converter Circuit ITRZ[n]»
[0188] Here, a specific example of a circuit that can be used as the converter circuit ITRZ[1] to the converter circuit ITRZ[n] included in the arithmetic circuit MAC1 in
[0189] The converter circuit ITRZ1 illustrated in
[0190] The converter circuit ITRZ1 in
[0191] The converter circuit ITRZ1 in
[0192] An inverting input terminal of the operational amplifier OP1 is electrically connected to a first terminal of the resistor R5 and a second terminal of the transistor F4. A non-inverting input terminal of the operational amplifier OP1 is electrically connected to a wiring VRL. An output terminal of the operational amplifier OP1 is electrically connected to a second terminal of the resistor R5 and the wiring OL.
[0193] The wiring VRL functions as a wiring for supplying a constant voltage. The constant voltage can be a ground potential (GND), a low-level potential, or the like, for example.
[0194] The converter circuit ITRZ1 with the structure in
[0195] In particular, by setting the constant voltage supplied from the wiring VRL to a ground potential (GND), the inverting input terminal of the operational amplifier OP1 is virtually grounded, and the analog voltage output to the wiring OL can be voltage with reference to the ground potential (GND).
[0196] The converter circuit ITRZ1 in
[0197] When the digital signal output to the wiring OL is 1 bit (binary) in the converter circuit ITRZ2, the converter circuit ITRZ2 may be replaced with a converter circuit ITRZ3 illustrated in
[0198] The converter circuit ITRZ[1] to the converter circuit ITRZ[n] that can be used for the arithmetic circuit MAC1 in
[0199] One embodiment of the present invention is not limited to the circuit structure of the arithmetic circuit MAC1 described in this embodiment. The circuit structure of the arithmetic circuit MAC1 can be changed depending on circumstances. For example, the arithmetic circuit MAC1 may be changed to a structure without the circuit SWS1 like an arithmetic circuit MAC1A illustrated in
Operation Example 1 of Arithmetic Circuit
[0200] Next, an operation example of the arithmetic circuit MAC1 is described.
[0201]
[0202] The circuit WCS in
[0203] Note that in this operation example, the potential of the wiring VE is a ground potential GND. Before Time T11, each potential of the node NN[i,j], the node NN[i+1,j], the node NNref[i], and the node NNref[i+1] is the ground potential GND. Specifically, for example, the initialization potential of the wiring VINIL1 in
«From Time T11 to Time T12»
[0204] In the period from Time T11 to Time T12, a high-level potential (shown as High in
[0205] In the period from Time T11 to Time T12, a low-level potential is applied to the wiring WSL[i] and the wiring WSL[i+1]. Accordingly, in the i-th row of the cell array CA, a low-level potential is applied to the gates of the transistors F1 included in the cell IM[i,1] to the cell IM[i,n] and the gate of the transistor F1m included in the cell IMref[i] so that the transistors F1 and the transistor F1m are turned off. In addition, in the i+1-th row of the cell array CA, a low-level potential is applied to the gates of the transistors F1 included in the cell IM[i+1,1] to the cell IM[i+1,n] and the gate of the transistor F1m included in the cell IMref[i+1] so that the transistors F1 and the transistor F1m are turned off.
[0206] In the period from Time T11 to Time T12, the ground potential GND is applied to the wiring XCL[i] and the wiring XCL[i+1]. Specifically, for example, when the wiring XCL illustrated in
[0207] In the period from Time T11 to Time T12, the first data is not input to the wiring DW[1] to the wiring DW[K] in the circuits WCSa in
[0208] In the period from Time T11 to Time T12, current does not flow through a wiring WCL[j], the wiring XCL[i], and the wiring XCL[i+1]. Therefore, I.sub.F2[i,j], I.sub.F2m[i], I.sub.F2[i+1,j], and I.sub.F2m[i+1] are each 0.
«From Time T12 to Time T13 »
[0209] In the period from Time T12 to Time T13 , a high-level potential is applied to the wiring WSL[i]. Accordingly, in the i-th row of the cell array CA, a high-level potential is applied to the gates of the transistors F1 included in the cell IM[i,1] to the cell IM[i,n] and the gate of the transistor F1m included in the cell IMref[i] so that the transistors F1 and the transistor F1m are turned on. Furthermore, in the period from Time T12 to Time T13 , a low-level potential is applied to the wiring WSL[1] to the wiring WSL[m] except the wiring WSL[i], and in the cell array CA, the transistors F1 included in the cell IM[1,1] to the cell IM[m,n] in the rows other than the i-th row and the transistors F1m included in the cell IMref[1] to the cell IMref[m] in the rows other than the i-th row are in the off state.
[0210] The ground potentials GND have been continuously applied to the wiring XCL[1] to the wiring XCL[m] since before Time T12.
«From Time T13 to Time T14»
[0211] In the period from Time T13 to Time T14, current with a current amount I.sub.0[i,j] flows as the first data from the circuit WCS to the cell array CA through the transistor F3[j]. Specifically, when the wiring WCL illustrated in
[0212] Since I.sub.0[i,j] is equal to 0 when α[i,j] is 0, current does not flow from the circuit WCSa to the cell array CA through the transistor F3[j] in a strict sense, but in this specification and the like, the expression such as “current with I.sub.0[i,j]=0 flows” is sometimes used.
[0213] In the period from Time T13 to Time T14, electrical continuity is established between the wiring WCL[j] and the first terminal of the transistor F1 included in the cell IM[i,j] in the i-th row of the cell array CA, and electrical continuity is not established between the wiring WCL[j] and the first terminals of the transistors F1 included in the cell IM[1,j] to the cell IM[m,j] in the rows except the i-th row of the cell array CA; accordingly, current with the current amount I.sub.0[i,j] flows from the wiring WCL[j] to the cell IM[i,j].
[0214] When the transistor F1 included in the cell IM[i,j] is turned on, the transistor F2 included in the cell has a diode-connected structure. Therefore, when current flows from the wiring WCL[j] to the cell IM[i,j], the potentials of the gate of the transistor F2 and the second terminal of the transistor F2 are substantially equal to each other. The potentials are determined by the amount of current flowing from the wiring WCL[j] to the cell IM[i,j], the potential of the first terminal of the transistor F2 (here, GND), and the like. In this operation example, the current with the current amount I.sub.0[i,j] flows from the wiring WCL[j] to the cell whereby the potential of the gate of the transistor F2 (the node NN[i,j]) becomes V.sub.g[i,j]. That is, the gate-source voltage of the transistor F2 is V.sub.g[i,j]−GND, and the current with the amount I.sub.0[i,j] is set as current flowing between the first terminal and the second terminal of the transistor F2.
[0215] Here, when the threshold voltage of the transistor F2 is V.sub.th[i,j], the current with the amount I.sub.0[i,j] in the case where the transistor F2 operates in the subthreshold region can be expressed by the following formula.
[Formula 1]
I.sub.0[i,j]=I.sub.a exp{J(V.sub.g[i,j]−V.sub.th[i,j])} (1.1)
[0216] Note that I.sub.a is a drain current for the case where V.sub.g[i,j] is V.sub.th[i,j], and J is a correction coefficient determined by the temperature, the device structure, and the like.
[0217] In the period from Time T13 to Time T14, current with a current amount I.sub.ref0 flows as the reference data from the circuit XCS to the wiring XCL[i]. Specifically, when the wiring XCL illustrated in
[0218] In the period from Time T13 to Time T14, since electrical continuity is established between the first terminal of the transistor F1m included in the cell IMref[i] and the wiring XCL[i], the current with the current amount I.sub.ref0 flows from the wiring XCL[i] to the cell IMref[i].
[0219] As in the cell IM[i,j], when the transistor F1m included in the cell IMref[i] is turned on, the transistor F2m included in the cell IMref[i] has a diode-connected structure. Therefore, when current flows from the wiring XCL[i] to the cell IMref[i], the potentials of the gate of the transistor F2m and the second terminal of the transistor F2m are substantially equal to each other. The potentials are determined by the amount of current flowing from the wiring XCL[i] to the cell IMref[i], the potential of the first terminal of the transistor F2m (here, GND), and the like. In this operation example, the current with the current amount I.sub.ref0 flows from the wiring XCL[i] to the cell IMref[i], whereby the potential of the gate of the transistor F2 (the node NNref[i]) becomes V.sub.gm[i]; at this time, the potential of the wiring XCL[i] is also V.sub.gm[i]. That is, the gate-source voltage of the transistor F2m is V.sub.gm[i]−GND, and the current with the amount I.sub.ref0 is set as current flowing between the first terminal and the second terminal of the transistor F2m.
[0220] Here, when the threshold voltage of the transistor F2m is V.sub.thm[i], the current amount I.sub.ref0 in the case where the transistor F2m operates in the subthreshold region can be expressed by the following formula. Note that the correction coefficient J is the same as that of the transistor F2 included in the cell IM[i,j]. For example, the same device structure and the same size (channel length and channel width) are used for the transistors. Furthermore, although variations in manufacturing cause variations in the correction coefficient J among the transistors, the variations are suppressed to the extent that the argument described later can be made with sufficient precision for practical purposes.
[Formula 2]
I.sub.ref0=I.sub.a exp{J(V.sub.gm[i]−V.sub.thm[i])} (1.2)
[0221] Here, a weight coefficient w[i,j] that is the first data is defined as follows.
[Formula 3]
w[i,j]=exp{J(V.sub.g[i,j]−V.sub.th[i,j]−V.sub.gm[i]+V.sub.thm[i])} (1.3)
[0222] Therefore, Formula (1.1) can be rewritten to the following formula.
[0223] When the current I.sub.Wut output from the current source CS of the circuit WC Sa in
«From Time T14 to Time T15»
[0224] In the period from Time T14 to Time T15, a low-level potential is applied to the wiring WSL[i]. Accordingly, in the i-th row of the cell array CA, a low-level potential is applied to the gates of the transistors F1 included in the cell IM[i,1] to the cell IM[i,n] and the gate of the transistor F1m included in the cell IMref[i] so that the transistors F1 and the transistor F1m are turned off.
[0225] When the transistor F1 included in the cell IM[i,j] is turned off, V.sub.g[i,j]−V.sub.gm[i], which is a difference between the potential of the gate of the transistor F2 (the node NN[i,j]) and the potential of the wiring XCL[i], is retained in the capacitor C5. When the transistor F1 included in the cell IMref[i] is turned off, 0, which is a difference between the potential of the gate of the transistor F2m (the node NNref[i]) and the potential of the wiring XCL[i], is retained in the capacitor C5m. In the operation from Time T13 to Time T14, the voltage retained in the capacitor C5m might be voltage that is not 0 (e.g., Δ) depending on the transistor characteristics and the like of the transistor F1m and the transistor F2m. In this case, the potential of the node NNref[i] is regarded as a potential obtained by adding Δ to the potential of the wiring XCL[i].
«From Time T15 to Time T16»
[0226] In the period from Time T15 to Time T16, GND is applied to the wiring XCL[i]. Specifically, for example, when the wiring XCL illustrated in
[0227] Thus, the potentials of the node NN[i,1] to the node NN[i,n] change because of capacitive coupling of the capacitors C5 included in the cell IM[i,1] to the cell IM[i,n] in the i-th row, and the potential of the node NNref[i] changes because of capacitive coupling of the capacitor C5m included in the cell IMref[i].
[0228] The amount of change in the potentials of the node NN[i,1] to the node NN[i,n] is a potential obtained by multiplying the amount of change in the potential of the wiring XCL[i] by a capacitive coupling coefficient determined by the structures of the cell IM[i,1] to the cell IM[i,n] included in the cell array CA. The capacitive coupling coefficient is calculated using the capacitance of the capacitor C5, the gate capacitance of the transistor F2, the parasitic capacitance, and the like. When the capacitive coupling coefficient due to the capacitor C5 is p in each of the cell IM[i,1] to the cell IM[i,n], the potential of the node NN[i,j] in the cell IM[i,j] decreases by p(V.sub.gm[i]−GND) from the potential of the period from Time T14 to Time T15.
[0229] Similarly, when the potential of the wiring XCL[i] changes, the potential of the node NNref[i] also changes because of capacitive coupling of the capacitor C5m included in the cell IMref[i]. In the case where the capacitive coupling coefficient due to the capacitor C5m is p as with the capacitor C5, the potential of the node NNref[i] in the cell IMref[i] decreases by p(V.sub.gm[i]−GND) from the potential of the period from Time T14 to Time T15.
[0230] Accordingly, the potential of the node NN[i,j] of the cell IM[i,j] decreases, so that the transistor F2 is turned off; similarly, the potential of the node NNref[i] of the cell IMref[i] decreases, so that the transistor F2m is also turned off. Therefore, I.sub.F2[i,j] and I.sub.F2m[i] are each 0 in the period from Time T15 to Time T16. Note that the potential of the node NN[i,j] is lower than the ground potential GND in the period from Time T14 to Time T15 in the timing chart in
«From Time T16 to Time T17»
[0231] In the period from Time T16 to Time T17, a high-level potential is applied to the wiring WSL[i+1]. Accordingly, in the i+1-th row of the cell array CA, a high-level potential is applied to the gates of the transistors F1 included in the cell IM[i+1,1] to the cell IM[i+1,n] and the gate of the transistor F1m included in the cell IMref[i+1] so that the transistors F1 and the transistor F1m are turned on. Furthermore, in the period from Time T16 to Time T17, a low-level potential is applied to the wiring WSL[1] to the wiring WSL[m] except the wiring WSL[i+1], and in the cell array CA, the transistors F1 included in the cell IM[1,1] to the cell IM[m,n] in the rows other than the i+1-th row and the transistors F1m included in the cell IMref[1] to the cell IMref[m] in the rows other than the i+1-th row are in an off state.
[0232] The ground potential GND has been continuously applied to the wiring XCL[1] to the wiring XCL[m] since before Time T16.
«From Time T17 to Time T18»
[0233] In the period from Time T17 to Time T18, current with a current amount I.sub.0[i+1,j] flows as the first data from the circuit WCS to the cell array CA through the transistor F3[j]. Specifically, when the wiring WCL illustrated in
[0234] Since I.sub.0[i+1,j] is 0 when α[i+1,j] is 0, current does not flow from the circuit WCSa to the cell array CA through the transistor F3[j] in a strict sense, but in this specification and the like, the expression such as “current with I.sub.0[i+1,j]=0 flows” is sometimes used, as in the case of I.sub.0[i,j]=0.
[0235] At this time, electrical continuity is established between the wiring WCL[j] and the first terminal of the transistor F1 included in the cell IM[i+1,j] in the i+1-th row of the cell array CA, and electrical continuity is not established between the wiring WCL[j] and the first terminals of the transistors F1 included in the cell IM[1,j] to the cell IM[m,j] in the rows except the i+1-th row of the cell array CA; accordingly, the current with the current amount I.sub.0[i+1,j] flows from the wiring WCL[j] to the cell IM[i+1,j].
[0236] When the transistor F1 included in the cell IM[i+1,j] is turned on, the transistor F2 included in the cell IM[i+1,j] has a diode-connected structure. Therefore, when current flows from the wiring WCL[j] to the cell IM[i+1,j], the potentials of the gate of the transistor F2 and the second terminal of the transistor F2 are substantially equal to each other. The potentials are determined by the amount of current flowing from the wiring WCL[j] to the cell IM[i+1, j], the potential of the first terminal of the transistor F2 (here, GND), and the like. In this operation example, the current with the current amount I.sub.0[i+1,j] flows from the wiring WCL[j] to the cell IM[i+1, j], whereby the potential of the gate of the transistor F2 (the node NN[i+1,j]) becomes V.sub.g[i+1,j]. That is, the gate-source voltage of the transistor F2 is V.sub.g[i+1,j]−GND, and the current amount I.sub.0[i+1,j] is set as current flowing between the first terminal and the second terminal of the transistor F2.
[0237] Here, when the threshold voltage of the transistor F2 is V.sub.th[i+1,j], the current amount I.sub.0[i+1,j] in the case where the transistor F2 operates in the subthreshold region can be expressed by the following formula. Note that the correction coefficient is J, which is the same as those of the transistor F2 included in the cell IM[i,j] and the transistor F2m included in the cell IMref[i].
[Formula 5]
I.sub.0[i+1,j]=I.sub.a exp{J(V.sub.g[i+1,j]−V.sub.th[i+1,j])} (1.5)
[0238] In the period from Time T17 to Time T18, the current with the current amount I.sub.ref0 flows as the reference data from the circuit XCS to the wiring XCL[i+1]. Specifically, as in the period from Time T13 to Time T14, when the wiring XCL illustrated in
[0239] In the period from Time T17 to Time T18, since electrical continuity is established between the first terminal of the transistor F1m included in the cell IMref[i+1] and the wiring XCL[j+1], the current with the current amount I.sub.ref0 flows from the wiring XCL[j+1] to the cell IMref[i+1].
[0240] As in the cell IM[i+1,j], when the transistor F1m included in the cell IMref[i+1] is turned on, the transistor F2m included in the cell IMref[i+1,j] has a diode-connected structure. Therefore, when current flows from the wiring XCL[i+1] to the cell IMref[i+1], the potentials of the gate of the transistor F2m and the second terminal of the transistor F2m are substantially equal to each other. The potentials are determined by the amount of current flowing from the wiring XCL[i+1] to the cell IMref[i+1], the potential of the first terminal of the transistor F2m (here, GND), and the like. In this operation example, the current with the current amount I.sub.ref0 flows from the wiring XCL[i+1] to the cell IMref[i+1], whereby the potential of the gate of the transistor F2 (the node NNref[i+1]) becomes V.sub.gm[i+1]; at this time, the potential of the wiring XCL[i+1] is also V.sub.gm[i+1]. That is, the gate-source voltage of the transistor F2m is V.sub.gm[i+1]−GND, and the current amount I.sub.ref0 is set as current flowing between the first terminal and the second terminal of the transistor F2m.
[0241] Here, when the threshold voltage of the transistor F2m is V.sub.thm[i+1,j], the current amount I.sub.ref0 in the case where the transistor F2m operates in the subthreshold region can be expressed by the following formula. Note that the correction coefficient J is the same as that of the transistor F2 included in the cell IM[i+1,j].
[Formula 6]
I.sub.ref0=I.sub.a exp{J(V.sub.gm[i+1]−V.sub.thm[i+1])} (1.6)
[0242] Here, a weight coefficient w[i+1,j] that is the first data is defined as follows.
[0243] Therefore, Formula (1.5) can be rewritten to the following formula.
[0244] When the current I.sub.Wut output from the current source CS of the circuit WCSa in
«From Time T18 to Time T19»
[0245] In the period from Time T18 to Time T19, a low-level potential is applied to the wiring WSL[i+1]. Accordingly, in the i+1-th row of the cell array CA, a low-level potential is applied to the gates of the transistors F1 included in the cell IM[i+1,1] to the cell IM[i+1,n] and the gate of the transistor F1m included in the cell IMref[i+1] so that the transistors F1 and the transistor F1m are turned off.
[0246] When the transistor F1 included in the cell IM[i+1,j] is turned off, V.sub.g[i+1,j]−V.sub.gm[i+1], which is a difference between the potential of the gate of the transistor F2 (the node NN[i+1,j]) and the potential of the wiring XCL[i+1], is retained in the capacitor C5. When the transistor F1 included in the cell IMref[i+1] is turned off, 0, which is a difference between the potential of the gate of the transistor F2m (the node NNref[i+1]) and the potential of the wiring XCL[i+1], is retained in the capacitor C5m. In the operation from Time T18 to Time T19, the voltage retained in the capacitor C5m might be voltage that is not 0 (e.g., Δ) depending on the transistor characteristics and the like of the transistor F1m and the transistor F2m. In this case, the potential of the node NNref[i+1] is regarded as a potential obtained by adding Δ to the potential of the wiring XCL[i+1].
«From Time T19 to Time T20»
[0247] In the period from Time T19 to Time T20, the ground potential GND is applied to the wiring XCL[i+1]. Specifically, for example, when the wiring XCL illustrated in
[0248] Thus, the potentials of the node NN[i,1] to the node NN[i+1,n] change because of capacitive coupling of the capacitors C5 included in the cell IM[i+1,1] to the cell IM[i+1,n] in the i+1-th row, and the potential of the node NNref[i+1] changes because of capacitive coupling of the capacitor C5m included in the cell IMref[i+1].
[0249] The amount of change in the potentials of the node NN[i+1,1] to the node NN[i+1,n] is a potential obtained by multiplying the amount of change in the potential of the wiring XCL[i+1] by a capacitive coupling coefficient determined by the structures of the cell IM[i+1,1] to the cell IM[i+1,n] included in the cell array CA. The capacitive coupling coefficient is calculated using the capacitance of the capacitor C5, the gate capacitance of the transistor F2, the parasitic capacitance, and the like. In the case where the capacitive coupling coefficient due to the capacitor C5 in each of the cell IM[i+1,1] to the cell IM[i+1,n] is p, which is the same as the capacitive coupling coefficient due to the capacitor C5 in each of the cell IM[i,1] to the cell IM[i,n], the potential of the node NN[i+1,j] in the cell IM[i+1,j] decreases by p(V.sub.gm[i+1]−GND) from the potential of the period from Time T18 to Time T19.
[0250] Similarly, when the potential of the wiring XCL[i+1] changes, the potential of the node NNref[i+1] also changes because of capacitive coupling of the capacitor C5m included in the cell IMref[i+1]. In the case where the capacitive coupling coefficient due to the capacitor C5m is p as with the capacitor C5, the potential of the node NNref[i+1] in the cell IMref[i+1] decreases by p(V.sub.gm[i+1]−GND) from the potential of the period from Time T18 to Time T19.
[0251] Accordingly, the potential of the node NN[i+1,j] of the cell IM[i+1,j] decreases, so that the transistor F2 is turned off; similarly, the potential of the node NNref[i+1] of the cell IMref[i+1] decreases, so that the transistor F2m is also turned off. Therefore, I.sub.F2[i+1,j] and I.sub.F2m[i+1] are each 0 in the period from Time T19 to Time T20. Note that the potential of the node NN[i+1,j] is lower than the ground potential GND in the period from Time T19 to Time T20 in the timing chart in
«From Time T20 to Time T21»
[0252] In the period from Time T20 to Time T21, a low-level potential is applied to the wiring SWL1. Accordingly, a low-level potential is applied to each of the gates of the transistor F3[1] to the transistor F3[n], whereby the transistor F3[1] to the transistor F3[n] are turned off.
«From Time T21 to Time T22»
[0253] In the period from Time T21 to Time T22, a high-level potential is applied to the wiring SWL2. Accordingly, a high-level potential is applied to each of the gates of the transistor F4[1] to the transistor F4[n], whereby the transistor F4[1] to the transistor F4[n] are turned on.
«From Time T22 to Time T23»In the period from Time T22 to Time T23, current x[i]I.sub.ref0, which is x[i] times as high as the current with the amount I.sub.ref0, flows as the second data from the circuit XCS to the wiring XCL[i]. Specifically, for example, when the wiring XCL illustrated in
[0254] When the potential of the wiring XCL[i] changes, the potentials of the node NN[i,1] to the node NN[i,n] also change because of the capacitive coupling of the capacitors C5 included in the cell IM[i,1] to the cell IM[i,n] in the i-th row of the cell array CA. Thus, the potential of the node NN[i,j] in the cell IM[i,j] becomes V.sub.g[i,j]+pΔV[i].
[0255] Similarly, when the potential of the wiring XCL[i] changes, the potential of the node NNref[i] also changes because of capacitive coupling of the capacitor C5m included in the cell IMref[i]. Thus, the potential of the node NNref[i] in the cell IMref[i] becomes V.sub.gm[i]+pΔV[i].
[0256] Accordingly, current with an amount I.sub.1[i,j] that flows between the first terminal and the second terminal of the transistor F2 and current with an amount I.sub.ref1[i,j] that flows between the first terminal and the second terminal of the transistor F2m in the period from Time T22 to Time T23 can be expressed as follows.
[0257] According to Formula (1.9) and Formula (1.10), x[i] can be expressed by the following formula.
[Formula 11]
x[i]=exp (JpΔV[i]) (1.11)
[0258] Therefore, Formula (1.9) can be rewritten to the following formula.
[Formula 12]
I.sub.1[i,j]w[i,j]I.sub.ref0 (1.12)
[0259] That is, the amount of current flowing between the first terminal and the second terminal of the transistor F2 included in the cell IM[i,j] is proportional to the product of the first data w[i,j] and the second data x[i].
[0260] In the period from Time T22 to Time T23, current x[i+1]I.sub.ref0, which is x[i+1] times as high as the current with the amount I.sub.ref0, flows as the second data from the circuit XCS to the wiring XCL[i+1]. Specifically, for example, when the wiring XCL illustrated in
[0261] When the potential of the wiring XCL[i+1] changes, the potentials of the node NN[i+1,1] to the node NN[i+1,n] also change because of the capacitive coupling of the capacitors C5 included in the cell IM[i+1,1] to the cell IM[i+1,n] in the i+1-th row of the cell array CA. Thus, the potential of the node NN[i+1,j] in the cell IM[i+1,j] becomes V.sub.g[i+1,j]+pΔV[i+1].
[0262] Similarly, when the potential of the wiring XCL[i+1] changes, the potential of the node NNref[i+1] also changes because of capacitive coupling of the capacitor C5m included in the cell IMref[i+1]. Thus, the potential of the node NNref[i+1] in the cell IMref[i+1] becomes V.sub.gm[i+1]+pΔV[i+1].
[0263] Accordingly, current with an amount I.sub.1[i+1,j] that flows between the first terminal and the second terminal of the transistor F2 and current with an amount I.sub.ref1[i+1,j] that flows between the first terminal and the second terminal of the transistor F2m in the period from Time T22 to Time T23 can be expressed as follows.
[0264] According to Formula (1.13) and Formula (1.14), x[i+1] can be expressed by the following formula.
[Formula 15]
x[i+1]=exp(JpΔV[i+1]) (1.15)
[0265] Therefore, Formula (1.13) can be rewritten to the following formula.
[Formula 16]
I.sub.1[i+1,j]=x[i+1,j]I.sub.ref0 (1.16)
[0266] That is, the amount of current flowing between the first terminal and the second terminal of the transistor F2 included in the cell IM[i+1,j] is proportional to the product of the first data w[i+1,j] and the second data x[i+1].
[0267] Here, the sum of the amounts of current flowing from the converter circuit ITRZ[j] to the cell IM[i,j] and the cell IM[i+1,j] through the transistor F4[j] and the wiring WCL[j] is considered. According to Formula (1.12) and Formula (1.16), when the sum of the amounts of current is I.sub.S[j], I.sub.S[j] can be expressed by the following formula.
[Formula 17]
I.sub.S[j]=I.sub.1[i,j]+I.sub.1[i+1,j]
=I.sub.ref0(x[i]w[i,j]+x[i+1]w[i+1,j]) (1.17)
[0268] Thus, the amount of current output from the converter circuit ITRZ[j] is the amount of current proportional to the sum of products of the weight coefficients w[i,j] and w[i+1,j] that are the first data and the values x[i] and x[i+1] of the signals of the neurons that are the second data.
[0269] Although the sum of the amounts of current flowing to the cell IM[i,j] and the cell IM[i+1,j] is described in the above-described operation example, the sum of the amounts of current flowing to a plurality of cells, the cell IM[1,j] to the cell IM[m,j], may be described. In this case, Formula (1.17) can be rewritten to the following formula.
[0270] Thus, even in the case of the arithmetic circuit MAC1 including the cell array CA with three or more rows and two or more columns, product-sum operation can be performed in the above-described manner. In the arithmetic circuit MAC1 of such a case, cells in one of the plurality of columns are used for retaining I.sub.ref0 and I.sub.ref0 as the amount of current, whereby product-sum operations, the number of which corresponds to the number of rest of the columns among the plurality of columns, can be executed concurrently. That is, when the number of columns in a memory cell array increases, a semiconductor device that achieves high-speed product-sum operation can be provided.
[0271] The above operation example of the arithmetic circuit MAC1 is suitable when product-sum operation of the positive first data and the positive second data is performed. Embodiment 2 will describe an operation example in which product-sum operation of the positive or negative first data and the positive second data is performed, and an operation example in which product-sum operation of the positive or negative first data and the positive or negative second data is performed.
[0272] Although this embodiment describes the case where the transistors included in the arithmetic circuit MAC1 are OS transistors or Si transistors, one embodiment of the present invention is not limited thereto. As the transistors included in the arithmetic circuit MAC1, it is possible to use, for example, a transistor containing Ge or the like in an active layer; a transistor containing a compound semiconductor such as ZnSe, CdS, GaAs, InP, GaN, or SiGe in an active layer; a transistor containing a carbon nanotube in an active layer; and a transistor containing an organic semiconductor in an active layer.
[0273] Note that this embodiment can be combined with any of the other embodiments in this specification as appropriate.
Embodiment 2
[0274] In Embodiment 1, the arithmetic circuit that performs the product-sum operation of the positive or “0” first data and the positive or “0” second data and its operation example are described; in this embodiment, an arithmetic circuit that can perform product-sum operation of the positive, negative, or “0” first data and the positive or “0” second data, and product-sum operation of the positive, negative, or “0” first data and the positive, negative, or “0” second data is described.
Structure Example 1 of Arithmetic Circuit
[0275]
[0276] The cell array CA illustrated in
[0277] The cells IM can have a structure similar to that of the cell IM[1,1] to the cell IM[m,n] included in the cell array CA in the arithmetic circuit MAC1 in
[0278] The cells IMr can have a structure similar to that of the cells IM.
[0279] Specifically, the cells IMr each include a transistor F1r, a transistor F2r, and a capacitor C5r. The transistor F1r corresponds to the transistor F1 in the cell IM, the transistor F2r corresponds to the transistor F2 in the cell IM, and the capacitor C5r corresponds to the capacitor C5 in the cell IM. Thus, for the electrical connection structure between the transistor F1r, the transistor F2r, and the capacitor C5r, refer to the description of IM[1,1] to the cell IM[m,n] in Embodiment 1.
[0280] In the cell IMr, a connection portion of a first terminal of the transistor F1r, a gate of the transistor F2r, and a first terminal of the capacitor C5r is a node NNr.
[0281] In the circuit CES[1,j], the second terminal of the capacitor C5 is electrically connected to the wiring XCL[1], the gate of the transistor F1 is electrically connected to the wiring WSL[1], and the second terminal of the transistor F1 and the second terminal of the transistor F2 are electrically connected to the wiring WCL[j]. A second terminal of the capacitor C5r is electrically connected to the wiring XCL[1], a gate of the transistor F1r is electrically connected to the wiring WSL[1], and a second terminal of the transistor F1r and a second terminal of the transistor F2r are electrically connected to a wiring WCLr[j].
[0282] Similarly, in the circuit CES[m,j], the second terminal of the capacitor C5 is electrically connected to the wiring XCL[m], the gate of the transistor F1 is electrically connected to the wiring WSL[m], and the second terminal of the transistor F1 and the second terminal of the transistor F2 are electrically connected to the wiring WCL[j]. The second terminal of the capacitor C5r is electrically connected to the wiring XCL[m], the gate of the transistor F1r is electrically connected to the wiring WSL[m], and the second terminal of the transistor F1r and the second terminal of the transistor F2r are electrically connected to the wiring WCLr[j].
[0283] The wiring WCL[j] and the wiring WCLr[j] function as, for example, wirings that supply current from the circuit WCS to the cells IM and the cells IMr included in the circuits CES, like the wiring WCL[1] to the wiring WCL[n] described in Embodiment 1. For example, the wiring WCL[j] and the wiring WCLr[j] function as wirings that supply current from a converter circuit ITRZD[j] to the cells IM and the cells IMr included in the circuits CES.
[0284] In the arithmetic circuit MAC2 in
[0285] In the arithmetic circuit MAC2 in
[0286] The converter circuit ITRZD[j] is a circuit corresponding to the converter circuit ITRZ[1] to the converter circuit ITRZ[n] in the arithmetic circuit MAC1; for example, the converter circuit ITRZD[j] has a function of generating voltage corresponding to the difference between the amount of current flowing from the converter circuit ITRZD[j] to the wiring WCL[j] and the amount of current flowing from the converter circuit ITRZD[j] to the wiring WCLr[j] and outputting the voltage to the wiring OL[j].
[0287]
[0288] The converter circuit ITRZD1 in
[0289] The converter circuit ITRZD1 in
[0290] An inverting input terminal of the operational amplifier OPP is electrically connected to a first terminal of the resistor RP and the second terminal of the transistor F4. A non-inverting input terminal of the operational amplifier OPP is electrically connected to a wiring VRPL. An output terminal of the operational amplifier OPP is electrically connected to a second terminal of the resistor RP and a non-inverting input terminal of the operational amplifier OP2. An inverting input terminal of the operational amplifier OPM is electrically connected to a first terminal of the resistor RM and the second terminal of the transistor F4r. A non-inverting input terminal of the operational amplifier OPM is electrically connected to a wiring VRML. An output terminal of the operational amplifier OPM is electrically connected to a second terminal of the resistor RM and an inverting input terminal of the operational amplifier OP2. An output terminal of the operational amplifier OP2 is electrically connected to the wiring OL.
[0291] The wiring VRPL functions as a wiring for supplying a constant voltage. The constant voltage can be, for example, a ground potential (GND), a low-level potential, or the like. The wiring VRML functions as a wiring for supplying a constant voltage. The constant voltage can be, for example, a ground potential (GND), a low-level potential, or the like. The constant voltages supplied from the wiring VRPL and the wiring VRML may be equal to each other or different from each other. In particular, by setting the constant voltages supplied from the wiring VRPL and the wiring VRML to ground potentials (GND), the inverting input terminal of the operational amplifier OPP and the inverting input terminal of the operational amplifier OPM can be virtually grounded.
[0292] The converter circuit ITRZD1 with the structure in
[0293] The converter circuit ITRZD1 in
[0294] When the digital signal output to the wiring OL is 1 bit (binary) in the converter circuit ITRZD2, the converter circuit ITRZD2 may be replaced with a converter circuit ITRZD3 illustrated in
«Example of Retaining First Data»
[0295] Next, an example of the circuit CES in the arithmetic circuit MAC2 in
[0296] Since the circuit CES includes the cell IM and the cell IMr, the circuit CES can use the two circuits, the cell IM and the cell IMr, to retain the first data. Two current amounts are set for the circuit CES and potentials corresponding to the current amounts can be retained in the cell IM and the cell IMr. The first data can thus be represented with the current amount set in the cell IM and the current amount set in the cell IMr.
[0297] The positive first data, the negative first data, or the “0” first data to be retained in the circuit CES is defined as follows.
[0298] To retain the positive first data in the circuit CES[1,j], the cell IM[1,j] is set such that current with an amount corresponding to the absolute value of the positive first data flows between the first terminal and the second terminal of the transistor F2 in the cell IM[1,j], for example. Specifically, a potential corresponding to the current amount is retained in the gate of the transistor F2 (the node NN[1,j]). By contrast, the cell IMr[1,j] is set such that current does not flow between the first terminal and the second terminal of the transistor F2r in the cell IMr[1,j], for example. Specifically, the gate of the transistor F2r (the node NNr[1,j]) retains the potential supplied from the wiring VE, the initialization potential supplied from the wiring VINIL1 of the circuit WCSa in
[0299] To retain the negative first data in the circuit CES[1,j], the cell IMr[1,j] is set such that current with an amount corresponding to the absolute value of the negative first data flows through the transistor F2r in the cell IMr[1,j], for example. Specifically, a potential corresponding to the current amount is retained in the gate of the transistor F2r (the node NNr[1,j]). By contrast, the cell IM[1,j] is set such that current does not flow through the transistor F2 in the cell IM[1,j], for example. Specifically, the gate of the transistor F2 (the node NN[1,j]) retains the potential supplied from the wiring VE, the initialization potential supplied from the wiring VINIL1 of the circuit WCSa in
[0300] To retain the “0” first data in the circuit CES[1,j], current is set not to flow through the transistor F2 of the cell IM[1,j] and the transistor F2r of the cell IMr[1,j], for example. Specifically, the gate of the transistor F2 (the node NN[1,j]) and the gate of the transistor F2r (the node NNr[1,j]) retain the potential supplied from the wiring VE, the initialization potential supplied from the wiring VINIL1 of the circuit WCSa in
[0301] To retain the positive first data or the negative first data in another circuit CES, current with an amount corresponding to the first data is set to flow through one of the path between the cell IM and the wiring WCL and the path between the cell IMr and the wiring WCLr while current is set not to flow through the other of the path between the cell IM and the wiring WCL and the path between the cell IMr and the wiring WCLr, as in the circuit CES[1,j]. To retain the “0” first data in another circuit CES, current is set not to flow between the cell IM and the wiring WCL and between the cell IMr and the wiring WCLr, as in the circuit CES[1,j].
[0302] For example, to retain each of “+3”, “+2”, “+1”, “0”, “−1”, “−2”, and “−3” as the first data in the circuit CES, the amount of current flowing from the wiring WCL to the cell IM and the amount of current flowing from the wiring WCLr to the cell IMr are set as described above, whereby each of “+3”, “+2”, “+1”, “0”, “−1”, “−2”, and “−3” as the first data can be defined as in the following table.
TABLE-US-00001 TABLE 1 Current flowing from Current flowing from First data wiring WCL to cell IM wiring WCLr to cell IMr +3 3I.sub.Wut 0 +2 2I.sub.Wut 0 +1 I.sub.Wut 0 0 0 0 −1 0 I.sub.Wut −2 0 2I.sub.Wut −3 0 3I.sub.Wut
[0303] Here, the case is considered in which each of the circuit CES[1,j] to the circuit CES[m,j] retains the first data and the second data is input to each of the wiring XCL[1] to the wiring XCL[m] in the arithmetic circuit MAC2 in
[0304] Note that w[i,j] shown in Formula (2.1) is the value of the first data written to the cell IM[i,j], and w.sub.r[i,j] shown in Formula (2.2) is the value of the first data written to the cell IMr[i,j]. When the value of one of w[i,j] and w.sub.r[i,j] is not “0”, the other of w[i,j] and w.sub.r[i,j] is set to the value of “0”, whereby the first data retained in the circuit CES[i,j] can follow the definition shown in Table 1, for example.
[0305] The converter circuit ITRZD[j] converts the sum I.sub.S[j] of the amounts of current flowing through the wiring WCL into the first voltage, and the sum I.sub.Sr[j] of the amounts of current flowing through the wiring WCLr into the second voltage, for example. Then, the converter circuit ITRZD[j] can output voltage corresponding to the difference between the first voltage and the second voltage to the wiring OL.
[0306] The converter circuit ITRZD1 to the converter circuit ITRZD3 illustrated in
[0307] A converter circuit ITRZD4 illustrated in
[0308]
[0309] The converter circuit ITRZD4 in
[0310] The converter circuit ITRZD4 in
[0311] The second terminal of the transistor F4 is electrically connected to a first terminal of the current mirror circuit CM1 and an output terminal of the current source CI, and the second terminal of the transistor F4r is electrically connected to a second terminal of the current mirror circuit CM1, an output terminal of the current source CIr, and a first terminal of the transistor F5. An input terminal of the current source CI is electrically connected to a wiring VHE, and an input terminal of the current source CIr is electrically connected to the wiring VHE. A third terminal of the current mirror circuit CM1 is electrically connected to a wiring VSE, and a fourth terminal of the current mirror circuit CM1 is electrically connected to the wiring VSE.
[0312] A second terminal of the transistor F5 is electrically connected to the wiring OL, and a gate of the transistor F5 is electrically connected to a wiring OEL.
[0313] The current mirror circuit CM1 has, for example, a function of making current with an amount corresponding to the potential of the first terminal of the current mirror circuit CM1 flow between the first terminal and the third terminal of the current mirror circuit CM1 and between the second terminal and the fourth terminal of the current mirror circuit CM1.
[0314] The wiring VHE functions as a wiring for supplying a constant voltage, for example. Specifically, the constant voltage can be a high-level potential or the like, for example.
[0315] The wiring VSE functions as a wiring for supplying a constant voltage, for example. Specifically, the constant voltage can be, for example, a low-level potential, a ground potential, or the like.
[0316] The wiring OEL functions as, for example, a wiring for transmitting a signal to switch the on state and the off state of the transistor F5. Specifically, for example, a high-level potential or a low-level potential is input to the wiring OEL.
[0317] The current source CI has a function of making a constant current flow between the input terminal and the output terminal of the current source CI. The current source CIr has a function of making a constant current flow between the input terminal and the output terminal of the current source CIr. The amount of current flowing from the current source CI and the amount of current flowing from the current source CIr are preferably equal to each other in the converter circuit ITRZD4 in
[0318] An operation example of the converter circuit ITRZD4 in
[0319] In the arithmetic circuit MAC2 in
[0320] When a high-level potential is input to the wiring SWL2, the transistor F4 and the transistor F4r are turned on. Accordingly, the amount of current flowing from the first terminal to the third terminal of the current mirror circuit CM1 becomes I.sub.0-I.sub.S. Due to the current mirror circuit CM1,the current with the amount I.sub.0−I.sub.S flows from the second terminal to the fourth terminal of the current mirror circuit CM1.
[0321] Next, a high-level potential is input to the wiring OEL to turn on the transistor F5. When the amount of current flowing through the wiring OL is I.sub.out, I.sub.out is I.sub.0−(I.sub.0−I.sub.S)−I.sub.Sr=I.sub.S−I.sub.Sr.
[0322] For retention of the first data in the circuit CES to perform product-sum operation of the positive, negative, or “0” first data and the positive or “0” second data in the arithmetic circuit MAC2 in
[0323] That is, to retain the positive first data in the circuit CES[i,j], the cell IM[i,j] is set such that the current with the amount corresponding to the absolute value of the positive first data flows between the first terminal and the second terminal of the transistor F2 of the cell IM[i,j], and the cell IMr[i,j] is set such that current does not flow between the first terminal and the second terminal of the transistor F2r of the cell IMr[i,j]. To retain the negative first data in the circuit CES[i,j], the cell IM[i,j] is set such that current does not flow between the first terminal and the second terminal of the transistor F2 of the cell IM[i,j], and the cell IMr[i,j] is set such that the current with the amount corresponding to the absolute value of the negative first data flows between the first terminal and the second terminal of the transistor F2r of the cell IMr[i,j]. To retain the “0” first data in the circuit CES[i,j], the cell IM[i,j] is set such that current does not flow between the first terminal and the second terminal of the transistor F2 of the cell IM[i,j], and the cell IMr[i,j] is set such that current does not flow between the first terminal and the second terminal of the transistor F2r of the cell IMr[i,j].
[0324] Here, in the case where the second data is input to each of the wiring XCL[1] to the wiring XCL[m] of the arithmetic circuit MAC2 in
[0325] I.sub.S is the sum of the amounts of current flowing through the cell IM[1,j] to the cell IM[m,j] positioned in the j-th row. Thus, I.sub.S is the sum of the amounts of current flowing through the cells IM included in the circuits CES in which the positive first data is retained out of the circuit CES[1,j] to the circuit CES[m,j]; for example, I.sub.S can be expressed as in Formula (2.1). That is, I.sub.S corresponds to the result of product-sum operation of the absolute value of the positive first data and the second data. I.sub.Sr is the sum of the amounts of current flowing through the cell IMr[1,j] to the cell IMr[m,j] positioned in the j-th row. Thus, I.sub.Sr is the sum of the amounts of current flowing through the cells IMr included in the circuits CES in which the negative first data is retained out of the circuit CES[1,j] to the circuit CES[m,j]; for example, I.sub.Sr can be expressed as in Formula (2.2). That is, I.sub.Sr corresponds to the result of product-sum operation of the absolute value of the negative first data and the second data.
[0326] Thus, the current with the amount I.sub.out=I.sub.S−I.sub.Sr flowing to the wiring OL corresponds to the difference between the result of the product-sum operation of the absolute value of the positive first data and the second data and the result of the product-sum operation of the absolute value of the negative first data and the second data. That is, I.sub.out=I.sub.S−I.sub.Sr corresponds to the result of the product-sum operation of the negative, “0”, or positive first data retained in the circuit CES[1,j] to the circuit CES[m,j] and the second data input to each of the wiring XCL[1] to the wiring XCL[m].
[0327] When the sum of the amounts of current flowing through the cell IM[1,j] to the cell IM[m,j] is larger than the sum of the amounts of current flowing through the cell IMr[1,j] to the cell IMr[m,j], i.e., I.sub.S is larger than I.sub.Sr, I.sub.out is the current amount larger than 0 and flows from the converter circuit ITRZD4 to the wiring OL. By contrast, when the sum of the amounts of current flowing through the cell IM[1,j] to the cell IM[m,j] is smaller than the sum of the amounts of current flowing through the cell IMr[1,j] to the cell IMr[m,j], i.e., I.sub.S is smaller than I.sub.Sr, current does not flow from the wiring OL to the converter circuit ITRZD4 in some cases. That is, when I.sub.S is smaller than I.sub.Sr, I.sub.out can be approximately 0. Therefore, the converter circuit ITRZD4 can be regarded as a ReLU function, for example.
[0328] The ReLU function can be used as an activation function of a neural network, for example. In the arithmetic operation of the neural network, calculation of a product sum of the signal values (e.g., second data) from the neurons in the previous layer and the corresponding weight coefficient (e.g., first data) is required. In response to the result of the product sum, the value of an activation function needs to be calculated. Thus, when the activation function of the neural network is the ReLU function, the arithmetic operation of the neural network can be performed using the arithmetic circuit MAC2 including the converter circuit ITRZD4.
[0329] The hierarchical neural network will be described later in Embodiment 4.
[0330] Next, a specific circuit structure example of the converter circuit ITRZD4 in
[0331] The converter circuit ITRZD4 illustrated in
[0332] In the converter circuit ITRZD4 in
[0333] For example, the first terminal of the current mirror circuit CM1 is electrically connected to a first terminal of the transistor F6, a gate of the transistor F6, and a gate of the transistor F6r, and the third terminal of the current mirror circuit CM1 is electrically connected to a second terminal of the transistor F6. The second terminal of the current mirror circuit CM1 is electrically connected to a first terminal of the transistor F6r, and the fourth terminal of the current mirror circuit CM1 is electrically connected to a second terminal of the transistor F6r.
[0334] The output terminal of the current source CI is electrically connected to a first terminal of the transistor F7 and a gate of the transistor F7, and the input terminal of the current source CI is electrically connected to a second terminal of the transistor F7, for example.
[0335] The output terminal of the current source CIr is electrically connected to a first terminal of the transistor F7r and a gate of the transistor F7r, and the input terminal of the current source CIr is electrically connected to a second terminal of the transistor F7r, for example.
[0336] The gate and the first terminal are electrically connected to each other in the transistor F7 and the transistor F7r, and their second terminals and the wiring VHE are electrically connected to each other. Thus, the gate-source voltage of each of the transistor F7 and the transistor F7r is 0 V, and when the threshold voltages of the transistor F7 and the transistor F7r are within an appropriate range, a constant current flows between the first terminal and the second terminal of each of the transistor F7 and the transistor F7r. In other words, the transistor F7 and the transistor F7r function as current sources.
[0337] The structures of the current source CI and the current source CIr included in the converter circuit ITRZD4 in
[0338] For example, the current source CI (current source CIr) illustrated in
[0339] The current source CI (current source CIr) in
[0340] For example, the current sources CSA each have a function of making current with an amount ICSA flow between the terminal U2 and the terminal U1. When the current source CI (current source CIr) includes 2.sup.P−1 current source(s) CSA (P is an integer greater than or equal to 1), the current source CI (current source CIr) can make current with an amount s×I.sub.CSA (s is an integer greater than or equal to 0 and less than or equal to 2.sup.P−1) flow to the output terminal.
[0341] Actually, in the manufacturing stage of the current source CI (current source CIr), the transistors included in the current sources CSA may have different electrical characteristics; this may yield errors. The errors in the constant currents I.sub.CSA output from the terminals U1 of the plurality of current sources CSA are thus preferably within 10%, further preferably within 5%, still further preferably within 1%. In this embodiment, the description is made on the assumption that there is no error in the constant currents I.sub.CSA output from the terminals U1 of the plurality of current sources CSA included in the current source CI (current source CIr).
[0342] In one of the plurality of current sources CSA, a first terminal of the transistor F7s is electrically connected to the terminal U1, and a gate of the transistor F7s is electrically connected to the terminal U3. The first terminal of the transistor F7 is electrically connected to the gate of the transistor F7 and a second terminal of the transistor F7s. The second terminal of the transistor F7 is electrically connected to the terminal U2.
[0343] Each of the terminals U1 of the plurality of current sources CSA is electrically connected to the output terminal of the current source CI (current source CIr). Each of the terminals U2 of the plurality of current sources CSA is electrically connected to the input terminal of the current source CI (current source CIr). That is, electrical continuity is established between each of the terminals U2 of the plurality of current sources CSA and the wiring VHE.
[0344] The terminal U3 of one current source CSA is electrically connected to a wiring CL[1], the terminals U3 of two current sources CSA are electrically connected to a wiring CL[2], and the terminals U3 of 2.sup.P−1 current sources CS are electrically connected to a wiring CL[P].
[0345] The wiring CL[1] to the wiring CL[P] each function as a wiring that transmits a control signal for outputting the constant currents I.sub.CSA from the current sources CSA, which are electrically connected to the wirings. Specifically, for example, when a high-level potential is supplied to the wiring CL[1], the current source CSA electrically connected to the wiring CL[1] supplies I.sub.CSA as a constant current to the terminal U1, and when a low-level potential is supplied to the wiring CL[1], the current source CSA electrically connected to the wiring CL[1] does not output I.sub.CSA. When a high-level potential is supplied to the wiring CL[2], the two current sources CSA electrically connected to the wiring CL[2] supply 2I.sub.CSA in total as a constant current to the terminals U1, and when a low-level potential is supplied to the wiring CL[2], the current sources CSA electrically connected to the wiring CL[2] do not output 2I.sub.CSA in total, for example. When a high-level potential is supplied to the wiring CL[P], the 2.sup.P−1 current sources CSA electrically connected to the wiring CL[P] supply 2.sup.P−1I.sub.CSA in total as a constant current to the terminals U1, and when a low-level potential is supplied to the wiring CL[P], the current sources CSA electrically connected to the wiring CL[P] do not output 2.sup.P−1I.sub.CSA in total, for example.
[0346] Accordingly, when one or more wirings selected from the wiring CL[1] to the wiring CL[P] are supplied with a high-level potential, the current source CI (current source CIr) can make current flow to the output terminal of the current source CI (current source CIr). The current amount can be determined by the combination of one or more wirings that are selected from the wiring CL[1] to the wiring CL[P] and supplied with a high-level potential. For example, when a high-level potential is supplied to the wiring CL[1] and the wiring CL[2] and a low-level potential is supplied to the wiring CL[3] to the wiring CL[P], the current source CI (current source CIr) can make currents with 3I.sub.CSA in total flow to the output terminal of the current source CI (current source CIr).
[0347] As described above, with the use of the current source CI (current source CIr) in
[0348] When the converter circuit ITRZD4 in
[0349] The converter circuit ITRZD4 illustrated in
[0350] A first terminal of the transistor F8 is electrically connected to a gate of the transistor F8, a gate of the transistor F8r, the second terminal of the transistor F4, and the first terminal of the current mirror circuit CM1. A second terminal of the transistor F8 is electrically connected to the wiring VHE. A first terminal of the transistor F8r is electrically connected to the second terminal of the transistor F4r and the second terminal of the current mirror circuit CM1. A second terminal of the transistor F8r is electrically connected to the wiring VHE.
[0351] As in the converter circuit ITRZD4 in
[0352] As in the structure of the converter circuit ITRZD4 illustrated in
[0353] The converter circuit ITRZD4 in
[0354]
[0355] For example, the current mirror circuit CM2 illustrated in
[0356] The current mirror circuit CM1 included in the converter circuit ITRZD4 in
[0357] For example, the current mirror circuit CM1 illustrated in
Structure Example 2 of Arithmetic Circuit
[0358]
[0359] The cell array CA illustrated in
[0360] The circuit CES[i,j] includes the cell IM[i,j], the cell IMr[i,j], a cell IMs[i,j], and a cell IMsr[i,j]. In this specification and the like, when the circuit CES[i,j], the cell IM[i,j], the cell IMr[i,j], the cell IMs[i,j], the cell IMsr[i,j], and the like are described, [i,j] and the like that are added to the reference numerals are sometimes omitted.
[0361] The cell IMs and the cell IMsr can have structures similar to that of the cell IM.
[0362] Specifically, the cell IMs includes a transistor F1s, a transistor F2s, and a capacitor C5s. The transistor F1s corresponds to the transistor F1 in the cell IM, the transistor F2s corresponds to the transistor F2 in the cell IM, and the capacitor C5s corresponds to the capacitor C5 in the cell IM. Thus, for the electrical connection structure between the transistor F1s, the transistor F2s, and the capacitor C5s, refer to the description of IM[1,1] to the cell IM[m,n] in Embodiment 1.
[0363] Furthermore, the cell IMsr includes a transistor F1sr, a transistor F2sr, and a capacitor C5sr. The transistor F1sr corresponds to the transistor F1 in the cell IM, the transistor F2sr corresponds to the transistor F2 in the cell IM, and the capacitor C5sr corresponds to the capacitor C5 in the cell IM. Thus, for the electrical connection structure between the transistor F1sr, the transistor F2sr, and the capacitor C5sr, refer to the description of IM[1,1] to the cell IM[m,n] in Embodiment 1, as in the case of the cell IMs.
[0364] In the cell IMs, a connection portion of a first terminal of the transistor F1s, a gate of the transistor F2s, and a first terminal of the capacitor C5s is a node NNs, and in the cell IMsr, a connection portion of a first terminal of the transistor F1sr, a gate of the transistor F2sr, and a first terminal of the capacitor C5sr is a node NNsr.
[0365] In the circuit CES[i,j], the second terminal of the capacitor C5 is electrically connected to the wiring XCL[i], the gate of the transistor F1 is electrically connected to the wiring WSL[i], and the second terminal of the transistor F1 and the second terminal of the transistor F2 are electrically connected to the wiring WCL[j]. The second terminal of the capacitor C5r is electrically connected to the wiring XCL[i], the gate of the transistor F1r is electrically connected to the wiring WSL[i], and the second terminal of the transistor F1r and the second terminal of the transistor F2r are electrically connected to the wiring WCLr[j].
[0366] A second terminal of the capacitor C5s is electrically connected to a wiring XCLs[i], a gate of the transistor F1s is electrically connected to a wiring WSLs[i], and a second terminal of the transistor F1s and a second terminal of the transistor F2s are electrically connected to the wiring WCL[j]. A second terminal of the capacitor C5sr is electrically connected to the wiring XCLs[i], a gate of the transistor F1sr is electrically connected to the wiring WSLs[i], and a second terminal of the transistor F1sr and a second terminal of the transistor F2sr are electrically connected to the wiring WCLr[j].
[0367] The circuit CESref[i] illustrated in
[0368] The cell IMrefs can have a structure similar to that of the cell IMref.
[0369] Specifically, the cell IMrefs includes a transistor F1ms, a transistor F1ms, and a capacitor C5ms. The transistor F1ms corresponds to the transistor F1m in the cell IMref, the transistor F2ms corresponds to the transistor F2m in the cell IMref, and the capacitor C5ms corresponds to the capacitor C5m in the cell IMref. Thus, for the electrical connection structure between the transistor F1ms, the transistor F2ms, and the capacitor C5ms, refer to the description of IMref[1] to the cell IMref[m] in Embodiment 1.
[0370] In the cell IMrefs, a connection portion of a first terminal of the transistor F1ms, a gate of the transistor F2ms, and a first terminal of the capacitor C5ms is a node NNrefs.
[0371] In the circuit CESref[i], the second terminal of the capacitor C5m is electrically connected to the wiring XCL[i], the gate of the transistor F1m is electrically connected to the wiring WSL[i], and the second terminal of the transistor F1m and the second terminal of the transistor F2m are electrically connected to the wiring XCL[i]. A second terminal of the capacitor C5ms is electrically connected to the wiring XCLs[i], a gate of the transistor F1ms is electrically connected to the wiring WSLs[i], and a second terminal of the transistor F1ms and a second terminal of the transistor F2ms are electrically connected to the wiring XCLs[i].
[0372] Like the wiring XCL[1] to the wiring XCL[n] described in Embodiment 1, the wiring XCL[i] and the wiring XCLs[i] function as wirings that supply current from the circuit XCS to the cell IM, the cell IMr, the cell IMs, and the cell IMsr included in the circuit CES, and as wirings that supply current from the circuit XCS to the cell IMref[i] and the cell IMrefs[i] included in the circuit CESref, for example.
[0373] Like the wiring WSL[1] to the wiring WSL[m] described in Embodiment 1, the wiring WSL[i] and the wiring WSLs[i] function as wirings that transmit a selection signal for writing the first data from the circuit WSD to the cell IM, the cell IMr, the cell IMs, and the cell IMsr included in the circuit CES, and as wirings that transmit a selection signal for writing the reference data from the circuit WSD to the cell IMref and the cell IMrefs included in the circuit CESref, for example.
[0374] As the converter circuit ITRZD[j] included in the arithmetic circuit MAC3 in
[0375] Next, an example of retaining the first data in the circuit CES and an example of inputting the second data to the circuit CES, which are for performing product-sum operation of the positive, negative, or “0” first data and the positive, negative, or “0” second data in the arithmetic circuit MAC3 in
[0376] Since the circuit CES includes the cell IM, the cell IMr, the cell IMs, and the cell IMsr, the circuit CES can use the four circuits, the cell IM, the cell IMr, the cell IMs, and the cell IMsr, to retain the first data. In other words, the circuit CES can set four current amounts, and potentials corresponding to the current amounts can be retained in the cell IM, the cell IMr, the cell IMs, and the cell IMsr. Thus, the first data can be represented with the current amount set in the cell IM, the current amount set in the cell IMr, the current amount set in the cell IMs, and the current amount set in the cell IMsr.
[0377] Note that the positive first data, the negative first data, or the “0” first data to be retained in the circuit CES is defined as follows.
[0378] To retain the positive first data in the circuit CES[i,j], the cell IM[i,j] is set such that the current with the amount corresponding to the absolute value of the positive first data flows through the transistor F2 in the cell IM[i,j] and the current with the amount corresponding to the absolute value of the positive first data flows through the transistor F2sr in the cell IMsr[i,j] for example. Specifically, the potential corresponding to the current amount is retained in the gate of the transistor F2 (the node NN[i,j]) and the gate of the transistor F2sr (the node NNsr[i,j]). The cell IMr[i,j] is set such that current does not flow through the transistor F2r in the cell IMr[i,j], and the cell IMs[i,j] is set such that current does not flow through the transistor F2s in the cell IMs[i,j], for example. Specifically, the gate of the transistor F2r (the node NNr[i,j]) and the gate of the transistor F2s (the node NNs[i,j]) retain the potential supplied from the wiring VE, e.g., the initialization potential supplied from the wiring VINIL1 of the circuit WCSa in
[0379] To retain the negative first data in the circuit CES[i,j], the cell IMr[i,j] is set such that the current with the amount corresponding to the absolute value of the negative first data flows through the transistor F2r in the cell IMr[1,j], and the current with the amount corresponding to the absolute value of the negative first data flows through the transistor F2s in the cell IMs[i,j], for example. Specifically, the potential corresponding to the current amount is retained in the gate of the transistor F2r (the node NNr[i,j]) and the gate of the transistor F2s (the node NNs[i,j]). The cell IM[i,j] is set such that current does not flow through the transistor F2 in the cell IM[i,j], and the cell IMsr[i,j] is set such that current does not flow through the transistor F2sr in the cell IMsr[i,j], for example. Specifically, the gate of the transistor F2 (the node NN[i,j]) and the gate of the transistor F2sr (the node NNsr[i,j]) retain the potential supplied from the wiring VE, e.g., the initialization potential supplied from the wiring VINIL1 of the circuit WCSa in
[0380] To retain the “0” first data in the circuit CES[i,j], current is set not to flow through the transistor F2 of the cell IM[i,j], the transistor F2r of the cell IMr[i,j], the transistor F2s of the cell IMs[i,j], and the transistor F2sr of the cell IMsr[i,j], for example. Specifically, the gate of the transistor F2 (the node NN[i,j]), the gate of the transistor F2r (the node NNr[i,j]), the gate of the transistor F2s (the node NNs[i,j]), and the gate of the transistor F2sr (the node NNsr[i,j]) retain the potential supplied from the wiring VE, e.g., the initialization potential supplied from the wiring VINIL1 of the circuit WCSa in
[0381] To retain the positive first data or the negative first data in another circuit CES, the current with the amount corresponding to the first data is set to flow through one of the following pairs of the paths: a pair of the paths between the cell IM and the wiring WCL and between the cell IMsr and the wiring WCLr and a pair of the paths between the cell IMr and the wiring WCLr and between the cell IMs and the wiring WCL while current is set not to flow between the other pair of the paths, as in the circuit CES[i,j] described above. To retain the “0” first data in another circuit CES, current is set not to flow between the cell IM and the wiring WCL, between the cell IMr and the wiring WCLr, between the cell IMs and the wiring WCL, and between the cell IMsr and the wiring WCLsr, as in the circuit CES[i,j] described above.
[0382] To retain each of “+3”, “+2”, “+1”, “0”, “−1”, “−2”, and “−3” as the first data in the circuit CES, for example, the amount of current flowing from the wiring WCL to the cell IM, the amount of current flowing from the wiring WCLr to the cell IMr, the amount of current flowing from the wiring WCL to the cell IMs, and the amount of current flowing from the wiring WCLr to the cell IMsr are set as described above, whereby each of “+3”, “+2”, “+1”, “0”, “−1”, “−2”, and “−3” as the first data can be defined as in the following table.
TABLE-US-00002 TABLE 2 Current Current Current Current flowing from flowing from flowing from flowing from First wiring WCL wiring WCLr wiring WCL wiring WCLr data to cell IM to cell IMr to cell IMs to cell IMsr +3 3I.sub.Wut 0 0 3I.sub.Wut +2 2I.sub.Wut 0 0 2I.sub.Wut +1 I.sub.Wut 0 0 I.sub.Wut 0 0 0 0 0 −1 0 I.sub.Wut I.sub.Wut 0 −2 0 2I.sub.Wut 2I.sub.Wut 0 −3 0 3I.sub.Wut 3I.sub.Wut 0
[0383] On the other hand, as a wiring for inputting the second data, the wiring XCL and the wiring XCLs are electrically connected to the circuit CES. Thus, two signals can be input as the second data to the circuit CES. In other words, the second data can be represented with the signal input to the wiring XCL and the signal input to the wiring XCLs, and input to the circuit CES. Note that the positive second data, the negative second data, or the “0” second data to be input to the circuit CES is defined as follows.
[0384] To input the positive second data to the circuit CES[i,j], the cell IMref[i] is set such that the current with the amount corresponding to the absolute value of the positive second data flows through the transistor F2m in the cell IMref[i], for example. Specifically, the potential corresponding to the current amount is retained in the gate of the transistor F2m (the node NNref[i]). By contrast, the cell IMrefs[i] is set such that current does not flow through the transistor F2ms in the cell IMrefs[i], for example. Specifically, the gate of the transistor F2ms (the node NNrefs[i]) retains the potential supplied from the wiring VE, the initialization potential supplied from the wiring VINIL2 of the circuit XCSa in
[0385] To input the negative second data to the circuit CES[i,j], the cell IMrefs[i] is set such that the current with the amount corresponding to the absolute value of the negative second data flows through the transistor F2ms in the cell IMrefs[i], for example. Specifically, the potential corresponding to the current amount is retained in the gate of the transistor F2ms (the node NNrefs[i]). By contrast, the cell IMref[i] is set such that current does not flow through the transistor F2m in the cell IMref[i], for example. Specifically, the gate of the transistor F2m (the node NNref[i]) retains the potential supplied from the wiring VE, the initialization potential supplied from the wiring VINIL2 of the circuit XCSa in
[0386] To input the “0” second data to the circuit CES[i,j], current is set not to flow through the transistor F2m of the cell IMref[i] and the transistor F2ms of the cell IMrefs[1], for example. Specifically, the gate of the transistor F2m (the node NNref[i]) and the gate of the transistor F2ms (the node NNrefs[i]) retain the potential supplied from the wiring VE, the initialization potential supplied from the wiring VINIL2 of the circuit XCSa in
[0387] To input the positive second data or the negative second data to another circuit CES, the current with the amount corresponding to the second data is set to flow through one of the path between the cell IMref and the wiring XCL and the path between the cell IMrefs and the wiring XCLs while current is set not to flow through the other of the path between the cell IMref and the wiring XCL and the path between the cell IMrefs and the wiring XCLs, as in the circuit CESref[i]. To input the “0” second data to another circuit CES, current is set not to flow between the cell IMref and the wiring XCL and between the cell IMrefs and the wiring XCLs, as in the circuit CESref[i].
[0388] For example, to input each of “+3”, “+2”, “+1”, “0”, “−1”, “−2”, and “−3” as the second data to the circuit CES, the amount of current flowing from the wiring XCL to the cell IMref and the amount of current flowing from the wiring XCLs to the cell IMrefs are set as described above, whereby each of “+3”, “+2”, “+1”, “0”, “−1”, “−2”, and “−3” as the second data can be defined as in the following table.
TABLE-US-00003 TABLE 3 Current flowing from Current flowing from Second data wiring XCL to cell IMref wiring XCLs to cell IMrefs +3 3I.sub.Xut 0 +2 2I.sub.Xut 0 +1 I.sub.Xut 0 0 0 0 −1 0 I.sub.Xut −2 0 2I.sub.Xut −3 0 3I.sub.Xut
[0389] When one of “+3”, “+2”, “+1”, “0”, “−1”, “−2”, and “−3” is retained as the first data in the circuit CES and one of “+1”, “0”, and “−1” is input to the circuit CES as the second data, the amount of current flowing from the wiring WCL to the cell IM and the cell IMs in the circuit CES, and the amount of current flowing from the wiring WCLr to the cell IMr and the cell IMsr in the circuit CES are considered.
[0390] For example, when the second data input to the circuit CES is “+1”, the potential corresponding to the absolute value of the “+1” second data is input from the wiring XCL to each of the second terminals of the capacitor C5 and the capacitor C5r in the circuit CES, and the potential corresponding to the ground potential (GND) is input from the wiring XCLs to each of the second terminals of the capacitor C5s and the capacitor CSsr in the circuit CES. When the first data retained in the circuit CES is “+3”, the potential corresponding to the absolute value of the “+3” first data is retained in each of the node NN and the node NNsr, and the ground potential (GND) is retained in each of the node NNr and the node NNs. According to Formula (1.12) or Formula (1.16), the current with the amount 3I.sub.ref0 flows between the first terminal and the second terminal of the transistor F2 in the circuit CES at this time. In addition, current does not flow between the first terminals and the second terminals of the transistor F2r, the transistor F2s, and the transistor F2sr. In other words, the current with the amount 3I.sub.ref0 flows from the wiring WCL to the cell IM, current does not flow from the wiring WCL to the cell IMs, current does not flow from the wiring WCLr to the cell IMr, and current does not flow from the wiring WCLr to the cell IMsr.
[0391] For example, the second data input to the circuit CES is “+1” and the first data retained in the circuit CES is “−3”. Thus, the potential corresponding to the absolute value of the “−3” first data is retained in each of the node NNr and the node NNs, and the ground potential (GND) is retained in each of the node NN and the node NNsr. According to Formula (1.12) or Formula (1.16), the current with the amount 3I.sub.ref0 flows between the first terminal and the second terminal of the transistor F2r in the circuit CES at this time. In addition, current does not flow between the first terminals and the second terminals of the transistor F2, the transistor F2s, and the transistor F2sr. In other words, the current with the amount 3I.sub.ref0 flows from the wiring WCLr to the cell IMr, current does not flow from the wiring WCL to the cell IM, current does not flow from the wiring WCL to the cell IMs, and current does not flow from the wiring WCLr to the cell IMsr.
[0392] For example, when the second data input to the circuit CES is “−1”, the potential corresponding to the absolute value of the “−1” second data is input from the wiring XCLs to each of the second terminals of the capacitor C5s and the capacitor C5sr in the circuit CES, and the potential corresponding to the ground potential (GND) is input from the wiring XCL to each of the second terminals of the capacitor C5 and the capacitor C5r in the circuit CES. When the first data retained in the circuit CES is “+3”, the potential corresponding to the absolute value of the “+3” first data is retained in each of the node NN and the node NNsr, and the ground potential (GND) is retained in each of the node NNr and the node NNs. According to Formula (1.12) or Formula (1.16), the current with the amount 3I.sub.ref0 flows between the first terminal and the second terminal of the transistor F2sr in the circuit CES at this time. In addition, current does not flow between the first terminals and the second terminals of the transistor F2, the transistor F2r, and the transistor F2s. In other words, the current with the amount 3I.sub.ref0 flows from the wiring WCLr to the cell IMsr, current does not flow from the wiring WCL to the cell IM, current does not flow from the wiring WCLr to the cell IMr, and current does not flow from the wiring WCL to the cell IMs.
[0393] For example, the second data input to the circuit CES is “−1” and the first data retained in the circuit CES is “−3”. Thus, the potential corresponding to the absolute value of the “−3” first data is retained in each of the node NNr and the node NNs, and the ground potential (GND) is retained in each of the node NN and the node NNsr. According to Formula (1.12) or Formula (1.16), the current with the amount 3I.sub.ref0 flows between the first terminal and the second terminal of the transistor F2s in the circuit CES at this time. In addition, current does not flow between the first terminals and the second terminals of the transistor F2, the transistor F2r, and the transistor F2sr. In other words, the current with the amount 3I.sub.ref0 flows from the wiring WCL to the cell IMs, current does not flow from the wiring WCL to the cell IM, current does not flow from the wiring WCLr to the cell IMr, and current does not flow from the wiring WCLr to the cell IMsr.
[0394] For example, when the second data input to the circuit CES is “0”, the ground potential (GND) is input from the wiring XCL to each of the second terminal of the capacitor C5 and the capacitor C5r in the circuit CES, and the ground potential (GND) is input from the wiring XCLs to each of the second terminals of the capacitor C5s and the capacitor C5sr in the circuit CES. In that case, regardless of the value of the first data retained in the circuit CES, current does not flow between the first terminals and the second terminals of the transistor F2, the transistor F2r, the transistor F2s, and the transistor F2sr.
[0395] For example, when the first data retained in the circuit CES is “0”, the ground potential (GND) is retained in each of the node NN, the node NNr, the node NNs, and the node NNsr. In that case, regardless of the value of the second data input to the circuit CES, current does not flow between the first terminals and the second terminals of the transistor F2, the transistor F2r, the transistor F2s, and the transistor F2sr.
[0396] The cases where the first data are “+3”, “−3”, and “0” and the second data are “+1”, “−1”, and “0” are described above; when the same applies to the other cases, the amounts of current flowing through the wiring WCL and the wiring WCLr can be summarized as in the following table.
TABLE-US-00004 TABLE 4 Current Current Current Current flowing from flowing from flowing from flowing from First Second First data × wiring WCL wiring WCLr wiring WCL wiring WCLr data data Second data to cell IM to cell IMr to cell IMs to cell IMsr +3 +1 +3 3I.sub.ref0 0 0 0 +2 +1 +2 2I.sub.ref0 0 0 0 +1 +1 +1 I.sub.ref0 0 0 0 0 +1 0 0 0 0 0 −1 +1 −1 0 I.sub.ref0 0 0 −2 +1 −2 0 2I.sub.ref0 0 0 −3 +1 −3 0 3I.sub.ref0 0 0 +3 0 0 0 0 0 0 +2 0 0 0 0 0 0 +1 0 0 0 0 0 0 0 0 0 0 0 0 0 −1 0 0 0 0 0 0 −2 0 0 0 0 0 0 −3 0 0 0 0 0 0 +3 −1 −3 0 0 0 3I.sub.ref0 +2 −1 −2 0 0 0 2I.sub.ref0 +1 −1 −1 0 0 0 I.sub.ref0 0 −1 0 0 0 0 0 −1 −1 +1 0 0 I.sub.ref0 0 −2 −1 +2 0 0 2I.sub.ref0 0 −3 −1 +3 0 0 3I.sub.ref0 0
[0397] As described above, product-sum operation of the positive, negative, or “0” first data and the positive or “0” second data can be performed using the arithmetic circuit MAC2. In addition, product-sum operation of the positive, negative, or “0” first data and the positive, negative, or “0” second data can be performed using the arithmetic circuit MAC3.
[0398] One embodiment of the present invention is not limited to the circuit structures of the arithmetic circuit MAC2 and the arithmetic circuit MAC3 described in this embodiment. The circuit structures of the arithmetic circuit MAC2 and the arithmetic circuit MAC3 can be changed depending on circumstances. For example, the capacitor C5, the capacitor C5r, the capacitor C5s, the capacitor C5sr, the capacitor C5m, and the capacitor C5ms included in the arithmetic circuit MAC3 can be gate capacitances of transistors (not illustrated). In the arithmetic circuit MAC3, the capacitor C5, the capacitor C5r, the capacitor C5s, the capacitor C5sr, the capacitor C5m, and the capacitor C5ms are not necessarily provided when parasitic capacitances between the node NN, the node NNr, the node NNs, the node NNsr, the node NNref, and the node NNrefs and their nearby wirings are large.
[0399] Note that this embodiment can be combined with any of the other embodiments in this specification as appropriate.
Embodiment 3
[0400] In this embodiment, a structure in which a sensor is combined with any one of the arithmetic circuit MAC1, the arithmetic circuit MAC1A, the arithmetic circuit MAC2, and the arithmetic circuit MAC3 described in the above embodiment is described.
<Structure Example of Arithmetic Circuit to which Current Generated in Sensor is Input>
[0401]
[0402] The circuit SCA includes a sensor SNC[1] to a sensor SNC[m], for example. In
[0403] The sensor SNC[1] to the sensor SNC[m] each have a function of converting sensed information into a current amount and outputting the current amount. As the sensor SNC[1] to the sensor SNC[m], an optical sensor including a photodiode, a pressure sensor, a gyroscope sensor, an acceleration sensor, a sound sensor, a temperature sensor, a humidity sensor, or the like can be used, for example. In particular, with the use of optical sensors as the sensor SNC[1] to the sensor SNC[m], the circuit SCA can be part of an image sensor.
[0404] The sensor SNC[1] to the sensor SNC[m] are preferably provided in a region close to the external area because they sense information of the external area. For this reason, the circuit SCA is preferably provided above, for example, the arithmetic circuit MAC1 as illustrated in
[0405] The sensor SNC[i] (here, i is an integer greater than or equal to 1 and less than or equal to m) is electrically connected to the wiring XCL[i]. That is, the sensor SNC[1] is electrically connected to the wiring XCL[1], and the sensor SNC[m] is electrically connected to the wiring XCL[m].
[0406] Thus, when information is sensed in each of the sensor SNC[1] to the sensor SNC[m], current with an amount corresponding to the information flows from the sensor SNC[1] to the sensor SNC[m] to the wiring XCL[1] to the wiring XCL[m], respectively.
[0407] The circuit SCA preferably has a structure in which the sensor SNC[1] to the sensor SNC[m] perform sequential sensing and sequentially supply current to the wiring XCL[1] to the wiring XCL[m]. In this case, for example, signal lines for selecting the sensor SNC[1] to the sensor SNC[m] are provided in the circuit SCA to sequentially transmit signals or the like to the signal lines so that the sensor SNC[1] to the sensor SNC[m] sequentially operate.
[0408] Specifically, for example, as illustrated in
[0409] For example, in the case where the sensor SNC[1] to the sensor SNC[m] are optical sensors including photodiodes or the like, a filter is prepared such that only one of the sensor SNC[1] to the sensor SNC[m] is irradiated with light. Since the number of sensors SNC is m, the number of kinds of filters is also m. In addition, in the case where a filter that does not allow light to enter any of the sensor SNC[1] to the sensor SNC[m] is prepared, the number of kinds of filters is m+1. The filters are sequentially changed while the circuit SCA is being irradiated with light, whereby the sensor SNC[1] to the sensor SNC[m] can perform sequential sensing. For example, in the case where the sensor SNC[1] to the sensor SNC[m] are optical sensors including photodiodes or the like, the arithmetic circuit MAC1, the arithmetic circuit MAC1A, the arithmetic circuit MAC2, or the arithmetic circuit MAC3 may have a structure in which the sensor SNC[1] to the sensor SNC[m] are irradiated with light independently of each other. With the structure in which the sensor SNC[1] to the sensor SNC[m] are irradiated with light independently of each other, the sensor SNC[1] to the sensor SNC[m] can be sequentially irradiated with light to perform sequential sensing.
[0410] Here, an operation example of the arithmetic circuit MAC1 in which the circuit SCA and the circuit VINI in
[0411] Refer to the timing chart in
[0412] The constant potential supplied from the wiring VINIL3 is a ground potential.
[0413] From Time T13 to Time T15 in the timing chart in
[0414] From Time T13 to Time T15 in the timing chart in
[0415] From Time T17 to Time T19 in the timing chart in
[0416] From Time T17 to Time T19 in the timing chart in
[0417] From Time T22 to Time T23 in the timing chart in
[0418] From Time T22 to Time T23 in the timing chart in
[0419] Then, as in the timing chart in
[0420] The arithmetic circuit MAC1 including the circuit SCA can perform arithmetic operation of a hierarchical neural network from its first layer (input layer) to its second layer (intermediate layer), for example. That is, the information (value) obtained through sensing by the sensor SNC[1] to the sensor SNC[m] corresponds to the signal transmitted from the first-layer neuron to the second-layer neuron. When the weight coefficient between the first-layer neuron and the second-layer neuron is retained in the cell IM[1,j] to the cell IM[m,j], the arithmetic circuit MAC1 can perform product-sum operation of the information (value) and the weight coefficient.
[0421] The hierarchical neural network will be described in detail in Embodiment 4.
[0422]
[0423] In the case where an optical sensor is used in this manner, the intensity of light delivered to the optical sensor is desirably within the range of the intensity of light delivered under the usage conditions of the optical sensor.
<Structure Example of Arithmetic Circuit Including Sensor>
[0424] In the structures of the semiconductor devices illustrated in
[0425] Each of the circuit SPR[1] to the circuit SPR[m] includes the sensor SNC having a function of sensing information and a function of converting the information into a current amount and outputting the current amount. Each of the circuit SPR[1] to the circuit SPR[m] may include, in addition to the sensor SNC, a circuit, an element, or the like having another function. Examples of another function here include a function of switching electrical continuity and discontinuity between the sensor SNC and the wiring XCL and a function of interrupting power supply in order to stop the sensor SNC temporarily.
[0426] A circuit CIR electrically connected to each of the wiring XCL[1] to the wiring XCL[m] is also illustrated in the semiconductor device in
[0427] Although
[0428] Here, the structure of an arithmetic circuit in the case where each of the circuit SPR[1] to the circuit SPR[m] has a function of switching electrical continuity and discontinuity between the sensor SNC and the wiring XCL is described, for example.
[0429] An arithmetic circuit MAC4 illustrated in
[0430] Note that a circuit LGC and a circuit LS are illustrated in the arithmetic circuit MAC4 in
[0431] The circuit LGC is electrically connected to the circuit LS through a wiring LXS[1] to a wiring LXS[m]. The circuit LS is electrically connected to the circuit XCS through a wiring DXS[1] to a wiring DXS[m].
[0432] As described in Embodiment 1, the circuit XCS has a function of supplying current with the amount corresponding to the reference data or current with the amount corresponding to the second data to each of the wiring XCL[1] to the wiring XCL[m]. The circuit XCS can have the structure of the circuit XCS illustrated in
[0433] In particular, in the case where the circuit XCS illustrated in
[0434] The circuit LS has a function of level-shifting an input potential to a desired potential, for example. Specifically, the circuit LS level-shifts a potential input from the wiring LXS[1] to a desired potential and outputs the level-shifted potential to the wiring DXS[1]. Thus, the number of wirings LXS[1] can be equal to the number of wirings DXS[1]. Similarly, the circuit LS level-shifts a potential input from the wiring LXS[m] to a desired potential and outputs the level-shifted potential to the wiring DXS[m]. Thus, the number of wirings LXS[m] can be equal to the number of wirings DXS[m]. One of the wiring LXS[1] to the wiring LXS[m] can be a bus wiring for transmitting a digital signal.
[0435] The circuit LGC has a function of sequentially retaining data DT input to the circuit LGC and outputting the data DT to the wiring LXS[1] to the wiring LXS[m] sequentially or concurrently in parallel at a desired timing, for example. The data DT here can be, for example, the reference data or the second data input to the wiring XCL[1] to the wiring XCL[m]. That is, in order to supply the current with the amount corresponding to the reference data or the current with the amount corresponding to the second data to the wiring XCL[1] to the wiring XCL[m] of the arithmetic circuit MAC4, the circuit LGC retains the reference data or the second data received from the outside of the circuit LGC and outputs the reference data or the second data to each of the wiring LXS[1] to the wiring LXS[m] at a predetermined timing. Note that a specific structure example of the circuit LGC will be described later.
[0436] Note that in the case where a level shift of voltage output from the circuit LGC is not necessary, the circuit LS is not provided and the wiring LXS[1] to the wiring LXS[m] are electrically connected to the wiring DXS[1] to the wiring DXS[m], respectively, in the arithmetic circuit MAC4 illustrated in
[0437] Next, the structure of the circuit SCA illustrated in
[0438] In the circuit SPR[1] electrically connected to the wiring XCL[1], a first terminal of the transistor F9 is electrically connected to the wiring XCL[1], a second terminal of the transistor F9 is electrically connected to a first terminal of the sensor SNC, a gate of the transistor F9 is electrically connected to a wiring VTXL, and a back gate of the transistor F9 is electrically connected to a wiring VBGL. A second terminal of the sensor SNC is electrically connected to a wiring VANL.
[0439] In the circuit SPR[m] electrically connected to the wiring XCL[m], the first terminal of the transistor F9 is electrically connected to the wiring XCL[m], the second terminal of the transistor F9 is electrically connected to the first terminal of the sensor SNC, the gate of the transistor F9 is electrically connected to the wiring VTXL, and the back gate of the transistor F9 is electrically connected to the wiring VBGL. The second terminal of the sensor SNC is electrically connected to the wiring VANL.
[0440] As described above, the sensor SNC has a function of sensing information and a function of converting the information into a current amount and outputting the current amount.
[0441] Although the transistor F9 is illustrated as a transistor having a back gate in the arithmetic circuit MAC4 in
[0442] The wiring VTXL functions as a wiring for switching the on state and the off state of the transistor F9, for example. Accordingly, the wiring VTXL is supplied with a high-level potential or a low-level potential.
[0443] The wiring VANL functions as a wiring for supplying power supply voltage to be supplied to the sensor SNC, for example. Note that the power supply voltage can be, for example, a high-level potential, a low-level potential, a ground potential, or the like depending on the structure of the sensor SNC.
[0444] The wiring VBGL functions as a wiring for supplying a constant voltage, for example. The constant voltage can be, for example, a high-level potential, a low-level potential, a ground potential, or the like.
[0445] Application of a desired voltage to the wiring VBGL enables the threshold voltage of the transistor F9 included in each of the circuit SPR[1] to the circuit SPR[m] to be adjusted. For example, supplying a high-level potential to the wiring VBGL can lower the threshold voltage of the transistor F9; for another example, supplying a low-level potential to the wiring VBGL can increase the threshold voltage of the transistor F9.
[0446] Like the sensor SNC[1] to the sensor SNC[m] in
[0447] In an example here, the sensor SNC has a structure including an optical sensor using a photodiode. The circuit SPR[i] in
[0448] One example of a mode for inputting current to the cell array CA from the wiring XCL[i] in the circuit SCA in
[0449] Another example of the mode for inputting current to the cell array CA from the wiring XCL[i] in the circuit SCA in
[0450] In the circuit structure of the arithmetic circuit MAC4, the input terminal and the output terminal of the photodiode PDm in
[0451] One example of a mode for inputting current to the cell array CA from the wiring XCL[i] in the circuit SCA in
[0452] Another example of the mode for inputting current to the cell array CA from the wiring XCL[i] in the circuit SCA in
[0453] In that case, the amount of current flowing from the circuit XCS to the wiring XCL[i] is set to 0, i.e., the circuit XCS stops supplying current to the wiring SCL[i], so that only current generated in the photodiode PDm can flow from the wiring XCL[i] to the cell array CA.
[0454] As described above, the arithmetic circuit MAC4 in
[0455] When the reference data or the second data is input to the cell array CA of the arithmetic circuit MAC4 and current generated by the sensor SNC is not used, for example, the transistor F9 included in each of the circuit SPR[1] to the circuit SPR[m] is turned off so that the current corresponding to the reference data or the second data is generated by the circuit XCS, and the current is supplied to the wiring XCL[1] to the wiring XCL[m].
[0456] For another example, when the reference data or the second data is input to the cell array CA of the arithmetic circuit MAC4 and the current generated by the sensor SNC is used, the transistor F9 included in each of the circuit SPR[1] to the circuit SPR[m] is turned on so that the current generated by the sensor SNC is supplied to the wiring XCL[1] to the wiring XCL[m]. Note that depending on circumstances, the amount of current flowing from the circuit XCS to the wiring XCL[1] to the wiring XCL[m] may be a desired amount or 0.
[0457] In particular, in the case where the arithmetic circuit MAC4 executes the operation example in the timing chart of
[0458] When the reference data or the second data is input to the cell array CA of the arithmetic circuit MAC4, for example, the sum of (or differential current between) the current generated by the circuit XCS and the current generated by the sensor SNC may be supplied as the reference data or the second data to the wiring XCL[1] to the wiring XCL[m]. Here, with the sensor SNC having a structure including the photodiode PDm illustrated in
[Structure Example of Circuit LGC]
[0459] Next, a specific structure example of the circuit LGC is described. When one of the wiring LXS[1] to the wiring LXS[m] is a bus wiring for transmitting a digital signal, the data DT (the reference data and the second data) input to the circuit LGC are preferably input as digital signals. The data DT is treated as a digital signal, so that the circuit LGC can be formed as a logic circuit.
[0460] When the circuit LGC is formed as a logic circuit, the circuit LGC can have a circuit structure illustrated in
[0461] The wiring SEL[1] to the wiring SEL[m] are electrically connected to control terminals (sometimes referred to as clock input terminals, enable signal input terminals, or the like) of the latch circuit LTA[1] to the latch circuit LTA[m], and a wiring LAT is electrically connected to control terminals of the latch circuit LTB[1] to the latch circuit LTB[m]. Input terminals D of the latch circuit LTA[1] to the latch circuit LTA[m] are electrically connected to a wiring DAT, and output terminals Q of the latch circuit LTA[1] to the latch circuit LTA[m] are electrically connected to a wiring DL[1] to a wiring DL[m]. Input terminals D of the latch circuit LTB[1] to the latch circuit LTB[m] are electrically connected to the wiring DL[1] to the wiring DL[m], and output terminals Q of the latch circuit LTB [1] to the latch circuit LTB [m] are electrically connected to first terminals of the switch SW[1] to the switch SW[m]. Second terminals of the switch SW[1] to the switch SW[m] are electrically connected to a wiring LXS[1] to a wiring LXS[m], and control terminals of the switch SW[1] to the switch SW[m] are electrically connected to a wiring SWL[1] to a wiring SWL[m].
[0462] As the switch SW[1] to the switch SW[m], an electrical switch such as an analog switch or a transistor can be used, for example. For another example, a mechanical switch may be used as the switch SW[1] to the switch SW[m]. In the case where a transistor is used as the switch SW[1] to the switch SW[m], the transistor can be an OS transistor or a Si transistor.
[0463] The switch SW[1] to the switch SW[m] illustrated in
[0464] The wiring SWL[1] to the wiring SWL[m] function as wirings for switching between the conduction state and the non-conduction state of the switch SW[1] to the switch SW[m], for example.
[0465] The wiring SPL functions as a wiring for transmitting a start pulse signal to the shift register SR, for example.
[0466] The wiring SCL functions as a wiring for transmitting a clock signal to the shift register SR, for example.
[0467] The wiring DAT functions as a wiring for transmitting the data DT to the circuit LGC, for example.
[0468] The wiring SEL[1] to the wiring SEL[m], the wiring DL[1] to the wiring DL[m], and the wiring DAT can each be a wiring for transmitting a digital signal. Therefore, the wiring SEL[1] to the wiring SEL[m], the wiring DL[1] to the wiring DL[m], and the wiring DAT can each be a bus wiring. The wiring SWL can also be a bus wiring.
[0469] The shift register SR has a function of sequentially outputting a high-level potential to the wiring SEL[1] to the wiring SEL[m] in accordance with changes in potentials input to the wiring SPL and the wiring SCL, for example. Note that the shift register SR cannot output a high-level potential to two or more of the wiring SEL[1] to the wiring SEL[m]; thus, when any one of the wiring SEL[1] to the wiring SEL[m] outputs a high-level potential, the other wirings of the wiring SEL[1] to the wiring SEL[m] output a low-level potential.
[0470] For example, when a potential rises from a low-level potential to a high-level potential with a clock signal from the wiring SCL while a high-level potential is being input as a start pulse signal to the wiring SPL, the wiring SEL[1] outputs a high-level potential. Subsequently, when a potential rises from a low-level potential to a high-level potential again with the clock signal from the wiring SCL while a low-level potential is being input to the wiring SPL, the wiring SEL[1] outputs a low-level potential and the wiring SEL[1] outputs a high-level potential. After that, when the third potential rising occurs with the clock signal from the wiring SCL while a low-level potential is being input to the wiring SPL, for example, the wiring SEL[1] and the wiring SEL[1] output a low-level potential and the wiring SEL[1] outputs a high-level potential.
[0471] As described above, the shift register SR can sequentially output a high-level potential to one of the wiring SEL[1] to the wiring SEL[m] and a low-level potential to the other wirings every time the potential rising due to the clock signal from the wiring SCL occurs.
[0472] The latch circuit LTA[1] to the latch circuit LTA[m] and the latch circuit LTB[1] to the latch circuit LTB[m] are each brought into an enable state when a high-level potential is input to their control terminals, for example, to have a function of retaining data that has been input to the input terminal D and outputting the data to the output terminal Q. Note that the latch circuit LTA[1] to the latch circuit LTA[m] and the latch circuit LTB[1] to the latch circuit LTB[m] are each brought into a disable state when a low-level potential is input to their control terminals, for example, so that the data that has been input to the input terminal D is not retained and the data is not output to the output terminal Q.
[0473] Here, an operation example of the circuit LGC is described.
[0474]
[0475] The timing chart in
[0476] In the period before Time T31, a low-level potential has been input to the wiring LAT, and a low-level potential has been input to the wiring SWL[1] to the wiring SWL[m]. In addition, the shift register SR has output a low-level potential to the wiring SEL[1] to the wiring SEL[m].
[0477] In the period from Time T31 to Time T32, a high-level potential is input as a start pulse signal to the wiring SPL. A pulse voltage is input as a clock signal to the wiring SCL. When the rising of the pulse voltage as the clock signal is input, the shift register SR obtains a high-level potential as the start pulse signal to be input to the wiring SPL.
[0478] In the period from Time T32 to Time T33, data DT[1] is input to the wiring DAT. The pulse voltage is input as the clock signal to the wiring SCL for the second time. When the second rising of the pulse voltage as the clock signal is input, the shift register SR outputs a high-level potential to the wiring SEL[1].
[0479] At this time, the latch circuit LTA[1] is brought into an enable state and thus retains the data DT[1] that has been input to the input terminal D and outputs the data DT[1] to the output terminal Q. The data DT[1] is input to the input terminal D of the latch circuit LTB[1]. Since a low-level potential has been input to the control terminal of the latch circuit LTB[1] at this time, the latch circuit LTB[1] does not retain the data DT[1] input to the input terminal D of the latch circuit LTB [1] and does not output the data DT[1] input to the output terminal Q of the latch circuit LTB [1].
[0480] In the period from Time T33 to Time T34, data DT[2] is input to the wiring DAT. The pulse voltage is input as the clock signal to the wiring SCL for the third time. When the third rising of the pulse voltage as the clock signal is input, the shift register SR outputs a low-level potential to the wiring SEL[1] and a high-level potential to the wiring SEL[2].
[0481] At this time, the latch circuit LTA[1] is brought into a disable state and thus does not retain the data DT[2] input to the input terminal D of the latch circuit LTA[1]. The latch circuit LTA[1] has retained the data DT[1] continuously since before Time T33, and outputs the data DT[1] from the output terminal Q.
[0482] In addition, the latch circuit LTA[1] is brought into an enable state and thus retains the data DT[2] that has been input to the input terminal D and outputs the data DT[2] to the output terminal Q. The data DT[2] is input to the input terminal D of the latch circuit LTB[2]. Since a low-level potential has been input to the control terminal of the latch circuit LTB[2] at this time, the latch circuit LTB [2] does not retain the data DT[2] input to the input terminal D of the latch circuit LTB [2] and does not output the data DT[2] input to the output terminal Q of the latch circuit LTB [2].
[0483] In the period from Time T34 to Time T35, data DT[3] to DT[m−2] are sequentially input to the wiring DAT, and the shift register SR sequentially inputs a high-level potential to the wiring SEL[1] to the wiring SEL[m−2]. Thus, the data DT[3] to the data DT[m−2] are respectively retained in the latch LTA[1] to the latch circuit LTA[m−2]. The data DT[3] to the data DT[m−2] are output from the output terminals Q of the latch LTA[1] to the latch circuit LTA[m−2], respectively.
[0484] In the period from Time T35 to Time T36, data DT[m−1] is input to the wiring DAT. The pulse voltage is input as the clock signal to the wiring SCL for the m-th time. When the m-th rising of the pulse voltage as the clock signal is input, the shift register SR outputs a low-level potential to the wiring SEL[m−2] and a high-level potential to the wiring SEL[m−1]. At this time, the latch circuit LTA[m−2] is brought into a disable state and thus does not retain the data DT[m−1] input to the input terminal D of the latch circuit LTA[m−2]. The latch circuit LTA[m−2] has retained the data DT[m−2] continuously since before Time T35, and outputs the data DT[m−2] from the output terminal Q.
[0485] In addition, the latch circuit LTA[m−1] is brought into an enable state and thus retains the data DT[m−1] that has been input to the input terminal D and outputs the data DT[m−1] to the output terminal Q. The data DT[m−1] is input to the input terminal D of the latch circuit LTB[m−1]. Since a low-level potential has been input to the control terminal of the latch circuit LTB[m−1] at this time, the latch circuit LTB[m−1] does not retain the data DT[m−1] input to the input terminal D of the latch circuit LTB[m−1] and does not output the data DT[m−1] input to the output terminal Q of the latch circuit LTB[m−1].
[0486] In the period from Time T36 to Time T37, data DT[m] is input to the wiring DAT. The pulse voltage is input as the clock signal to the wiring SCL for the m+1-th time. When the m+1-th rising of the pulse voltage as the clock signal is input, the shift register SR outputs a low-level potential to the wiring SEL[m−1] and a high-level potential to the wiring SEL[m]. At this time, the latch circuit LTA[m−1] is brought into a disable state and thus does not retain the data DT[m] input to the input terminal D of the latch circuit LTA[m−1]. The latch circuit LTA[m−1] has retained the data DT[m−1] continuously since before Time 36, and outputs the data DT[m−1] from the output terminal Q.
[0487] In addition, the latch circuit LTA[m] is brought into an enable state and thus retains the data DT[m] that has been input to the input terminal D and outputs the data DT[m] to the output terminal Q. The data DT[m] is input to the input terminal D of the latch circuit LTB[m]. Since a low-level potential has been input to the control terminal of the latch circuit LTB[m] at this time, the latch circuit LTB[m] does not retain the data DT[m] input to the input terminal D of the latch circuit LTB[m] and does not output the data DT[m] input to the output terminal Q of the latch circuit LTB[m].
[0488] In the period from Time T38 to Time T39, l a high-level potential is input to the wiring LAT. Thus, a high-level potential is input to the control terminals of the latch circuit LTB[1] to the latch circuit LTB[m], so that the latch circuit LTB[1] to the latch circuit LTB[m] are each brought into an enable state. Accordingly, the latch circuit LTB[1] to the latch circuit LTB[m] retain the data DT[1] to the data DT[m] that have been input to their input terminals D, and output the data DT[1] to the data DT[m] from their output terminals Q.
[0489] In the period from Time T39 to Time T40, a high-level potential is input to the wiring SWL[1] to the wiring SWL[m]. Thus, the switch SW[1] to the switch SW[m] are turned on, so that electrical continuity is established between the output terminals Q of the latch circuit LTB[1] to the latch circuit LTB[m] and the wiring LXS [1] to the wiring LXS[m]. Accordingly, the circuit LGC can concurrently output the data DT[1] to the data DT[m] from the wiring LXS[1] to the wiring LXS[m].
[0490] By the operation in the timing chart shown in
[0491] Although the timing chart of
[0492] The timing chart of
[0493] In the period from Time T39 to Time T40, a high-level potential is input to the wiring SWL[1]. Thus, the switch SW[1] is turned on to establish electrical continuity between the output terminal Q of the latch circuit LTB [1] and the wiring LXS [1], so that the data DT [1] output from the output terminal Q of the latch circuit LTB is transmitted to the wiring LXS[1].
[0494] In the period from Time T40 to Time T41, a low-level potential is input to the wiring SWL[1] and a high-level potential is input to the wiring SWL[2]. Thus, the switch SW[1] is turned off and the switch SW[2] is turned on. Electrical continuity is not established between the output terminal Q of the latch circuit LTB[1] and the wiring LXS[1], so that the data DT[1] output from the output terminal Q of the latch circuit LTB is not transmitted to the wiring LXS[1]. In addition, electrical continuity is established between the output terminal Q of the latch circuit LTB[1] and the wiring LXS[2], so that the data DT[2] output from the output terminal Q of the latch circuit LTB is transmitted to the wiring LXS[2].
[0495] In the period from Time T41 to Time T42, a high-level potential is input to the wiring SWL[1] to the wiring SWL[m−2] sequentially, so that the switch SW[3] to the switch SW[m−2] are sequentially turned on. Thus, the data DT[3] to the data DT[m−2] that have been output to the output terminals Q of the latch circuit LTB[1] to the latch circuit LTB[m−2] are sequentially output from the wiring LXS[1] to the wiring LXS[m−2], respectively.
[0496] In the period from Time T42 to Time T43, a low-level potential is input to the wiring SWL[m−2] and a high-level potential is input to the wiring SWL[m−1]. Thus, the switch SW[m−2] is turned off and the switch SW[m−1] is turned on. Electrical continuity is not established between the output terminal Q of the latch circuit LTB [m−2] and the wiring LXS [m−2], so that the data DT[m−2] output from the output terminal Q of the latch circuit LTB is not transmitted to the wiring LXS[m−2]. In addition, electrical continuity is established between the output terminal Q of the latch circuit LTB[m−1] and the wiring LXS[m−1], so that the data DT[m−1] output from the output terminal Q of the latch circuit LTB is transmitted to the wiring LXS[m−1].
[0497] In the period from Time T43 to Time T44, a low-level potential is input to the wiring SWL[m−1] and a high-level potential is input to the wiring SWL[m]. Thus, the switch SW[m−1] is turned off and the switch SW[m] is turned on. Electrical continuity is not established between the output terminal Q of the latch circuit LTB[m−1] and the wiring LXS[m−1], so that the data DT[m−1] output from the output terminal Q of the latch circuit LTB is not transmitted to the wiring LXS[m−1]. In addition, electrical continuity is established between the output terminal Q of the latch circuit LTB[m] and the wiring LXS[m], so that the data DT[m] output from the output terminal Q of the latch circuit LTB is transmitted to the wiring LXS[m].
[0498] The circuit LGC performs the operation until Time T39 in the timing chart shown in
[0499] Although the timing chart shown in
[0500] With the above-described operation example, a desired current can be supplied to any one of the wiring XCL[1] to the wiring XCL[m] of the arithmetic circuit MAC in the period from Time T13 to Time T15 or the period from Time T17 to Time T19 in the timing chart of
[0501] The circuit LGC in
[0502] With the use of the arithmetic circuit MAC4 illustrated in
[0503] Note that this embodiment can be combined with any of the other embodiments described in this specification as appropriate.
Embodiment 4
[0504] A hierarchical neural network is described in this embodiment. Arithmetic operation of a hierarchical neural network can be performed using the semiconductor device described in the above embodiments.
<Hierarchical Neural Network>
[0505] A hierarchical neural network includes one input layer, one or a plurality of intermediate layers (hidden layers), and one output layer, for example, and is configured with a total of at least three layers. A hierarchical neural network 100 illustrated in
[0506] Each of the layers of the neural network 100 includes one or a plurality of neurons. In
[0507]
[0508] Next, signal transmission from a neuron in one layer to a neuron in the subsequent layer and signals input to and output from the neurons are described. Note that description here is made focusing on the neuron N.sub.j.sup.(k) in the k-th layer.
[0509]
[0510] Specifically, z.sub.1.sup.(k−1) to z.sub.m.sup.(k−1) that are output signals from the neuron N.sub.1.sup.(k−1) to the neuron N.sub.m.sup.(k−1) in the (k−1)-th layer are output to the neuron N.sub.j.sup.(k). Then, the neuron N.sub.j.sup.(k) generates z.sub.j.sup.(k) in accordance with z.sub.1.sup.(k−1) to z.sub.m.sup.(k−1), and outputs z.sub.j.sup.(k) as the output signal to the neurons in the (k+1)-th layer (not illustrated).
[0511] The efficiency of transmitting a signal input from a neuron in one layer to a neuron in the subsequent layer depends on the connection strength (hereinafter, referred to as a weight coefficient) of the synapse that connects the neurons to each other. In the neural network 100, a signal output from a neuron in one layer is multiplied by the corresponding weight coefficient and then is input to a neuron in the subsequent layer. When i is an integer greater than or equal to 1 and less than or equal to m and the weight coefficient of the synapse between the neuron N.sub.i.sup.(k−1) in the (k−1)-th layer and the neuron N.sub.j.sup.(k) in the k-th layer is w.sub.i.sup.(k−1).sub.j.sup.(k), a signal input to the neuron N.sub.j.sup.(k) in the k-th layer can be expressed by Formula (4.1).
[Formula 20]
w.sub.i.sup.(k−1).sub.j.sup.(k).Math.z.sub.i.sup.(k−1) (4.1)
[0512] That is, when the signals are transmitted from the neuron N.sub.1.sup.(k−1) to the neuron N.sub.m.sup.(k−1) in the (k−1)-th layer to the neuron N.sub.j.sup.(k) in the k-th layer, the signals z.sub.1.sup.(k−1) to z.sub.m.sup.(k−1) are multiplied by the respective weight coefficients (w.sub.1.sup.(k−1).sub.j.sup.(k) to w.sub.m.sup.(k−1).sub.j.sup.(k)). Then, w.sub.1.sup.(k−1).sub.j.sup.(k).Math.z.sub.1.sup.(k−1) to w.sub.m.sup.(k−1).sub.j.sup.(k).Math.z.sub.m.sup.(k−1) are input to the neuron N.sub.j.sup.(k) in the k-th layer. At this time, the total sum u.sub.j.sup.(k) of the signals input to the neuron N.sub.j.sup.(k) in the k-th layer is expressed by Formula (4.2).
[0513] In addition, a bias may be added to the product-sum result of the weight coefficients w.sub.1.sup.(k−1).sub.j.sup.(k) to w.sub.m.sup.(k−1).sub.j.sup.(k) and the signals z.sub.1.sup.(k−1) to z.sub.m.sup.(k−1) of the neurons. When the bias is denoted by b, Formula (4.2) can be rewritten to the following formula.
[0514] The neuron N.sub.j.sup.(k) generates the output signal z.sub.j.sup.(k) in accordance with u.sub.j.sup.(k). Here, the output signal z.sub.j.sup.(k) from the neuron N.sub.j.sup.(k) is defined by the following formula.
[Formula 23]
z.sub.j.sup.(k)=f(u.sub.j.sup.(k)) (4.4)
[0515] A function f(u.sub.j.sup.(k)) is an activation function in a hierarchical neural network, and a step function, a linear ramp function, a sigmoid function, or the like can be used. Note that the activation function may be the same or different among all neurons. In addition, the neuron activation function may be the same or different between the layers.
[0516] Signals output from the neurons in the layers, the weight coefficients w, or the bias b may be an analog value or a digital value. For example, a binary or ternary digital value may be used. A value having a larger number of bits may be used. In the case of an analog value, for example, a linear ramp function or a sigmoid function is used as the activation function. In the case of a binary digital value, for example, a step function with an output of −1 or 1 is used. Alternatively, a step function with an output of 0 or 1 is used. Alternatively, the neurons in the layers may each output a ternary or higher-level signal; in this case, a step function with an output of three or more values, for example, an output of −1, 0, or 1 or an output of 0, 1, or 2 is used as an activation function. Furthermore, as an activation function for outputting five values, a step function with an output of −2, −1, 0, 1, or 2 may be used, for example. Using a digital value as at least one of the signals output from the neurons in the layers, the weight coefficients w, and the bias b enables a reduction in the circuit scale, a reduction in power consumption, or an increase in operation speed, for example. Furthermore, the use of an analog value as at least one of the signals output from the neurons in the layers, the weight coefficients w, and the bias b can improve the arithmetic operation accuracy.
[0517] The neural network 100 performs operation in which by input of an input signal to the first layer (the input layer), output signals are sequentially generated in the layers from the first layer (the input layer) to the last layer (the output layer) according to Formula (4.1), Formula (4.2) (or Formula (4.3)), and Formula (4.4) on the basis of the signals input from the previous layers, and the output signals are output to the subsequent layers. The signal output from the last layer (the output layer) corresponds to the calculation results of the neural network 100.
[0518] In the case where the arithmetic circuit MAC1 described in Embodiment 1 is used as the above-described hidden layer, the weight coefficient w.sub.s[k−1].sup.(k−1).sub.s[k].sup.(k) (s[k−1] is an integer greater than or equal to 1 and less than or equal to m, and s[k] is an integer greater than or equal to 1 and less than or equal to n) is used as the first data, the current amount corresponding to the first data is stored in the cells IM in the same column sequentially, the output signal z.sub.s[k−1].sup.(k−1) from the neuron N.sub.s[k−1].sup.(k−1) in the (k−1)-th layer is used as the second data, and the current with the amount corresponding to the second data is made to flow from the circuit XCS to the wiring XCL in each row, so that the product-sum of the first data and the second data can be obtained from the current amount I.sub.S input to the converter circuit ITRZ. In addition, the value of the activation function is obtained using the value of the sum of products, so that the value of the activation function can be the output signal z.sub.s[k].sup.(k) of the neuron N.sub.s[k].sup.(k) in the k-th layer.
[0519] In the case where the arithmetic circuit MAC1 described in Embodiment 1 is used as the above-described output layer, the weight coefficient w.sub.s[R−1].sup.(R−1).sub.s[R].sup.(R) (s[R−1] is an integer greater than or equal to 1, and s[R] is an integer greater than or equal to 1 and less than or equal to q) is used as the first data, the current amount corresponding to the first data is stored in the cells IM in the same column sequentially, the output signal z.sub.s[R−1].sup.(R−1) from the neuron N.sub.s[R−1].sup.(R−1) in the (R−1)-th layer is used as the second data, and the current with the amount corresponding to the second data is made to flow from the circuit XCS to the wiring XCL in each row, so that the sum of products of the first data and the second data can be obtained from the current amount I.sub.S input to the converter circuit ITRZ. In addition, the value of the activation function is obtained using the value of the sum of products, so that the value of the activation function can be the output signal z.sub.s[R].sup.(R) of the neuron N.sub.s[R].sup.(R) in the R-th layer.
[0520] Note that the input layer described in this embodiment may function as a buffer circuit that outputs an input signal to the second layer.
[0521] When the arithmetic circuit MAC2 described in Embodiment 2 in which the converter circuit ITRZD4 in
[0522] Specifically, with the use of the arithmetic circuit illustrated in
[0523] For example, in the arithmetic circuit MAC2-1 in
[0524] In the arithmetic circuit MAC2-2 in
[0525] As described in Embodiment 2, any one of the converter circuits ITRZD4 in
[0526] Accordingly,
[0527]
[0528] A low-level potential is supplied to the wiring TM[1], the wiring TM[n], the wiring TH[1,h], the wiring TH[n,h], the wiring THr[1,h], and the wiring THr[n,h], whereby the threshold voltages of the transistors whose back gates are electrically connected to these wirings can be increased. This can prevent a minute amount of current flowing through the wiring OL of the arithmetic circuit MAC2-1 from flowing to the wiring VE through the cell IMref of the arithmetic circuit MAC2-2. That is, the output characteristics of the converter circuit ITRZD4[1] to the converter circuit ITRZD4[n] can be close to ReLU functions. Thus, the arithmetic operation in the subsequent layer of the hierarchical neural network can be performed properly.
[0529] For example, the structure of the arithmetic circuit MAC2-2 in
[0530]
[0531] With the arithmetic circuit in
[0532] Note that this embodiment can be combined with any of the other embodiments described in this specification as appropriate.
Embodiment 5
[0533] This embodiment describes structure examples of the semiconductor device described in the above embodiment and structure examples of transistors that can be used in the semiconductor device described in the above embodiment.
<Structure Example of Semiconductor Device>
[0534]
[0535] The transistor 500 is a transistor including a metal oxide in a channel formation region (an OS transistor). The transistor 500 has features that the off-state current is low and the field-effect mobility does not change even at high temperatures. The transistor 500 is used as a transistor included in a semiconductor device, for example, the arithmetic circuit MAC1, the arithmetic circuit MAC1A, the arithmetic circuit MAC2, the arithmetic circuit MAC3, the arithmetic circuit MAC4, or the like described in the above embodiment, whereby a semiconductor device whose operating performance does not deteriorate even at a high temperature can be obtained. In particular, by utilizing the feature of a low off-state current, the transistor 500 can be used as the transistor F1 and the transistor F1m, in which case potentials written to the cell IM, the cell IMref, and the like can be retained for a long time.
[0536] The transistor 500 is provided above the transistor 300, and the capacitor 600 is provided above the transistor 300 and the transistor 500, for example. The photoelectric conversion element 700 is provided above the capacitor 600, for example. The capacitor 600 can be used as the capacitor or the like included in the arithmetic circuit MAC1, the arithmetic circuit MAC1A, the arithmetic circuit MAC2, the arithmetic circuit MAC3, or the like described in the above embodiment. Note that depending on a circuit structure, the capacitor 600 illustrated in
[0537] The transistor 300 is provided over a substrate 311 and includes a conductor 316, an insulator 315, a semiconductor region 313 that is part of the substrate 311, and a low-resistance region 314a and a low-resistance region 314b functioning as a source region and a drain region. Note that the transistor 300 can be used as, for example, the transistors or the like included in the arithmetic circuit MAC1, the arithmetic circuit MAC1A, the arithmetic circuit MAC2, the arithmetic circuit MAC3, or the like described in the above embodiment. Specifically, the transistor 300 can be used as a transistor included in the operational amplifier OP1 or the like included in the converter circuit ITRZ1 to the converter circuit ITRZ3 in
[0538] A semiconductor substrate (e.g., a single crystal substrate or a silicon substrate) is preferably used as the substrate 311.
[0539] In the transistor 300, a top surface and a side surface in the channel width direction of the semiconductor region 313 are covered with the conductor 316 with the insulator 315 therebetween, as illustrated in
[0540] Note that the transistor 300 can be either a p-channel transistor or an n-channel transistor.
[0541] A region of the semiconductor region 313 where a channel is formed, a region in the vicinity thereof, the low-resistance region 314a and the low-resistance region 314b functioning as the source region and the drain region, and the like preferably contain a semiconductor such as a silicon-based semiconductor, further preferably contain single crystal silicon. Alternatively, the regions may be formed using a material containing Ge (germanium), SiGe (silicon germanium), GaAs (gallium arsenide), GaAlAs (gallium aluminum arsenide), GaN (gallium nitride), or the like. A structure may be employed in which silicon whose effective mass is controlled by applying stress to the crystal lattice and changing the lattice spacing is used. Alternatively, the transistor 300 may be an HEMT (High Electron Mobility Transistor) with GaAs and GaAlAs, or the like. The low-resistance region 314a and the low-resistance region 314b contain an element that imparts n-type conductivity, such as arsenic or phosphorus, or an element that imparts p-type conductivity, such as boron, in addition to a semiconductor material used for the semiconductor region 313.
[0542] For the conductor 316 functioning as a gate electrode, a semiconductor material such as silicon containing an element that imparts n-type conductivity, such as arsenic or phosphorus, or an element that imparts p-type conductivity, such as boron, or a conductive material such as a metal material, an alloy material, or a metal oxide material can be used.
[0543] Note that since the work function of a conductor depends on the material of the conductor, the threshold voltage of the transistor can be adjusted by selecting the material of the conductor. Specifically, it is preferable to use a material such as titanium nitride or tantalum nitride for the conductor. Moreover, in order to ensure both conductivity and embeddability, it is preferable to use stacked layers of metal materials such as tungsten and aluminum for the conductor, and it is particularly preferable to use tungsten in terms of heat resistance.
[0544] Note that the transistor 300 illustrated in
[0545] An insulator 320, an insulator 322, an insulator 324, and an insulator 326 are provided to be stacked in this order to cover the transistor 300.
[0546] For the insulator 320, the insulator 322, the insulator 324, and the insulator 326, silicon oxide, silicon oxynitride, silicon nitride oxide, silicon nitride, aluminum oxide, aluminum oxynitride, aluminum nitride oxide, or aluminum nitride can be used, for example.
[0547] Note that in this specification, silicon oxynitride refers to a material that has a higher oxygen content than a nitrogen content, and silicon nitride oxide refers to a material that has a higher nitrogen content than an oxygen content. Moreover, in this specification, aluminum oxynitride refers to a material that has a higher oxygen content than a nitrogen content, and aluminum nitride oxide refers to a material that has a higher nitrogen content than an oxygen content.
[0548] The insulator 322 may have a function of a planarization film for planarizing a level difference caused by the transistor 300 or the like provided below the insulator 322. For example, a top surface of the insulator 322 may be planarized by planarization treatment using a chemical mechanical polishing (CMP) method or the like to improve planarity.
[0549] As the insulator 324, it is preferable to use a film having a barrier property that prevents diffusion of hydrogen, impurities, or the like from the substrate 311, the transistor 300, or the like into a region where the transistor 500 is provided.
[0550] For the film having a barrier property against hydrogen, silicon nitride formed by a CVD method can be used, for example. Here, diffusion of hydrogen into a semiconductor element including an oxide semiconductor, such as the transistor 500, degrades the characteristics of the semiconductor element in some cases. Therefore, a film that inhibits hydrogen diffusion is preferably used between the transistor 500 and the transistor 300. The film that inhibits hydrogen diffusion is specifically a film from which a small amount of hydrogen is released.
[0551] The amount of released hydrogen can be analyzed by thermal desorption spectroscopy (TDS), for example. The amount of hydrogen released from the insulator 324 that is converted into hydrogen atoms per area of the insulator 324 is less than or equal to 10×10.sup.15 atoms/cm.sup.2, preferably less than or equal to 5×10.sup.15 atoms/cm.sup.2, in the TDS analysis in a film-surface temperature range of 50° C. to 500° C., for example.
[0552] Note that the permittivity of the insulator 326 is preferably lower than that of the insulator 324. For example, the dielectric constant of the insulator 326 is preferably lower than 4, further preferably lower than 3. The dielectric constant of the insulator 326 is, for example, preferably 0.7 times or less, further preferably 0.6 times or less the dielectric constant of the insulator 324. When a material with a low permittivity is used for the interlayer film, the parasitic capacitance generated between wirings can be reduced.
[0553] A conductor 328, a conductor 330, and the like that are connected to the capacitor 600 or the transistor 500 are embedded in the insulator 320, the insulator 322, the insulator 324, and the insulator 326. Note that the conductor 328 and the conductor 330 have a function of a plug or a wiring. A plurality of conductors having a function of a plug or a wiring are collectively denoted by the same reference numeral in some cases. Moreover, in this specification and the like, a wiring and a plug connected to the wiring may be a single component. That is, in some cases, part of a conductor functions as a wiring or part of a conductor functions as a plug.
[0554] As a material of each of plugs and wirings (e.g., the conductor 328 and the conductor 330), a single layer or a stacked layer of a conductive material such as a metal material, an alloy material, a metal nitride material, or a metal oxide material can be used. It is preferable to use a high-melting-point material that has both heat resistance and conductivity, such as tungsten or molybdenum, and it is preferable to use tungsten. Alternatively, a low-resistance conductive material such as aluminum or copper is preferably used. The use of a low-resistance conductive material can reduce wiring resistance.
[0555] A wiring layer may be provided over the insulator 326 and the conductor 330. For example, in
[0556] As the insulator 350, it is preferable to use, for example, an insulator having a barrier property against hydrogen, like the insulator 324. The conductor 356 preferably includes a conductor having a barrier property against hydrogen. In particular, the conductor having a barrier property against hydrogen is formed in an opening portion included in the insulator 350 having a barrier property against hydrogen. With this structure, the transistor 300 and the transistor 500 can be separated by the barrier layer, so that diffusion of hydrogen from the transistor 300 into the transistor 500 can be inhibited.
[0557] For the conductor having a barrier property against hydrogen, tantalum nitride is preferably used, for example. In addition, the use of a stack including tantalum nitride and tungsten, which has high conductivity, can inhibit diffusion of hydrogen from the transistor 300 while the conductivity of a wiring is kept. In that case, a structure is preferable in which a tantalum nitride layer having a barrier property against hydrogen is in contact with the insulator 350 having a barrier property against hydrogen.
[0558] A wiring layer may be provided over the insulator 354 and the conductor 356. For example, in
[0559] As the insulator 360, it is preferable to use, for example, an insulator having a barrier property against hydrogen, like the insulator 324. Furthermore, the conductor 366 preferably includes a conductor having a barrier property against hydrogen. In particular, the conductor having a barrier property against hydrogen is formed in an opening portion included in the insulator 360 having a barrier property against hydrogen. With this structure, the transistor 300 and the transistor 500 can be separated by the barrier layer, so that diffusion of hydrogen from the transistor 300 into the transistor 500 can be inhibited.
[0560] A wiring layer (not illustrated) may be provided over the insulator 364 and the conductor 366.
[0561] Although the wiring layer including the conductor 356 and the wiring layer including the conductor 366 are described above, the semiconductor device of this embodiment is not limited thereto. One or less wiring layer similar to the wiring layer including the conductor 356 may be provided, or three or more wiring layers that are similar to the wiring layer including the conductor 356 may be provided. Moreover, two or more wiring layers that are similar to the wiring layer including the conductor 366 may be provided.
[0562] An insulator 510, an insulator 512, an insulator 514, and an insulator 516 are provided to be stacked in this order over the insulator 364. A substance with a barrier property against oxygen, hydrogen, or the like is preferably used for any of the insulator 510, the insulator 512, the insulator 514, and the insulator 516.
[0563] For example, as the insulator 510 and the insulator 514, it is preferable to use a film having a barrier property that prevents diffusion of hydrogen, impurities, or the like from the substrate 311, a region where the transistor 300 is provided, or the like into the region where the transistor 500 is provided. Thus, a material similar to that for the insulator 324 can be used.
[0564] For the film having a barrier property against hydrogen, silicon nitride formed by a CVD method can be used, for example. Here, diffusion of hydrogen into a semiconductor element including an oxide semiconductor, such as the transistor 500, degrades the characteristics of the semiconductor element in some cases. Therefore, a film that inhibits hydrogen diffusion is preferably used between the transistor 500 and the transistor 300. The film that inhibits hydrogen diffusion is specifically a film from which a small amount of hydrogen is released.
[0565] For the film having a barrier property against hydrogen used for the insulator 510 and the insulator 514, a metal oxide such as aluminum oxide, hafnium oxide, or tantalum oxide is preferably used, for example.
[0566] In particular, aluminum oxide has an excellent blocking effect that prevents passage of oxygen and impurities such as hydrogen and moisture that would cause a change in the electrical characteristics of the transistor. Accordingly, aluminum oxide can prevent entry of impurities such as hydrogen and moisture into the transistor 500 in and after the manufacturing process of the transistor. In addition, release of oxygen from the oxide included in the transistor 500 can be inhibited. Therefore, aluminum oxide is suitably used for a protective film of the transistor 500.
[0567] For the insulator 512 and the insulator 516, a material similar to that for the insulator 320 can be used, for example. Furthermore, when a material with a comparatively low permittivity is used for these insulators, parasitic capacitance generated between wirings can be reduced. A silicon oxide film, a silicon oxynitride film, or the like can be used for the insulator 512 and the insulator 516, for example.
[0568] A conductor 518, a conductor included in the transistor 500 (e.g., a conductor 503), and the like are embedded in the insulator 510, the insulator 512, the insulator 514, and the insulator 516. Note that the conductor 518 has a function of a plug or a wiring that is connected to the capacitor 600 or the transistor 300. The conductor 518 can be provided using a material similar to those for the conductor 328 and the conductor 330.
[0569] In particular, a region of the conductor 518 that is in contact with the insulator 510 and the insulator 514 is preferably a conductor having a barrier property against oxygen, hydrogen, and water. With this structure, the transistor 300 and the transistor 500 can be separated by the layer having a barrier property against oxygen, hydrogen, and water; hence, the diffusion of hydrogen from the transistor 300 into the transistor 500 can be inhibited.
[0570] The transistor 500 is provided above the insulator 516.
[0571] As illustrated in
[0572] As illustrated in
[0573] Hereinafter, the oxide 530a, the oxide 530b, and the oxide 530c may be collectively referred to as an oxide 530.
[0574] The transistor 500 having a structure in which the three layers of the oxide 530a, the oxide 530b, and the oxide 530c are stacked in the region where the channel is formed and its vicinity is illustrated; however, one embodiment of the present invention is not limited thereto. For example, a single-layer structure of the oxide 530b, a two-layer structure of the oxide 530b and the oxide 530a, a two-layer structure of the oxide 530b and the oxide 530c, or a stacked-layer structure of four or more layers may be employed. Furthermore, although the conductor 560 is illustrated to have a stacked-layer structure of two layers in the transistor 500, one embodiment of the present invention is not limited thereto. For example, the conductor 560 may have a single-layer structure or a stacked-layer structure of three or more layers. Moreover, the transistor 500 illustrated in
[0575] Here, the conductor 560 functions as a gate electrode of the transistor, and the conductor 542a and the conductor 542b function as a source electrode and a drain electrode. As described above, the conductor 560 is formed to be embedded in an opening in the insulator 580 and the region sandwiched between the conductor 542a and the conductor 542b. The positions of the conductor 560, the conductor 542a, and the conductor 542b are selected in a self-aligned manner with respect to the opening in the insulator 580. That is, in the transistor 500, the gate electrode can be positioned between the source electrode and the drain electrode in a self-aligned manner. Thus, the conductor 560 can be formed without an alignment margin, resulting in a reduction in the area occupied by the transistor 500. Accordingly, miniaturization and high integration of the semiconductor device can be achieved.
[0576] Since the conductor 560 is formed in the region between the conductor 542a and the conductor 542b in a self-aligned manner, the conductor 560 includes neither a region overlapping with the conductor 542a nor the region overlapping with the conductor 542b. Thus, parasitic capacitance formed between the conductor 560 and each of the conductor 542a and the conductor 542b can be reduced. As a result, the transistor 500 can have increased switching speed and excellent frequency characteristics.
[0577] The conductor 560 sometimes functions as a first gate (also referred to as top gate) electrode. In addition, the conductor 503 sometimes functions as a second gate (also referred to as bottom gate) electrode. In that case, the threshold voltage of the transistor 500 can be controlled by changing a potential applied to the conductor 503 independently of a potential applied to the conductor 560. In particular, the threshold voltage of the transistor 500 can be increased and the off-state current can be reduced by applying a negative potential to the conductor 503. Thus, a drain current at the time when a potential applied to the conductor 560 is 0 V can be lower in the case where a negative potential is applied to the conductor 503 than in the case where a negative potential is not applied.
[0578] The conductor 503 is positioned to overlap with the oxide 530 and the conductor 560. Thus, when potentials are applied to the conductor 560 and the conductor 503, an electric field generated from the conductor 560 and an electric field generated from the conductor 503 are connected and can cover the channel formation region formed in the oxide 530. In this specification and the like, a transistor structure in which a channel formation region is electrically surrounded by electric fields of a first gate electrode and a second gate electrode is referred to as a surrounded channel (S-channel) structure.
[0579] The conductor 503 has a structure similar to that of the conductor 518; a conductor 503a is formed in contact with an inner wall of the opening in the insulator 514 and the insulator 516, and a conductor 503b is formed on the inner side. Although the transistor 500 having a structure in which the conductor 503a and the conductor 503b are stacked is illustrated, one embodiment of the present invention is not limited thereto. For example, the conductor 503 may be provided as a single layer or to have a stacked-layer structure of three or more layers.
[0580] Here, for the conductor 503a, a conductive material that has a function of inhibiting diffusion of impurities such as a hydrogen atom, a hydrogen molecule, a water molecule, and a copper atom (through which the above impurities are less likely to pass) is preferably used. Alternatively, it is preferable to use a conductive material that has a function of inhibiting diffusion of oxygen (e.g., at least one of an oxygen atom, an oxygen molecule, and the like) (through which the above oxygen is less likely to pass). Note that in this specification, a function of inhibiting diffusion of impurities or oxygen means a function of inhibiting diffusion of any one or all of the above impurities and the above oxygen.
[0581] For example, when the conductor 503a has a function of inhibiting diffusion of oxygen, a reduction in conductivity of the conductor 503b due to oxidation can be inhibited.
[0582] When the conductor 503 also functions as a wiring, for the conductor 503b, it is preferable to use a conductive material that has high conductivity and contains tungsten, copper, or aluminum as its main component. In the case where the conductivity of the wiring can be kept high, the conductor 503a is not necessarily provided. Note that the conductor 503b is illustrated as a single layer but may have a stacked-layer structure, for example, a stack of any of the above conductive materials and titanium or titanium nitride.
[0583] The insulator 520, the insulator 522, and the insulator 524 have a function of a second gate insulating film.
[0584] Here, as the insulator 524 in contact with the oxide 530, an insulator that contains oxygen more than oxygen in the stoichiometric composition is preferably used. That is, an excess-oxygen region is preferably formed in the insulator 524. When such an insulator containing excess oxygen is provided in contact with the oxide 530, oxygen vacancies in the oxide 530 can be reduced and the reliability of the transistor 500 can be improved.
[0585] As the insulator including an excess-oxygen region, specifically, an oxide material that releases part of oxygen by heating is preferably used. An oxide that releases oxygen by heating is an oxide film in which the amount of released oxygen converted into oxygen atoms is greater than or equal to 1.0×10.sup.18 atoms/cm.sup.3, preferably greater than or equal to 1.0×10.sup.19 atoms/cm.sup.3, further preferably greater than or equal to 2.0×10.sup.19 atoms/cm.sup.3 or greater than or equal to 3.0×10.sup.20 atoms/cm.sup.3 in TDS (Thermal Desorption Spectroscopy) analysis. Note that the temperature of the film surface in the TDS analysis is preferably in the range of 100° C. to 700° C. or 100° C. to 400° C.
[0586] One or more of heat treatment, microwave treatment, and RF treatment may be performed in a state in which the insulator including the excess-oxygen region and the oxide 530 are in contact with each other. By the treatment, water or hydrogen in the oxide 530 can be removed. For example, in the oxide 530, dehydrogenation can be performed when a reaction in which a bond of V.sub.OH is cut occurs, i.e., a reaction of “V.sub.OH.fwdarw.V.sub.O+H” occurs. Part of hydrogen generated at this time is bonded to oxygen to be H.sub.2O, and removed from the oxide 530 or an insulator near the oxide 530 in some cases. Part of hydrogen is diffused into or gettered (also referred to as gettering) by the conductor 542a and the conductor 542b in some cases.
[0587] For the microwave treatment, for example, an apparatus including a power supply that generates high-density plasma or an apparatus including a power supply that applies RF to the substrate side is suitably used. For example, the use of an oxygen-containing gas and high-density plasma enables high-density oxygen radicals to be generated, and application of the RF to the substrate side allows the oxygen radicals generated by the high-density plasma to be efficiently introduced into the oxide 530 or an insulator near the oxide 530. The pressure in the microwave treatment is higher than or equal to 133 Pa, preferably higher than or equal to 200 Pa, further preferably higher than or equal to 400 Pa. As a gas introduced into an apparatus for performing the microwave treatment, for example, oxygen and argon are used and the oxygen flow rate (O.sub.2/(O.sub.2+Ar)) is lower than or equal to 50%, preferably higher than or equal to 10% and lower than or equal to 30%.
[0588] In a manufacturing process of the transistor 500, heat treatment is preferably performed with the surface of the oxide 530 exposed. The heat treatment is performed at higher than or equal to 100° C. and lower than or equal to 450° C., preferably higher than or equal to 350° C. and lower than or equal to 400° C., for example. Note that the heat treatment is performed in a nitrogen gas or inert gas atmosphere, or an atmosphere containing an oxidizing gas at 10 ppm or more, 1% or more, or 10% or more. For example, the heat treatment is preferably performed in an oxygen atmosphere. Accordingly, oxygen can be supplied to the oxide 530 to reduce oxygen vacancies (V.sub.O). The heat treatment may be performed under reduced pressure. Alternatively, the heat treatment may be performed in such a manner that heat treatment is performed in a nitrogen gas or inert gas atmosphere, and then another heat treatment is performed in an atmosphere containing an oxidizing gas at 10 ppm or more, 1% or more, or 10% or more in order to compensate for released oxygen. Alternatively, the heat treatment may be performed in such a manner that heat treatment is performed in an atmosphere containing an oxidizing gas at 10 ppm or more, 1% or more, or 10% or more, and then another heat treatment is successively performed in a nitrogen gas or inert gas atmosphere.
[0589] Note that the oxygen adding treatment performed on the oxide 530 can promote a reaction in which oxygen vacancies in the oxide 530 are filled with supplied oxygen, i.e., a reaction of “V.sub.O+O.fwdarw.null”. Furthermore, hydrogen remaining in the oxide 530 reacts with supplied oxygen, so that the hydrogen can be removed as H.sub.2O (dehydration). This can inhibit recombination of hydrogen remaining in the oxide 530 with oxygen vacancies and formation of V.sub.OH.
[0590] In the case where the insulator 524 includes an excess-oxygen region, it is preferable that the insulator 522 have a function of inhibiting diffusion of oxygen (e.g., an oxygen atom and an oxygen molecule) (or the above oxygen be less likely to pass through the insulator 522).
[0591] The insulator 522 preferably has a function of inhibiting diffusion of oxygen or impurities, in which case oxygen contained in the oxide 530 is not diffused to the insulator 520 side. Furthermore, the conductor 503 can be inhibited from reacting with oxygen contained in the insulator 524, the oxide 530, or the like.
[0592] The insulator 522 is preferably a single layer or stacked layers using an insulator containing a high-k material such as aluminum oxide, hafnium oxide, an oxide containing aluminum and hafnium (hafnium aluminate), tantalum oxide, zirconium oxide, lead zirconate titanate (PZT), strontium titanate (SrTiO.sub.3), or (Ba,Sr)TiO.sub.3 (BST), for example. As miniaturization and high integration of transistors progress, a problem such as leakage current may arise because of a thinner gate insulating film. When a high-k material is used for the insulator functioning as the gate insulating film, a gate potential at the time when the transistor operates can be reduced while the physical thickness is maintained.
[0593] It is particularly preferable to use an insulator containing an oxide of one or both of aluminum and hafnium, which is an insulating material having a function of inhibiting diffusion of impurities, oxygen, and the like (through which the above oxygen is less likely to pass). As the insulator containing an oxide of one or both of aluminum and hafnium, aluminum oxide, hafnium oxide, an oxide containing aluminum and hafnium (hafnium aluminate), or the like is preferably used. In the case where the insulator 522 is formed using such a material, the insulator 522 functions as a layer that inhibits release of oxygen from the oxide 530 and entry of impurities such as hydrogen from the periphery of the transistor 500 into the oxide 530.
[0594] Alternatively, aluminum oxide, bismuth oxide, germanium oxide, niobium oxide, silicon oxide, titanium oxide, tungsten oxide, yttrium oxide, or zirconium oxide may be added to these insulators, for example. Alternatively, these insulators may be subjected to nitriding treatment. Silicon oxide, silicon oxynitride, or silicon nitride may be stacked over the above insulator.
[0595] It is preferable that the insulator 520 be thermally stable. For example, silicon oxide and silicon oxynitride, which have thermal stability, are suitable. Furthermore, when an insulator that is a high-k material is combined with silicon oxide or silicon oxynitride, the insulator 520 having a stacked-layer structure that has thermal stability and a high dielectric constant can be obtained.
[0596] Note that in the transistor 500 in
[0597] In the transistor 500, a metal oxide functioning as an oxide semiconductor is preferably used as the oxide 530 including the channel formation region. For example, as the oxide 530, a metal oxide such as an In—M—Zn oxide (the element M is one or more selected from aluminum, gallium, yttrium, copper, vanadium, beryllium, boron, titanium, iron, nickel, germanium, zirconium, molybdenum, lanthanum, cerium, neodymium, hafnium, tantalum, tungsten, magnesium, and the like) is preferably used. In particular, the In—M—Zn oxide that can be used as the oxide 530 is preferably a CAAC-OS (C-Axis Aligned Crystalline Oxide Semiconductor) or a CAC-OS (Cloud-Aligned Composite Oxide Semiconductor). Furthermore, an In—Ga oxide, an In—Zn oxide, an In oxide, or the like may be used as the oxide 530.
[0598] Furthermore, a metal oxide with a low carrier concentration is preferably used in the transistor 500. In order to reduce the carrier concentration of the metal oxide, the concentration of impurities in the metal oxide is reduced so that the density of defect states can be reduced. In this specification and the like, a state with a low impurity concentration and a low density of defect states is referred to as a highly purified intrinsic or substantially highly purified intrinsic state. Examples of impurities in a metal oxide include hydrogen, nitrogen, alkali metal, alkaline earth metal, iron, nickel, and silicon.
[0599] In particular, hydrogen contained in a metal oxide reacts with oxygen bonded to a metal atom to be water, and thus forms oxygen vacancies in the metal oxide in some cases. In the case where hydrogen enters an oxygen vacancy in the oxide 530, the oxygen vacancy and the hydrogen are bonded to each other to form V.sub.OH in some cases. The V.sub.OH serves as a donor and an electron that is a carrier is generated in some cases. In other cases, bonding of part of hydrogen to oxygen bonded to a metal atom generates an electron serving as a carrier. Thus, a transistor using a metal oxide containing a large amount of hydrogen is likely to have normally-on characteristics. Moreover, hydrogen in a metal oxide is easily transferred by a stress such as heat or an electric field; thus, a large amount of hydrogen contained in a metal oxide might reduce the reliability of the transistor. In one embodiment of the present invention, V.sub.OH in the oxide 530 is preferably reduced as much as possible so that the oxide 530 becomes a highly purified intrinsic or substantially highly purified intrinsic oxide. It is important to remove impurities such as moisture and hydrogen in a metal oxide (sometimes described as dehydration or dehydrogenation treatment) and to fill oxygen vacancies by supplying oxygen to the metal oxide (sometimes described as oxygen adding treatment) to obtain a metal oxide whose V.sub.OH is reduced enough. When a metal oxide in which impurities such as V.sub.OH are sufficiently reduced is used for a channel formation region of a transistor, stable electrical characteristics can be given.
[0600] A defect that is an oxygen vacancy into which hydrogen has entered can function as a donor of a metal oxide. However, it is difficult to evaluate the defects quantitatively. Thus, the metal oxide is sometimes evaluated by not its donor concentration but its carrier concentration. Therefore, in this specification and the like, the carrier concentration assuming the state where an electric field is not applied is sometimes used, instead of the donor concentration, as the parameter of the metal oxide. That is, “carrier concentration” in this specification and the like can be replaced with “donor concentration” in some cases.
[0601] Consequently, when a metal oxide is used for the oxide 530, hydrogen in the metal oxide is preferably reduced as much as possible. Specifically, the hydrogen concentration of the metal oxide, which is measured by secondary ion mass spectrometry (SIMS), is lower than 1×10.sup.20 atoms/cm.sup.3, preferably lower than 1×10.sup.19 atoms/cm.sup.3, further preferably lower than 5×10.sup.18 atoms/cm.sup.3, still further preferably lower than 1×10.sup.18 atoms/cm.sup.3. When a metal oxide with a sufficiently low concentration of impurities such as hydrogen is used for a channel formation region of a transistor, stable electrical characteristics can be given.
[0602] In the case where a metal oxide is used as the oxide 530, the metal oxide is an intrinsic (also referred to as i-type) or substantially intrinsic semiconductor that has a large band gap, and the carrier concentration of the metal oxide in the channel formation region is preferably lower than 1×10.sup.18 cm .sup.−3, further preferably lower than 1×10.sup.17 cm .sup.−3, still further preferably lower than 1×10.sup.16 cm.sup.−3, yet further preferably lower than 1×10.sup.13 cm.sup.−3, yet still further preferably lower than 1×10.sup.12 cm.sup.−3. Note that the lower limit of the carrier concentration of the metal oxide in the channel formation region is not particularly limited and can be, for example, 1×10.sup.−9 cm.sup.−3.
[0603] In the case where a metal oxide is used as the oxide 530, contact between the oxide 530 and each of the conductor 542a and the conductor 542b may diffuse oxygen in the oxide 530 into the conductor 542a and the conductor 542b, resulting in oxidation of the conductor 542a and the conductor 542b. It is highly possible that oxidation of the conductor 542a and the conductor 542b lowers the conductivity of the conductor 542a and the conductor 542b. Note that diffusion of oxygen from the oxide 530 into the conductor 542a and the conductor 542b can be rephrased as absorption of oxygen in the oxide 530 by the conductor 542a and the conductor 542b.
[0604] When oxygen in the oxide 530 diffuses into the conductor 542a and the conductor 542b, a layer is sometimes formed between the conductor 542a and the oxide 530b and between the conductor 542b and the oxide 530b. The layer contains a larger amount of oxygen than the conductor 542a and the conductor 542b and thus presumably has an insulating property. In this case, a three-layer structure of the conductor 542a or the conductor 542b, the layer, and the oxide 530b can be regarded as a three-layer structure of a metal, an insulator, and a semiconductor and is sometimes referred to as a MIS (Metal-Insulator-Semiconductor) structure or referred to as a diode-connected structure mainly formed of the MIS structure.
[0605] Note that the layer is not necessarily formed between the oxide 530b and each of the conductor 542a and the conductor 542b; for example, the layer may be formed between the oxide 530c and each of the conductor 542a and the conductor 542b, between the oxide 530b and each of the conductor 542a and the conductor 542b, or between the oxide 530c and each of the conductor 542a and the conductor 542b.
[0606] The metal oxide functioning as the channel formation region in the oxide 530 has a band gap of preferably 2 eV or more, further preferably 2.5 eV or more. With the use of a metal oxide having such a wide band gap, the off-state current of the transistor can be reduced. When the oxide 530 includes the oxide 530a under the oxide 530b, it is possible to inhibit diffusion of impurities into the oxide 530b from the components formed below the oxide 530a. Moreover, including the oxide 530c over the oxide 530b makes it possible to inhibit diffusion of impurities into the oxide 530b from the components formed above the oxide 530c.
[0607] Note that the oxide 530 preferably has a stacked-layer structure of a plurality of oxide layers that differ in the atomic ratio of metal atoms. Specifically, the atomic proportion of the element M in the constituent elements in the metal oxide used as the oxide 530a is preferably higher than the atomic proportion of the element M in the constituent elements in the metal oxide used as the oxide 530b. In addition, the atomic ratio of the element M to In in the metal oxide used as the oxide 530a is preferably higher than the atomic ratio of the element M to In in the metal oxide used as the oxide 530b. Furthermore, the atomic ratio of In to the element M in the metal oxide used as the oxide 530b is preferably higher than the atomic ratio of In to the element M in the metal oxide used as the oxide 530a. As the oxide 530c, it is possible to use a metal oxide that can be used as the oxide 530a or the oxide 530b.
[0608] Specifically, as the oxide 530a, a metal oxide in which an atomic ratio of In to Ga and Zn is In:Ga:Zn=1:3:4 or 1:1:0.5 is used. In addition, as the oxide 530b, a metal oxide in which an atomic ratio of In to Ga and Zn is In:Ga:Zn=4:2:3 or 1:1:1 is used. In addition, as the oxide 530c, a metal oxide in which an atomic ratio of In to Ga and Zn is In:Ga:Zn=1:3:4 or an atomic ratio of Ga to Zn is Ga:Zn=2:1 or Ga:Zn=2:5 is used. Specific examples of the case where the oxide 530c has a stacked-layer structure include a stacked-layer structure of a layer in which an atomic ratio of In to Ga and Zn is In:Ga:Zn=4:2:3 and a layer with In:Ga:Zn=1:3:4; a stacked-layer structure of a layer in which an atomic ratio of Ga to Zn is Ga:Zn=2:1 and a layer in which an atomic ratio of In to Ga and Zn is In:Ga:Zn=4:2:3; a stacked-layer structure of a layer in which an atomic ratio of Ga to Zn is Ga:Zn=2:5 and a layer in which an atomic ratio of In to Ga and Zn is In:Ga:Zn=4:2:3; and a stacked-layer structure of gallium oxide and a layer in which an atomic ratio of In to Ga and Zn is In:Ga:Zn=4:2:3.
[0609] For example, in the case where the atomic ratio of In to the element M in the metal oxide used as the oxide 530a is lower than the atomic ratio of In to the element M in the metal oxide used as the oxide 530b, an In—Ga—Zn oxide having a composition with an atomic ratio of In:Ga:Zn=5:1:6 or a neighborhood thereof, In:Ga:Zn=5:1:3 or a neighborhood thereof, In:Ga:Zn=10:1:3 or a neighborhood thereof, or the like can be used as the oxide 530b.
[0610] As the oxide 530b, it is also possible to use a metal oxide having a composition of In:Zn=2:1, a composition of In:Zn=5:1, a composition of In:Zn=10:1, or a composition in the neighborhood of any one of these compositions, other than the above-described compositions.
[0611] The oxide 530a, the oxide 530b, and the oxide 530c are preferably combined to satisfy the above relationship of the atomic ratios. For example, it is preferable that the oxide 530a and the oxide 530c each be a metal oxide having a composition of In:Ga:Zn=1:3:4 or a composition in the neighborhood thereof and the oxide 530b be a metal oxide having a composition of In:Ga:Zn=4:2:3 to 4.1 or a composition in the neighborhood thereof. Note that the above composition represents the atomic ratio of an oxide formed over a base or the atomic ratio of a sputtering target. Moreover, the proportion of In is preferably increased in the composition of the oxide 530b because the transistor can have a higher on-state current, higher field-effect mobility, or the like.
[0612] The energy of the conduction band minimum of the oxide 530a and the oxide 530c is preferably higher than the energy of the conduction band minimum of the oxide 530b. In other words, the electron affinity of the oxide 530a and the oxide 530c is preferably smaller than the electron affinity of the oxide 530b.
[0613] Here, the energy level of the conduction band minimum gradually changes at junction portions of the oxide 530a, the oxide 530b, and the oxide 530c. In other words, the energy level of the conduction band minimum at the junction portions of the oxide 530a, the oxide 530b, and the oxide 530c continuously changes or is continuously connected. To change the energy level gradually, the density of defect states in a mixed layer formed at the interface between the oxide 530a and the oxide 530b and the interface between the oxide 530b and the oxide 530c is preferably made low.
[0614] Specifically, when the oxide 530a and the oxide 530b or the oxide 530b and the oxide 530c contain a common element (as a main component) in addition to oxygen, a mixed layer with a low density of defect states can be formed. For example, in the case where the oxide 530b is an In—Ga—Zn oxide, it is preferable to use an In—Ga—Zn oxide, a Ga—Zn oxide, gallium oxide, or the like as the oxide 530a and the oxide 530c.
[0615] At this time, the oxide 530b serves as a main carrier path. When the oxide 530a and the oxide 530c have the above structure, the density of defect states at the interface between the oxide 530a and the oxide 530b and the interface between the oxide 530b and the oxide 530c can be made low. Thus, the influence of interface scattering on carrier conduction is small, and the transistor 500 can have a high on-state current.
[0616] The conductor 542a and the conductor 542b functioning as the source electrode and the drain electrode are provided over the oxide 530b. For the conductor 542a and the conductor 542b, it is preferable to use a metal element selected from aluminum, chromium, copper, silver, gold, platinum, tantalum, nickel, titanium, molybdenum, tungsten, hafnium, vanadium, niobium, manganese, magnesium, zirconium, beryllium, indium, ruthenium, iridium, strontium, and lanthanum; an alloy containing any of the above metal elements; an alloy containing a combination of the above metal elements; or the like. For example, it is preferable to use tantalum nitride, titanium nitride, tungsten, a nitride containing titanium and aluminum, a nitride containing tantalum and aluminum, ruthenium oxide, ruthenium nitride, an oxide containing strontium and ruthenium, an oxide containing lanthanum and nickel, or the like. Tantalum nitride, titanium nitride, a nitride containing titanium and aluminum, a nitride containing tantalum and aluminum, ruthenium oxide, ruthenium nitride, an oxide containing strontium and ruthenium, and an oxide containing lanthanum and nickel are preferable because they are oxidation-resistant conductive materials or materials that maintain their conductivity even after absorbing oxygen. Furthermore, a metal nitride film of tantalum nitride or the like is preferable because it has a barrier property against hydrogen or oxygen.
[0617] The conductor 542a and the conductor 542b are illustrated to have a single-layer structure in
[0618] Other examples include a three-layer structure in which a titanium film or a titanium nitride film is formed, an aluminum film or a copper film is stacked over the titanium film or the titanium nitride film, and a titanium film or a titanium nitride film is formed thereover; and a three-layer structure in which a molybdenum film or a molybdenum nitride film is formed, an aluminum film or a copper film is stacked over the molybdenum film or the molybdenum nitride film, and a molybdenum film or a molybdenum nitride film is formed thereover. Note that a transparent conductive material containing indium oxide, tin oxide, or zinc oxide may be used.
[0619] As illustrated in
[0620] When the conductor 542a (the conductor 542b) is provided to be in contact with the oxide 530, the oxygen concentration in the region 543a (the region 543b) sometimes decreases. In addition, a metal compound layer that contains the metal contained in the conductor 542a (the conductor 542b) and the component of the oxide 530 is sometimes formed in the region 543a (the region 543b). In such a case, the carrier concentration of the region 543a (the region 543b) increases, and the region 543a (the region 543b) becomes a low-resistance region. The insulator 544 is provided to cover the conductor 542a and the conductor 542b and inhibits oxidation of the conductor 542a and the conductor 542b. At this time, the insulator 544 may be provided to cover side surfaces of the oxide 530 and the insulator 524 and to be in contact with the insulator 522.
[0621] A metal oxide containing one or more selected from hafnium, aluminum, gallium, yttrium, zirconium, tungsten, titanium, tantalum, nickel, germanium, neodymium, lanthanum, magnesium, and the like can be used as the insulator 544. Moreover, silicon nitride oxide, silicon nitride, or the like can be used as the insulator 544.
[0622] It is particularly preferable to use an insulator containing an oxide of one or both of aluminum and hafnium, such as aluminum oxide, hafnium oxide, or an oxide containing aluminum and hafnium (hafnium aluminate), as the insulator 544. In particular, hafnium aluminate has higher heat resistance than a hafnium oxide film. Therefore, hafnium aluminate is preferable because it is less likely to be crystallized by heat treatment in a later step. Note that the insulator 544 is not an essential component when the conductor 542a and the conductor 542b are oxidation-resistant materials or do not significantly lose the conductivity even after absorbing oxygen. Design is determined as appropriate in consideration of required transistor characteristics.
[0623] With the insulator 544, diffusion of impurities such as water and hydrogen contained in the insulator 580 into the oxide 530b through the oxide 530c and the insulator 550 can be inhibited. Furthermore, oxidation of the conductor 560 due to excess oxygen contained in the insulator 580 can be inhibited.
[0624] The insulator 550 functions as a first gate insulating film. The insulator 550 is preferably positioned in contact with the inner side (the top surface and the side surface) of the oxide 530c. Like the insulator 524 described above, the insulator 550 is preferably formed using an insulator that contains excess oxygen and releases oxygen by heating.
[0625] Specifically, it is possible to use any of silicon oxide, silicon oxynitride, silicon nitride oxide, silicon nitride, silicon oxide to which fluorine is added, silicon oxide to which carbon is added, silicon oxide to which carbon and nitrogen are added, and porous silicon oxide, each of which contains excess oxygen. In particular, silicon oxide and silicon oxynitride, which have thermal stability, are preferable.
[0626] When an insulator that releases oxygen by heating is provided as the insulator 550 in contact with the top surface of the oxide 530c, oxygen can be effectively supplied from the insulator 550 to the channel formation region of the oxide 530b through the oxide 530c. Furthermore, as in the insulator 524, the concentration of impurities such as water and hydrogen in the insulator 550 is preferably lowered. The thickness of the insulator 550 is preferably greater than or equal to 1 nm and less than or equal to 20 nm.
[0627] To efficiently supply excess oxygen contained in the insulator 550 to the oxide 530, a metal oxide may be provided between the insulator 550 and the conductor 560. The metal oxide preferably inhibits diffusion of oxygen from the insulator 550 to the conductor 560. Providing the metal oxide that inhibits diffusion of oxygen inhibits diffusion of excess oxygen from the insulator 550 to the conductor 560. That is, a reduction in the amount of excess oxygen supplied to the oxide 530 can be inhibited. Moreover, oxidation of the conductor 560 due to excess oxygen can be inhibited. For the metal oxide, a material that can be used for the insulator 544 is used.
[0628] Note that the insulator 550 may have a stacked-layer structure like the second gate insulating film. As miniaturization and high integration of transistors progress, a problem such as leakage current may arise because of a thinner gate insulating film; for that reason, when the insulator functioning as a gate insulating film has a stacked-layer structure of a high-k material and a thermally stable material, a gate potential at the time when the transistor operates can be lowered while the physical thickness is maintained. Furthermore, the stacked-layer structure can be thermally stable and have a high dielectric constant.
[0629] The conductor 560 functioning as the first gate electrode is illustrated to have a two-layer structure in
[0630] For the conductor 560a, it is preferable to use a conductive material having a function of inhibiting diffusion of impurities such as a hydrogen atom, a hydrogen molecule, a water molecule, a nitrogen atom, a nitrogen molecule, a nitrogen oxide molecule (N.sub.2O, NO, NO.sub.2, and the like), and a copper atom. Alternatively, it is preferable to use a conductive material having a function of inhibiting diffusion of oxygen (e.g., at least one of an oxygen atom, an oxygen molecule, and the like). When the conductor 560a has a function of inhibiting diffusion of oxygen, it is possible to inhibit a reduction in conductivity of the conductor 560b due to oxidation caused by oxygen contained in the insulator 550. As a conductive material having a function of inhibiting oxygen diffusion, tantalum, tantalum nitride, ruthenium, or ruthenium oxide is preferably used, for example. For the conductor 560a, the oxide semiconductor that can be used as the oxide 530 can be used. In that case, when the conductor 560b is formed by a sputtering method, the conductor 560a can have a reduced electrical resistance value to be a conductor. This can be referred to as an OC (Oxide Conductor) electrode.
[0631] For the conductor 560b, it is preferable to use a conductive material containing tungsten, copper, or aluminum as its main component. Furthermore, the conductor 560b also functions as a wiring and thus a conductor having high conductivity is preferably used for the conductor 560b. For example, a conductive material containing tungsten, copper, or aluminum as its main component can be used. Moreover, the conductor 560b may have a stacked-layer structure, for example, a stacked-layer structure of any of the above conductive materials and titanium or titanium nitride.
[0632] The insulator 580 is provided over the conductor 542a and the conductor 542b with the insulator 544 therebetween. The insulator 580 preferably includes an excess-oxygen region. For example, the insulator 580 preferably contains silicon oxide, silicon oxynitride, silicon nitride oxide, silicon nitride, silicon oxide to which fluorine is added, silicon oxide to which carbon is added, silicon oxide to which carbon and nitrogen are added, porous silicon oxide, a resin, or the like. Silicon oxide and silicon oxynitride, which have thermal stability, are particularly preferable. In particular, silicon oxide and porous silicon oxide are preferable because an excess-oxygen region can be easily formed in a later step.
[0633] The insulator 580 preferably includes an excess-oxygen region. When the insulator 580 that releases oxygen by heating is provided in contact with the oxide 530c, oxygen in the insulator 580 can be efficiently supplied to the oxide 530 through the oxide 530c. The concentration of impurities such as water and hydrogen in the insulator 580 is preferably lowered.
[0634] The opening in the insulator 580 is formed to overlap with the region between the conductor 542a and the conductor 542b. Accordingly, the conductor 560 is formed to be embedded in the opening in the insulator 580 and the region sandwiched between the conductor 542a and the conductor 542b.
[0635] The gate length needs to be short for miniaturization of the semiconductor device, but it is necessary to prevent a reduction in conductivity of the conductor 560. When the conductor 560 is made thick to achieve this, the conductor 560 might have a shape with a high aspect ratio. In this embodiment, the conductor 560 is provided to be embedded in the opening in the insulator 580; thus, even when the conductor 560 has a shape with a high aspect ratio, the conductor 560 can be formed without collapsing during the process.
[0636] The insulator 574 is preferably provided in contact with a top surface of the insulator 580, a top surface of the conductor 560, and a top surface of the insulator 550. When the insulator 574 is formed by a sputtering method, an excess-oxygen region can be provided in the insulator 550 and the insulator 580. Thus, oxygen can be supplied from the excess-oxygen regions to the oxide 530.
[0637] For example, a metal oxide containing one or more selected from hafnium, aluminum, gallium, yttrium, zirconium, tungsten, titanium, tantalum, nickel, germanium, magnesium, and the like can be used as the insulator 574.
[0638] In particular, aluminum oxide has a high barrier property, and even a thin aluminum oxide film having a thickness of greater than or equal to 0.5 nm and less than or equal to 3.0 nm can inhibit diffusion of hydrogen and nitrogen. Thus, aluminum oxide formed by a sputtering method serves as an oxygen supply source and can also have a function of a barrier film against impurities such as hydrogen.
[0639] An insulator 581 functioning as an interlayer film is preferably provided over the insulator 574. As in the insulator 524 and the like, the concentration of impurities such as water and hydrogen in the insulator 581 is preferably lowered.
[0640] A conductor 540a and a conductor 540b are positioned in openings formed in the insulator 581, the insulator 574, the insulator 580, and the insulator 544. The conductor 540a and the conductor 540b are provided to face each other with the conductor 560 sandwiched therebetween. The conductor 540a and the conductor 540b each have a structure similar to that of a conductor 546 and a conductor 548 that will be described later.
[0641] An insulator 582 is provided over the insulator 581. A substance having a barrier property against oxygen, hydrogen, or the like is preferably used for the insulator 582. Therefore, a material similar to that for the insulator 514 can be used for the insulator 582. For example, a metal oxide such as aluminum oxide, hafnium oxide, or tantalum oxide is preferably used for the insulator 582.
[0642] In particular, aluminum oxide has an excellent blocking effect that prevents passage of oxygen and impurities such as hydrogen and moisture that would cause a change in the electrical characteristics of the transistor. Accordingly, aluminum oxide can prevent entry of impurities such as hydrogen and moisture into the transistor 500 in and after the manufacturing process of the transistor. In addition, release of oxygen from the oxide included in the transistor 500 can be inhibited. Therefore, aluminum oxide is suitably used for a protective film of the transistor 500.
[0643] An insulator 586 is provided over the insulator 582. For the insulator 586, a material similar to that for the insulator 320 can be used. Furthermore, when a material with a comparatively low permittivity is used for these insulators, parasitic capacitance generated between wirings can be reduced. A silicon oxide film, a silicon oxynitride film, or the like can be used for the insulator 586, for example.
[0644] The conductor 546, the conductor 548, and the like are embedded in the insulator 520, the insulator 522, the insulator 524, the insulator 544, the insulator 580, the insulator 574, the insulator 581, the insulator 582, and the insulator 586.
[0645] The conductor 546 and the conductor 548 function as plugs or wirings that are connected to the capacitor 600, the transistor 500, or the transistor 300. The conductor 546 and the conductor 548 can be provided using a material similar to those for the conductor 328 and the conductor 330.
[0646] Note that after the transistor 500 is formed, an opening may be formed to surround the transistor 500 and an insulator having a high barrier property against hydrogen or water may be formed to cover the opening. Surrounding the transistor 500 by the insulator having a high barrier property can prevent entry of moisture and hydrogen from the outside. Alternatively, a plurality of transistors 500 may be collectively surrounded by the insulator having a high barrier property against hydrogen or water. In the case where an opening is formed to surround the transistor 500, for example, the formation of an opening reaching the insulator 514 or the insulator 522 and the formation of the insulator having a high barrier property in contact with the insulator 514 or the insulator 522 are suitable because these formation steps can also serve as some of the manufacturing steps of the transistor 500. For the insulator having a high barrier property against hydrogen or water, a material similar to that for the insulator 522 is used, for example.
[0647] The capacitor 600 is provided above the transistor 500. The capacitor 600 includes a conductor 610, a conductor 620, and an insulator 630.
[0648] A conductor 612 may be provided over the conductor 546 and the conductor 548. The conductor 612 has a function of a plug or a wiring that is connected to the transistor 500. The conductor 610 has a function of an electrode of the capacitor 600. The conductor 612 and the conductor 610 can be formed at the same time.
[0649] As the conductor 612 and the conductor 610, it is possible to use a metal film containing an element selected from molybdenum, titanium, tantalum, tungsten, aluminum, copper, chromium, neodymium, and scandium; a metal nitride film containing any of the above elements as its component (a tantalum nitride film, a titanium nitride film, a molybdenum nitride film, or a tungsten nitride film); or the like. Alternatively, it is possible to use a conductive material such as indium tin oxide, indium oxide containing tungsten oxide, indium zinc oxide containing tungsten oxide, indium oxide containing titanium oxide, indium tin oxide containing titanium oxide, indium zinc oxide, or indium tin oxide to which silicon oxide is added.
[0650] The conductor 612 and the conductor 610 are each illustrated to have a single-layer structure in
[0651] The conductor 620 is provided to overlap with the conductor 610 with the insulator 630 therebetween. For the conductor 620, a conductive material such as a metal material, an alloy material, or a metal oxide material can be used. It is preferable to use a high-melting-point material that has both heat resistance and conductivity, such as tungsten or molybdenum, and it is particularly preferable to use tungsten. In addition, in the case where the conductor 620 is formed concurrently with another component such as a conductor, Cu (copper), Al (aluminum), or the like, which is a low-resistance metal material, is used.
[0652] An insulator 650 is provided over the conductor 620 and the insulator 630. The insulator 650 can be provided using a material similar to that for the insulator 320. The insulator 650 may function as a planarization film that covers an uneven shape thereunder.
[0653] With the use of this structure, a change in electrical characteristics can be inhibited and reliability can be improved in a semiconductor device using a transistor including an oxide semiconductor. Alternatively, a semiconductor device using a transistor including an oxide semiconductor can be miniaturized or highly integrated.
[0654] Next, other structure examples of the OS transistor illustrated in
[0655]
[0656] The transistor 500 having the structure illustrated in
[0657] In the transistor 500 having the structure illustrated in
[0658] In the transistor 500 having the structure illustrated in
[0659] The insulator 402 and the insulator 404 preferably have high capability of inhibiting diffusion of hydrogen (e.g., at least one of a hydrogen atom, a hydrogen molecule, and the like) or a water molecule. For example, for the insulator 402 and the insulator 404, silicon nitride or silicon nitride oxide that is a material having a high hydrogen barrier property is preferably used. This can inhibit diffusion of hydrogen or the like into the oxide 530, thereby suppressing the degradation of the characteristics of the transistor 500. Consequently, the reliability of the semiconductor device of one embodiment of the present invention can be increased.
[0660] The insulator 552 is provided in contact with the insulator 581, the insulator 404, the insulator 574, the insulator 580, and the insulator 544. The insulator 552 preferably has a function of inhibiting diffusion of hydrogen or water molecules. For example, as the insulator 552, an insulator such as silicon nitride, aluminum oxide, or silicon nitride oxide that is a material having a high hydrogen barrier property is preferably used. In particular, silicon nitride is suitably used for the insulator 552 because it is a material having a high hydrogen barrier property. The use of a material having a high hydrogen barrier property for the insulator 552 can inhibit diffusion of impurities such as water and hydrogen from the insulator 580 and the like into the oxide 530 through the conductor 540a and the conductor 540b. Furthermore, oxygen contained in the insulator 580 can be inhibited from being absorbed by the conductor 540a and the conductor 540b. As described above, the reliability of the semiconductor device of one embodiment of the present invention can be increased.
[0661]
[0662] The transistor structure of the transistor 500 illustrated in
[0663] The oxide 530c1 is in contact with a top surface of the insulator 524, a side surface of the oxide 530a, a top surface and a side surface of the oxide 530b, side surfaces of the conductor 542a and the conductor 542b, a side surface of the insulator 544, and a side surface of the insulator 580. The oxide 530c2 is in contact with the insulator 550.
[0664] An In—Zn oxide can be used as the oxide 530c1, for example. As the oxide 530c2, it is possible to use a material similar to a material that can be used for the oxide 530c when the oxide 530c has a single-layer structure. As the oxide 530c2, a metal oxide with In:Ga:Zn=1:3:4 [atomic ratio], Ga:Zn=2:1 [atomic ratio], or Ga:Zn=2:5 [atomic ratio] can be used, for example. When the oxide 530c has a two-layer structure of the oxide 530c1 and the oxide 530c2, the on-state current of the transistor can be increased as compared with the case where the oxide 530c has a single-layer structure. Thus, the transistor can be used as a power MOS transistor, for example. Note that the oxide 530c included in the transistor having the structure illustrated in
[0665] The transistor having the structure illustrated in
[0666]
[0667] Next, a capacitor that can be used in the semiconductor devices in
[0668]
[0669]
[0670] The conductor 610 functions as one of a pair of electrodes of the capacitor 600A, and the conductor 620 functions as the other of the pair of electrodes of the capacitor 600A. The insulator 630 functions as a dielectric sandwiched between the pair of electrodes.
[0671] The insulator 630 can be provided to have a single-layer structure or a stacked-layer structure using, for example, silicon oxide, silicon oxynitride, silicon nitride oxide, silicon nitride, aluminum oxide, aluminum oxynitride, aluminum nitride oxide, aluminum nitride, hafnium oxide, hafnium oxynitride, hafnium nitride oxide, hafnium nitride, or zirconium oxide.
[0672] Note that in this specification, hafnium oxynitride refers to a material that has a higher oxygen content than a nitrogen content, and hafnium nitride oxide refers to a material that has a higher nitrogen content than an oxygen content.
[0673] Alternatively, for the insulator 630, a stacked-layer structure using a material with high dielectric strength such as silicon oxynitride and a high permittivity (high-k) material may be used, for example. In the capacitor 600A having such a structure, a sufficient capacitance can be ensured owing to the high permittivity (high-k) insulator, and the dielectric strength can be increased owing to the insulator with high dielectric strength, so that the electrostatic breakdown of the capacitor 600A can be inhibited.
[0674] Examples of the insulator of a high permittivity (high-k) material (high dielectric constant material) include gallium oxide, hafnium oxide, zirconium oxide, an oxide containing aluminum and hafnium, an oxynitride containing aluminum and hafnium, an oxide containing silicon and hafnium, an oxynitride containing silicon and hafnium, and a nitride containing silicon and hafnium.
[0675] Alternatively, for example, a single layer or stacked layers of an insulator containing a high-k material, such as aluminum oxide, hafnium oxide, tantalum oxide, zirconium oxide, lead zirconate titanate (PZT), strontium titanate (SrTiO.sub.3), or (Ba,Sr)TiO.sub.3 (BST), may be used as the insulator 630. In the case where the insulator 630 has stacked layers, a three-layer structure in which zirconium oxide, aluminum oxide, and zirconium oxide are formed in this order, or a four-layer structure in which zirconium oxide, aluminum oxide, zirconium oxide, and aluminum oxide are formed in this order can be employed, for example. For the insulator 630, a compound containing hafnium and zirconium may be used, for example. As miniaturization and high integration of a semiconductor device progress, a problem such as leakage current from a transistor, a capacitor, and the like may arise because of a thinner gate insulator and a thinner dielectric used for a capacitor. When a high-k material is used as a gate insulator and an insulator functioning as a dielectric used for a capacitor, a gate potential during operation of the transistor can be lowered and capacitance of the capacitor can be ensured while the physical thickness is maintained.
[0676] The bottom portion of the conductor 610 in the capacitor 600 is electrically connected to the conductor 546 and the conductor 548. The conductor 546 and the conductor 548 function as plugs or wirings for connection to another circuit element. In
[0677] For clarification of the drawing, the insulator 586 in which the conductor 546 and the conductor 548 are embedded and the insulator 650 that covers the conductor 620 and the insulator 630 are omitted in
[0678] Although the capacitor 600 illustrated in each of
[0679]
[0680] In
[0681] For clarification of the drawing, the insulator 586, the insulator 650, and the insulator 651 are omitted in
[0682] For the insulator 631, a material similar to that for the insulator 586 can be used, for example.
[0683] A conductor 611 is embedded in the insulator 631 to be electrically connected to the conductor 540. For the conductor 611, a material similar to those for the conductor 330 and the conductor 518 can be used, for example.
[0684] For the insulator 651, a material similar to that for the insulator 586 can be used, for example.
[0685] The insulator 651 has an opening portion as described above, and the opening portion overlaps with the conductor 611.
[0686] The conductor 610 is formed on the bottom portion and the side surface of the opening portion. In other words, the conductor 610 overlaps with the conductor 611 and is electrically connected to the conductor 611.
[0687] The conductor 610 is formed in such a manner that an opening portion is formed in the insulator 651 by an etching method or the like, and then the conductor 610 is formed by a sputtering method, an ALD method, or the like. After that, the conductor 610 formed over the insulator 651 is removed by a CMP (Chemichal Mechanical Polishing) method or the like while the conductor 610 formed in the opening portion is left.
[0688] The insulator 630 is positioned over the insulator 651 and the formation surface of the conductor 610. Note that the insulator 630 functions as a dielectric sandwiched between the pair of electrodes in the capacitor.
[0689] The conductor 620 is formed over the insulator 630 so as to fill the opening portion of the insulator 651.
[0690] The insulator 650 is formed to cover the insulator 630 and the conductor 620.
[0691] The capacitance value of the cylindrical capacitor 600B illustrated in
[0692] Next, the photoelectric conversion element 700 provided above the capacitor 600 in
[0693] The photoelectric conversion element 700 includes a layer 767a, a layer 767b, a layer 767c, a layer 767d, and a layer 767e, for example.
[0694] The photoelectric conversion element 700 illustrated in
[0695] The layer 767a serving as the lower electrode can be one of an anode and a cathode, and the layer 767e serving as the upper electrode can be the other of the anode and the cathode. Note that in this embodiment, the layer 767a is the cathode and the layer 767e is the anode. The layer 767a is preferably a low-resistance metal layer or the like, for example. Specifically, for example, aluminum, titanium, tungsten, tantalum, silver, or a stack thereof can be used as the layer 767a.
[0696] As the layer 767e, for example, a conductive layer having a high visible-light-transmitting property is preferably used. Specifically, for example, an indium oxide, a tin oxide, a zinc oxide, an indium tin oxide, a gallium zinc oxide, an indium gallium zinc oxide, graphene, or the like can be used for the layer 767e. Note that the layer 767e can be omitted.
[0697] One of the layer 767b and the layer 767d in the photoelectric conversion portion can be a hole-transport layer and the other can be an electron-transport layer. The layer 767c can be a photoelectric conversion layer.
[0698] For the hole-transport layer, molybdenum oxide can be used, for example. For the electron-transport layer, fullerene such as C.sub.60 or C.sub.70, or a derivative thereof can be used, for example.
[0699] As the photoelectric conversion layer, a mixed layer of an n-type organic semiconductor and a p-type organic semiconductor (bulk heterojunction structure) can be used.
[0700] In the semiconductor device in
[0701] The layer 767c, the layer 767d, the layer 767e, and an insulator 753 are provided in this order to be stacked over the layer 767b.
[0702] The insulator 751 functions as an interlayer insulating film, for example. Like the insulator 324, the insulator 751 is preferably formed using an insulator having a barrier property against hydrogen, for example. The use of an insulator having a barrier property against hydrogen as the insulator 751 can inhibit diffusion of hydrogen into the transistor 500. Thus, the insulator 751 can be formed using any of the materials that can be used for the insulator 324, for example.
[0703] The insulator 752 functions as an element isolation layer, for example. The insulator 752 is provided to prevent a short circuit with an adjacent photoelectric conversion element, which is not illustrated. An organic insulator or the like is preferably used as the insulator 752, for example.
[0704] The insulator 753 functions as a planarization film having a light-transmitting property, for example. The insulator 753 can be formed using a material such as silicon oxide, silicon oxynitride, silicon nitride oxide, or silicon nitride, for example.
[0705] A light-blocking layer 771, an optical conversion layer 772, and a microlens array 773 are provided above the insulator 753, for example.
[0706] The light-blocking layer 771 provided over the insulator 753 can inhibit light from entering an adjacent photodiode. As the light-blocking layer 771, a metal layer of aluminum, tungsten, or the like can be used. The metal layer and a dielectric film having a function of an anti-reflection film may be stacked.
[0707] A color filter can be used as the optical conversion layer 772 provided over the insulator 753 and the light-blocking layer 771. When colors of R (red), G (green), B (blue), Y (yellow), C (cyan), M (magenta), and the like are assigned to the color filters of respective pixels, a color image can be obtained.
[0708] When a wavelength cut filter is used as the optical conversion layer 772, an imaging device can capture images in various wavelength regions.
[0709] For example, when a filter that blocks light having a wavelength shorter than or equal to that of visible light is used as the optical conversion layer 772, an infrared imaging device can be obtained. When a filter that blocks light having a wavelength shorter than or equal to that of near-infrared light is used as the optical conversion layer 772, a far-infrared imaging device can be obtained. When a filter that blocks light having a wavelength longer than or equal to that of visible light is used as the optical conversion layer 772, an ultraviolet imaging device can be obtained.
[0710] Furthermore, when a scintillator is used as the optical conversion layer 772, an imaging device that obtains an image visualizing the intensity of radiation, which is used for an X-ray imaging device or the like, can be obtained. Radiation such as X-rays passes through an object and enters the scintillator, and then is converted into light (fluorescence) such as visible light or ultraviolet light owing to a photoluminescence phenomenon. Then, the photoelectric conversion element 700 senses the light to obtain image data. Furthermore, the imaging device having this structure may be used in a radiation detector or the like.
[0711] A scintillator contains a substance that, when irradiated with radiation such as X-rays or gamma-rays, absorbs energy of the radiation to emit visible light, ultraviolet light, or the like. For example, a resin, ceramics, or the like in which Gd.sub.2O.sub.2S:Tb, Gd.sub.2O.sub.2S:Pr, Gd.sub.2O.sub.2S:Eu, BaFCl:Eu, NaI, CsI, CaF.sub.2, BaF.sub.2, CeF.sub.3, LiF, LiI, ZnO, or the like is dispersed can be used.
[0712] The microlens array 773 is provided over the light-blocking layer 771 and the optical conversion layer 772. Light passing through an individual lens of the microlens array 773 goes through the optical conversion layer 772 directly under the lens, and the photoelectric conversion element 700 is irradiated with the light. With the microlens array 773, collected light can be incident on the photoelectric conversion element 700; thus, photoelectric conversion can be efficiently performed. The microlens array 773 is preferably formed using a resin, glass, or the like with a high visible-light-transmitting property.
[0713] Although
[0714]
[0715] Note that the structure body SA includes the light-blocking layer 771, the optical conversion layer 772, and the microlens array 773, and refer to the above description for these components.
[0716] The photoelectric conversion element 700A is a pn-junction photodiode formed on a silicon substrate and includes a layer 765b corresponding to a p-type region and a layer 765a corresponding to an n-type region. The photoelectric conversion element 700A is a pinned photodiode, which can suppress a dark current and reduce noise with the thin p-type region (part of the layer 765b) provided on the surface side (current extraction side) of the layer 765a.
[0717] An insulator 701, a conductor 741, and a conductor 742 function as bonding layers. An insulator 754 functions as an interlayer insulating film and a planarization film. An insulator 755 functions as an element isolation layer. An insulator 756 has a function of inhibiting carrier leakage.
[0718] The silicon substrate is provided with a groove that separates pixels, and the insulator 756 is provided on the top surface of the silicon substrate and in the groove. The insulator 756 can inhibit leakage of carriers generated in the photoelectric conversion element 700A to an adjacent photodiode. The insulator 756 also has a function of inhibiting entry of stray light. Therefore, the insulator 756 can inhibit color mixture. Note that an anti-reflection film may be provided between the top surface of the silicon substrate and the insulator 756.
[0719] The element isolation layer can be formed by a LOCOS (LOCal Oxidation of Silicon) method. Alternatively, an STI (Shallow Trench Isolation) method or the like may be used. As the insulator 756, for example, an inorganic insulating film of silicon oxide, silicon nitride, or the like or an organic insulating film of polyimide, acrylic, or the like can be used. The insulator 756 may have a multilayer structure.
[0720] The layer 765a (corresponding to the n-type region and the cathode) of the photoelectric conversion element 700A is electrically connected to the conductor 741. The layer 765b (corresponding to the p-type region and the anode) is electrically connected to the conductor 742. The conductor 741 and the conductor 742 each include a region embedded in the insulator 701. Furthermore, surfaces of the insulator 701, the conductor 741, and the conductor 742 are planarized to be level with each other.
[0721] An insulator 691, an insulator 692, and an insulator 693 are stacked in this order above the insulator 650. An opening portion is provided in the insulator 691, the insulator 692, and the insulator 693, and a conductor 743 is formed to fill the opening portion.
[0722] Any of the materials that can be used for the insulator 751 can be used for the insulator 691, for example.
[0723] In addition, any of the materials that can be used for the insulator 650 can be used for the insulator 692, for example.
[0724] The insulator 693 and the insulator 701 each function as part of a bonding layer. In addition, the conductor 741, the conductor 742, and the conductor 743 each function as part of a bonding layer.
[0725] For example, silicon oxide, silicon oxynitride, silicon nitride oxide, silicon nitride, titanium nitride, or the like can be used for the insulator 693 and the insulator 701. Since the insulator 693 and the insulator 701 are bonded to each other, it is particularly preferable that the insulator 693 and the insulator 701 be formed of the same components.
[0726] For example, copper, aluminum, tin, zinc, tungsten, silver, platinum, gold, or the like can be used for the conductor 741, the conductor 742, and the conductor 743. It is particularly preferable to use copper, aluminum, tungsten, or gold for easy bonding of the conductor 741 and the conductor 743, and the conductor 742 and the conductor 743.
[0727] The conductor 741, the conductor 742, and the conductor 743 may each have a multilayer structure including a plurality of layers. For example, a first conductor may be formed on the side surface of the opening portion in which the conductor 741, the conductor 742, or the conductor 743 is provided, and then a second conductor may be formed to fill the opening portion. A conductor having a barrier property against hydrogen, such as tantalum nitride, can be used as the first conductor, and tungsten with high conductivity can be used as the second conductor, for example.
[0728] In a pre-process for bonding the bonding layer on the substrate 311 side and the bonding layer on the structure body SA side, the surfaces of the insulator 693 and the conductor 743 are planarized so that they are level with each other on the substrate 311 side. Similarly, the surfaces of the insulator 701, the conductor 741, and the conductor 742 are planarized so that they are level with each other on the structure body SA side.
[0729] In the case where bonding of the insulator 693 and the insulator 701, i.e., bonding of insulating layers, is performed in the bonding step, a hydrophilic bonding method or the like can be employed in which, after high planarity is obtained by polishing or the like, the surfaces subjected to hydrophilicity treatment with oxygen plasma or the like are arranged in contact with and bonded to each other temporarily, and then dehydrated by heat treatment to perform final bonding. The hydrophilic bonding method can also cause bonding at an atomic level; thus, mechanically excellent bonding can be obtained.
[0730] When bonding of the conductor 741 and the conductor 743 and bonding of the conductor 742 and the conductor 743, i.e., bonding of conductors, are performed, for example, a surface activated bonding method can be used in which an oxide film, a layer adsorbing impurities, and the like on the surface are removed by sputtering processing or the like and the cleaned and activated surfaces are brought into contact to be bonded to each other. Alternatively, a diffusion bonding method in which the surfaces are bonded to each other by using temperature and pressure together can be used, for example. Both methods cause bonding at an atomic level, and therefore not only electrically but also mechanically excellent bonding can be obtained.
[0731] Through the above-described bonding step, the conductor 743 on the substrate 311 side can be electrically connected to the conductor 741 and the conductor 742 on the structure body SA side. In addition, mechanically strong connection can be established between the insulator 693 on the substrate 311 side and the insulator 701 on the structure body SA side.
[0732] When the substrate 311 and the structure body SA are bonded to each other, the insulating layers and the metal layers coexist on their bonding surfaces; therefore, the surface activated bonding method and the hydrophilic bonding method are performed in combination, for example.
[0733] For example, a method can be used in which the surfaces are made clean after polishing, the surfaces of the metal layers are subjected to antioxidant treatment and hydrophilicity treatment, and then bonding is performed. Furthermore, hydrophilicity treatment may be performed on the surfaces of the metal layers being hardly oxidizable metal such as gold. Note that a bonding method other than the above-mentioned methods may be used.
[0734] Note that this embodiment can be combined with any of the other embodiments described in this specification as appropriate.
Embodiment 6
[0735] Described in this embodiment is a metal oxide (hereinafter, also referred to as an oxide semiconductor) that can be used in the OS transistor described in the above embodiment.
[0736] The metal oxide preferably contains at least indium or zinc. In particular, indium and zinc are preferably contained. In addition, aluminum, gallium, yttrium, tin, or the like is preferably contained. Furthermore, one or more kinds selected from boron, silicon, titanium, iron, nickel, germanium, zirconium, molybdenum, lanthanum, cerium, neodymium, hafnium, tantalum, tungsten, magnesium, cobalt, and the like may be contained.
<Classification Of Crystal Structure>
[0737] First, the classification of the crystal structures of an oxide semiconductor will be described with reference to
[0738] As shown in
[0739] Note that the structures in the thick frame in
[0740] Note that a crystal structure of a film or a substrate can be evaluated with an X-ray diffraction (XRD) spectrum.
[0741] As shown in
[0742] A crystal structure of a film or a substrate can also be evaluated with a diffraction pattern obtained by a nanobeam electron diffraction (NBED) method (such a pattern is also referred to as a nanobeam electron diffraction pattern).
[0743] As shown in
«Structure of Oxide Semiconductor»
[0744] Oxide semiconductors might be classified in a manner different from one shown in
[0745] Here, the above-described CAAC-OS, nc-OS, and a-like OS are described in detail.
[CAAC-OS]
[0746] The CAAC-OS is an oxide semiconductor that has a plurality of crystal regions each of which has c-axis alignment in a particular direction. Note that the particular direction refers to the thickness direction of a CAAC-OS film, the normal direction of the surface where the CAAC-OS film is formed, or the normal direction of the surface of the CAAC-OS film. The crystal region refers to a region having a periodic atomic arrangement. When an atomic arrangement is regarded as a lattice arrangement, the crystal region also refers to a region with a uniform lattice arrangement. The CAAC-OS has a region where a plurality of crystal regions are connected in the a-b plane direction, and the region has distortion in some cases. Note that distortion refers to a portion where the direction of a lattice arrangement changes between a region with a uniform lattice arrangement and another region with a uniform lattice arrangement in a region where a plurality of crystal regions are connected. That is, the CAAC-OS is an oxide semiconductor having c-axis alignment and having no clear alignment in the a-b plane direction.
[0747] Note that each of the plurality of crystal regions is formed of one or more minute crystals (crystals each of which has a maximum diameter of less than 10 nm). In the case where the crystal region is formed of one minute crystal, the maximum diameter of the crystal region is less than 10 nm. In the case where the crystal region is formed of a large number of minute crystals, the size of the crystal region may be approximately several tens of nanometers.
[0748] In the case of an In—M—Zn oxide (the element M is one or more kinds selected from aluminum, gallium, yttrium, tin, titanium, and the like), the CAAC-OS tends to have a layered crystal structure (also referred to as a layered structure) in which a layer containing indium (In) and oxygen (hereinafter, an In layer) and a layer containing the element M, zinc (Zn), and oxygen (hereinafter, an (M,Zn) layer) are stacked. Indium and the element M can be replaced with each other. Therefore, indium may be contained in the (M,Zn) layer. In addition, the element M may be contained in the In layer. Note that Zn may be contained in the In layer. Such a layered structure is observed as a lattice image in a high-resolution TEM image, for example.
[0749] When the CAAC-OS film is subjected to structural analysis by out-of-plane XRD measurement with an XRD apparatus using θ/2θ scanning, for example, a peak indicating c-axis alignment is detected at 2θ of 31° or around 31°. Note that the position of the peak indicating c-axis alignment (the value of 2θ) may change depending on the kind, composition, or the like of the metal element contained in the CAAC-OS.
[0750] For example, a plurality of bright spots are observed in the electron diffraction pattern of the CAAC-OS film. Note that one spot and another spot are observed point-symmetrically with a spot of the incident electron beam passing through a sample (also referred to as a direct spot) as the symmetric center.
[0751] When the crystal region is observed from the particular direction, a lattice arrangement in the crystal region is basically a hexagonal lattice arrangement; however, a unit lattice is not always a regular hexagon and is a non-regular hexagon in some cases. A pentagonal lattice arrangement, a heptagonal lattice arrangement, and the like are included in the distortion in some cases. Note that a clear crystal grain boundary (also referred to as grain boundary) cannot be observed even in the vicinity of the distortion in the CAAC-OS. That is, formation of a crystal grain boundary is inhibited by the distortion of lattice arrangement. This is probably because the CAAC-OS can tolerate distortion owing to a low density of arrangement of oxygen atoms in the a-b plane direction, an interatomic bond distance changed by substitution of a metal atom, and the like.
[0752] Note that a crystal structure in which a clear crystal grain boundary is observed is what is called polycrystal. It is highly probable that the crystal grain boundary becomes a recombination center and traps carriers and thus decreases the on-state current and field-effect mobility of a transistor, for example. Thus, the CAAC-OS in which no clear crystal grain boundary is observed is one of crystalline oxides having a crystal structure suitable for a semiconductor layer of a transistor. Note that Zn is preferably contained to form the CAAC-OS. For example, an In—Zn oxide and an In—Ga—Zn oxide are suitable because they can inhibit generation of a crystal grain boundary as compared with an In oxide.
[0753] The CAAC-OS is an oxide semiconductor with high crystallinity in which no clear crystal grain boundary is observed. Thus, in the CAAC-OS, a reduction in electron mobility due to the crystal grain boundary is unlikely to occur. Moreover, since the crystallinity of an oxide semiconductor might be decreased by entry of impurities, formation of defects, or the like, the CAAC-OS can be regarded as an oxide semiconductor that has small amounts of impurities, defects (e.g., oxygen vacancies), and the like. Thus, an oxide semiconductor including the CAAC-OS is physically stable. Therefore, the oxide semiconductor including the CAAC-OS is resistant to heat and has high reliability. In addition, the CAAC-OS is stable with respect to high temperature in the manufacturing process (what is called thermal budget). Accordingly, the use of the CAAC-OS for the OS transistor can extend the degree of freedom of the manufacturing process.
[nc-OS]
[0754] In the nc-OS, a microscopic region (e.g., a region with a size greater than or equal to 1 nm and less than or equal to 10 nm, in particular, a region with a size greater than or equal to 1 nm and less than or equal to 3 nm) has a periodic atomic arrangement. In other words, the nc-OS includes a minute crystal. Note that the size of the minute crystal is, for example, greater than or equal to 1 nm and less than or equal to 10 nm, particularly greater than or equal to 1 nm and less than or equal to 3 nm; thus, the minute crystal is also referred to as a nanocrystal. Furthermore, there is no regularity of crystal orientation between different nanocrystals in the nc-OS. Thus, the orientation in the whole film is not observed. Accordingly, the nc-OS cannot be distinguished from an a-like OS or an amorphous oxide semiconductor by some analysis methods. For example, when an nc-OS film is subjected to structural analysis by out-of-plane XRD measurement with an XRD apparatus using θ/2θ scanning, a peak indicating crystallinity is not detected. Furthermore, a diffraction pattern like a halo pattern is observed when the nc-OS film is subjected to electron diffraction (also referred to as selected-area electron diffraction) using an electron beam with a probe diameter larger than the diameter of a nanocrystal (e.g., larger than or equal to 50 nm). Meanwhile, in some cases, a plurality of spots in a ring-like region with a direct spot as the center are observed in the obtained electron diffraction pattern when the nc-OS film is subjected to electron diffraction (also referred to as nanobeam electron diffraction) using an electron beam with a probe diameter nearly equal to or smaller than the diameter of a nanocrystal (e.g., 1 nm or larger and 30 nm or smaller).
[a-Like OS]
[0755] The a-like OS is an oxide semiconductor having a structure between those of the nc-OS and the amorphous oxide semiconductor. The a-like OS contains a void or a low-density region. That is, the a-like OS has low crystallinity as compared with the nc-OS and the CAAC-OS. Moreover, the a-like OS has a higher hydrogen concentration in the film than the nc-OS and the CAAC-OS.
«Structure of Oxide Semiconductor»
[0756] Next, the above-described CAC-OS is described in detail. Note that the CAC-OS relates to the material composition.
[CAC-OS]
[0757] The CAC-OS refers to one composition of a material in which elements constituting a metal oxide are unevenly distributed with a size greater than or equal to 0.5 nm and less than or equal to 10 nm, preferably greater than or equal to 1 nm and less than or equal to 3 nm, or a similar size, for example. Note that a state in which one or more metal elements are unevenly distributed and regions including the metal element(s) are mixed with a size greater than or equal to 0.5 nm and less than or equal to 10 nm, preferably greater than or equal to 1 nm and less than or equal to 3 nm, or a similar size in a metal oxide is hereinafter referred to as a mosaic pattern or a patch-like pattern.
[0758] In addition, the CAC-OS has a composition in which materials are separated into a first region and a second region to form a mosaic pattern, and the first regions are distributed in the film (this composition is hereinafter also referred to as a cloud-like composition). That is, the CAC-OS is a composite metal oxide having a composition in which the first regions and the second regions are mixed.
[0759] Note that the atomic ratios of In, Ga, and Zn to the metal elements contained in the CAC-OS in an In—Ga—Zn oxide are denoted with [In], [Ga], and [Zn], respectively. For example, the first region in the CAC-OS in the In—Ga—Zn oxide has [In] higher than [In] in the composition of the CAC-OS film. Moreover, the second region has [Ga] higher than [Ga] in the composition of the CAC-OS film. Alternatively, for example, the first region has [In] higher than [In] in the second region and [Ga] lower than [Ga] in the second region. Moreover, the second region has [Ga] higher than [Ga] in the first region and [In] lower than [In] in the first region.
[0760] Specifically, the first region includes indium oxide, indium zinc oxide, or the like as its main component. The second region includes gallium oxide, gallium zinc oxide, or the like as its main component. That is, the first region can be rephrased as a region containing In as its main component. The second region can be rephrased as a region containing Ga as its main component.
[0761] Note that a clear boundary between the first region and the second region cannot be observed in some cases.
[0762] For example, in EDX mapping obtained by energy dispersive X-ray spectroscopy (EDX), it is confirmed that the CAC-OS in the In—Ga—Zn oxide has a structure in which the region containing In as its main component (the first region) and the region containing Ga as its main component (the second region) are unevenly distributed and mixed.
[0763] In the case where the CAC-OS is used for a transistor, a switching function (on/off switching function) can be given to the CAC-OS owing to the complementary action of the conductivity derived from the first region and the insulating property derived from the second region. That is, the CAC-OS has a conducting function in part of the material and has an insulating function in another part of the material; as a whole, the CAC-OS has a function of a semiconductor. Separation of the conducting function and the insulating function can maximize each function. Accordingly, when the CAC-OS is used for a transistor, a high on-state current (I.sub.on), high field-effect mobility (μ), and excellent switching operation can be achieved.
[0764] An oxide semiconductor has various structures with different properties. Two or more kinds among the amorphous oxide semiconductor, the polycrystalline oxide semiconductor, the a-like OS, the CAC-OS, the nc-OS, and the CAAC-OS may be included in an oxide semiconductor of one embodiment of the present invention.
<Transistor Including Oxide Semiconductor>
[0765] Next, the case where the above oxide semiconductor is used for a transistor is described. When the above oxide semiconductor is used for a transistor, a transistor with high field-effect mobility can be achieved. In addition, a transistor having high reliability can be achieved.
[0766] An oxide semiconductor having a low carrier concentration is preferably used in a transistor. For example, the carrier concentration of an oxide semiconductor is lower than or equal to 1×10.sup.17 cm .sup.−3, preferably lower than or equal to 1×10.sup.15 cm .sup.−3, further preferably lower than or equal to 1×10.sup.13 cm.sup.3, still further preferably lower than or equal to 1×10.sup.11 cm.sup.3, yet further preferably lower than 1×10.sup.10 cm.sup.3, and higher than or equal to 1×10.sup.−9 cm.sup.3. In order to reduce the carrier concentration of an oxide semiconductor film, the impurity concentration in the oxide semiconductor film is reduced so that the density of defect states can be reduced. In this specification and the like, a state with a low impurity concentration and a low density of defect states is referred to as a highly purified intrinsic or substantially highly purified intrinsic state. Note that an oxide semiconductor having a low carrier concentration may be referred to as a highly purified intrinsic or substantially highly purified intrinsic oxide semiconductor.
[0767] A highly purified intrinsic or substantially highly purified intrinsic oxide semiconductor film has a low density of defect states and thus also has a low density of trap states in some cases.
[0768] Charge trapped by the trap states in the oxide semiconductor takes a long time to disappear and might behave like fixed charge. Thus, a transistor whose channel formation region is formed in an oxide semiconductor with a high density of trap states has unstable electrical characteristics in some cases.
[0769] Accordingly, in order to obtain stable electrical characteristics of a transistor, reducing the impurity concentration in an oxide semiconductor is effective. In order to reduce the impurity concentration in the oxide semiconductor, it is preferable that the impurity concentration in an adjacent film be also reduced. Examples of impurities include hydrogen, nitrogen, an alkali metal, an alkaline earth metal, iron, nickel, and silicon.
<Impurity>
[0770] Here, the influence of each impurity in the oxide semiconductor is described.
[0771] When silicon or carbon, which is one of Group 14 elements, is contained in the oxide semiconductor, defect states are formed in the oxide semiconductor. Thus, the concentration of silicon or carbon in the oxide semiconductor and the concentration of silicon or carbon in the vicinity of an interface with the oxide semiconductor (the concentration obtained by secondary ion mass spectrometry (SIMS)) are each set lower than or equal to 2×10.sup.18 atoms/cm.sup.3, preferably lower than or equal to 2×10.sup.17 atoms/cm.sup.3.
[0772] When the oxide semiconductor contains an alkali metal or an alkaline earth metal, defect states are formed and carriers are generated in some cases. Thus, a transistor using an oxide semiconductor that contains an alkali metal or an alkaline earth metal is likely to have normally-on characteristics. Thus, the concentration of an alkali metal or an alkaline earth metal in the oxide semiconductor, which is obtained by SIMS, is lower than or equal to 1×10.sup.18 atoms/cm.sup.3, preferably lower than or equal to 2×10.sup.16 atoms/cm.sup.3.
[0773] Furthermore, when the oxide semiconductor contains nitrogen, the oxide semiconductor easily becomes n-type by generation of electrons serving as carriers and an increase in carrier concentration. As a result, a transistor using an oxide semiconductor containing nitrogen as a semiconductor is likely to have normally-on characteristics. When nitrogen is contained in the oxide semiconductor, a trap state is sometimes formed. This might make the electrical characteristics of the transistor unstable. Therefore, the concentration of nitrogen in the oxide semiconductor, which is obtained by SIMS, is set lower than 5×10.sup.19 atoms/cm.sup.3, preferably lower than or equal to 5×10.sup.18 atoms/cm.sup.3, further preferably lower than or equal to 1×10.sup.18 atoms/cm.sup.3, still further preferably lower than or equal to 5×10.sup.17 atoms/cm.sup.3.
[0774] Hydrogen contained in the oxide semiconductor reacts with oxygen bonded to a metal atom to be water, and thus forms an oxygen vacancy in some cases. Entry of hydrogen into the oxygen vacancy generates an electron serving as a carrier in some cases. Furthermore, bonding of part of hydrogen to oxygen bonded to a metal atom causes generation of an electron serving as a carrier in some cases. Thus, a transistor using an oxide semiconductor containing hydrogen is likely to have normally-on characteristics. Accordingly, hydrogen in the oxide semiconductor is preferably reduced as much as possible. Specifically, the hydrogen concentration in the oxide semiconductor, which is obtained by SIMS, is set lower than 1×10.sup.20 atoms/cm.sup.3, preferably lower than 1×10.sup.19 atoms/cm.sup.3, further preferably lower than 5×10.sup.18 atoms/cm.sup.3, still further preferably lower than 1×10.sup.18 atoms/cm.sup.3.
[0775] When an oxide semiconductor with sufficiently reduced impurities is used for the channel formation region of the transistor, stable electrical characteristics can be given.
[0776] Note that this embodiment can be combined with any of the other embodiments described in this specification as appropriate.
Embodiment 7
[0777] This embodiment will show examples of a semiconductor wafer where the semiconductor device or the like described in the above embodiment is formed and electronic components incorporating the semiconductor device.
<Semiconductor Wafer>
[0778] First, an example of a semiconductor wafer where a semiconductor device or the like is formed is described with reference to
[0779] A semiconductor wafer 4800 illustrated in
[0780] The semiconductor wafer 4800 can be fabricated by forming the plurality of circuit portions 4802 on the surface of the wafer 4801 by a pre-process. After that, a surface of the wafer 4801 opposite to the surface provided with the plurality of circuit portions 4802 may be ground to thin the wafer 4801. Through this step, warpage or the like of the wafer 4801 is reduced and the size of the component can be reduced.
[0781] A dicing step is performed as the next step. The dicing is performed along scribe lines SCL1 and scribe lines SCL2 (referred to as dicing lines or cutting lines in some cases) indicated by dashed-dotted lines. Note that to perform the dicing step easily, it is preferable that the spacing 4803 be provided such that the plurality of scribe lines SCL1 are parallel to each other, the plurality of scribe lines SCL2 are parallel to each other, and the scribe lines SCL1 are perpendicular to the scribe lines SCL2.
[0782] With the dicing step, a chip 4800a as illustrated in
[0783] Note that the shape of the element substrate of one embodiment of the present invention is not limited to the shape of the semiconductor wafer 4800 illustrated in
<Electronic Component>
[0784]
[0785]
[0786] The electronic component 4730 includes the semiconductor devices 4710. Examples of the semiconductor devices 4710 include the semiconductor device described in the above embodiment and a high bandwidth memory (HBM). An integrated circuit (a semiconductor device) such as a CPU, a GPU, an FPGA, or a memory device can be used as the semiconductor device 4735.
[0787] As the package substrate 4732, a ceramic substrate, a plastic substrate, a glass epoxy substrate, or the like can be used. As the interposer 4731, a silicon interposer, a resin interposer, or the like can be used.
[0788] The interposer 4731 includes a plurality of wirings and has a function of electrically connecting a plurality of integrated circuits with different terminal pitches. The plurality of wirings are provided in a single layer or multiple layers. Moreover, the interposer 4731 has a function of electrically connecting an integrated circuit provided on the interposer 4731 to an electrode provided on the package substrate 4732. Accordingly, the interposer is referred to as a “redistribution substrate” or an “intermediate substrate” in some cases. A through electrode is provided in the interposer 4731 and the through electrode is used to electrically connect an integrated circuit and the package substrate 4732 in some cases. In a silicon interposer, a TSV (Through Silicon Via) can also be used as the through electrode.
[0789] A silicon interposer is preferably used as the interposer 4731. A silicon interposer can be manufactured at lower cost than an integrated circuit because it is not necessary to provide an active element. Meanwhile, since wirings of a silicon interposer can be formed through a semiconductor process, formation of minute wirings, which is difficult for a resin interposer, is easy.
[0790] In order to achieve a wide memory bandwidth, many wirings need to be connected to an HBM. Therefore, formation of minute and high-density wirings is required for an interposer on which an HBM is mounted. For this reason, a silicon interposer is preferably used as the interposer on which an HBM is mounted.
[0791] In a SiP, an MCM, or the like using a silicon interposer, a decrease in reliability due to a difference in expansion coefficient between an integrated circuit and the interposer is less likely to occur. Furthermore, the surface of a silicon interposer has high planarity, so that a poor connection between the silicon interposer and an integrated circuit provided on the silicon interposer is less likely to occur. It is particularly preferable to use a silicon interposer for a 2.5D package (2.5-dimensional mounting) in which a plurality of integrated circuits are arranged side by side on an interposer.
[0792] A heat sink (a radiator plate) may be provided to overlap with the electronic component 4730. In the case of providing a heat sink, the heights of integrated circuits provided on the interposer 4731 are preferably equal to each other. For example, in the electronic component 4730 described in this embodiment, the heights of the semiconductor devices 4710 and the semiconductor device 4735 are preferably equal to each other.
[0793] To mount the electronic component 4730 on another substrate, an electrode 4733 may be provided on the bottom portion of the package substrate 4732.
[0794] The electronic component 4730 can be mounted on another substrate by various mounting methods other than BGA and PGA. For example, a mounting method such as SPGA (Staggered Pin Grid Array), LGA (Land Grid Array), QFP (Quad Flat Package), QFJ (Quad Flat J-leaded package), or QFN (Quad Flat Non-leaded package) can be employed.
[0795] Next, an electronic component including an image sensor chip (an imaging device) that includes a photoelectric conversion element is described.
[0796]
[0797]
[0798]
[0799]
[0800]
[0801]
[0802] The image sensor chip placed in a package having the above form can be easily mounted on a printed circuit board and the like; hence, the image sensor chip can be incorporated into a variety of semiconductor devices and electronic devices, for example.
[0803] Note that this embodiment can be combined with any of the other embodiments described in this specification as appropriate.
Embodiment 8
[0804] This embodiment will show examples of electronic devices each including the semiconductor device described in the above embodiment.
[Mobile Phone]
[0805] An information terminal 5500 illustrated in
[0806] The information terminal 5500 can execute an application utilizing artificial intelligence with the use of the semiconductor device described in the above embodiment. Examples of the application utilizing artificial intelligence include an application for interpreting a conversation and displaying its content on the display portion 5511; an application for recognizing letters, diagrams, and the like input to the touch panel of the display portion 5511 by a user and displaying them on the display portion 5511; and an application for biometric authentication using fingerprints, voice prints, or the like.
[Wearable Terminal]
[0807]
[0808] The wearable terminal can execute an application utilizing artificial intelligence with the use of the semiconductor device described in the above embodiment, like the information terminal 5500. Examples of the application utilizing artificial intelligence include an application for managing the health condition of the user of the wearable terminal and a navigation system that selects the optimal route and navigates the user on the basis of the input of the destination.
[Information Terminal]
[0809]
[0810] The desktop information terminal 5300 can execute an application utilizing artificial intelligence with the use of the semiconductor device described in the above embodiment, like the information terminal 5500. Examples of the application utilizing artificial intelligence include design-support software, text correction software, and software for automatic menu generation. Furthermore, with the use of the desktop information terminal 5300, novel artificial intelligence can be developed.
[0811] Note that although
[Household Appliance]
[0812]
[0813] When the semiconductor device described in the above embodiment is used for the electric refrigerator-freezer 5800, the electric refrigerator-freezer 5800 including artificial intelligence can be achieved. Utilizing the artificial intelligence enables the electric refrigerator-freezer 5800 to have a function of automatically making a menu based on foods stored in the electric refrigerator-freezer 5800, expiration dates of the foods, or the like, a function of automatically adjusting temperature to be appropriate for the foods stored in the electric refrigerator-freezer 5800, and the like.
[0814] Although the electric refrigerator-freezer is described as a household appliance in this example, other examples of the household appliance include a vacuum cleaner, a microwave oven, an electric oven, a rice cooker, a water heater, an IH (Induction Heating) cooker, a water server, a heating-cooling combination appliance such as an air conditioner, a washing machine, a drying machine, and an audio visual appliance.
[Game Machine]
[0815]
[0816]
[0817] A video of the game machine can be output with a display device such as a television device, a personal computer display, a game display, or a head-mounted display.
[0818] When the semiconductor device described in the above embodiment is used in the portable game machine 5200, the portable game machine 5200 with low power consumption can be achieved. Furthermore, heat generation from a circuit can be reduced owing to low power consumption; thus, the influence of heat generation on the circuit itself, the peripheral circuit, and the module can be reduced.
[0819] Furthermore, when the semiconductor device described in the above embodiment is used for the portable game machine 5200, the portable game machine 5200 including artificial intelligence can be achieved.
[0820] In general, the progress of a game, the actions and words of game characters, and expressions of a phenomenon and the like in the game are programmed in the game; however, the use of artificial intelligence in the portable game machine 5200 enables expressions not limited by the game program. For example, it becomes possible to change expressions such as questions posed by the player, the progress of the game, time, and actions and words of game characters.
[0821] When a game requiring a plurality of players is played on the portable game machine 5200, the artificial intelligence can create a virtual game player; thus, the game can be played alone with the game player created by the artificial intelligence as an opponent.
[0822] Although
[Moving Vehicle]
[0823] The semiconductor device described in the above embodiment can be used for an automobile, which is a moving vehicle, and around the driver's seat in an automobile.
[0824]
[0825] An instrument panel that can display a speedometer, a tachometer, a mileage, a fuel meter, a gearshift state, air-conditioning setting, and the like is provided around the driver's seat in the automobile 5700. In addition, a display device showing the above information may be provided around the driver's seat.
[0826] In particular, the display device can compensate for the view obstructed by the pillar or the like, the blind areas for the driver's seat, and the like by displaying a video taken by an imaging device (not illustrated) provided for the automobile 5700, thereby providing a high level of safety. That is, display of an image taken by an imaging device provided on the outside of the automobile 5700 can compensate for blind areas and enhance safety.
[0827] Since the semiconductor device described in the above embodiment can be used as the components of artificial intelligence, the computer can be used for an automatic driving system of the automobile 5700, for example. The computer can also be used for a system for navigation, risk prediction, or the like. The display device may display navigation information, risk prediction information, or the like.
[0828] Note that although an automobile is described above as an example of a moving vehicle, the moving vehicle is not limited to an automobile. Examples of the moving vehicle include a train, a monorail train, a ship, and a flying object (a helicopter, an unmanned aircraft (a drone), an airplane, and a rocket), and these moving vehicles can include a system utilizing artificial intelligence when equipped with the computer of one embodiment of the present invention.
[Camera]
[0829] The semiconductor device described in the above embodiment can be used for a camera.
[0830]
[0831] When the semiconductor device described in the above embodiment is used in the digital camera 6240, the digital camera 6240 with low power consumption can be achieved. Furthermore, heat generation from a circuit can be reduced owing to low power consumption; thus, the influence of heat generation on the circuit itself, the peripheral circuit, and the module can be reduced.
[0832] Furthermore, when the semiconductor device described in the above embodiment is used for the digital camera 6240, the digital camera 6240 including artificial intelligence can be achieved. Utilizing the artificial intelligence enables the digital camera 6240 to have a function of automatically recognizing a subject such as a face or an object, a function of adjusting a focus on the subject, a function of automatically using a flash in accordance with environments, a function of toning a taken image, and the like.
[Video Camera]
[0833] The semiconductor device described in the above embodiment can be used for a video camera.
[0834]
[0835] When videos taken by the video camera 6300 are recorded, the videos need to be encoded in accordance with a data recording format. With the use of artificial intelligence, the video camera 6300 can perform the pattern recognition by artificial intelligence in encoding of the videos. The pattern recognition is used to calculate a difference in the human, the animal, the object, and the like between continuously taken image data, so that the data can be compressed.
[Expansion device for PC]
[0836] The semiconductor device described in the above embodiment can be used in a calculator such as a PC (Personal Computer) and an expansion device for an information terminal.
[0837]
[0838] The expansion device 6100 includes a housing 6101, a cap 6102, a USB connector 6103, and a substrate 6104. The substrate 6104 is held in the housing 6101. The substrate 6104 is provided with a circuit for driving the semiconductor device or the like described in the above embodiment. For example, a chip 6105 (e.g., the semiconductor device described in the above embodiment, the electronic component 4700, or a memory chip) and a controller chip 6106 are attached to the substrate 6104. The USB connector 6103 functions as an interface for connection to an external device.
[0839] The use of the expansion device 6100 for the PC and the like can increase the arithmetic processing performance of the PC. Thus, a PC with insufficient processing performance can perform arithmetic operation of artificial intelligence, moving image processing, and the like.
[Broadcasting System]
[0840] The semiconductor device described in the above embodiment can be used for a broadcasting system.
[0841]
[0842] Although a UHF (Ultra High Frequency) antenna is illustrated as the antenna 5650 in
[0843] A radio wave 5675A and a radio wave 5675B are broadcasting signals for terrestrial broadcasting; a radio wave tower 5670 amplifies the received radio wave 5675A and transmits the radio wave 5675B. Each household can view terrestrial TV broadcasting on the TV 5600 by receiving the radio wave 5675B with the antenna 5650. Note that the broadcasting system is not limited to the terrestrial broadcasting illustrated in
[0844] The above-described broadcasting system may be a broadcasting system that utilizes artificial intelligence by including the semiconductor device described in the above embodiment. When the broadcast data is transmitted from the broadcast station 5680 to the TV 5600 of each household, the broadcast data is compressed with an encoder. When the antenna 5650 receives the compressed broadcast data, the compressed broadcast data is decompressed with a decoder of the receiving device in the TV 5600. Utilizing the artificial intelligence enables, for example, recognition of a display pattern included in a displayed image in motion compensation prediction, which is one of the compressing methods for the encoder. In-frame prediction utilizing artificial intelligence, for example, can also be performed. As another example, when the broadcast data with low resolution is received and the broadcast data is displayed on the TV 5600 with high resolution, image interpolation such as upconversion can be performed in the broadcast data decompression by the decoder.
[0845] The above-described broadcasting system utilizing artificial intelligence is suitable for ultra-high definition television (UHDTV: 4K and 8K) broadcasting, which needs a large amount of broadcast data.
[0846] As the application of artificial intelligence in the TV 5600, a recording device with artificial intelligence may be provided in the TV 5600, for example. With such a structure, the artificial intelligence can learn the user's preference, so that TV programs that suit the user's preference can be recorded automatically in the recording device.
[Authentication System]
[0847] The semiconductor device described in the above embodiment can be used for an authentication system.
[0848]
[0849] In
[Alarm]
[0850] The semiconductor device described in the above embodiment can be used for an alarm.
[0851] The sensor 6901 includes a sensor circuit 6904, an air vent 6905, an operation key 6906, and the like. The detection object that passes through the air vent 6905 is sensed with the sensor circuit 6904. The sensor circuit 6904 can be, for example, a detector in which water leakage, electric leakage, gas leakage, fire, the water level of a river that may overflow, the seismic intensity of an earthquake, a radiation, or the like is the detection object.
[0852] For example, when the sensor circuit 6904 senses the detection object with a predetermined value or more, the sensor 6901 transmits information thereof to the receiver 6902. The receiver 6902 includes a display portion 6907, operation keys 6908, an operation key 6909, a wiring 6910, and the like. The receiver 6902 controls the operation of the transmitter 6903 in accordance with the information from the sensor 6901. The transmitter 6903 includes a speaker 6911, a lighting device 6912, and the like. The transmitter 6903 has a function of giving an alarm in accordance with a command from the transmitter 6903. Although
[0853] In the case where the sensor circuit functions as a fire alarm, the receiver 6902 may command fire preventive equipment such as a shutter to perform a predetermined operation when an alarm is given. Although
[Robot]
[0854] The semiconductor device described in the above embodiment can be used for a robot.
[0855]
[0856] The function unit 6151 preferably has one or more functions of grasping, cutting, welding, applying, and bonding an object, for example. The productivity of the industrial robot 6150 increases as the response is improved. In order that the industrial robot 6150 can operate precisely, a sensor that senses a minute current or the like is preferably provided.
[0857] Note that this embodiment can be combined with any of the other embodiments described in this specification as appropriate.
REFERENCE NUMERALS
[0858] p MAC1: arithmetic circuit, MAC1A: arithmetic circuit, MAC2: arithmetic circuit, MAC2-1: arithmetic circuit, MAC2-2: arithmetic circuit, MAC3: arithmetic circuit, MAC4: arithmetic circuit, WCS: circuit, WCSa: circuit, XCS: circuit, XCSa: circuit, WSD: circuit, ITRZ[1]: converter circuit, ITRZ[n]: converter circuit, ITRZ1: converter circuit, ITRZ2: converter circuit, ITRZ3: converter circuit, ITRZD[j]: converter circuit, ITRZD1: converter circuit, ITRZD2: converter circuit, ITRZD3: converter circuit, ITRZD4: converter circuit, ITRZD4[1]: converter circuit, ITRZD4[n]: converter circuit, SWS1: circuit, SWS2: circuit, CA: cell array, LS: circuit, LGC: circuit, SCA: circuit, VINI: circuit, IM: cell, IM[1,1]: cell, IM[1,j]: cell, IM[m,j]: cell, IM[i,j]: cell, IM[m,1]: cell, IM[1,n]: cell, IM[m,n]: cell, IM[1,h]: cell, IM[n,h]: cell, IMr[1,j]: cell, IMr[i,j]: cell, IMr[m,j]: cell, IMr[1,h]: cell, IMr[n,h]: cell, IMs[i,j]: cell, IMsr[i,j]: cell, IMref: cell, IMref[1]: cell, IMref[i]: cell, IMref[m]: cell, IMref[n]: cell, IMrefs[i]: cell, CES[1,j]: circuit, CES[i,j]circuit, CES[m,j]circuit, CESref[i]: circuit, NN[1,1]node, NN[m,1]node, NN[1,j]: node, NN[m,j]: node, NN[1,n]: node, NN[m,n]: node, NNr[1,j]: node, NNr[m,j]: node, NNref[1]: node, NNref[m]: node, NNrefs[i]: node, CS: current source, CS1: current source, CS2: current source, CS3: current source, CS4: current source, CI: current source, CIr: current source, CSA: current source, CM1: current mirror circuit, CM2: current mirror circuit, ADC: analog-digital converter circuit, C5: capacitor, C5m: capacitor, C5ms: capacitor, C5r: capacitor, C5s: capacitor, C5sr: capacitor, C6: capacitor, CMP1: comparator, CMP2: comparator, F1: transistor, F1m: transistor, F1ms: transistor, F1r: transistor, F1s: transistor, F1sr: transistor, F2: transistor, F2m: transistor, F2ms: transistor, F2r: transistor, F2s: transistor, F2sr: transistor, F3: transistor, F3[1]: transistor, F3[j]: transistor, F3[n]: transistor, F3r: transistor, F3r[j]: transistor, F4: transistor, F4[1]: transistor, F4[j]: transistor, F4[n]: transistor, F4r: transistor, F4r[j]: transistor, F5: transistor, F6: transistor, F6r: transistor, F6s: transistor, F6sr: transistor, F7: transistor, F7r: transistor, F7s: transistor, F8: transistor, F8r: transistor, F8s: transistor, F8sr: transistor, F9: transistor, Tr1: transistor, Tr1[1]: transistor, Tr1[2]: transistor, Tr1[K]: transistor, Tr2: transistor, Tr2[1]: transistor, Tr2[2]: transistor, Tr2[K]: transistor, Tr3: transistor, R5: resistor, RP: resistor, RM: resistor, SNC: sensor, SNC[1]: sensor, SNC[m]: sensor, SPR[1]: circuit, SPR[m]: circuit, PD[1]: photodiode, PD[m]: photodiode, PDm: photodiode, OP1: operational amplifier, OP2: operational amplifier, OPP: operational amplifier, OPM: operational amplifier, SWW: switch, SWX: switch, SW[1]: switch, SW[m]: switch, LTA[1]: latch circuit, LTA[m]: latch circuit, LTB[1]: latch circuit, LTB[m]: latch circuit, BF[1]: buffer circuit, BF[m]: buffer circuit, T1: terminal, T2: terminal, U1: terminal, U2: terminal, U3: terminal, SWL1: wiring, SWL2: wiring, WCL: wiring, WCL[1]: wiring, WCL[j]: wiring, WCL[n]: wiring, WCLr: wiring, WCLr[j]: wiring, XCL: wiring, XCL[1]: wiring, XCL[i]: wiring, XCL[m]: wiring, XCLs[i]: wiring, WSL: wiring, WSL[1]: wiring, WSL[j]: wiring, WSL[m]: wiring, WSLs[j]: wiring, OL: wiring, OL[1]: wiring, OL[j]: wiring, OL[n]: wiring, DW: wiring, DW[1]: wiring, DW[2]: wiring, DW[K]: wiring, DX[1]: wiring, DX[2]: wiring, DX[L]: wiring, D[1]: wiring, D[2]: wiring, D[7]: wiring, CL[1]: wiring, CL[2]: wiring, CL[P]: wiring, VE: wiring, VDDL: wiring, VINIL1: wiring, VINIL2: wiring, VINIL3: wiring, VWL: wiring, VTL: wiring, VTHL: wiring, VRL: wiring, VRL2: wiring, VRL3: wiring, VRPL: wiring, VRML: wiring, VHE: wiring, VSE: wiring, OEL: wiring, OUTL: wiring, TM[1]: wiring, TM[n]: wiring, TH[1,h]: wiring, TH[n,h]: wiring, THr[1,h]: wiring, THr[n,h]: wiring, LXS[1]: wiring, LXS[m]: wiring, DXS[1]: wiring, DXS[m]: wiring, VTXL: wiring, VANL: wiring, VBGL: wiring, SCL: wiring, SPL: wiring, SEL[1]: wiring, SEL[m]: wiring, DAT: wiring, LAT: wiring, SWL[1]: wiring, SWL[m]: wiring, SA: structure body, SCL1: scribe line, SCL2: scribe line, 100: neural network, 300: transistor, 311: substrate, 313: semiconductor region, 314a: low-resistance region, 314b: low-resistance region, 315: insulator, 316: conductor, 320: insulator, 322: insulator, 324: insulator, 326: insulator, 328: conductor, 330: conductor, 350: insulator, 352: insulator, 354: insulator, 356: conductor, 360: insulator, 362: insulator, 364: insulator, 366: conductor, 402: insulator, 404: insulator, 500: transistor, 503: conductor, 503a: conductor, 503b: conductor, 510: insulator, 512: insulator, 514: insulator, 516: insulator, 518: conductor, 520: insulator, 522: insulator, 524: insulator, 530: oxide, 530a: oxide, 530b: oxide, 530c: oxide, 530c1: oxide, 530c2: oxide, 540: conductor, 540a: conductor, 540b: conductor, 542: conductor, 542a: conductor, 542b: conductor, 543a: region, 543b: region, 544: insulator, 546: conductor, 548: conductor, 550: insulator, 552: insulator, 560: conductor, 560a: conductor, 560b: conductor, 574: insulator, 580: insulator, 581: insulator, 582: insulator, 586: insulator, 600: capacitor, 600A: capacitor, 600B: capacitor, 610: conductor, 611: conductor, 612: conductor, 620: conductor, 630: insulator, 631: insulator, 650: insulator, 651: insulator, 691: insulator, 692: insulator, 693: insulator, 700: photoelectric conversion element, 700A: photoelectric conversion element, 701: insulator, 741: conductor, 742: conductor, 743: conductor, 751: insulator, 752: insulator, 753: insulator, 754: insulator, 755: insulator, 756: insulator, 765a: layer, 765b: layer, 767a: layer, 767b: layer, 767c: layer, 767d: layer, 767e: layer, 771: light-blocking layer, 772: optical conversion layer, 773: microlens array, 4510: package substrate, 4511: package substrate, 4520: cover glass, 4521: lens cover, 4530: adhesive, 4535: lens, 4540: bump, 4541: land, 4550: image sensor chip, 4551: image sensor chip, 4560: electrode pad, 4561: electrode pad, 4570: wire, 4571: wire, 4590: IC chip, 4700: electronic component, 4702: printed circuit board, 4704: mounting substrate, 4710: semiconductor device, 4711: mold, 4712: land, 4713: electrode pad, 4714: wire, 4730: electronic component, 4731: interposer, 4732: package substrate, 4733: electrode, 4735: semiconductor device, 4800: semiconductor wafer, 4800a: chip, 4801: wafer, 4801a: wafer, 4802: circuit portion, 4803: spacing, 4803a: spacing, 5200: portable game machine, 5201: housing, 5202: display portion, 5203: button, 5300: desktop information terminal, 5301: main body, 5302: display, 5303: keyboard, 5500: information terminal, 5510: housing, 5511: display portion, 5600: TV, 5650: antenna, 5670: radio wave tower, 5675A: radio wave, 5675B: radio wave, 5680: broadcast station, 5700: automobile, 5800: electric refrigerator-freezer, 5801: housing, 5802: refrigerator door, 5803: freezer door, 5900: information terminal, 5901: housing, 5902: display portion, 5903: operation button, 5904: operator, 5905: band, 6100: expansion device, 6101: housing, 6102: cap, 6103: USB connector, 6104: substrate, 6105: chip, 6106: controller chip, 6140: robot, 6141a: tactile sensor, 6141b: tactile sensor, 6141c: tactile sensor, 6141d: tactile sensor, 6141e: tactile sensor, 6150: industrial robot, 6151: function unit, 6152: control unit, 6153: drive shaft, 6154: drive shaft, 6155: drive shaft, 6240: digital camera, 6241: housing, 6242: display portion, 6243: operation button, 6244: shutter button, 6246: lens, 6300: video camera, 6301: first housing, 6302: second housing, 6303: display portion, 6304: operation key, 6305: lens, 6306: joint, 6431: housing, 6432: display portion, 6433: palm print reading portion, 6434: wiring, 6435: hand, 6900: alarm, 6901: sensor, 6902: receiver, 6903: transmitter, 6904: sensor circuit, 6905: air vent, 6906: operation key, 6907: display portion, 6908: operation key, 6909: operation key, 6910: wiring, 6911: speaker, 6912: lighting device, 7500: stationary game machine, 7520: main body, 7522: controller