CN112803943B - Digital AND gate implementation method based on three-value memristor - Google Patents
Digital AND gate implementation method based on three-value memristor Download PDFInfo
- Publication number
- CN112803943B CN112803943B CN202011641816.4A CN202011641816A CN112803943B CN 112803943 B CN112803943 B CN 112803943B CN 202011641816 A CN202011641816 A CN 202011641816A CN 112803943 B CN112803943 B CN 112803943B
- Authority
- CN
- China
- Prior art keywords
- memristor
- output
- memristors
- input
- voltage
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 16
- 238000013178 mathematical model Methods 0.000 claims description 6
- 238000005259 measurement Methods 0.000 claims description 4
- 238000013461 design Methods 0.000 abstract description 6
- 238000011160 research Methods 0.000 abstract description 5
- 230000007423 decrease Effects 0.000 description 4
- 238000003860 storage Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005284 excitation Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000011065 in-situ storage Methods 0.000 description 1
- 238000007500 overflow downdraw method Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K19/00—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
- H03K19/20—Logic 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
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C13/00—Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00
-
- Y—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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
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
Description
技术领域technical field
本发明属于电路设计技术领域,涉及一种基于三值忆阻器的数字与门实现方法。The invention belongs to the technical field of circuit design and relates to a method for realizing a digital AND gate based on a ternary memristor.
背景技术Background technique
1971年,蔡少棠教授从电路理论的完备性角度出发,提出了第四类基本电路元件——忆阻器。2008年,惠普实验室成功研制出第一个忆阻器的物理元件,这一突破引发了忆阻器相关领域的研究热潮。经过进一步的研究发现,忆阻器凭借其纳米尺度、非易失性等特点可以应用于非易失性存储器、逻辑运算、类脑神经形态计算等领域,即在发展信息存储与运算融合方式方面具有巨大潜力。In 1971, Professor Cai Shaotang proposed the fourth type of basic circuit element - memristor from the perspective of completeness of circuit theory. In 2008, Hewlett-Packard Labs successfully developed the first physical element of memristor, and this breakthrough triggered a research boom in related fields of memristor. After further research, it is found that memristors can be applied to non-volatile memory, logic operations, brain-like neuromorphic computing and other fields by virtue of their nanoscale and non-volatile characteristics, that is, in the development of information storage and computing fusion methods. Has great potential.
近年来,忆阻器在实现数字逻辑运算方面已有了一些进展,但当前多集中在对二值逻辑的研究上。相比于传统的二值逻辑,三值逻辑在单根信号线上信息携带量更高,并可有效减少诸如互连和芯片面积的电路开销,因此可以实现简单的电路结构和高效的能源利用,进而得到了研究人员的关注。In recent years, memristors have made some progress in the realization of digital logic operations, but most of the current research focuses on binary logic. Compared with traditional binary logic, ternary logic carries a higher amount of information on a single signal line, and can effectively reduce circuit overhead such as interconnection and chip area, so it can achieve simple circuit structure and efficient energy utilization , which has attracted the attention of researchers.
忆阻器根据其能保持的阻态个数的不同,又可分为二值忆阻器和多值忆阻器。如三值忆阻器具有高、低、中三种不同的阻态,无需使用任何额外的器件就可实现三值逻辑中的三种不同的逻辑值,比用普通二值忆阻器来实现三值逻辑运算具有更大优势。因此,三值忆阻器在三值数字逻辑门电路设计领域具有广阔的前景,也为实现三值信息存储与计算原位融合的模式提供了可能。Memristors can be divided into binary memristors and multi-valued memristors according to the number of resistance states they can hold. For example, the three-valued memristor has three different resistance states of high, low and medium, and can realize three different logic values in the three-valued logic without using any additional devices, which is better than the ordinary two-valued memristor. Three-valued logical operations have even greater advantages. Therefore, ternary memristors have broad prospects in the field of ternary digital logic gate circuit design, and also provide the possibility to realize the mode of in-situ fusion of ternary information storage and calculation.
发明内容Contents of the invention
针对现有技术的不足,本发明提出了一种新的基于三值忆阻器的数字与门实现方法。Aiming at the deficiencies of the prior art, the present invention proposes a new realization method of a digital AND gate based on a ternary memristor.
本发明解决技术问题所采取的技术方案如下:包括一个正向-正向三值与门电路(Forward-Forward-TAND,FF-TAND),三个经扩展得到的三值与门电路:反向-正向三值与门电路(Backward-Forward-TAND,BF-TAND)、正向-反向三值与门电路(Forward-Backward-TAND,FB-TAND)、反向-反向三值与门电路(Backward-Backward-TAND,BB-TAND)。The technical scheme adopted by the present invention to solve the technical problem is as follows: comprising a forward-forward three-value AND gate circuit (Forward-Forward-TAND, FF-TAND), three three-value AND gate circuits obtained through expansion: reverse -Forward three-valued AND gate circuit (Backward-Forward-TAND, BF-TAND), forward-reverse three-valued AND gate circuit (Forward-Backward-TAND, FB-TAND), reverse-reverse three-valued AND gate circuit Gate circuit (Backward-Backward-TAND, BB-TAND).
FF-TAND的输入忆阻器和输出忆阻器连接方式是正向-正向的,电路由三个三值忆阻器构成,忆阻器的三个阻态分别代表三值逻辑的0、1、2。其中第一忆阻器M1作为第一输入忆阻器,第二忆阻器M2作为第二输入忆阻器,第三忆阻器M3作为输出忆阻器。第一忆阻器M1的正极与直流电源V相连,第一忆阻器M1的负极与第二忆阻器M2的正极相连,第二忆阻器M2的负极与第三忆阻器M3的正极相连,第三忆阻器M3的负极接地。The input memristor and output memristor of FF-TAND are connected in a forward-forward direction. The circuit is composed of three three-valued memristors. The three resistance states of the memristor represent 0 and 1 of the three-valued logic respectively. ,2. The first memristor M1 is used as a first input memristor, the second memristor M2 is used as a second input memristor, and the third memristor M3 is used as an output memristor. The positive pole of the first memristor M1 is connected to the DC power supply V, the negative pole of the first memristor M1 is connected to the positive pole of the second memristor M2, the negative pole of the second memristor M2 is connected to the positive pole of the third memristor M3 connected, and the negative electrode of the third memristor M3 is grounded.
BF-TAND的输入忆阻器和输出忆阻器连接方式是反向-正向的,电路由三个三值忆阻器构成,忆阻器的三个阻态分别代表三值逻辑的0、1、2。其中第一忆阻器M1作为第一输入忆阻器,第二忆阻器M2作为第二输入忆阻器,第三忆阻器M3作为输出忆阻器。第一忆阻器M1的负极与直流电源V相连,第一忆阻器M1的正极与第二忆阻器M2的负极相连,第二忆阻器M2的正极与第三忆阻器M3的正极相连,第三忆阻器M3的负极接地。The connection mode of the input memristor and the output memristor of BF-TAND is reverse-forward, and the circuit is composed of three ternary memristors. 1, 2. The first memristor M1 is used as a first input memristor, the second memristor M2 is used as a second input memristor, and the third memristor M3 is used as an output memristor. The negative pole of the first memristor M1 is connected to the DC power supply V, the positive pole of the first memristor M1 is connected to the negative pole of the second memristor M2, the positive pole of the second memristor M2 is connected to the positive pole of the third memristor M3 connected, and the negative electrode of the third memristor M3 is grounded.
FB-TAND的输入忆阻器和输出忆阻器连接方式是正向-反向的,电路由三个三值忆阻器构成,忆阻器的三个阻态分别代表三值逻辑的0、1、2。其中第一忆阻器M1作为第一输入忆阻器,第二忆阻器M2作为第二输入忆阻器,第三忆阻器M3作为输出忆阻器。第一忆阻器M1的正极与直流电源V相连,第一忆阻器M1的负极与第二忆阻器M2的正极相连,第二忆阻器M2的负极与第三忆阻器M3的负极相连,第三忆阻器M3的正极接地。The connection between the input memristor and the output memristor of FB-TAND is forward-reverse. The circuit is composed of three three-valued memristors, and the three resistance states of the memristor represent 0 and 1 of the three-valued logic respectively. ,2. The first memristor M1 is used as a first input memristor, the second memristor M2 is used as a second input memristor, and the third memristor M3 is used as an output memristor. The positive pole of the first memristor M1 is connected to the DC power supply V, the negative pole of the first memristor M1 is connected to the positive pole of the second memristor M2, the negative pole of the second memristor M2 is connected to the negative pole of the third memristor M3 connected, and the anode of the third memristor M3 is grounded.
BB-TAND的输入忆阻器和输出忆阻器连接方式是反向-反向的,电路由三个三值忆阻器构成,忆阻器的三个阻态分别代表三值逻辑的0、1、2。其中第一忆阻器M1作为第一输入忆阻器,第二忆阻器M2作为第二输入忆阻器,第三忆阻器M3作为输出忆阻器。第一忆阻器M1的负极与直流电源V相连,第一忆阻器M1的正极与第二忆阻器M2的负极相连,第二忆阻器M2的正极与第三忆阻器M3的负极相连,第三忆阻器M3的正极接地。The input memristor and output memristor of BB-TAND are connected reverse-reversely. The circuit is composed of three ternary memristors. The three resistance states of the memristor represent 0, 1, 2. The first memristor M1 is used as a first input memristor, the second memristor M2 is used as a second input memristor, and the third memristor M3 is used as an output memristor. The negative pole of the first memristor M1 is connected to the DC power supply V, the positive pole of the first memristor M1 is connected to the negative pole of the second memristor M2, the positive pole of the second memristor M2 is connected to the negative pole of the third memristor M3 connected, and the anode of the third memristor M3 is grounded.
本发明设计了一种新型的基于三值忆阻器的三值数字逻辑与门电路模型,并从电路中器件连接方式角度进行扩展得到了额外的三个新颖的与门电路,结构清晰简单、易于实现。该与门电路模型对多值数字逻辑运算等诸多领域中的应用研究具有重要意义。The present invention designs a new type of ternary digital logic AND gate circuit model based on ternary memristor, and expands it from the perspective of device connection in the circuit to obtain three additional novel AND gate circuits, with a clear and simple structure, Easy to implement. The AND gate circuit model is of great significance to the application research in many fields such as multi-valued digital logic operation.
附图说明Description of drawings
图1是本发明的基于三值忆阻器的正向-正向三值与门电路。FIG. 1 is a forward-forward three-value AND gate circuit based on a three-value memristor of the present invention.
图2是本发明的基于三值忆阻器的反向-正向三值与门电路。FIG. 2 is a reverse-forward three-value AND gate circuit based on a three-value memristor of the present invention.
图3是本发明的基于三值忆阻器的正向-反向三值与门电路。FIG. 3 is a forward-reverse three-value AND gate circuit based on a three-value memristor of the present invention.
图4是本发明的基于三值忆阻器的反向-反向三值与门电路。FIG. 4 is a reverse-reverse three-value AND gate circuit based on a three-value memristor of the present invention.
具体实施方式Detailed ways
下面结合附图对本发明优选实施例作详细说明。The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.
本发明设计所采用的三值忆阻器模型为压控阈值型三值忆阻器,其数学模型由下式描述:The ternary memristor model adopted in the design of the present invention is a voltage-controlled threshold type ternary memristor, and its mathematical model is described by the following formula:
式中的a,b,c,d,e是模型中的可调参数,x为系统内部状态变量,v(t)表示忆阻器两端的电压,i(t)表示流经忆阻器的电流,vth1和vth2代表两个不同的阈值电压,RL、RM、RH分别对应于该模型从低到高的三种不同的阻态。In the formula, a, b, c, d, e are adjustable parameters in the model, x is the internal state variable of the system, v(t) represents the voltage across the memristor, i(t) represents the voltage flowing through the memristor Current, v th1 and v th2 represent two different threshold voltages, R L , R M , R H correspond to three different resistance states from low to high of the model respectively.
在外加电压作用下,该忆阻器模型能表现出阈值特性。当v>vth2时,忆阻器被置为RL。当vth1<v<vth2时,如果此时忆阻器模型的状态为RH则会迅速降至RM,否则会保持原有的状态不发生改变。当-vth1<v<vth1时,模型会一直保持原有的状态。当-vth2<v<-vth1时,若此时忆阻器的阻值小于RM则会增加到RM,否则不发生变化。当v<-vth2时,模型被置为RH。Under the action of an applied voltage, the memristor model can exhibit threshold characteristics. When v>v th2 , the memristor is set to RL . When v th1 <v<v th2 , if the state of the memristor model is R H at this time, it will quickly drop to R M , otherwise the original state will remain unchanged. When -v th1 <v<v th1 , the model will always keep the original state. When -v th2 <v<-v th1 , if the resistance value of the memristor is smaller than RM at this time, it will increase to RM , otherwise it will not change. When v<-v th2 , the model is set to R H .
本发明所设计的四个三值与门电路均只采用三个三值忆阻器构成,其中两个作为输入忆阻器,另一个作为输出忆阻器。三值与门的逻辑状态用忆阻器的阻值表示,RH、RM、RL分别代表三值逻辑的“0”、“1”、“2”。在本设计中,Rin1和Rin2均是输入忆阻器,Rout是输出忆阻器,V是直流电源。忆阻器Rin1和Rin2的初始状态是该逻辑门的两个输入,Rout的初始状态为RH。三值与门逻辑的真值表如下表所示:The four three-valued AND gate circuits designed in the present invention are composed of only three three-valued memristors, two of which are used as input memristors and the other is used as output memristors. The logic state of the three-valued AND gate is represented by the resistance value of the memristor, and R H , R M , and RL represent "0", "1" and "2" of the three-valued logic respectively. In this design, both R in1 and R in2 are input memristors, R out is an output memristor, and V is a DC power supply. The initial state of memristors R in1 and R in2 are the two inputs of this logic gate, and the initial state of R out is R H . The truth table of the three-valued AND gate logic is shown in the following table:
本发明所涉及的四个三值与门均由一个激励电压源V驱动。每一次逻辑门的工作可以分为两个阶段,一个是初始阶段,在这一阶段中,V输出一个较小的测量电压VMS,用于测量各个忆阻器的初始状态,通过读取忆阻器两端的电压和流经的电流来测算忆阻器的阻值。该测量电压的值应当较小,使得每个忆阻器上的分压都不会超过设定的阈值电压,因此忆阻器就不会改变其状态。第二阶段称为运行阶段,在这期间V输出一个较大的运行电压VOP用于完成逻辑运算。下述所有种类的与门电路中,测量电压VMS均为0.5V,但对于运行电压VOP而言,在不同的门电路中需要选择不同的值。由于该逻辑门电路中两个输入忆阻器的参数以及在电路中的位置是相同的,因此下面分析中省去了部分重复的结果。The four ternary AND gates involved in the present invention are all driven by an excitation voltage source V. Each operation of a logic gate can be divided into two phases, one is the initial phase, in this phase, V outputs a small measurement voltage V MS for measuring the initial state of each memristor, by reading the memristor The voltage across the resistor and the current flowing through it are used to measure the resistance of the memristor. The value of this measured voltage should be small so that the divided voltage across each memristor does not exceed a set threshold voltage, so that the memristor does not change its state. The second stage is called the running stage, during which V outputs a larger operating voltage V OP to complete logic operations. In all types of AND gate circuits described below, the measurement voltage V MS is 0.5V, but for the operating voltage V OP , different values need to be selected in different gate circuits. Since the parameters and positions of the two input memristors in this logic gate circuit are the same, some repeated results are omitted in the following analysis.
优选的,对于所设计的四个与门电路,采用的上述三值忆阻器模型的相关参数为a=e=10,b=10000,c=d=0.2,阈值电压vth1和vth2分别设为0.9V和1.1V;RH、RM、RL分别为10kΩ、1kΩ、100Ω。Preferably, for the designed four AND gate circuits, the relevant parameters of the above-mentioned ternary memristor model used are a=e=10, b=10000, c=d=0.2, and the threshold voltages v th1 and v th2 are respectively Set to 0.9V and 1.1V; R H , R M , RL are 10kΩ, 1kΩ, 100Ω respectively.
如图1所示,为本发明的正向-正向三值与门电路结构。该逻辑门电路的运行电压VOP为1.5V。As shown in FIG. 1 , it is a forward-forward three-valued AND gate circuit structure of the present invention. The operating voltage V OP of the logic gate circuit is 1.5V.
在运算阶段,当输入均为逻辑“0”时,输入忆阻器的阻值和为20kΩ,输出忆阻器Rout两端分压为0.5V。当输入为“0”和“1”时,输入忆阻器的阻值和为11kΩ,输出忆阻器Rout两端分压为0.714V。当输入为“0”和“2”时,输入忆阻器的阻值和为10.1kΩ,输出忆阻器Rout两端分压为0.746V。在上述三种情况下,输出忆阻器Rout两端的电压均未超过阈值0.9V,因此Rout保持初始状态RH不变,即输出逻辑“0”。In the operation phase, when the inputs are all logic "0", the resistance sum of the input memristor is 20kΩ, and the divided voltage across the output memristor R out is 0.5V. When the input is "0" and "1", the resistance sum of the input memristor is 11kΩ, and the divided voltage across the output memristor R out is 0.714V. When the input is "0" and "2", the resistance sum of the input memristor is 10.1kΩ, and the divided voltage across the output memristor R out is 0.746V. In the above three cases, the voltage across the output memristor R out does not exceed the threshold value of 0.9V, so R out keeps the initial state R H unchanged, that is, the output logic "0".
当输入均为逻辑“1”时,输入忆阻器的阻值和为2kΩ,输出忆阻器两端的分压为1.25V。当输入为“1”和“2”时,此时输入忆阻器的阻值和为1.1kΩ,输出忆阻器两端的分压为1.35V。在上述两种情况下,输出忆阻器Rout两端的电压均超过阈值电压vth1=0.9V,因此RH均会置成RM。因为输出忆阻器的阻值下降,因此器件两端的分压也会减小。前一种情况下,输出忆阻器两端的电压下降为0.5V,后一种情况下则是0.714V。这两种情况下由于Rout两端的电压没有超过vth2=1.1V,因此忆阻器的状态不会发生进一步的变化,因此逻辑门输出逻辑“1”。When the inputs are all logic "1", the resistance sum of the input memristor is 2kΩ, and the divided voltage across the output memristor is 1.25V. When the input is "1" and "2", the resistance sum of the input memristor is 1.1kΩ, and the divided voltage across the output memristor is 1.35V. In the above two cases, the voltage across the output memristor R out exceeds the threshold voltage v th1 =0.9V, so R H is set to R M . Because the resistance of the output memristor drops, the voltage divided across the device also decreases. The voltage drop across the output memristor was 0.5V in the former case and 0.714V in the latter case. In both cases, since the voltage across R out does not exceed v th2 =1.1V, the state of the memristor will not change further, so the logic gate outputs a logic “1”.
当输入均为逻辑“2”时,输入忆阻器的阻值和为200Ω,输出忆阻器两端的分压为1.47V,大于阈值电压vth1=0.9V,使得Rout先被置为RM。在Rout被置为RM后,输出忆阻器两端的分压变为1.25V,仍大于阈值电压vth2=1.1V,所以输出忆阻器的状态最终切换为RL,即逻辑门输出逻辑“2”。When the input is logic "2", the resistance sum of the input memristor is 200Ω, and the divided voltage across the output memristor is 1.47V, which is greater than the threshold voltage v th1 = 0.9V, so that R out is first set to R M. After R out is set to R M , the divided voltage across the output memristor becomes 1.25V, which is still greater than the threshold voltage v th2 = 1.1V, so the state of the output memristor finally switches to R L , that is, the logic gate output logical "2".
如图2所示,更改上述第一种三值与门电路输入和输出忆阻器的连接方式,得到了本发明的反向-正向三值与门电路结构。因其输出忆阻器方向和FF-TAND的输出忆阻器方向一致,因此该逻辑门电路的运行电压VOP为1.5V。As shown in FIG. 2 , the connection mode of the input and output memristors of the above-mentioned first three-value AND gate circuit is changed to obtain the reverse-forward three-value AND gate circuit structure of the present invention. Because the direction of the output memristor is the same as that of the FF-TAND, the operating voltage V OP of the logic gate circuit is 1.5V.
在运算阶段,当输入均为逻辑“0”时,输入忆阻器的阻值和为20kΩ,输出忆阻器Rout两端分压为0.5V。当输入为“0”和“1”时,输入忆阻器的阻值和为11kΩ,输出忆阻器Rout两端分压为0.714V。当输入为“0”和“2”时,输入忆阻器的阻值和为10.1kΩ,输出忆阻器Rout两端分压为0.746V。在上述三种情况下,输出忆阻器Rout两端的电压均未超过阈值0.9V,因此Rout保持初始状态RH不变,即输出逻辑“0”。In the operation phase, when the inputs are all logic "0", the resistance sum of the input memristor is 20kΩ, and the divided voltage across the output memristor R out is 0.5V. When the input is "0" and "1", the resistance sum of the input memristor is 11kΩ, and the divided voltage across the output memristor R out is 0.714V. When the input is "0" and "2", the resistance sum of the input memristor is 10.1kΩ, and the divided voltage across the output memristor R out is 0.746V. In the above three cases, the voltage across the output memristor R out does not exceed the threshold value of 0.9V, so R out keeps the initial state R H unchanged, that is, the output logic "0".
当输入均为逻辑“1”时,输入忆阻器的阻值和为2kΩ,输出忆阻器两端的分压为1.25V。当输入为“1”和“2”时,此时输入忆阻器的阻值和为1.1kΩ,输出忆阻器两端的分压为1.35V。在上述两种情况下,输出忆阻器Rout两端的电压均超过阈值电压vth1=0.9V,因此RH均会置成RM。因为输出忆阻器的阻值下降,因此器件两端的分压也会减小。前一种情况下,输出忆阻器两端的电压下降为0.5V,后一种情况下则是0.714V。这两种情况下由于Rout两端的电压没有超过vth2=1.1V,因此忆阻器的状态不会发生进一步的变化,因此逻辑门输出逻辑“1”。When the inputs are all logic "1", the resistance sum of the input memristor is 2kΩ, and the divided voltage across the output memristor is 1.25V. When the input is "1" and "2", the resistance sum of the input memristor is 1.1kΩ, and the divided voltage across the output memristor is 1.35V. In the above two cases, the voltage across the output memristor R out exceeds the threshold voltage v th1 =0.9V, so R H is set to R M . Because the resistance of the output memristor drops, the voltage divided across the device also decreases. The voltage drop across the output memristor was 0.5V in the former case and 0.714V in the latter case. In both cases, since the voltage across R out does not exceed v th2 =1.1V, the state of the memristor will not change further, so the logic gate outputs a logic “1”.
当输入均为逻辑“2”时,输入忆阻器的阻值和为200Ω,输出忆阻器两端的分压为1.47V,大于阈值电压vth1=0.9V,使得Rout先被置为RM。在Rout被置为RM后,输出忆阻器两端的分压变为1.25V,仍大于阈值电压vth2=1.1V,所以输出忆阻器的状态最终切换为RL,即逻辑门输出逻辑“2”。When the input is logic "2", the resistance sum of the input memristor is 200Ω, and the divided voltage across the output memristor is 1.47V, which is greater than the threshold voltage v th1 = 0.9V, so that R out is first set to R M. After R out is set to R M , the divided voltage across the output memristor becomes 1.25V, which is still greater than the threshold voltage v th2 = 1.1V, so the state of the output memristor finally switches to R L , that is, the logic gate output logical "2".
如图3所示,更改上述第一种三值与门电路输入和输出忆阻器的连接方式,得到了本发明的正向-反向三值与门电路结构。因其输出忆阻器方向和FF-TAND的输出忆阻器方向相反,因此该逻辑门电路的运行电压VOP为-1.5V。As shown in FIG. 3, the forward-reverse three-valued AND circuit structure of the present invention is obtained by changing the connection mode of the input and output memristors of the above-mentioned first three-valued AND gate circuit. Because the direction of the output memristor is opposite to that of the FF-TAND, the operating voltage V OP of the logic gate circuit is -1.5V.
在运算阶段,当输入均为逻辑“0”时,输入忆阻器的阻值和为20kΩ,输出忆阻器Rout两端分压为0.5V。当输入为“0”和“1”时,输入忆阻器的阻值和为11kΩ,输出忆阻器Rout两端分压为0.714V。当输入为“0”和“2”时,输入忆阻器的阻值和为10.1kΩ,输出忆阻器Rout两端分压为0.746V。在上述三种情况下,输出忆阻器Rout两端的电压均未超过阈值0.9V,因此Rout保持初始状态RH不变,即输出逻辑“0”。In the operation phase, when the inputs are all logic "0", the resistance sum of the input memristor is 20kΩ, and the divided voltage across the output memristor R out is 0.5V. When the input is "0" and "1", the resistance sum of the input memristor is 11kΩ, and the divided voltage across the output memristor R out is 0.714V. When the input is "0" and "2", the resistance sum of the input memristor is 10.1kΩ, and the divided voltage across the output memristor R out is 0.746V. In the above three cases, the voltage across the output memristor R out does not exceed the threshold value of 0.9V, so R out keeps the initial state R H unchanged, that is, the output logic "0".
当输入均为逻辑“1”时,输入忆阻器的阻值和为2kΩ,输出忆阻器两端的分压为1.25V。当输入为“1”和“2”时,此时输入忆阻器的阻值和为1.1kΩ,输出忆阻器两端的分压为1.35V。在上述两种情况下,输出忆阻器Rout两端的电压均超过阈值电压vth1=0.9V,因此RH均会置成RM。因为输出忆阻器的阻值下降,因此器件两端的分压也会减小。前一种情况下,输出忆阻器两端的电压下降为0.5V,后一种情况下则是0.714V。这两种情况下由于Rout两端的电压没有超过vth2=1.1V,因此忆阻器的状态不会发生进一步的变化,因此逻辑门输出逻辑“1”。When the inputs are all logic "1", the resistance sum of the input memristor is 2kΩ, and the divided voltage across the output memristor is 1.25V. When the input is "1" and "2", the resistance sum of the input memristor is 1.1kΩ, and the divided voltage across the output memristor is 1.35V. In the above two cases, the voltage across the output memristor R out exceeds the threshold voltage v th1 =0.9V, so R H is set to R M . Because the resistance of the output memristor drops, the voltage divided across the device also decreases. The voltage drop across the output memristor was 0.5V in the former case and 0.714V in the latter case. In both cases, since the voltage across R out does not exceed v th2 =1.1V, the state of the memristor will not change further, so the logic gate outputs a logic “1”.
当输入均为逻辑“2”时,输入忆阻器的阻值和为200Ω,输出忆阻器两端的分压为1.47V,大于阈值电压vth1=0.9V,使得Rout先被置为RM。在Rout被置为RM后,输出忆阻器两端的分压变为1.25V,仍大于阈值电压vth2=1.1V,所以输出忆阻器的状态最终切换为RL,即逻辑门输出逻辑“2”。When the input is logic "2", the resistance sum of the input memristor is 200Ω, and the divided voltage across the output memristor is 1.47V, which is greater than the threshold voltage v th1 = 0.9V, so that R out is first set to R M. After R out is set to R M , the divided voltage across the output memristor becomes 1.25V, which is still greater than the threshold voltage v th2 = 1.1V, so the state of the output memristor finally switches to R L , that is, the logic gate output logical "2".
如图4所示,更改上述第一种三值与门电路输入和输出忆阻器的连接方式,得到了本发明的反向-反向三值与门电路结构。因其输出忆阻器方向和FF-TAND的输出忆阻器方向一致,因此该逻辑门电路的运行电压VOP为1.5V。As shown in FIG. 4 , the connection mode of the input and output memristors of the above-mentioned first three-valued AND gate circuit is changed to obtain the reverse-reverse three-valued AND gate circuit structure of the present invention. Because the direction of the output memristor is the same as that of the FF-TAND, the operating voltage V OP of the logic gate circuit is 1.5V.
在运算阶段,当输入均为逻辑“0”时,输入忆阻器的阻值和为20kΩ,输出忆阻器Rout两端分压为0.5V。当输入为“0”和“1”时,输入忆阻器的阻值和为11kΩ,输出忆阻器Rout两端分压为0.714V。当输入为“0”和“2”时,输入忆阻器的阻值和为10.1kΩ,输出忆阻器Rout两端分压为0.746V。在上述三种情况下,输出忆阻器Rout两端的电压均未超过阈值0.9V,因此Rout保持初始状态RH不变,即输出逻辑“0”。In the operation phase, when the inputs are all logic "0", the resistance sum of the input memristor is 20kΩ, and the divided voltage across the output memristor R out is 0.5V. When the input is "0" and "1", the resistance sum of the input memristor is 11kΩ, and the divided voltage across the output memristor R out is 0.714V. When the input is "0" and "2", the resistance sum of the input memristor is 10.1kΩ, and the divided voltage across the output memristor R out is 0.746V. In the above three cases, the voltage across the output memristor R out does not exceed the threshold value of 0.9V, so R out keeps the initial state R H unchanged, that is, the output logic "0".
当输入均为逻辑“1”时,输入忆阻器的阻值和为2kΩ,输出忆阻器两端的分压为1.25V。当输入为“1”和“2”时,此时输入忆阻器的阻值和为1.1kΩ,输出忆阻器两端的分压为1.35V。在上述两种情况下,输出忆阻器Rout两端的电压均超过阈值电压vth1=0.9V,因此RH均会置成RM。因为输出忆阻器的阻值下降,因此器件两端的分压也会减小。前一种情况下,输出忆阻器两端的电压下降为0.5V,后一种情况下则是0.714V。这两种情况下由于Rout两端的电压没有超过vth2=1.1V,因此忆阻器的状态不会发生进一步的变化,因此逻辑门输出逻辑“1”。When the inputs are all logic "1", the resistance sum of the input memristor is 2kΩ, and the divided voltage across the output memristor is 1.25V. When the input is "1" and "2", the resistance sum of the input memristor is 1.1kΩ, and the divided voltage across the output memristor is 1.35V. In the above two cases, the voltage across the output memristor R out exceeds the threshold voltage v th1 =0.9V, so R H is set to R M . Because the resistance of the output memristor drops, the voltage divided across the device also decreases. The voltage drop across the output memristor was 0.5V in the former case and 0.714V in the latter case. In both cases, since the voltage across R out does not exceed v th2 =1.1V, the state of the memristor will not change further, so the logic gate outputs a logic “1”.
当输入均为逻辑“2”时,输入忆阻器的阻值和为200Ω,输出忆阻器两端的分压为1.47V,大于阈值电压vth1=0.9V,使得Rout先被置为RM。在Rout被置为RM后,输出忆阻器两端的分压变为1.25V,仍大于阈值电压vth2=1.1V,所以输出忆阻器的状态最终切换为RL,即逻辑门输出逻辑“2”。When the input is logic "2", the resistance sum of the input memristor is 200Ω, and the divided voltage across the output memristor is 1.47V, which is greater than the threshold voltage v th1 = 0.9V, so that R out is first set to R M. After R out is set to R M , the divided voltage across the output memristor becomes 1.25V, which is still greater than the threshold voltage v th2 = 1.1V, so the state of the output memristor finally switches to R L , that is, the logic gate output logical "2".
本领域的普通技术人员应当认识到,以上实施例仅是用来验证本发明,而并非作为对本发明的限定,只要是在本发明的范围内,对以上实施例的变化、变形都将落在本发明的保护范围内。Those of ordinary skill in the art should recognize that the above embodiments are only used to verify the present invention, rather than as a limitation of the present invention, as long as they are within the scope of the present invention, changes and deformations to the above embodiments will fall within the scope of the present invention. within the protection scope of the present invention.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011641816.4A CN112803943B (en) | 2020-12-31 | 2020-12-31 | Digital AND gate implementation method based on three-value memristor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011641816.4A CN112803943B (en) | 2020-12-31 | 2020-12-31 | Digital AND gate implementation method based on three-value memristor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112803943A CN112803943A (en) | 2021-05-14 |
CN112803943B true CN112803943B (en) | 2023-06-16 |
Family
ID=75809226
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011641816.4A Active CN112803943B (en) | 2020-12-31 | 2020-12-31 | Digital AND gate implementation method based on three-value memristor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112803943B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113676176A (en) * | 2021-07-31 | 2021-11-19 | 山东云海国创云计算装备产业创新中心有限公司 | Logic gate circuit |
CN114268314B (en) * | 2021-12-30 | 2025-07-01 | 杭州电子科技大学 | A method for implementing a 3-wire-1-wire encoder based on a ternary memristor |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111628763A (en) * | 2020-06-19 | 2020-09-04 | 杭州电子科技大学 | Memristor-Based Ternary Encoder Circuit |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9104975B2 (en) * | 2002-03-12 | 2015-08-11 | Knowmtech, Llc | Memristor apparatus |
US20150149517A1 (en) * | 2013-11-25 | 2015-05-28 | University Of The West Of England | Logic device and method of performing a logical operation |
EP3613048B1 (en) * | 2017-04-20 | 2021-03-10 | King Abdullah University Of Science And Technology | Stochastic memristor logic devices |
CN111046617B (en) * | 2019-12-23 | 2024-04-09 | 杭州电子科技大学 | Memristor-based three-value digital logic gate circuit |
CN111400880B (en) * | 2020-03-09 | 2023-11-03 | 杭州电子科技大学 | Implementation method of threshold three-valued memristor based on LTspice model |
-
2020
- 2020-12-31 CN CN202011641816.4A patent/CN112803943B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111628763A (en) * | 2020-06-19 | 2020-09-04 | 杭州电子科技大学 | Memristor-Based Ternary Encoder Circuit |
Non-Patent Citations (1)
Title |
---|
冯朝文.混合忆阻器-CMOS逻辑运算的优化设计研究.《计算机技术与发展》.2019,44-48. * |
Also Published As
Publication number | Publication date |
---|---|
CN112803943A (en) | 2021-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105761750B (en) | A kind of multivalued logic device and operating method based on memristor | |
CN111046617B (en) | Memristor-based three-value digital logic gate circuit | |
CN111628763B (en) | Three-valued encoder circuit based on memristor | |
CN112803943B (en) | Digital AND gate implementation method based on three-value memristor | |
CN111400880B (en) | Implementation method of threshold three-valued memristor based on LTspice model | |
CN105739944A (en) | Multi-system additive operation circuit based on memristors and operation method thereof | |
CN111555751A (en) | Three-value exclusive-or and exclusive-or logic gate circuit based on memristor | |
CN111667863A (en) | 1-3-wire ternary decoder circuit based on memristor | |
CN114024546A (en) | Boolean logic implementation method, unit and circuit based on integrated storage and calculation transistor | |
CN112818617B (en) | Digital OR gate implementation method based on ternary memristor | |
CN106941350A (en) | It is a kind of based on the NOR gate circuit and designing and manufacturing method of recalling group device | |
CN111755051A (en) | A 2-9 line ternary decoder circuit based on memristor | |
CN113810043A (en) | Balance three-value decoder circuit based on memristor | |
CN108920788B (en) | An Operation Method of Encoding and Decoding Circuit Based on Memristor Non-Essential Implicational Logic | |
CN106067318A (en) | Three-valued static random access memory cell realized by using carbon nano field effect transistor | |
CN110690892B (en) | Cubic root logic circuit based on memristor | |
CN113054994A (en) | Digital NAND gate implementation method based on ternary memristor cross array | |
CN112865786A (en) | Digital NOT gate implementation method based on ternary memristor | |
CN117708042A (en) | A unilaterally controlled in-memory computing circuit and memory | |
CN112927738B (en) | Nonvolatile device based circuit and charge domain memory computing method | |
CN112071346B (en) | 3D cross array structure based on memristor cluster | |
CN114301447A (en) | One-bit ternary comparator circuit based on ternary memristor | |
CN202102723U (en) | CAM storage unit, word circuit and memory with interval matching function | |
CN114301448B (en) | A positive and negative three-value latch circuit based on binary memristor | |
CN113872589B (en) | Balanced three-value multiplexer circuit based on memristor |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230627 Address after: Room 1105, 1st Floor, Building A, Tiantang Software Park, No. 3 Xidoumen Road, Xihu District, Hangzhou City, Zhejiang Province, 310012 Patentee after: Zhejiang feiyuan Environmental Technology Co.,Ltd. Address before: 310018 No.2 street, Baiyang street, Qiantang New District, Hangzhou City, Zhejiang Province Patentee before: HANGZHOU DIANZI University |