CN113285710A - Memristor cross array-based logic gate circuit and NAND gate and NOR gate implementation method - Google Patents

Memristor cross array-based logic gate circuit and NAND gate and NOR gate implementation method Download PDF

Info

Publication number
CN113285710A
CN113285710A CN202110626491.0A CN202110626491A CN113285710A CN 113285710 A CN113285710 A CN 113285710A CN 202110626491 A CN202110626491 A CN 202110626491A CN 113285710 A CN113285710 A CN 113285710A
Authority
CN
China
Prior art keywords
memristor
logic
circuit
clock signal
bit line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110626491.0A
Other languages
Chinese (zh)
Other versions
CN113285710B (en
Inventor
刘鹏
武继刚
姚廉
钟悦航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong University of Technology
Original Assignee
Guangdong University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong University of Technology filed Critical Guangdong University of Technology
Priority to CN202110626491.0A priority Critical patent/CN113285710B/en
Publication of CN113285710A publication Critical patent/CN113285710A/en
Application granted granted Critical
Publication of CN113285710B publication Critical patent/CN113285710B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/20Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits characterised by logic function, e.g. AND, OR, NOR, NOT circuits

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Logic Circuits (AREA)

Abstract

Aiming at the limitations of the prior art, the invention provides a logic gate circuit based on a memristor crossover array, a NAND gate and a NOR gate implementation method, wherein the circuit mainly comprises two voltage controllers connected with a clock signal and the memristor crossover array composed of a plurality of memristors; the memory resistor cross array can integrate the inclusion logic and the non-inclusion logic into the same memristor cross array, and the NAND logic gate and the NOR logic gate are realized through different combined operations of the two memristor logics when the memory resistor cross array is used.

Description

Memristor cross array-based logic gate circuit and NAND gate and NOR gate implementation method
Technical Field
The invention relates to the technical field of digital circuits, in particular to application of a memristor in realizing NAND gates and NOR gates, and more particularly relates to a logic gate circuit based on a memristor cross array.
Background
With the development of semiconductor manufacturing technology, the integration level and complexity of integrated circuits are increasing, and the feature size thereof is continuously shrinking, which reaches the nanometer level at present. At the nanoscale process stage, IC faces increasing problems. The memristor as a novel nanometer device has the advantages of small size, ultralow energy consumption, short read-write time and the like, can be embedded into a cross array, and is the key for realizing large-scale storage.
Memristors can be used for logic computation in addition to data storage. Various memristor-based logics have been proposed and have been applied to implement basic logic gates in crossbar arrays. However, as the Chinese patent application with publication number CN105356876B, publication number 2018.01.26: as shown in a logic gate circuit based on a memristor, when a complex circuit is realized by applying a single logic to a cross array, the operation steps are complicated due to the single logic operation, and the expense of the memristor is large, so that the prior art still has many limitations.
Disclosure of Invention
Aiming at the limitation of the prior art, the invention provides a method for realizing a logic gate circuit, a NAND gate and a NOR gate based on a memristor cross array, and the technical scheme adopted by the invention is as follows:
a logic gate circuit based on a memristor cross array comprises W word lines WLwAnd { W ═ 1,2 … W }, B bit lines BLbAnd { B ═ 1,2 … B }, a first voltage controller, a second voltage controller, and { W × B } memristors Mwb
Wherein each word line WLwRespectively connected with each bit line BLbIntersecting; each bit line BLbOne end of the first voltage controller is used as an input end to be connected with the output end of the first voltage controller, and the other end of the first voltage controller is connected with an analog switch and a resistor in sequence and then grounded; each word line WLwOne end of the first voltage controller is used as an input end and is connected with the output end of the second voltage controller, and the other end of the first voltage controller is connected with an analog switch and a resistor in sequence and then is grounded;
the input end of the first voltage controller is connected with a first clock signal CLK 1; the input end of the second voltage controller is connected with a second clock signal CLK 2;
each memristor MwbThe positive pole of the capacitor is connected with the word line WL corresponding to the lower markwThe negative pole is connected with a bit line BL corresponding to the subscriptb
Compared with the prior art, the invention provides a memristor cross array-based logic gate circuit, which can integrate the inclusion logic and the non-inclusion logic into the same memristor cross array, realize the NAND logic gate and the NOR logic gate through different combinations of two memristor logics, reduce the operation steps for realizing the NAND and NOR gates and the expenditure of memristors, and greatly reduce the overall energy consumption.
Further, the memristor MwbStoring input quantity P or input quantity Q or logic operation result in the form of resistance value at high resistance ROFFIn the state of a logic 0, low resistance RONThe state represents a logic 1.
Further, in the process of the logic operation:
memristor M according to stored input quantity PPAnd a memristor M storing an input quantity QQFrom other memristors MwbMiddle selection memristor M for auxiliary operation and storing logic operation resultA
According to memristor MPMemristor MQAnd memristor MAControl the word line WL corresponding to the subscriptwOr bit line BLbThe analog switch is closed to communicate with the circuit to be operated at the current stage.
Further, the first clock signal CLK1 and the second clock signal CLK2 control the connected circuit to be operated to execute the implicit logic or the non-implicit logic: when the first clock signal CLK1 and the second clock signal CLK2 are at high level, a logic 1 is represented, and the circuit to be operated performs non-inclusive logic; when the clock signal is at low level, it represents logic 0, and the circuit to be operated executes the implication logic.
Further, if the memristor MPAnd memristor MQWord line WL with connected positive polewSame, then memristor MAThe word line WL is connected to the positive polewOther memristor MwbOne of them;
if memory resistor MPAnd memristor MQNegative connected bit line BLbSame, then memristor MAThe negative electrode is connected with the bit line BLbOther memristor MwbOne of them.
Further, if the memristor MPAnd memristor MQWord line WL with connected positive polewDifferent, bit line BL with negative electrode connectedbIf they are different, then the memristor MAComprises the following steps: word line WL with connected positive polewAND memristor MPIdentical and cathode-connected bit line BLbAND memristor MQThe same other memristors MwbOr positively connected word lines WLwAND memristor MQIdentical and cathode-connected bit line BLbAND memristor MPThe same other memristors Mwb
As a preferred scheme, the word line comprises 3 word lines WLwAnd { w ═ 1,2,3}, 3 bit lines BLb{ b ═ 1,2 … 3} and 9 memristors Mwb
As a preferred scheme, the word line comprises 2 word lines WLwAnd { w ═ 1,2}, 2 bit lines BLb{ b ═ 1,2} and 4 memristors Mwb
The invention also comprises the following:
a method of implementing a nand gate using the aforementioned memristor crossbar array-based logic gate, comprising the steps of:
s1, memory resistor M used for auxiliary operation and storing logic operation result in circuitAWrite to low resistance;
s2, the memristor M storing the input quantity P is controlled by changing the communication condition in the circuit and the input quantity of the first clock signal CLK1 or the second clock signal CLK2PAND memristor MAExecuting non-implication logic;
s3, the memristor M storing the input quantity Q is controlled by changing the communication condition in the circuit and the input quantity of the first clock signal CLK1 or the second clock signal CLK2QAND memristor MAPerforming the implication logic, the NAND result being stored in the memristor MA
A method of implementing a nor gate using the aforementioned memristor crossbar array-based logic gate circuit, comprising the steps of:
s4, writing the input Q into the circuit for assistingMemristor M for assisting in operation and storing logical operation resultA
S5, the memristor M storing the input quantity P is controlled by changing the communication condition in the circuit and the input quantity of the first clock signal CLK1 or the second clock signal CLK2PAND memristor MAExecuting the implication logic;
s6, the memristor M storing the input quantity Q is controlled by changing the communication condition in the circuit and the input quantity of the first clock signal CLK1 or the second clock signal CLK2QAND memristor MAPerforming NOT-ENDED logic, or storing the NOT result in the memristor MA
Drawings
FIG. 1 is a schematic diagram of a memristor crossbar array-based logic gate circuit provided in embodiment 1 of the present disclosure;
fig. 2 is a schematic diagram illustrating a circuit change of an implementation of an implication logic for a memristor in the same row according to embodiment 1 of the present disclosure;
FIG. 3 is a schematic diagram illustrating a circuit variation of the same row memristor to perform non-inclusive logic according to embodiment 1 of the present invention;
FIG. 4 is a schematic diagram illustrating a circuit variation of the implementation of the implication logic with the memristors in embodiment 1 of the present invention;
FIG. 5 is a schematic diagram of a circuit variation for implementing non-inclusive logic with a column of memristors in accordance with embodiment 1 of the present invention;
FIG. 6 is a schematic diagram of the method steps for implementing a NAND gate using the memristor crossbar array-based logic gate circuit according to embodiment 1 of the present invention;
FIG. 7 is a schematic diagram of method steps for implementing a NOR gate using the memristor crossbar array-based logic gate circuit according to embodiment 1 of the present disclosure;
FIG. 8 shows a memristor M in embodiment 2 of the present inventionP、MQThe circuit change schematic diagram of the circuit in the functional process of realizing the NAND logic gate when the circuit is in different rows and different columns;
fig. 9 is a schematic diagram of simulation waveforms of input pulses at four pulse input terminals when the input quantity P, Q for performing nand logic is logic 1 and logic 0, respectively, according to embodiment 2 of the present invention;
FIG. 10 an embodiment of the present invention2 when the input P, Q of the nand logic is logic 1 and logic 0, respectively, it acts as a memristor MAMemristor M12A resistance value change diagram in each stage;
FIG. 11 shows a memristor M in embodiment 2 of the present inventionP、MQThe circuit change schematic diagram of the circuit in the functional process of realizing the NOR logic gate when the circuit is in different rows and different columns;
FIG. 12 is a diagram illustrating simulation waveforms of input pulses at four pulse input terminals when the input quantity P, Q for performing NOR logic is logic 1 and logic 0, respectively, according to embodiment 2 of the present invention;
FIG. 13 shows the memristor M in embodiment 2 when the input P, Q for performing the NOR logic is logic 1 and logic 0, respectivelyAMemristor M12A resistance value change diagram in each stage;
FIG. 14 shows a memristor M in embodiment 4 of the present inventionP、MQA circuit change schematic diagram of the circuit in the same row in the functional process of realizing the NAND logic gate;
FIG. 15 shows a memristor M in embodiment 4 of the present inventionP、MQA circuit change schematic diagram of a circuit in the same row in the functional process of realizing the NOR logic gate;
FIG. 16 shows a memristor M in embodiment 5 of the present inventionP、MQA circuit change schematic diagram of the same-column time circuit in the functional process of realizing the NAND logic gate;
FIG. 17 shows a memristor M in embodiment 5 of the present inventionP、MQCircuit variation schematic diagram of the circuit in the process of realizing the function of the NOR logic gate in the same column.
Detailed Description
The drawings are for illustrative purposes only and are not to be construed as limiting the patent;
it should be understood that the embodiments described are only some embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the embodiments in the present application.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments of the present application. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims. In the description of the present application, it is to be understood that the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not necessarily used to describe a particular order or sequence, nor are they to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. The invention is further illustrated below with reference to the figures and examples.
In order to solve the limitation of the prior art, the present embodiment provides a technical solution, and the technical solution of the present invention is further described below with reference to the accompanying drawings and embodiments.
Example 1
A logic gate circuit based on memristor crossbar array, please refer to FIG. 1, comprising W word lines WLw,{w=1,2 … W }, B bit lines BLb{ B ═ 1,2 … B }, a first voltage controller 1, a second voltage controller 2, and { W × B } memristors Mwb
Wherein each word line WLwRespectively connected with each bit line BLbIntersecting; each bit line BLbOne end of the first voltage controller 1 is used as an input end to be connected with the output end of the first voltage controller 1, and the other end of the first voltage controller is connected with an analog switch and a resistor in sequence and then grounded; each word line WLwOne end of the first voltage controller is used as an input end to be connected with the output end of the second voltage controller 2, and the other end of the first voltage controller is connected with an analog switch and a resistor in sequence and then grounded;
the input end of the first voltage controller 1 is connected with a first clock signal CLK 1; the input end of the second voltage controller 2 is connected with a second clock signal CLK 2;
each memristor MwbThe positive pole of the capacitor is connected with the word line WL corresponding to the lower markwThe negative pole is connected with a bit line BL corresponding to the subscriptb
Compared with the prior art, the invention provides a memristor cross array-based logic gate circuit, which can integrate the inclusion logic and the non-inclusion logic into the same memristor cross array, realize the NAND logic gate and the NOR logic gate through different combinations of two memristor logics, reduce the operation steps for realizing the NAND and NOR gates and the expenditure of memristors, and greatly reduce the overall energy consumption.
Specifically, the word line WLwAnd bit line BLbAre nanowires. W is more than or equal to 2, and B is more than or equal to 2. In fig. 1, Vin1, Vin2, Vin3, and Vin4 respectively represent bit lines BL1、BL2Word line WL1、WL2The ellipses next to the first voltage controller 1 represent the other bit lines BL at the input ofbThe ellipses beside the second voltage controller 2 represent the other word lines WLw
About "each memristor MwbThe positive pole of the capacitor is connected with the word line WL corresponding to the lower markwThe negative pole is connected with a bit line BL corresponding to the subscriptb": for example memristor M12The positive pole of the word line is connected with the word line WL corresponding to the first subscript "11The negative pole is connected with the bit line BL corresponding to the second subscript "22(ii) a And by analogy, a memristor cross array is formed.
And the same word line WL is connected to the positive polewThe memristors in the "same row" can be regarded as memristors: for example memristor M11、M12Word lines WL, the anodes of which are connected to the word line WL, each corresponding to a first index "11Both are memristors located "in the same row".
And the same bit line BL is connected to the negative electrodebThe memristors in the "same column" can be regarded as memristors: for example memristor M11、M21The negative poles of which are connected bit lines BL corresponding to the second subscript "11Both are memristors located "in the same column".
Thus, memristor MwbIt can also be understood as a memristor located in the w-th row and b-th column of the memristor crossbar array.
The logic gate circuit based on the memristor crossbar array provided by the embodiment controls the communication of the corresponding line through the analog switch, and combines the signal of the input end to realize the inclusion logic and the non-inclusion logic on the corresponding line, so that the nand logic gate and the nor logic gate are realized through the combination of the inclusion logic and the non-inclusion logic.
Further, the memristor MwbStoring input quantity P or input quantity Q or logic operation result in the form of resistance value at high resistance ROFFIn the state of a logic 0, low resistance RONThe state represents a logic 1.
Further, in the process of logic operation, according to the memristor M storing the input quantity PPAnd a memristor M storing an input quantity QQFrom other memristors MwbMiddle selection memristor M for auxiliary operation and storing logic operation resultA
Further, in the process of logic operation, according to the memristor MPMemristor MQAnd memristor MAControl the word line WL corresponding to the subscriptwOr bit line BLbAnalog switch ofAnd closing and communicating the circuit to be operated at the current stage.
In particular, memristor MPMemristor MQAnd memristor MARefer to its role in the logic operation process only, the specific corresponding memristor MwbThe subscript indicating the connection relationship with the word line and the bit line is not changed. The input quantity P or Q is stored in the memristor M in advance before logic operationP、MQIn (1).
Further, the first clock signal CLK1 and the second clock signal CLK2 control the connected circuit to be operated to execute the implicit logic or the non-implicit logic: when the first clock signal CLK1 and the second clock signal CLK2 are at high level, a logic 1 is represented, and the circuit to be operated performs non-inclusive logic; when the clock signal is at low level, it represents logic 0, and the circuit to be operated executes the implication logic.
Specifically, for the implementation principle of implementing the inclusion logic and the non-inclusion logic based on the logic gate circuit of the memristor crossbar array, four memristors M are used next11、M12、M21、M22The description is given for the sake of example:
referring to FIG. 2 and truth table 1, when the first clock signal CLK1 is low, the word line WL is asserted1When the analog switch S1 is closed, the first voltage controller 1 is at the bit line BL1、BL2Respectively input a negative low level and a negative high level, wherein VCONDAnd VSETRespectively representing bit lines BL of the circuit when the same row of memristors execute the implication logic circuit1、BL2The level of the input of (1); memristor M11Memristor M12And word line WL1Resistance R ofG1Forming a via, memristor M11AND memristor M12Executing the implication logic, storing the execution result in the form of resistance in the memristor M12Performing the following steps; in truth table, M11' and M12' respectively being memristors M11And memristor M12Logic state after the logic operation is performed.
Referring to FIG. 3 and truth table 1, when the first clock signal CLK1 is high, the word line is assertedWL1When the analog switch S1 is closed, the first voltage controller 1 is at the bit line BL1、BL2Respectively input a negative low level and a positive high level, V in the figureCOND-and VCOND+ represents the bit line BL when the circuit performs the non-inclusive logic circuit with the same row of memristors1、BL2The level of the input of (1); memristor M11Memristor M12And word line WL1Resistance R ofG1Forming a via, memristor M11Memristor M12Executing non-implication logic, storing the execution result in the form of resistance value in the memristor M12Performing the following steps; in truth table, M11' and M12' respectively being memristors M11And memristor M12Logic state after the logic operation is performed.
Truth table 1
Figure BDA0003101385560000071
Figure BDA0003101385560000081
Referring to FIG. 4 and truth table 2, when the second clock signal CLK2 is low, the bit line BL is asserted2When the analog switch S4 is closed, the second voltage controller 2 is at the word line WL1、WL2The input end respectively inputs a positive low level and a positive high level, and the memristor M22Memristor M12And bit line BL2Resistance R ofG4Forming a via, memristor M22And memristor M12Execution implication logic, the execution result is stored in the memristor M12Performing the following steps; in truth table, M22' and M12' respectively being memristors M22And memristor M12Logic state after the logic operation is performed.
Referring to FIG. 5 and truth table 2, when the second clock signal CLK2 is high, the bit line BL is asserted2When the analog switch S4 is closed, the second voltage controller 2 is at the word line WL1、WL2The upper input end respectively inputs a positive low level and a negative high level, V in the figure1And V2Respectively representing word lines WL of the circuit when the same column of memristors execute non-inclusive logic circuit1、WL2Level of input at input terminal, memristor M22Memristor M12And bit line BL2Resistance R ofG4Forming a via, memristor M22And memristor M12Executing non-implication logic, storing the execution result in the memristor M12Performing the following steps; in truth table, M22' and M12' respectively being memristors M22And memristor M12Logic state after the logic operation is performed.
Truth table 2
Figure BDA0003101385560000082
Figure BDA0003101385560000091
For the logic gate circuit based on the memristor crossbar array, the process of realizing the inclusion logic and the non-inclusion logic by other memristor combinations is similar to the above description, and a person skilled in the art can perform expansion transformation according to the above description, and also belongs to the protection scope of the patent, and details are not repeated here. The first voltage controller 1 and the second voltage controller 2 change the word line WL according to the input clock signalwAnd bit line BLbThe signals at the input terminals belong to the prior art, and are not specifically described herein.
So far, the different combinations of the inclusive logic and the non-inclusive logic can realize the functions of the nand logic gate and the nor logic gate on the logic gate circuit based on the memristor crossbar array provided by the embodiment:
specifically, a method for implementing a nand gate using the aforementioned logic gate circuit based on the memristor crossbar array, please refer to fig. 6, includes the following steps:
s1, in the circuitMemristor M for auxiliary operation and storing logic operation resultAWrite to low resistance;
s2, the memristor M storing the input quantity P is controlled by changing the communication condition in the circuit and the input quantity of the first clock signal CLK1 or the second clock signal CLK2PAND memristor MAExecuting non-implication logic;
s3, the memristor M storing the input quantity Q is controlled by changing the communication condition in the circuit and the input quantity of the first clock signal CLK1 or the second clock signal CLK2QAND memristor MAPerforming the implication logic, the NAND result being stored in the memristor MA
Specifically, a method for implementing a nor gate using the aforementioned memristor crossbar array-based logic gate circuit, please refer to fig. 7, includes the following steps:
s4, writing the input quantity Q into the memristor M used for auxiliary operation and storing logic operation result in the circuitA
S5, the memristor M storing the input quantity P is controlled by changing the communication condition in the circuit and the input quantity of the first clock signal CLK1 or the second clock signal CLK2PAND memristor MAExecuting the implication logic;
s6, the memristor M storing the input quantity Q is controlled by changing the communication condition in the circuit and the input quantity of the first clock signal CLK1 or the second clock signal CLK2QAND memristor MAPerforming NOT-ENDED logic, or storing the NOT result in the memristor MA
Example 2
This embodiment can be regarded as a modification or improvement on the basis of embodiment 1: specifically, if memristor MPAnd memristor MQWord line WL with connected positive polewDifferent, bit line BL with negative electrode connectedbIf they are different, then the memristor MAComprises the following steps: word line WL with connected positive polewAND memristor MPIdentical and cathode-connected bit line BLbAND memristor MQThe same other memristors MwbOr positively connected word lines WLwAND memristor MQAre identical to each otherAnd bit line BL connected to negative electrodebAND memristor MPThe same other memristors Mwb
In other words, if the memristor MPAND memristor MQNeither in the same row nor in the same column, should be in the same row as the memristor MPIn the same line and with memristor MQOther memristors M in the same columnwbOr with memristor MPIn-line and with memristor MQOther memristors M in the same rowwbMiddle selection memristor MA
Next with three of the memristors M11、M22、M12Respectively as memristors MP、MQ、MAFor example, briefly describe the memristor MP、MQThe process of implementing the function of a nand logic gate, nor logic gate, on a memristor crossbar array-based logic gate circuit when neither the row nor the column is the same:
the process of implementing the function of the nand logic gate is shown in fig. 6: first, the memristor M12Write to low resistance; second, memristor M11AND memristor M22Executing non-implication logic; thirdly, memory resistor M22And memristor M12Performing the implication logic, the final NAND result is stored in the memristor M12In (1).
The following is a specific description of the process of implementing the nand logic gate function in this embodiment in conjunction with the magnitude of the input P, Q:
when the input amount P, Q of the execution NAND logic is all logic 0, the memristor M11And memristor M22All are high resistance; first step, bit line BL2Is inputted with a negative high level, the analog switch S1 is closed, and the word line WL1On, current flows from resistor RG1Flowing-through memristor M12Memristor M12When the voltage reaches the turn-on threshold voltage, the memristor M12Written as low resistance; second, CLK1 applies a high signal, and first voltage controller 1 is on bit line BL1Input negative low level, at bit line BL2Is input with a positive high level, the analog switch S1 is closed, and the word line WL1Switching on, memory resistanceMachine M11And memristor M12Performing non-inclusive logic, memristor M12The resistance value is not changed; in a third step, CLK2 applies a low signal, and the second voltage controller 2 is on the word line WL2Input terminal of the word line WL receives a positive low voltage1Input with a positive high voltage, analog switch S4 closed, bit line BL2Switch-on, memory resistor M22And memristor M12Performing an inclusion logic, memristor M12Becomes on state RONNamely, the output result is logic 1;
when the two inputs of the NAND logic are logic 0 and logic 1, respectively, the memristor M11The resistance value of (1) is high resistance, and the memristor M22Is low resistance, first step, bit line BL2Is inputted with a negative high level, the analog switch S1 is closed, and the word line WL1On, current flows from resistor RG1Flowing-through memristor M12Memristor M12When the voltage reaches the turn-on threshold voltage, the memristor M12Written as low resistance, the second step, CLK1 applies a high signal, the first voltage controller 1 is on the bit line BL1Input negative low level, at bit line BL2Is input with a positive high level, the analog switch S1 is closed, and the word line WL1Switch-on, memory resistor M11And memristor M12Performing non-inclusive logic, memristor M12The resistance is not changed, in the third step, CLK2 applies low level signal, the second voltage controller 2 is on the word line WL2Input terminal of the word line WL receives a positive low voltage1Input with a positive high voltage, analog switch S4 closed, bit line BL2On, memristor M22 and memristor M12Performing an inclusion logic, memristor M12Resistance R when the resistance is still in the on stateONNamely, the output result is logic 1;
when the two inputs of the NAND logic are logic 1 and logic 0, respectively, the memristor M11The resistance value of (1) is low resistance, and the memristor M22The resistance value of (B) is high, first step, bit line BL2Is inputted with a negative high level, the analog switch S1 is closed, and the word line WL1On, current flows from resistor RG1Flowing-through memristor M12Memristor M12When the voltage reaches the turn-on threshold voltage, the memristor M12Written as low resistance, the second step, CLK1 applies a high signal, the first voltage controller 1 is on the bit line BL1Input negative low level, at bit line BL2Is input with a positive high level, the analog switch S1 is closed, and the word line WL1Switch-on, memory resistor M11And memristor M12Performing non-inclusive logic, memristor M12Resistance R when the resistance gradually increases to the off stateOFF(ii) a In a third step, CLK2 applies a low signal, and the second voltage controller 2 is on the word line WL2Input terminal of the word line WL receives a positive low voltage1Input with a positive high voltage, analog switch S4 closed, bit line BL2Switch-on, memory resistor M22And memristor M12Performing an inclusion logic, memristor M12Resistance R when the resistance is gradually reduced to the on stateONNamely, the output result is logic 1; more specifically, in the pulse waveform simulation, see fig. 7, when two inputs of the nand logic are respectively logic 1 and logic 0, the input pulse diagram of four pulse input terminals can be seen; as memristors MAMemristor M12The resistance value change in each stage is shown in FIG. 8, and the resistance value of the memristor M2 is low-resistance R through three logic operation stepsONI.e. a logical 1, corresponds to the expected result.
When the two inputs of the NAND logic are all logic 1, the memristor M11And memristor M22The resistance values are all low resistance; first step, bit line BL2Is inputted with a negative high level, the analog switch S1 is closed, and the word line WL1On, current flows from resistor RG1Flowing-through memristor M12Memristor M12When the voltage reaches the turn-on threshold voltage, the memristor M12Written as low resistance; second, CLK1 applies a high signal, and first voltage controller 1 is on bit line BL1Input negative low level, at bit line BL2Is input with a positive high level, the analog switch S1 is closed, and the word line WL1Switch-on, memory resistor M11And memristor M12Performing non-inclusive logic, memristor M12Resistance chasingResistance R gradually increases to an off stateOFF(ii) a In a third step, CLK2 applies a low signal, and the second voltage controller 2 is on the word line WL2Input terminal of the word line WL receives a positive low voltage1Input with a positive high voltage, analog switch S4 closed, bit line BL2Switch-on, memory resistor M22And memristor M12Performing an inclusion logic, memristor M12Resistance remains off state ROFFAnd the output result is not changed, namely the output result is logic 0.
The process of implementing the function of nor gate, please refer to fig. 9: first, write the input Q to the memristor M12Performing the following steps; second, memristor M11And memristor M12Executing the implication logic; thirdly, memory resistor M22And memristor M12Performing NOT-IMPLANT logic, the final NOT result being stored in the memristor M12In (1).
The following is a specific description of the process of implementing the nor gate function of the present embodiment in conjunction with the magnitude of the input P, Q:
when both inputs of the NOR logic are all logic 0, the memristor M11And memristor M22All are high-impedance, first step, bit line BL2Is input with a positive high level, the analog switch S1 is closed, and the word line WL1On, current flows from resistor RG1Flowing-through memristor M12Memristor M12Reaches the turn-off threshold voltage, memristor M12Written as high impedance, and the second step, CLK1 applies a low signal, the first voltage controller 1 is on bit line BL1Input negative low level, at bit line BL2Is inputted with a negative high level, the analog switch S1 is closed, and the word line WL1Switch-on, memory resistor M11And memristor M12Performing an inclusion logic, memristor M12The resistance R is gradually reduced to the on stateONIn the third step, CLK2 applies a high signal, and the second voltage controller 2 applies a high signal to the word line WL2Input terminal of the word line WL receives a positive low voltage1Input negative high voltage, analog switch S4 closed, bit line BL2Switch-on, memory resistor M22Memory and resistance deviceM12Performing non-inclusive logic, memristor M12Resistance value of (1) remains on-state RONNamely, the output result is logic 1;
when the two inputs of the NOR logic are logic 0 and logic 1, respectively, the memristor M11Resistance value of high resistance, memory resistor M22Resistance value of low resistance, first step, bit line BL2Is inputted with a negative high level, the analog switch S1 is closed, and the word line WL1On, current flows from resistor RG1Flowing-through memristor M12Memristor M12When the voltage reaches the turn-on threshold voltage, the memristor M12Written as low resistance, the second step, CLK1 applies a low level signal, the first voltage controller 1 is on the bit line BL1Input negative low level, at bit line BL2Is inputted with a negative high level, the analog switch S1 is closed, and the word line WL1Switch-on, memory resistor M11And memristor M12Performing an inclusion logic, memristor M12Resistor R with resistance kept in on stateONIn a third step, CLK2 applies a high signal and the second voltage controller 2 is applied to the word line WL2Input terminal of the word line WL receives a positive low voltage1Input negative high voltage, analog switch S4 closed, bit line BL2Switch-on, memory resistor M22And memristor M12Performing non-inclusive logic, memristor M12The resistance value of can only gradually reach the state R when the switch is turned offOFFNamely, the output result is logic 0;
when the two inputs of the NOR logic are respectively logic 1 and logic 0, the memristor M11Resistance value of low resistance, memory resistor M22Resistance value is high, first step, bit line BL2Is input with a positive high level, the analog switch S1 is closed, and the word line WL1On, current flows from resistor RG1Flowing-through memristor M12Memristor M12Reaches the turn-off threshold voltage, memristor M12Written as high impedance, and the second step, CLK1 applies a low signal, the first voltage controller 1 is on bit line BL1Input negative low level, at bit line BL2Input negative high, analog switch S1 closed, word lineWL1Switch-on, memory resistor M11And memristor M12Performing an inclusion logic, memristor M12Resistance R when resistance remains off stateOFFIn a third step, CLK2 applies a high signal and the second voltage controller 2 is applied to the word line WL2Input terminal of the word line WL receives a positive low voltage1Input negative high voltage, analog switch S4 closed, bit line BL2Switch-on, memory resistor M22And memristor M12Performing non-inclusive logic, memristor M12Resistance value of (1) remains off-state ROFFNamely, the output result is logic 0; more specifically, in the pulse waveform simulation, see fig. 10, when two inputs of the nor logic are respectively logic 1 and logic 0, the input pulse diagram of four pulse input terminals can be seen; as memristors MAMemristor M12The resistance value change in each phase is shown in FIG. 11, and the resistance value of the memristor M2 is low-resistance R through three logic operation stepsOFFI.e., logic 0, consistent with the expected result;
when both inputs of the NOR logic are all logic 1, the memristor M11And memristor M22All are low resistance, first step, bit line BL2Is inputted with a negative high level, the analog switch S1 is closed, and the word line WL1On, current flows from resistor RG1Flowing-through memristor M12Memristor M12When the voltage reaches the turn-on threshold voltage, the memristor M12Written as low resistance, the second step, CLK1 applies a low level signal, the first voltage controller 1 is on the bit line BL1Input negative low level, at bit line BL2Is inputted with a negative high level, the analog switch S1 is closed, and the word line WL1Switch-on, memory resistor M11And memristor M12Performing an inclusion logic, memristor M12Resistor R with resistance kept in on stateONIn a third step, CLK2 applies a high signal and the second voltage controller 2 is applied to the word line WL2Input terminal of the word line WL receives a positive low voltage1Input negative high voltage, analog switch S4 closed, bit line BL2Switch-on, memory resistor M22And memristor M12Performing non-implication logicEditing and memory resistor M12Gradually decreases to the off-state ROFFI.e. the output result is logic 0.
Example 3
This embodiment can be regarded as a modification or improvement on the basis of embodiment 2: specifically, in the present embodiment, W ═ B ═ 2, that is, the memristor crossbar array-based logic gate circuit includes 2 word lines WLwAnd { w ═ 1,2}, 2 bit lines BLb{ b ═ 1,2} and 4 memristors Mwb
The embodiment is a scheme that the minimum number of memristors is needed for realizing functions of a NAND logic gate or a NOR logic gate based on a logic gate circuit of a memristor crossbar array.
Example 4
This embodiment can be regarded as a modification or improvement on the basis of embodiment 1 or 2: specifically, if memristor MPAnd memristor MQWord line WL with connected positive polewSame, then memristor MAThe word line WL is connected to the positive polewOther memristor MwbOne of them. In other words, if the memristor MPAND memristor MQOther memristors M in the same rowwbOne of which selects the memristor MA
Next with three of the memristors M11、M12、M13Respectively as memristors MP、MQ、MAFor example, briefly describe the memristor MP、MQ、MAWhen the logic gate circuits are positioned on the same row, the logic gate circuits based on the memristor cross array realize the functions of a NAND logic gate or a NOR logic gate:
the process of implementing the function of the NAND gate, referring to FIG. 12, first step, will be to memristor M13Write to low resistance; second, memristor M11AND memristor M13Executing non-implication logic; thirdly, memory resistor M12And memristor M13Performing the implication logic, the final NAND result is stored in the memristor M13In (1).
Implementing the function of a NOR logic gateReferring to fig. 13, in a first step, an input quantity Q is written into a memristor M13Performing the following steps; second, memristor M11And memristor M13Executing the implication logic; thirdly, memory resistor M12And memristor M13Performing NOT-IMPLANT logic, the final NOT result being stored in the memristor M13In (1).
Example 5
This embodiment can be regarded as a modification or improvement on the basis of embodiment 1 or 2: specifically, if memristor MPAnd memristor MQNegative connected bit line BLbSame, then memristor MAThe negative electrode is connected with the bit line BLbOther memristor MwbOne of them. In other words, if the memristor MPAND memristor MQOther memristors M in the same columnwbOne of which selects the memristor MA
Next with three of the memristors M11、M21、M31Respectively as memristors MP、MQ、MAFor example, briefly describe the memristor MP、MQ、MAWhen located in the same column, the logic gate circuit based on the memristor crossbar array realizes the functions of a NAND logic gate or a NOR logic gate:
the process of implementing the function of the NAND gate, referring to FIG. 14, first step, will be to memristor M31Write to low resistance; second, memristor M1AND memristor M31Executing non-implication logic; thirdly, memory resistor M21And memristor M31Performing the implication logic, the final NAND result is stored in the memristor M31In (1).
The process of implementing the function of the nor gate, see fig. 15, first step, writes an input quantity Q to a memristor M31Performing the following steps; second, memristor M11And memristor M31Performing the implication logic, third step, memristor M21And memristor M31Performing NOT-IMPLANT logic, the final NOT result being stored in the memristor M31In
Example 6
This embodiment can be regarded as a modification or improvement on the basis of embodiments 1,2, 4, 5: specifically, in the present embodiment, W ═ B ═ 3, that is, the memristor crossbar array-based logic gate circuit includes 3 word lines WLwAnd { w ═ 1,2,3}, 3 bit lines BLb{ b ═ 1,2 … 3} and 9 memristors Mwb
The embodiment is that the logic gate circuit based on the memristor cross array realizes the functions of a NAND logic gate and a NOR logic gate, and the memristor M can be used for memorizingP、MQUnder the condition of different rows and different columns, the memristor M can be usedP、MQIn the case of the same row, the memristor M can be usedP、MQIn the same column, the solution of minimum number of memristors is needed to execute the implication logic and the non-implication logic.
It should be understood that the above-described embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the claims of the present invention.

Claims (10)

1. A logic gate circuit based on a memristor cross array is characterized by comprising W word lines WLwAnd { W ═ 1,2 … W }, B bit lines BLbAnd { B ═ 1,2 … B }, a first voltage controller (1), a second voltage controller (2), and { W × B } memristors Mwb
Wherein each word line WLwRespectively connected with each bit line BLbIntersecting; each bit line BLbOne end of the first voltage controller is respectively used as an input end to be connected with the output end of the first voltage controller (1), and the other end of the first voltage controller is respectively connected with an analog switch and a resistor in sequence and then grounded; each word line WLwIs respectively used as an input end to be connected with the output end of the second voltage controller (2)The other end of the analog switch is connected with an analog switch and a resistor in sequence and then grounded;
the input end of the first voltage controller (1) is connected with a first clock signal CLK 1; the input end of the second voltage controller (2) is connected with a second clock signal CLK 2;
each memristor MwbThe positive pole of the capacitor is connected with the word line WL corresponding to the lower markwThe negative pole is connected with a bit line BL corresponding to the subscriptb
2. The memristor crossbar array-based logic gate circuit of claim 1, wherein the memristor M iswbStoring input quantity P or input quantity Q or logic operation result in the form of resistance value at high resistance ROFFIn the state of a logic 0, low resistance RONThe state represents a logic 1.
3. The memristor crossbar array-based logic gate circuit of claim 1, wherein during the logic operation:
memristor M according to stored input quantity PPAnd a memristor M storing an input quantity QQFrom other memristors MwbMiddle selection memristor M for auxiliary operation and storing logic operation resultA
According to memristor MPMemristor MQAnd memristor MAControl the word line WL corresponding to the subscriptwOr bit line BLbThe analog switch is closed to communicate with the circuit to be operated at the current stage.
4. The memristor crossbar array-based logic gate circuit of claim 3, wherein during the logic operation, the first clock signal CLK1 and the second clock signal CLK2 control the connected to-be-operated circuit to perform either the implied logic or the non-implied logic: when the first clock signal CLK1 and the second clock signal CLK2 are at high level, a logic 1 is represented, and the circuit to be operated performs non-inclusive logic; when the clock signal is at low level, it represents logic 0, and the circuit to be operated executes the implication logic.
5. The memristor crossbar array-based logic gate circuit of claim 4, wherein if memristor MPAnd memristor MQWord line WL with connected positive polewSame, then memristor MAThe word line WL is connected to the positive polewOther memristor MwbOne of them;
if memory resistor MPAnd memristor MQNegative connected bit line BLbSame, then memristor MAThe negative electrode is connected with the bit line BLbOther memristor MwbOne of them.
6. The memristor crossbar array-based logic gate circuit of claim 4, wherein if memristor MPAnd memristor MQWord line WL with connected positive polewDifferent, bit line BL with negative electrode connectedbIf they are different, then the memristor MAComprises the following steps: word line WL with connected positive polewAND memristor MPIdentical and cathode-connected bit line BLbAND memristor MQThe same other memristors MwbOr positively connected word lines WLwAND memristor MQIdentical and cathode-connected bit line BLbAND memristor MPThe same other memristors Mwb
7. The memristor crossbar array-based logic gate circuit of any one of claims 1 to 5, comprising 3 word lines WLwAnd { w ═ 1,2,3}, 3 bit lines BLb{ b ═ 1,2 … 3} and 9 memristors Mwb
8. The memristor crossbar array-based logic gate circuit of claims 1-4 and 6, comprising 2 word lines WLwAnd { w ═ 1,2}, 2 bit lines BLb{ b ═ 1,2} and 4 memristors Mwb
9. A method of implementing a nand gate using the memristor crossbar array-based logic gate circuit of claims 1-8, comprising the steps of:
s1, memory resistor M used for auxiliary operation and storing logic operation result in circuitAWrite to low resistance;
s2, the memristor M storing the input quantity P is controlled by changing the communication condition in the circuit and the input quantity of the first clock signal CLK1 or the second clock signal CLK2PAND memristor MAExecuting non-implication logic;
s3, the memristor M storing the input quantity Q is controlled by changing the communication condition in the circuit and the input quantity of the first clock signal CLK1 or the second clock signal CLK2QAND memristor MAPerforming the implication logic, the NAND result being stored in the memristor MA
10. A method of implementing a nor gate using the memristor crossbar array-based logic gate circuit of claims 1-8, comprising the steps of:
s4, writing the input quantity Q into the memristor M used for auxiliary operation and storing logic operation result in the circuitA
S5, the memristor M storing the input quantity P is controlled by changing the communication condition in the circuit and the input quantity of the first clock signal CLK1 or the second clock signal CLK2PAND memristor MAExecuting the implication logic;
s6, the memristor M storing the input quantity Q is controlled by changing the communication condition in the circuit and the input quantity of the first clock signal CLK1 or the second clock signal CLK2QAND memristor MAPerforming NOT-ENDED logic, or storing the NOT result in the memristor MA
CN202110626491.0A 2021-06-04 2021-06-04 Memristor cross array-based logic gate circuit and NAND gate and NOR gate implementation method Active CN113285710B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110626491.0A CN113285710B (en) 2021-06-04 2021-06-04 Memristor cross array-based logic gate circuit and NAND gate and NOR gate implementation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110626491.0A CN113285710B (en) 2021-06-04 2021-06-04 Memristor cross array-based logic gate circuit and NAND gate and NOR gate implementation method

Publications (2)

Publication Number Publication Date
CN113285710A true CN113285710A (en) 2021-08-20
CN113285710B CN113285710B (en) 2023-01-20

Family

ID=77283379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110626491.0A Active CN113285710B (en) 2021-06-04 2021-06-04 Memristor cross array-based logic gate circuit and NAND gate and NOR gate implementation method

Country Status (1)

Country Link
CN (1) CN113285710B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113934398A (en) * 2021-10-09 2022-01-14 广东工业大学 High-efficiency adder and multiplier design method based on memristor

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106158017A (en) * 2016-06-20 2016-11-23 北京大学 The method and apparatus realizing logic and arithmetical operation based on resistance computing
TW201833824A (en) * 2017-03-03 2018-09-16 美商慧與發展有限責任合夥企業 Analog multiplier-accumulators
CN108920788A (en) * 2018-06-20 2018-11-30 华中科技大学 Based on insubstantial volume, decoding circuit, crossed array circuit and its operating method for containing logic of memristor
US20180367149A1 (en) * 2017-06-14 2018-12-20 Technion Research And Development Foundation Ltd. Pure memristive logic gate
CN109994139A (en) * 2019-03-15 2019-07-09 北京大学 A kind of complete non-volatile logic implementation method and its application based on unipolarity memristor
CN111553415A (en) * 2020-04-28 2020-08-18 哈尔滨理工大学 Memristor-based ESN neural network image classification processing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106158017A (en) * 2016-06-20 2016-11-23 北京大学 The method and apparatus realizing logic and arithmetical operation based on resistance computing
TW201833824A (en) * 2017-03-03 2018-09-16 美商慧與發展有限責任合夥企業 Analog multiplier-accumulators
US20180367149A1 (en) * 2017-06-14 2018-12-20 Technion Research And Development Foundation Ltd. Pure memristive logic gate
CN108920788A (en) * 2018-06-20 2018-11-30 华中科技大学 Based on insubstantial volume, decoding circuit, crossed array circuit and its operating method for containing logic of memristor
CN109994139A (en) * 2019-03-15 2019-07-09 北京大学 A kind of complete non-volatile logic implementation method and its application based on unipolarity memristor
CN111553415A (en) * 2020-04-28 2020-08-18 哈尔滨理工大学 Memristor-based ESN neural network image classification processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113934398A (en) * 2021-10-09 2022-01-14 广东工业大学 High-efficiency adder and multiplier design method based on memristor

Also Published As

Publication number Publication date
CN113285710B (en) 2023-01-20

Similar Documents

Publication Publication Date Title
CN110914906B (en) Multi-level cell (MLC) non-volatile (NV) memory (NVM) matrix circuit for performing matrix computations with multi-bit input vectors
Duan et al. Memristor-based RRAM with applications
US11544540B2 (en) Systems and methods for neural network training and deployment for hardware accelerators
CN110362291B (en) Method for performing nonvolatile complex operation by using memristor
CN105825885B (en) Multilevel memory cell, read/write circuit and its operating method based on memristor
CN109388853B (en) Single-pole and double-pole mixed efficient memristor logic circuit and control method thereof
CN110111827B (en) Multi-value resistive random access memory based on multiple single-value resistive random access memories
CN102884580A (en) Method and apparatus of probabilistic programming multi-level memory in cluster states of bi-stable elements
CN110569962B (en) Convolution calculation accelerator based on 1T1R memory array and operation method thereof
CN113285710B (en) Memristor cross array-based logic gate circuit and NAND gate and NOR gate implementation method
CN109905115B (en) Reversible logic circuit and operation method thereof
CN108038542A (en) A kind of memory module based on neutral net, module and data processing method
CN111971662A (en) Resistor and digital processing core
CN109584932A (en) Memory device and its operating method
CN105356876A (en) Memristor-based logic gate circuit
TW200409116A (en) MRAM architecture with electrically isolated read and write circuitry
CN110543937A (en) Neural network, operation method and neural network information processing system
CN108229669A (en) The self study of neural network array
CN108920788B (en) Operation method of coding and decoding circuit based on memristor non-substantive implication logic
CN113362872B (en) Memristor-based complete nonvolatile Boolean logic circuit and operation method
CN109521995B (en) Calculation method of logic operation device embedded in memristor array
CN112071346B (en) 3D cross array structure based on memristor cluster
CN113222131B (en) Synapse array circuit capable of realizing signed weight coefficient based on 1T1R
US20230238042A1 (en) Memory device with source line control
CN105720958B (en) Fpga chip electrification control method, circuit and fpga chip

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant