HALF-ADDER, FULL-ADDER AND MULTIPLIER BASED ON MEMRISTOR ARRAY
20220374204 · 2022-11-24
Assignee
Inventors
Cpc classification
G06F7/502
PHYSICS
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
G11C13/0007
PHYSICS
International classification
Abstract
The present invention discloses a memristor array, comprising metal wires and memristors; the metal wires are arranged laterally and vertically; a memristor is arranged at the intersection of every two metal wires; the connection/disconnection of the metal wires is judged according to the resistance values of the memristors; and an adder is constituted according to the resistance value states of the memristors. The present invention provides a memristor-CMOS hybrid multiplication core circuit, in which one input of multiplication can be stored in a memristor network, one part of operation is completed in a memory network, the other part of operation is completed through a CMOS circuit, thereby reducing frequent data calls by half, and the power consumption of the CMOS circuit is further reduced by reducing competitive adventure in the operation process, thereby greatly reducing the overall energy consumption.
Claims
1. A half-adder based on a memristor array, wherein the half-adder comprises a 7*4 memristor array; the 7*4 memristor array comprises metal wires and memristors; the metal wires are arranged laterally and vertically; a memristor is arranged at the intersection of every two metal wires; the connection disconnection of the metal wires is judged according to the relative magnitude of the resistance values of the memristors ; an adder is constituted according to the resistance value states of the memristors; five lateral metal wires of the 7*4 memristor array are taken as inputs, and two metal wires are respectively output sum and output carry; For groups of memristors 1-1 and 2-1, memristors 3-2 and 4-2, memristors 4-3 and 5-3, memristors 6-1 and 6-2 and memristors 7-3 and 7-4, one of each group is in the high resistance state, and the other one is, in the low resistance state; a memristor 4-4 is in the low resistance state; and other memristors are in the high resistance state.
2. The half-adder based on a memristor array according to claim 1, wherein the half-adder has the same structure as a full-adder.
3. A multiplier containing the half-adder based on a memristor array of claim 1, further comprising a CMOS half-adder and a CMOS full-adder; the half-adder, the CMOS half-adder and the CMOS full-adder constitute a wallace-tree digital multiplier; the product of a multiplicator and each bit of a multiplicand is taken as an input, the output sum of the half-adder is taken as a low-bit output or the input of a full-adder at the next level, and the output carry is taken as the input of a high-bit full-adder; and the output sum of the full-adder is taken as an output or the input of the full-adder at the next level, and the output carry is taken as the input of the high-bit full-adder.
4. A multiplier containing the half-adder based on a memristor array of claim 2, further comprising a CMOS full-adder; the half-adder, the full-adder and the CMOS full-adder constitute a wallace-tree digital multiplier; the product of a multiplicator and each bit of a multiplicand is taken as an input, the output sum of the half-adder is taken as a low-bit output or the input of a full-adder at the next level, and the output carry is taken as the input of a high-bit full-adder; and the output sum of the full-adder is taken as an output or the input of the full-adder at the next level, and the output carry is taken as the input of the high-bit full-adder.
5. The multiplier according to claim 3, wherein the multiplicator and each bit of the multiplicand are taken as inputs, and the product form is obtained through an AND gate circuit.
6. The multiplier according to claim 4, wherein the multiplicator and each bit of the multiplicand are taken as inputs, and the product form is obtained through an AND gate circuit.
Description
DESCRIPTION OF DRAWINGS
[0020] To more clearly describe the technical solution in the embodiments of the present invention or in the prior art, the drawings required to be used in the description of the embodiments or the prior art will be simply presented below. Apparently, the drawings in the following description are merely the embodiments of the present invention, and for those ordinary skilled in the art, other drawings can also be obtained according to the provided drawings without contributing creative labor.
[0021]
[0022]
[0023]
[0024]
DETAILED DESCRIPTION
[0025] The technical solution in the embodiments of the present invention will be clearly and fully described below in combination with the drawings in the embodiments of the present invention. Apparently, the described embodiments are merely part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by those ordinary skilled in the art without contributing creative labor will belong to the protection scope of the present invention.
[0026] Embodiments of the present invention disclose a memristor-CMOS hybrid multiplication core circuit, in which one input of multiplication can be stored in a memristor network, one part of operation is completed in a memory network, the other part of operation is completed through a CMOS circuit, thereby reducing frequent data calls by half, and the power consumption of the
[0027] CMOS circuit is further reduced by reducing competitive adventure in the operation process, thereby greatly reducing the overall energy consumption.
[0028] A half-adder based on a memristor array, comprises a 7*4 memristor array; the 7*4 memristor array comprises metal wires and memristors; the metal wires are arranged laterally and vertically; a memristor is arranged at the intersection of every two metal wires; the connection/disconnection of the metal wires is judged according to the relative magnitude of the resistance values of the memristors; an adder is constituted according to the resistance value states of the memristors; five lateral metal wires of the 7*4 memristor array are taken as inputs, and two metal wires are respectively output sum and output carry; For groups of memristors 1-1 and 2-1, memristors 3-2 and 4-2, memristors 4-3 and 5-3, memristors 6-1 and 6-2 and memristors 7-3 and 7-4, one of each group is in the high resistance state, and the other one is in the low resistance state; a memristor 4-4 is in the low resistance state; and other memristors are in the high resistance state.
[0029] To further optimize the above technical solution, the half-adder has the same structure as the full-adder.
[0030] A multiplier containing a half-adder based on a memristor array further comprises a CMOS half-adder and a CMOS full-adder; the half-adder, the CMOS half-adder and the CMOS full-adder constitute a wallace-tree digital multiplier; the product of a multiplicator and each bit of a multiplicand is taken as an input, the output sum of the half-adder is taken as a low-bit output or the input of a full-adder at the next level, and the output carry is taken as the input of a high-bit full-adder; and the output sum of the full-adder is taken as an output or the input of the full-adder at the next level, and the output carry is taken as the input of the high-bit full-adder.
[0031] A multiplier containing a half-adder based on a memristor array is characterized by further comprising a CMOS full-adder; the half-adder, the full-adder and the CMOS full-adder constitute a wallace-tree digital multiplier; the product of a multiplicator and each bit of a multiplicand is taken as an input, the output sum of the half-adder is taken as a low-bit output or the input of a full-adder at the next level, and the output carry is taken, as the input of a high-bit full-adder; and the output sum of the full-adder is taken as an output or the input of the full-adder at the next level, and the output carry is taken as the input of the high-bit full-adder.
[0032] To further optimize the above technical solution, the multiplicator and each bit of the multiplicand are taken as inputs, and the product form is obtained through an AND gate circuit.
[0033] As shown in
[0034] Black dot indicates that the memristors always keep low resistance, and lateral and vertical metal wires are connected;
[0035] Circle and square indicate that the resistance values of the memristors are set to complementary resistance values (high and low) according to the value of yi so that the vertical metal wires are selectively connected with one of lateral metal wires.
[0036] As shown in
[0037] Output carry:
[0038] As shown in
[0039] Output carry:
[0040] Embodiment 1
[0041]
[0042] Embodiment 2
[0043] On the basis of embodiment 1, one or more of a first CMOS half-adder, a second CMOS half-adder, a third CMOS half-adder and a fourth CMOS half-adder are transformed into a half-adder composed of a memristor array.
[0044] Embodiment 3
[0045] As shown in
[0046] Each embodiment in the description is described in a progressive way. The difference of each embodiment from each other is the focus of explanation. The same and similar parts among all of the embodiments can be referred to each other. For a device disclosed by the embodiments, because the device corresponds to a method disclosed by the embodiments, the device is simply described. Refer to the description of the method part for the related part.
[0047] The above description of the disclosed embodiments enables those skilled in the art to realize or use the present invention. Many modifications to these embodiments will be apparent to those skilled in the art. The general principle defined herein can be realized in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to these embodiments shown herein, but will conform to the widest scope consistent with the principle and novel features disclosed herein.