Multiplier and operation method based on 1T1R memory
11200949 · 2021-12-14
Assignee
Inventors
Cpc classification
G11C5/025
PHYSICS
G11C2213/82
PHYSICS
G11C7/1006
PHYSICS
G11C7/1012
PHYSICS
International classification
G11C11/00
PHYSICS
G11C7/10
PHYSICS
Abstract
The invention discloses a multiplier and an operation method based on 1T1R memory. The multiplier includes: a 1T1R crossbar A.sub.1, a 1T1R crossbar A.sub.2, a 1T1R crossbar A.sub.3, and a peripheral circuit. The 1T1R matrices are configured to realize operation and store result of it, and the peripheral circuit is configured to transfer data and control signals, thereby controlling the operation and storage process of the 1T1R matrices. An operation circuit is configured to respectively achieve NOR Boolean logic operations, two-bit binary multipliers, and optimization. The operation method corresponding to the operation circuit respectively completes the corresponding calculation and storage process by controlling an initialization resistance state of 1T1R devices, the size of a word line input signal, the size of a bit line input signal, and the size of a source line input signal.
Claims
1. A multiplier based on a 1T1R memory configured to realize two-bit multiplication, which calculates product values s.sub.0˜3 according to input data a.sub.0a.sub.1 and b.sub.0b.sub.1, wherein the multiplier comprises: a 1T1R crossbar A.sub.1, a 1T1R crossbar A.sub.2, a 1T1R crossbar A.sub.3, and a peripheral circuit; the 1T1R crossbar A.sub.1 comprises: 4 1T1R devices R.sub.0A to R.sub.3A, respectively configured to store and calculate 4-bit initial input data s.sub.0A˜3A=a.sub.0a.sub.1b.sub.0b.sub.1, word line control signals corresponding to R.sub.0A to R.sub.3A are V.sub.WL0A to V.sub.WL3A, a bit line control signal corresponding to R.sub.0A to R.sub.3A is V.sub.BL0, and source line control signals corresponding to R.sub.0A to R.sub.3A are V.sub.SL0A to V.sub.SL3A respectively; the 1T1R crossbar A.sub.2 comprises: 15 1T1R devices R.sub.0˜14* respectively configured to store intermediate calculation results s.sub.0˜14* word line control signals corresponding to R.sub.0˜14* are V.sub.WL0˜14*, a bit line control signal corresponding to R.sub.0˜14* is V.sub.BL0, and source line control signals corresponding to R.sub.0˜14* are V.sub.SL0˜14*; the 1T1R crossbar A.sub.3 comprises: 4 1T1R devices R.sub.0B to R.sub.3B configured to calculate and store addition operation results s.sub.0˜3, word line control signals corresponding to R.sub.0B to R.sub.3B are V.sub.WL0B to V.sub.WL3B, a bit line control signal corresponding to R.sub.0B to R.sub.3B is V.sub.BL0, and source line control signals corresponding to R.sub.0B to R.sub.3B are V.sub.SL0B to V.sub.SL3B; the input signals are all controlled and applied by the peripheral circuit; the intermediate data s.sub.0˜14* and the calculation results s.sub.0˜3 obtained by calculating the 1T1R matrices A.sub.1, A.sub.2, and A.sub.3 realize data reading and outputting through a data transfer controller of the peripheral circuit.
2. An operation method based on the multiplier of claim 1, comprising the following steps: (S2-1) inputting logic signals V.sub.WL0A*=1, V.sub.SL0A=a.sub.0, and V.sub.BL0=
3. A multiplier based on a 1T1R memory configured to realize optimized two-bit binary multiplication and calculate product values s.sub.0˜3 according to input data a.sub.0a.sub.1 and b.sub.0b.sub.1, comprising: a 1T1R crossbar A.sub.1, a 1T1R crossbar A.sub.2, a 1T1R crossbar A.sub.3, and a peripheral circuit; the 1T1R crossbar A.sub.1 comprises 2 1T1R devices R.sub.0A to R.sub.1A respectively configured to store initial input data s.sub.0A˜3A=a.sub.0a.sub.1b.sub.0b.sub.1 or calculation results s.sub.0˜1, word line control signals corresponding to R.sub.0A to R.sub.3A are V.sub.WL0A to V.sub.WL1A, a bit line control signals corresponding to R.sub.0A to R.sub.1A is respectively V.sub.BL0, and source line control signals corresponding to R.sub.0A to R.sub.1A are respectively V.sub.SL0A to V.sub.SL1A; the 1T1R crossbar A.sub.2 comprises 8 1T1R devices R.sub.0˜7* respectively configured to store intermediate calculation results s.sub.0˜7*, word line control signals corresponding to R.sub.0˜7* are V.sub.WL0˜7* a bit line control signal corresponding to R.sub.0˜7*is V.sub.BL0, and source line control signals corresponding to R.sub.0˜7*are V.sub.SL0˜7*; the 1T1R crossbar A.sub.3 comprises 2 1T1R devices R.sub.0B to R.sub.1B configured to calculate and store addition operation results s.sub.2˜3, word line control signals corresponding to R.sub.0B to R.sub.1B are V.sub.WL0B to V.sub.WL1B, a bit line control signal corresponding to R.sub.0B to R.sub.1B is V.sub.BL0, and source line control signals corresponding to R.sub.0B to R.sub.1B are V.sub.SL0B to V.sub.SL1B; the input signals are all controlled and applied by the peripheral circuit; the intermediate data s.sub.0˜7* and the calculation results s.sub.0˜3 obtained by calculating the 1T1R matrices A.sub.1, A.sub.2, and A.sub.3 realize reading and outputting data through a data transfer controller in the peripheral circuit.
4. A computing method based on the multiplier of claim 3, comprising the following steps: (S3-1) inputting logic signals V.sub.WL0A=1, V.sub.SL0A=a.sub.0, and V.sub.BL0=
5. A multiplier based on a 1T1R memory, configured to realize a multiple parallel two-bit binary multiplier which calculates product value s.sub.00s.sub.10s.sub.20s.sub.30 to s.sub.0(n−1)s.sub.1(n−1)s.sub.2(n−1)s.sub.3(n−1) according to input data a.sub.00a.sub.10b.sub.00b.sub.10 to a.sub.0(n−1)a.sub.1(n−1)b.sub.0(n−1)b.sub.1(n−1), wherein n represents a number of module, and comprising: n 1T1R matrices A.sub.0 to A.sub.(n−1), n 1T1R matrices B.sub.0 to B.sub.(n−1), and n 1T1R matrices C.sub.0 to C.sub.(n−1), and a peripheral circuit; each of the n 1T1R matrices A.sub.0 to A.sub.(n−1) includes 4 1T1R devices R.sub.0A to R.sub.3A respectively configured to store and calculate 4-bit initial input data s.sub.0A˜3A, word line control signals corresponding to R.sub.0A to R.sub.3A are V.sub.WL0A to V.sub.WL3A, a bit line control signal corresponding to R.sub.0A to R.sub.3A is V.sub.BL0x respectively, and source line control signals corresponding to R.sub.0A to R.sub.3A are V.sub.SL0A to V.sub.SL3A respectively; each of the n 1T1R matrices B.sub.0 to B.sub.(n−1) comprises 16 1T1R devices R.sub.0˜15* respectively configured to store intermediate calculation results s.sub.0˜15*, word line control signals corresponding to R.sub.0˜15* are V.sub.WL0˜15*, a bit line control signal corresponding to R.sub.0˜15* is V.sub.BL0x, and source line control signals corresponding to R.sub.0˜15* are V.sub.SL0˜15*; each of the n 1T1R matrices C.sub.0 to C.sub.(n−1) comprises 4 1T1R devices R.sub.0C to R.sub.3C configured to calculate and store addition operation results s.sub.0˜3, word line control signals corresponding to R.sub.0C to R.sub.3C are V.sub.WL0C to V.sub.WL3C, a bit line control signal corresponding to R.sub.0C to R.sub.3C is V.sub.BL0x, and source line control signals corresponding to R.sub.0C to R.sub.3C are V.sub.SL0C to V.sub.SL3C; the input signals are all controlled and applied by the peripheral circuit; intermediate data s.sub.0x˜15x* and calculation results s.sub.0x˜3x obtained by calculating the 1T1R matrices A, B, and C realize reading and outputting data through a data transfer controller in the peripheral circuit, wherein x represents an x-th module; and at the same time, it is assured that bit lines of each of the modules are the same and bit lines of different modules are different.
6. An operation method based on the multiplier of claim 5, comprising the following steps: (S4-1) inputting logic signals V.sub.WL0Ax=1, V.sub.SL0Ax=a.sub.0x, and V.sub.BL0=
7. The multiplier of claim 1, wherein the peripheral circuit comprises: a data transfer controller, a word line decoder, a source line decoder, a bit line decoder, a word line multiplexer, a bit line multiplexer, a source line multiplexer, and a timer controller; the data transfer controller is formed by a data register, a data reading circuit, a data writing circuit, and a unit addressing circuit, and the data transfer controller has a data registration terminal D.sub.in, an output terminal D.sub.out, an address input terminal Address, a word line output terminal, a bit line output terminal, and a source line output terminal; the input terminal D.sub.in of the data transfer controller is configured to input a calculation data, the output terminal D.sub.out is configured to output a calculation result, the address input terminal Address of a state controller is configured to input an address information of a selected specific device, and the word line output terminal, the bit line output terminal, and the source line output terminal are configured to output address signals of word line, bit line, and source line and read and write signals generated by read and write circuits; the data transfer controller generates a control signal and output it to a next stage or read a final calculation result according to data inputted and outputted, and the address information request; an input terminal of the word line decoder is connected to a word line output terminal of the data transfer controller, and an output terminal of the word line decoder is connected to a word line multiplexer input terminal; after the word line decoder decodes a control signal generated by the state controller, a word line control signal is obtained, and the word line control signal is inputted to the word line multiplexer input terminal; an input terminal of the bit line decoder is connected to a bit line output terminal of the data transfer controller, and an output terminal of the bit line decoder is connected to a bit line multiplexer input terminal; after the bit line decoder decodes a control signal generated by the state controller, a bit line control signal is obtained, and the bit line control signal is inputted to the word line multiplexer input terminal; an input terminal of the source line decoder is connected to a source line output terminal of the data transfer controller, and an output terminal of the source line decoder is connected to a source line multiplexer input terminal; after the source line decoder decodes a control signal generated by the state controller, a source line control signal is obtained, and the source line control signal is inputted to the word line multiplexer input terminal; an output terminal of the word line multiplexer is connected to a word line of the 1T1R crossbar, and the word line multiplexer applies the word line control signal to a gated specific word line according to a signal of the word line decoder; an output terminal of the bit line multiplexer is connected to a bit line of a 1T1R crossbar, and the bit line multiplexer applies the bit line control signal to a gated specific bit line according to a signal of the bit line decoder; an output terminal of the source line multiplexer is connected to a source line of the 1T1R crossbar, and the source line multiplexer applies the source line control signal to a gated specific source line according to a signal of the source line decoder; the word line control signal, the bit line control signal, and the source line control signal are applied to the 1T1R crossbar in common to achieve a control of a resistance state of a 1T1R device in the 1T1R crossbar; an output terminal of the timing controller is connected to the word line, bit line, and source line multiplexers, and the timing controller generates a clock signal and an enable signal to control operation of the circuit.
8. The multiplier of claim 7, wherein the data registration terminal D.sub.in, the output terminal D.sub.out, the address input terminal Address, a clock signal input terminal clk signal, and an enable signal input terminal enable signal of the data transfer controller are respectively used as a data registration output terminal, an address input terminal, a clock signal input terminal, and an enable signal input terminal of a calculation matrix.
9. The multiplier of claim 3, wherein the peripheral circuit comprises: a data transfer controller, a word line decoder, a source line decoder, a bit line decoder, a word line multiplexer, a bit line multiplexer, a source line multiplexer, and a timing control device; the data transfer controller is formed by a data register, a data reading circuit, a data writing circuit, and a unit addressing circuit, and the data transfer controller has a data registration terminal D.sub.in, an output terminal D.sub.out, an address input terminal Address, a word line output terminal, a bit line output terminal, and a source line output terminal; the input terminal D.sub.in of the data transfer controller is configured to input a calculation data, the output terminal D.sub.out is configured to output a calculation result, the address input terminal Address of a state controller is configured to input an address information of a selected specific device, and the word line output terminal, the bit line output terminal, and the source line output terminal are configured to input address signals of word line, bit line, and source line and read and write signals generated by read and write circuits; the data transfer controller generates a control signal and output it to a next stage or read a final calculation result according to data inputted and outputted, and the address information request; an input terminal of the word line decoder is connected to a word line output terminal of the data transfer controller, and an output terminal of the word line decoder is connected to a word line multiplexer input terminal; after the word line decoder decodes a control signal generated by the state controller, a word line control signal is obtained, and the word line control signal is inputted to the word line multiplexer input terminal; an input terminal of the bit line decoder is connected to a bit line output terminal of the data transfer controller, and an output terminal of the bit line decoder is connected to a bit line multiplexer input terminal; after the bit line decoder decodes a control signal generated by the state controller, a bit line control signal is obtained, and the bit line control signal is inputted to the word line multiplexer input terminal; an input terminal of the source line decoder is connected to a source line output terminal of the data transfer controller, and an output terminal of the source line decoder is connected to a source line multiplexer input terminal; after the source line decoder decodes a control signal generated by the state controller, a source line control signal is obtained, and the source line control signal is inputted to the word line multiplexer input terminal; an output terminal of the word line multiplexer is connected to a word line of the 1T1R crossbar, and the word line multiplexer applies the word line control signal to a gated specific word line according to a signal of the word line decoder; an output terminal of the bit line multiplexer is connected to a bit line of a 1T1R crossbar, and the bit line multiplexer applies the bit line control signal to a gated specific bit line according to a signal of the bit line decoder; an output terminal of the source line multiplexer is connected to a source line of the 1T1R crossbar, and the source line multiplexer applies the source line control signal to a gated specific source line according to a signal of the source line decoder; the word line control signal, the bit line control signal, and the source line control signal are applied to the 1T1R crossbar in common to achieve a control of a resistance state of a 1T1R device in the 1T1R crossbar; an output terminal of the timing controller is connected to the word line, bit line, and source line multiplexers, and the timing controller generates a clock signal and an enable signal to control operation of the circuit.
10. The multiplier of claim 9, wherein the data registration terminal D.sub.in, the output terminal D.sub.out, the address input terminal Address, a clock signal input terminal clk signal, and an enable signal input terminal enable signal of the data transfer controller are respectively used as a data registration output terminal, an address input terminal, a clock signal input terminal, and an enable signal input terminal of a calculation matrix.
11. The multiplier of claim 5, wherein the peripheral circuit comprises: a data transfer controller, a word line decoder, a source line decoder, a bit line decoder, a word line multiplexer, a bit line multiplexer, a source line multiplexer, and a timing control device; the data transfer controller is formed by a data register, a data reading circuit, a data writing circuit, and a unit addressing circuit, and the data transfer controller has a data registration terminal D.sub.in, an output terminal D.sub.out, an address input terminal Address, a word line output terminal, a bit line output terminal, and a source line output terminal; the input terminal D.sub.in of the data transfer controller is configured to input a calculation data, the output terminal D.sub.out is configured to output a calculation result, the address input terminal Address of a state controller is configured to input an address information of a selected specific device, and the word line output terminal, the bit line output terminal, and the source line output terminal are configured to input address signals of word line, bit line, and source line and read and write signals generated by read and write circuits; the data transfer controller generates a control signal and output it to a next stage or read a final calculation result according to data inputted and outputted, and the address information request; an input terminal of the word line decoder is connected to a word line output terminal of the data transfer controller, and an output terminal of the word line decoder is connected to a word line multiplexer input terminal; after the word line decoder decodes a control signal generated by the state controller, a word line control signal is obtained, and the word line control signal is inputted to the word line multiplexer input terminal; an input terminal of the bit line decoder is connected to a bit line output terminal of the data transfer controller, and an output terminal of the bit line decoder is connected to a bit line multiplexer input terminal; after the bit line decoder decodes a control signal generated by the state controller, a bit line control signal is obtained, and the bit line control signal is inputted to the word line multiplexer input terminal; an input terminal of the source line decoder is connected to a source line output terminal of the data transfer controller, and an output terminal of the source line decoder is connected to a source line multiplexer input terminal; after the source line decoder decodes a control signal generated by the state controller, a source line control signal is obtained, and the source line control signal is inputted to the word line multiplexer input terminal; an output terminal of the word line multiplexer is connected to a word line of the 1T1R crossbar, and the word line multiplexer applies the word line control signal to a gated specific word line according to a signal of the word line decoder; an output terminal of the bit line multiplexer is connected to a bit line of a 1T1R crossbar, and the bit line multiplexer applies the bit line control signal to a gated specific bit line according to a signal of the bit line decoder; an output terminal of the source line multiplexer is connected to a source line of the 1T1R crossbar, and the source line multiplexer applies the source line control signal to a gated specific source line according to a signal of the source line decoder; the word line control signal, the bit line control signal, and the source line control signal are applied to the 1T1R crossbar in common to achieve a control of a resistance state of a 1T1R device in the 1T1R crossbar; an output terminal of the timing controller is connected to the word line, bit line, and source line multiplexers, and the timing controller generates a clock signal and an enable signal to control operation of the circuit.
12. The multiplier of claim 11, wherein the data registration terminal D.sub.in, the output terminal D.sub.out, the address input terminal Address, a clock signal input terminal clk signal, and an enable signal input terminal enable signal of the data transfer controller are respectively used as a data registration output terminal, an address input terminal, a clock signal input terminal, and an enable signal input terminal of a calculation matrix.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9) In all of the figures, the same reference numerals are used to denote the same elements or structures, wherein: 100 is the source line decoder, 101 is the source line multiplexer, 102 is the word line multiplexer, 103 is the word line decoder, 104 is the data transfer controller, 105 is the bit line multiplexer, 106 is the bit line decoder, 107 is the timing controller, 200 is the bit line, 201 is the RRAM upper electrode, 202 is the RRAM functional layer, 203 is the RRAM lower electrode, 204 is the source line, 205 is the transistor gate, 206 is the transistor insulating layer, 207 is the transistor source, 208 is the transistor drain, and 209 is the transistor substrate.
DESCRIPTION OF THE EMBODIMENTS
(10) In order to make the objects, technical solutions, and advantages of the invention clearer, the invention is further described in detail below with reference to the accompanying figures and embodiments. It should be understood that the specific embodiments described herein are only used to explain the invention, and are not intended to limit the invention.
(11) In order to make the objects, technical solutions, and advantages of the invention clearer, the invention is further described in detail below with reference to the accompanying figures and embodiments. It should be understood that the specific embodiments described herein are only used to explain the invention, and are not intended to limit the invention. In addition, the technical features involved in each embodiment of the invention described below may be combined with each other as long as there is no conflict with each other.
(12) A calculation matrix based on a 1T1R device provided by the invention as shown in
(13) A 1T1R array, as shown in
(14) The 1T1R devices, as shown in
(15) The resistance states of the 1T1R devices include: a high resistance state H and a low resistance state L; the resistance state of the 1T1R devices may undergo a reversible resistance state transition under the action of external signal excitation. That is, in an external signal excitation mode, the resistance state of the 1T1R devices may be changed from a high resistance state to a low resistance state, and in another external signal excitation mode, the resistance state of the 1T1R devices may be changed from the low resistance state to the high resistance state. Information storage and processing may be realized by using the two resistance states of the 1T1R devices.
(16) As shown in
(17) the data transfer controller 104 is formed by a data register, a data reading circuit, a data writing circuit, and a unit addressing circuit, and the data transfer controller 104 has a data registration terminal D.sub.in, an output terminal D.sub.out, an address input terminal Address, a word line output terminal, a bit line output terminal, and a source line output terminal; the input terminal D.sub.in of the data transfer controller is configured to input a calculation data, the output terminal D.sub.out is configured to output a calculation result, the address input terminal Address of the state controller is configured to input an address information of a selected specific device, and the word line output terminal, the bit line output terminal, and the source line output terminal are configured to input address signals of word line, bit line, and source line and read and write signals generated by the read and write circuits; the data transfer controller generates a control signal to output it to a next stage or read a final calculation result according to input and output data and the address information;
(18) an input terminal of the word line decoder 105 is connected to the word line output terminal of the data transfer controller, and an output terminal of the word line decoder is connected to a word line multiplexer input terminal; after the word line decoder decodes a control signal generated by the state controller, a word line control signal is obtained, and the word line control signal is inputted to the word line multiplexer input terminal;
(19) an input terminal of the bit line decoder 103 is connected to the bit line output terminal of the data transfer controller, and an output terminal of the bit line decoder is connected to a bit line multiplexer input terminal; after the bit line decoder decodes a control signal generated by the state controller, a bit line control signal is obtained, and the bit line control signal is inputted to the word line multiplexer input terminal;
(20) an input terminal of the source line decoder 100 is connected to the bit line output terminal of the data transfer controller, and an output terminal of the source line decoder is connected to a source line multiplexer input terminal; after the source line decoder decodes a control signal generated by the state controller, a source line control signal is obtained, and the source line control signal is inputted to the word line multiplexer input terminal;
(21) an output terminal of the word line multiplexer 106 is connected to the word lines of the 1T1R crossbar, and the word line multiplexer applies the word line control signal to a gated specific word line according to a signal of the word line decoder.
(22) An output terminal of the bit line multiplexer 102 is connected to the bit lines of the 1T1R crossbar, and the bit line multiplexer applies the bit line control signal to a gated specific bit line according to a signal of the bit line decoder.
(23) An output terminal of the source line multiplexer 101 is connected to the source lines of the 1T1R crossbar, and the source line multiplexer applies the source line control signal to a gated specific source line according to a signal of the source line decoder.
(24) The word line control signal, the bit line control signal, and the source line control signal are applied to the 1T1R crossbar in common to realize a control of a resistance state of the 1T1R devices in the 1T1R crossbar;
(25) an output terminal of the timing controller 107 is connected to the word line, bit line, and source line multiplexers, and the timing controller generates a clock signal and an enable signal to control operation of the circuit.
(26) The initialization resistance state, the word line input signals, the bit line input signals, and the source line input signals of the 1T1R devices are controlled to achieve non-basic Boolean logic operations, thus achieving 16 kinds of Boolean logic operations;
(27) a logic signal V.sub.WL=1 is inputted through the word lines, a logic signal V.sub.SL=V.sub.read is inputted through the source lines, a logic signal V.sub.BL=0 is inputted through the bit lines, and the logic signals stored on the 1T1R devices are read; wherein V.sub.read is a voltage pulse signal applied while reading the resistance state of the 1T1R devices.
(28)
(29) With reference to the operation circuit based on a calculation matrix shown in
(30) (S1-1) inputting logic signals V.sub.WL1=1, V.sub.SL1=in1, and V.sub.BL1=
(31) (S1-2) inputting logic signals V.sub.WL1=1, V.sub.SL2=in2, and V.sub.BL1=
(32) (S1-3) inputting logic signals V.sub.WL1=1, V.sub.SL3=1, and V.sub.BL1=0 and setting a 1T1R device R.sub.3 to low resistance;
(33) (S1-4) inputting logic signals V.sub.WL1=1, V.sub.SL1=V.sub.SL2=V.sub.SL1=V.sub.0, and V.sub.BL1=0 to calculate a NOR value out1 of input values in1 and in2 and writing it to the 1T1R device R.sub.3;
(34) (S1-5) reading the calculation result out1 stored in the 1T1R device R.sub.3.
(35)
(36) With reference to the operation circuit based on a calculation matrix shown in
(37) (S2-2) inputting logic signals V.sub.WL12*=1, V.sub.SL12*=0, and V.sub.BL0=1 and setting the 1T1R device R.sub.12* in high resistance, that is, S.sub.12*=0; inputting logic signals V.sub.WL0A˜3A=1, V.sub.WL0˜3*=1, V.sub.SL0A˜3A=V.sub.0, V.sub.SL12*=V.sub.0, V.sub.SL0˜3*=0, and V.sub.WL12*=1 respectively, and calculating NOT values s.sub.0*=
(38) (S2-3) inputting logic signals V.sub.WL0*=1, V.sub.WL2*=1, V.sub.WL4*=1, V.sub.SL0*=V.sub.0, V.sub.SL2*=V.sub.0, and V.sub.SL4*=0 to calculate a NOR value
(39)
of
(40) (S2-4) inputting logic signal V.sub.WL0*=1, V.sub.WL3*=1, V.sub.WL5*=1, V.sub.SL0*=V.sub.0, V.sub.SL3*=V.sub.0, and V.sub.SL5*=0 to calculate a NOR value
(41)
of
(42) (S2-5) inputting logic signal V.sub.WL0*=1, V.sub.WL3*=1, V.sub.WL5*=1, V.sub.SL0*=V.sub.0, V.sub.SL3*=V.sub.0, and V.sub.SL5*=0 to calculate a NOR value
(43)
of
(44) (S2-6) inputting logic signal V.sub.WL0*=1, V.sub.WL3*=1, V.sub.WL5*=1, V.sub.SL0*=V.sub.0, V.sub.SL3*=V.sub.0, and V.sub.SL5*=0 to calculate a NOR value
(45)
of
(46) (S2-7) inputting logic signals V.sub.WL4*=1, V.sub.WL0B=1, V.sub.WL8*=1, V.sub.SL4*=V.sub.0, V.sub.SL0B=V.sub.0, and V.sub.SL8*=0 to calculate a NOT values s.sub.8*=
(47)
in the 1T1R device R.sub.4* of the 1T1R crossbar A.sub.2 and storing it in the 1T1R device R.sub.8** of the 1T1R crossbar A.sub.2;
(48) (S2-8) inputting logic signals V.sub.WL5*=1, V.sub.WL0B=1, V.sub.WL9*=1, V.sub.SL5*=V.sub.0, V.sub.SL0B=V.sub.0, and V.sub.SL9*=0 to calculate a NOT values s.sub.9*=
(49)
in the 1T1R device R.sub.8* of the 1T1R crossbar A.sub.2 and storing it in the 1T1R device R.sub.9* of the 1T1R crossbar A.sub.2;
(50) (S2-9) inputting logic signals inputting logic signals V.sub.WL6*=1, V.sub.WL0B=1, V.sub.WL10*=1, V.sub.SL6*=V.sub.0, V.sub.SL0B=V.sub.0, and V.sub.SL10*=0 to calculate a NOT values s.sub.10*=
(51)
in the 1T1R device R.sub.6* of the 1T1R crossbar A.sub.2 and storing it in the 1T1R device R.sub.10* of the 1T1R crossbar A.sub.2;
(52) (S2-10) inputting logic signals inputting logic signals V.sub.WL7*=1, V.sub.WL0B=1, V.sub.WL11*=1, V.sub.SL7*=V.sub.0, V.sub.SL0B=V.sub.0, and V.sub.SL11*=0 to calculate a NOT values s.sub.11*=
(53)
in the 1T1R device R.sub.7* of the 1T1R crossbar A.sub.2 and storing it in the 1T1R device R.sub.11* of the 1T1R crossbar A.sub.2;
(54) (S2-11) inputting logic signals V.sub.WL8*=1, V.sub.WL11*=1, V.sub.WL0B=1, V.sub.SL8=V.sub.0, V.sub.SL8*=V.sub.0, and V.sub.SL0B=0 to calculate a NOR value of data
(55)
of a two-bit multiplication result and storing it in the 1T1R device R.sub.0B of the 1T1R crossbar A.sub.3;
(56) (S2-12) inputting logic signals V.sub.WL11*=1, V.sub.WL8*=1, V.sub.WL1B=1, V.sub.SL11=V.sub.0, V.sub.SL8=V.sub.0, and V.sub.SL1B=0 to calculate a NOR value of data
(57)
and
(58)
of the two-bit multiplication result and storing it in a the 1T1R device R.sub.1B of the 1T1R crossbar A.sub.3 respectively;
(59) (S2-13) inputting logic signals V.sub.WL5*=1, V.sub.WL10=1, V.sub.WL13*=1, V.sub.SL5*=V.sub.0, V.sub.SL10*=V.sub.0, and V.sub.SL13*=0 to calculate a NOR value
(60)
of data
(61)
and
(62) inputting logic signals V.sub.WL6*=1, V.sub.WL9=1, V.sub.WL14*=1, V.sub.SL6*=V.sub.0, V.sub.SL9*=V.sub.0, and V.sub.SL14*=0 to calculate a NOR value
(63)
of data
(64)
and a.sub.0+b.sub.1 in the 1T1R devices R.sub.6* and R.sub.9* of the 1T1R crossbar A.sub.2 and storing it in the 1T1R device R.sub.14* of the 1T1R crossbar A.sub.2 respectively; inputting logic signals V.sub.WL15*=1, V.sub.WL12*=1, V.sub.WL2B*=1, V.sub.SL13*=V.sub.0, V.sub.SL14*=V.sub.0, and V.sub.SL15*=0 to calculate a NOR value
(65)
of data
(66)
in the 1T1R devices R.sub.13* and R.sub.14* of the 1T1R crossbar A.sub.2; inputting logic signals V.sub.WL2A=1, V.sub.WL12*=1, V.sub.WL15*=1, V.sub.SL2B=V.sub.0, V.sub.SL12*=V.sub.0 and V.sub.SL15=V.sub.0 to obtain a third bit
(67)
of the two-bit multiplication result and storing it in a 1T1R device R.sub.2B of the 1T1R crossbar A.sub.3;
(68) (S2-14) inputting logic signals V.sub.WL3B=1, V.sub.SL3B=0, and V.sub.BL0=1 and setting the 1T1R device R.sub.3B of the 1T1R crossbar A.sub.3 in low resistance, wherein the data s.sub.7* in the 1T1R device R.sub.7* of the 1T1R crossbar A.sub.2 is a fourth bit of the two-bit multiplication result; inputting logic signals V.sub.WL7*=V.sub.WL3B=1, V.sub.SL7*=0, and V.sub.SL3B=V.sub.0 so that the 1T1R device R.sub.1 transfers the data s.sub.7* to the 1T1R device R.sub.3B through a transfer operation to obtain a fourth bit P.sub.3=s.sub.3 of the two-bit multiplication result.
(69)
(70) With reference to the operation circuit based on a calculation matrix shown in
(71) (S3-1) inputting logic signals V.sub.WL0A=1, V.sub.SL0A=a.sub.0, and V.sub.BL0=
(72) inputting logic signals V.sub.WL0A=1, V.sub.WL1A=1, V.sub.WL0*=1, V.sub.SL0A=V.sub.0, V.sub.SL1A=V.sub.0, and V.sub.SL0*=0 and obtaining a NOT value from data s.sub.0A=a.sub.0 and store it in the 1T1R device R.sub.0A of the 1T1R crossbar A.sub.1 in R.sub.0* of a 1T1R crossbar A.sub.2, that is, s.sub.0*=
(73) (S3-2) inputting logic signals V.sub.WL0A=1, V.sub.SL0A=a.sub.1, and V.sub.BL0=
(74) (S3-3) inputting logic signals V.sub.WL0A=1, V.sub.SL0A=b.sub.0, and V.sub.BL0=
(75) (S3-4) inputting logic signals V.sub.WL0A=1, V.sub.SL0A=b.sub.1, and V.sub.BL0=
(76) (S3-5) inputting logic signals V.sub.WL0*=1, V.sub.WL2*=1, V.sub.WL4=1, V.sub.SL0=V.sub.0, V.sub.SL2*=V.sub.0, and V.sub.SL4=0 to calculate a NOR value
(77)
of
(78) (S3-6) inputting logic signals inputting logic signals V.sub.WL0*=1, V.sub.WL3*=1, V.sub.WL4=1, V.sub.SL0=V.sub.0, V.sub.SL3*=V.sub.0, and V.sub.SL5=0 to calculate a NOR value
(79)
of
(80) (S3-7) inputting logic signals V.sub.WL1*=1, V.sub.WL2*=1, V.sub.WL0=1, V.sub.SL1=V.sub.0, V.sub.SL2*=V.sub.0, and V.sub.SL0=0 to calculate a NOR value
(81)
of
(82) (S3-8) inputting logic signals V.sub.WL1*=1, V.sub.WL3*=1, V.sub.WL2=1, V.sub.SL0=V.sub.0, V.sub.SL3*=V.sub.0, and V.sub.SL2=0 to calculate a NOR value
(83)
of
(84)
of a two-bit binary multiplication result;
(85) (S3-9) inputting logic signals V.sub.WL0*=1, V.sub.WL1A=1, V.sub.WL1*=1, V.sub.SL0*=V.sub.0, V.sub.SL1A=V.sub.0, and V.sub.SL1*=0 to calculate a NOT value s.sub.1*=
(86)
in the 1T1R device R.sub.1* of the 1T1R crossbar A.sub.2 and storing it in the 1T1R device R.sub.1* of the 1T1R crossbar A.sub.2;
(87) (S3-10) inputting logic signals V.sub.WL5*=1, V.sub.WL1A=1, V.sub.WL3*=1, V.sub.SL5*=V.sub.0, V.sub.SL1A=V.sub.0, and V.sub.SL3*=0 to calculate a NOT value s.sub.3*=
(88)
in the 1T1R device R.sub.8* of the 1T1R crossbar A.sub.2 and storing it in the 1T1R device R.sub.3* of the 1T1R crossbar A.sub.2;
(89) (S3-11) inputting logic signals V.sub.WL5*=1, V.sub.WL1*=1, V.sub.WL0A=1, V.sub.SL5*=V.sub.0, V.sub.SL1*=V.sub.0, and V.sub.SL0A=0 to calculate a NOR value
(90)
of data
(91)
and
(92) (S3-12) inputting logic signals V.sub.WL0*=1, V.sub.WL3*=1, V.sub.WL1A=1, V.sub.SL0*=V.sub.0, V.sub.SL3*=V.sub.0, and V.sub.SL1A=0 to calculate a NOR value
(93)
of data
(94)
and
(95) (S3-13) inputting logic signals V.sub.WL0*=1, V.sub.SL0*=0, and V.sub.BL0=1 and setting R.sub.0* of the 1T1R crossbar A.sub.2 in high resistance, that is, s.sub.0*=0; inputting logic signals V.sub.WL0A=1, V.sub.WL1A=1, V.sub.WL1*=1, V.sub.SL0A=V.sub.0, V.sub.SL1A=V.sub.0, and V.sub.SL1*=0 to calculate a NOR value
(96)
of data
(97)
in the 1T1R devices R.sub.0* and R.sub.1* of the 1T1R crossbar A.sub.1; inputting logic signals V.sub.WL0A=1, V.sub.WL0*=1, V.sub.WL1*=1, V.sub.SL0A=V.sub.0, and V.sub.SL0*=0 to calculate a third bit
(98)
of a two-bit multiplication result and storing it in the 1T1R device R.sub.0* of the 1T1R crossbar A.sub.1 respectively;
(99) (S3-14) inputting logic signals V.sub.WL0*=1, V.sub.WL1*=1, V.sub.WL2*=1, V.sub.SL0*=V.sub.0, V.sub.SL1=0, and V.sub.SL2*=V.sub.0, to calculate a NOT value s.sub.1*=
(100)
in the 1T1R device R.sub.2* of the 1T1R crossbar A.sub.2 and storing it in the 1T1R device R.sub.3* of the 1T1R crossbar A.sub.2;
(101) (S3-15) inputting logic signals V.sub.WL0*=1, V.sub.WL3*=1, V.sub.WL4*=1, V.sub.SL0*=V.sub.0, V.sub.SL3=0, and V.sub.SL4*=V.sub.0, to calculate a NOT value s.sub.3*=
(102)
in the 1T1R device R.sub.4* of the 1T1R crossbar A.sub.2 and storing it in the 1T1R device R.sub.3* of the 1T1R crossbar A.sub.2;
(103) (S3-16) inputting logic signals V.sub.WL1*=1, V.sub.WL3*=1, V.sub.WL1A=1, V.sub.SL1*=V.sub.0, V.sub.SL3*=0, and V.sub.SL1A=V.sub.0 to obtain
(104)
of a first bit P.sub.0=s.sub.1 of the two-bit multiplication result in the 1T1R devices R.sub.1* and R.sub.3* of the 1T1R crossbar A.sub.2 and storing it in the 1T1R device R.sub.1 of the 1T1R crossbar A.sub.1;
(105) (S3-17) inputting logic signals V.sub.WL0*=1, V.sub.WL2*=1, V.sub.WL3*=1, V.sub.SL0*=0, V.sub.SL3=V.sub.0, and V.sub.SL3*=V.sub.0 to obtain
(106)
of a second bit P.sub.1=s.sub.1 of the two-bit multiplication result in the 1T1R devices R.sub.2* and R.sub.3* of the 1T1R crossbar A.sub.2 and storing it in the 1T1R device R.sub.0* of the 1T1R crossbar A.sub.2;
(107)
(108) With reference to the operation circuit based on a calculation matrix shown in
(109) (S4-1) inputting logic signals V.sub.WL0Ax=1, V.sub.SL0Ax=a.sub.0x, and V.sub.BL0=
(110) (S4-2) inputting logic signals V.sub.WL12x*=1, V.sub.SL12x*=0, and V.sub.BL0x=1 and setting a 1T1R device R.sub.12x* in high resistance, that is, s.sub.12x*=0; inputting logic signals V.sub.WL0Ax˜3Ax=1, V.sub.WL0x˜3x*=1, V.sub.SL0Ax˜3Ax=V.sub.0, V.sub.SL12x*=V.sub.0, V.sub.SL0x˜3x*=0, and V.sub.WL12x*=0 respectively and calculating NOT values s.sub.0x*=
(111) (S4-3) inputting logic signals V.sub.WL0x*=1, V.sub.WL2x*=1, V.sub.WL4x*=1, V.sub.SL0x*=V.sub.0, V.sub.SL2x*=V.sub.0, and V.sub.SL4x*=0 to calculate a NOR value
(112)
of
(113) (S4-4) inputting logic signals V.sub.WL0x*=1, V.sub.WL3x*=1, V.sub.WL5x*=1, V.sub.SL0x*=V.sub.0, V.sub.SL3x*=V.sub.0, and V.sub.SL5x*=0 to calculate a NOR value
(114)
of
(115) (S4-5) inputting logic signals V.sub.WL1x*=1, V.sub.WL2x*=1, V.sub.WL6x*=1, V.sub.SL1x*=V.sub.0, V.sub.SL2x*=V.sub.0, and V.sub.SL6x*=0 to calculate a NOR value
(116)
of
(117) (S4-6) inputting logic signals V.sub.WL1x*=1, V.sub.WL3x*=1, V.sub.WL7x*=1, V.sub.SL1x*=V.sub.0, V.sub.SL3x*=V.sub.0, and V.sub.SL7x*=0 to calculate a NOR value
(118)
of
(119) (S4-7) inputting logic signals V.sub.WL4x*=1, V.sub.WL0Bx=1, V.sub.WL8x*=1, V.sub.SL4x*=V.sub.0, V.sub.SL0Bx=V.sub.0, and V.sub.SL8x*=0 to calculate a NOT value s.sub.8x*=
(120)
in the 1T1R device R.sub.4x* of the 1T1R crossbar B.sub.x and storing it in a 1T1R device R.sub.8x* of the 1T1R crossbar B.sub.x;
(121) (S4-8) inputting logic signals V.sub.WL5x*=1, V.sub.WL0Bx=1, V.sub.WL9x*=1, V.sub.SL5x*=V.sub.0, V.sub.SL0Bx=V.sub.0, and V.sub.SL9x*=0 to calculate a NOT value s.sub.9x*=
(122)
in the 1T1R device R.sub.5x* of the 1T1R crossbar B.sub.x and storing it in a 1T1R device R.sub.9x* of the 1T1R crossbar B.sub.x respectively;
(123) (S4-9) inputting logic signals V.sub.WL6x*=1, V.sub.WL0Bx=1, V.sub.WL10x*=1, V.sub.SL6x*=V.sub.0, V.sub.SL0Bx=V.sub.0, and V.sub.SL10x*=0 to calculate a NOT value s.sub.10x*=
(124)
in the 1T1R device R.sub.6x* of the 1T1R crossbar B.sub.x and storing it in a 1T1R device R.sub.10x* of the 1T1R crossbar B.sub.x;
(125) (S4-10) inputting logic signals V.sub.WL7x*=1, V.sub.WL0Bx=1, V.sub.WL11x*=1, V.sub.SL7x*=V.sub.0, V.sub.SL0Bx=V.sub.0, and V.sub.SL11x*=0 to calculate a NOT value s.sub.11x*=
(126)
in the 1T1R device R.sub.7x* of the 1T1R crossbar B.sub.x and storing it in a 1T1R device R.sub.11x* of the 1T1R crossbar B.sub.x;
(127) (S4-11) inputting logic signals V.sub.WL8x*=1, V.sub.WL11x*=1, V.sub.WL0Bx*=1, V.sub.SL8x*=V.sub.0, V.sub.SL11x*=V.sub.0, and V.sub.SL0Bx=0 to calculate a NOR value of data a.sub.0x+b.sub.0x and a.sub.1x+b.sub.1x in the 1T1R devices R.sub.8x* and R.sub.11x* of the 1T1R crossbar B.sub.x to obtain a first bit
(128)
of a two-bit multiplication result and storing it in a 1T1R device R.sub.0Bx of a 1T1R crossbar C.sub.x;
(129) (S4-12) inputting logic signals V.sub.WL11x*=1, V.sub.WL8x*=1, V.sub.WL1Bx*=1, V.sub.SL11x*=V.sub.0, V.sub.SL8x*=V.sub.0, and V.sub.SL1Bx=0 to calculate a NOR value of data
(130)
and
(131)
of the two-bit multiplication result and storing it in a 1T1R device R.sub.1Bx of a 1T1R crossbar C.sub.x respectively;
(132) (S4-13) inputting logic signals V.sub.WL5x*=1, V.sub.WL10x*=1, V.sub.WL13x*=1, V.sub.SL5x*=V.sub.0, V SL10*=V.sub.0, and V.sub.SL13x*=0 to calculate a NOR value
(133)
of data
(134)
and a.sub.1x+b.sub.0x in the 1T1R devices R.sub.5x* and R.sub.10x* of the 1T1R crossbar B.sub.x and storing it in a 1T1R device R.sub.13x* of the 1T1R crossbar B.sub.x respectively;
(135) inputting logic signals V.sub.WL6x*=1, V.sub.WL9x*=1, V.sub.WL14x*=1, V.sub.SL6x*=V.sub.0, V SL9*=V.sub.0, and V.sub.SL14x*=0 to calculate a NOR value
(136)
of data
(137)
and
(138)
of data
(139)
in the 1T1R devices R.sub.13x* and R.sub.14x* of the 1T1R crossbar B.sub.x; inputting logic signals V.sub.WL2Ax=1, V.sub.WL12x*=1, V.sub.WL15x*=1, V.sub.SL2Bx=0, V.sub.SL12x*=0, and V.sub.SL15x*=V.sub.0 to obtain a third bit
(140)
of the two-bit multiplication result and storing it in a 1T1R device R.sub.2Bx of the 1T1R crossbar C.sub.x;
(141) (S4-14) inputting logic signals V.sub.WL3Bx=1, V.sub.SL3Bx=0, and V.sub.BL0x=1 and setting a 1T1R device R.sub.3BX of the 1T1R crossbar C.sub.x in low resistance, wherein the data s.sub.7x* in the 1T1R device R.sub.7x* of the 1T1R crossbar B.sub.x is a fourth bit of the two-bit multiplication result; inputting logic signals V.sub.WL7x*=V.sub.WL3Bx=1, V.sub.SL7x*=0, V.sub.SL3Bx=V.sub.0 so that the 1T1R device R.sub.7x* transfers the data s.sub.7x* to the 1T1R device R.sub.3BX through a transfer operation to obtain a fourth bit P.sub.3x=s.sub.3x of the two-bit multiplication result.
(142) It is easy for those skilled in the art to understand that the above are only preferred embodiments of the invention and are not intended to limit the invention. Any modification, equivalent replacement, and improvement made within the spirit and principles of the invention should be included in the scope of the invention.
(143) The invention achieves the fusion of calculation and storage, reduces the complexity of an integrated circuit, and may achieve 16 kinds of basic Boolean logic operations and digital circuit operations even more complicated.