Abstract
In order to break through the traditional von Neumann architecture of computing and memory cell separation and speed up the computing speed, it is necessary to realize in memory computing, and memristor is an excellent carrier to realize in memory computing. Then, the development, principle, characteristics and application prospect of memristor are briefly introduced, and the characteristic curve of memristor is obtained by simulating the model of memristor. The principle and characteristics of memristor are explained more intuitively. Then, based on the memory resistor, the simple logic circuit design principle is described. The logic structure can be realized by using the memory resistor as the calculation element and adding a CMOS inverter, so as to realize the simple logic circuit. The paper designs the simple logic circuit including gate, gate, or gate by spice software, and simulates the circuit of gate, gate, gate, or gate. Then, based on the above logic gate, the circuit design of adder is carried out, the circuit diagram and design scheme are given, and the simple description and SPICE simulation are given. The design scheme is reviewed and summarized, its advantages and disadvantages are analyzed, and the optimization and improvement scheme is proposed.
You have full access to this open access chapter, Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
One-bit full adder is considered as an important case study of MRL (Memristor Ratio Logic) family [1]. The full adder consists of two half adder, while the half adder can be composed of an exclusive-OR gate and an AND gate. Based on the basic AND gate, OR gate and exclusive-OR gate, we can implement the circuit design of the adder [2].
In order to provide a standard cell design method, the standard cell is a NAND (NOR) logic gate. In a stable state, no current flows out from the output node because the output node of the AND (OR) logic gate is connected to the metal oxide semiconductor gate [3]. In this method, each standard cell needs to have two connections between the complementary metal oxide semiconductor layer and the memristor layer, one for intermediate level conversion and one for output. This method is robust, although it is inefficient in terms of power consumption and area compared with the optimized circuit. In the optimized circuit, CMOS phase inverter is applied only when signal recovery is needed or logic function needs signal inversion.
The research shows that for MRL logic family, linear memristor devices without current threshold is preferred, unlike other digital applications, which need threshold and nonlinearity [4,5,6]. Compared with nonlinear memristor devices, MRL gate based on linear memristor devices has faster speed, smaller size and lower power consumption. Memristor ratio logic series opens opportunities for additional memristor and complementary metal oxide semiconductor integrated circuits and improves logic density [7,8,9,10,11]. This enhancement can provide more computing power for processors and other computing circuits.
2 Design and Implementation of Adder Circuit Based on Memristor and Its SPICE Simulation
The schematic diagram of one-bit full adder used in this case study is shown in Fig. 1 below. One-bit full adder consists of six OR logic gates based on memristor, three AND logic gates based on memristor and four complementary metal oxide semiconductor phase inverters.
According to the schematic diagram of adder circuit in Fig. 1, the circuit can be built by Hspice software for simulation. The adder calculation formula used in this paper is as follows:
The practical meanings represented by each item in the above formula are: \({\text{A}}\) stands for summand, \({\text{B}}\) stands for addend, \(C_{IN}\) stands for low carry, \({\text{S}}\) stands for carry, \({\text{C}}_{OUT}\) stands for sum.
2.1 Analysis of Simulation Results
According to the circuit schematic diagram of adder shown in Fig. 1, simulation analysis is carried out by using Hspice. In this scheme, a voltage of 4 V (high level, i.e., 1) is applied to port \({\text{A}}\), a voltage of 0 V (low level, i.e., 0) is applied to port \({\text{B}}\), and a voltage of 3 V (high level, i.e., 1) is applied to \({\text{C}}_{IN}\) as an example to show the simulation results and analyze them.
The truth table of adder is shown in Table 1 below.
A voltage of 4 V (high level, i.e., 1) is applied to port \({\text{A }}\), and a voltage of 0 V (low level, i.e., 0) is applied to port \({\text{B}}\). The curve of voltage and time of node 1 after the first exclusive-OR gate is shown in the following Fig. 2. It can be seen that when a voltage of 4 V is applied to port \({\text{A }}\) and a low level is applied to port \({\text{B}}\), the curve of voltage and time of node 1 after the first exclusive-OR gate is basically consistent with the curve of output voltage of exclusive-OR gate when a high level and a low level are input above.
When a voltage of 3 V (high level, i.e. 1) is applied to port \({\text{C}}_{IN}\), the curve of output voltage and time of port \({\text{S}}\) is shown in the following Fig. 3. It can be seen that the output voltage of port \({\text{S}}\) decreases continuously from 0.2ns to 1.2ns, and the speed of taking effect is the fastest at 0.7s. In this period, it can be approximately considered that a high-level pulse voltage of 2 V is input from node 1 and a voltage of 3 V is applied to port \({\text{C}}_{IN}\), and the change characteristic curve of the output voltage of port \({\text{S}}\) is basically consistent with the output voltage curve of exclusive-OR gate when two high levels are input above. When 1.72 V is taken as the threshold voltage, the output voltage is equal to 1.72 V, which is regarded as the output low level (0).
When a 3 V voltage (high level, i.e., 1) is applied to the \({\text{C}}_{IN}\), the curve of the output voltage and time of port \({\text{C}}_{OUT}\) is shown in the following Fig. 4. It can be seen that the output voltage of port \({\text{C}}_{OUT}\) with 2.11 V remains stable at about 2.11 V during 0.2ns to 1.2ns, which can be regarded as an AND gate inputting a 2 V high level and a 3 V high level. Another AND gate inputs a 4 V high level and a low level, and the output voltages of the two AND gates can be regarded as high level (1) and low level (0) respectively, and then pass through an OR gate to obtain a curve. When 2.11 V is taken as the threshold voltage, the output voltage is equal to 2.11 V, which is regarded as the output high level (1).
In other cases, the output level basically meets the requirements of the truth table of the adder, which will not be discussed in this paper.
3 Analysis and Improvement of This Scheme
For the optimization method, when cascaded MRL gates based on memristor are connected, the current can flow from the output node to the input of the next logic gate. In this case, the currents flowing through two memristor devices of one gate are not equal, and the smaller current may drop below the current threshold of memristor devices, resulting in partial switching of logic gates. This phenomenon will reduce the output voltage and may cause the logic to fail after a single logic level.
One method to eliminate possible logic faults is to increase the voltage of high logic state to ensure that all currents in the circuit are greater than the current threshold of the device. The increase of voltage is limited by complementary metal oxide semiconductor process, because high voltage may lead to breakdown of complementary metal oxide semiconductor transistor (for example, drain and leakage of grid induction [12]), and also consume more power.
Another method to eliminate logic faults is to amplify signals with CMOS logic gate to prevent steady-state current leakage and perform signal recovery. In this case study, both methods are used. The voltage increases and the signal recovery is implemented by a complementary metal oxide semiconductor inverter. Note that these signal degradation problems are circuit-related, that is, the degree of signal degradation depends on the logic circuit structure and the parameters of memristor devices.
Memristor ratio logic is a hybrid complementary metal oxide semiconductor memory logic family. Compared with CMOS logic, this logic series uses less chip area. By using the standard cell library composed of NOR and NAND logic gates, the design workload of MRL circuit can be reduced. However, the standard cell limits the flexibility of the design process and the opportunity of saving area. Other optimization criteria, such as increasing the operating voltage and minimizing the number of connections between CMOS and memristor layer, are also possible.
4 Conclusion
In this paper, a one-bit adder is designed with 18 memristors and 4 CMOS phase inverters. The circuit design diagram of the scheme is given, and the principle, design ideas and possible problems of the scheme are introduced. The designed full adder is simulated by Hspice software, and the output voltage values under various conditions are obtained and compared with the truth table. Then, according to the content of the design scheme, the advantages and disadvantages of the scheme are found out, and the shortcomings are optimized and improved.
References
Kvatinsky, S., Wald, N., Satat, G., Kolodny, A., Weiser, U.C., Friedman, E.G.: MRL — Memristor Ratioed Logic. In: 2012 13th International Workshop on Cellular Nanoscale Networks and their Applications, pp. 1–6 (2012)
Yadav, A.K., Shrivatava, B.P., Dadoriya, A.K.: Low power high speed 1-bit full adder circuit design at 45nm CMOS technology. Int. Conf. Recent Innov. Signal Proc. Emb. Sys. (RISE) 2017, 427–432 (2017)
Xu, X., Cui, X., Luo, M., Lin, Q., Luo, Y., Zhou, Y.: Design of hybrid memristor-MOS XOR and XNOR logic gates. Inter. Conf. Elec. Devi. Sol.-Sta. Circ. (EDSSC) 2017, 1–2 (2017)
Liu, B., Wang, Y., You, Z., Han, Y., Li, X.: A signal degradation reduction method for memristor ratioed logic (MRL) gates. IEICE Electron. Express, p. 12 (2015)
Cho, K., Lee, S.-J., Eshraghian, K.: Memristor-CMOS logic and digital computational components. Microelec. J. 214–220 (2015)
Cho, K., Lee, S.J., Eshraghian, K.: Memristor-CMOS logic and digital computational components. Microelec. J. 214–220 (2015)
Teimoory, M., Amirsoleimani, A., Ahmadi, A., Ahmadi, M.: A hybrid memristor-CMOS multiplier design based on memristive universal logic gates. In: 2017 IEEE 60th International Midwest Symposium on Circuits and Systems (MWSCAS), pp. 1422–1425 (2017)
Mirzaie, N., Lin, C.-C., Alzahmi, A., Byun, G.-S.: Reliability-aware 3-D clock distribution network using memristor ratioed logic. IEEE Trans. Compo. Pack. Manuf. Technol. 9(9), 1847–1854 (2019). Sept.
Escudero, M., Vourkas, I., Rubio, A., Moll, F.: Memristive logic in crossbar memory arrays: variability-aware design for higher reliability. IEEE Trans. Nanotechnol. 18, 635–646 (2019)
Liu, G., Zheng, L., Wang, G., Shen, Y., Liang, Y.: A carry lookahead adder based on hybrid CMOS-memristor logic circuit. IEEE Access 7, 43691–43696 (2019)
Hoffer, B., Rana, V., Menzel, S., Waser, R., Kvatinsky, S.: Experimental demonstration of memristor-aided logic (MAGIC) using valence change memory (VCM). IEEE Trans. Electron Devices 67(8), 3115–3122 (2020). Aug.
Kvatinsky, S., Friedman, E.G., Kolodny, A., Weiser, U.C.: TEAM: ThrEshold adaptive memristor model. IEEE Trans. Circuits Syst. I Regul. Pap. 60(1), 211–221 (2013). Jan.
Acknowledgements
This work is supported by the State Grid Corporation Science and Technology Project Funded “Key technology and product design research and development of power grid data pocket book” (1400-202040410A-0–0-00).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made.
The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.
Copyright information
© 2022 The Author(s)
About this paper
Cite this paper
Tang, N., Wang, L., Xia, T., Wu, W. (2022). Design and Implementation of Full Adder Circuit Based on Memristor. In: Qian, Z., Jabbar, M., Li, X. (eds) Proceeding of 2021 International Conference on Wireless Communications, Networking and Applications. WCNA 2021. Lecture Notes in Electrical Engineering. Springer, Singapore. https://doi.org/10.1007/978-981-19-2456-9_17
Download citation
DOI: https://doi.org/10.1007/978-981-19-2456-9_17
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-19-2455-2
Online ISBN: 978-981-19-2456-9
eBook Packages: EngineeringEngineering (R0)