scieee AI-readable full text Open interactive document viewer

Design and simulation of efficient combinational circuits based on a new XOR structure in QCA technology

Safaiezadeh, Behrouz,Mahdipour, Ebrahim,Haghparast, Majid,Sayedsalehi, Samira,Hosseinzadeh, Mehdi

Full text

This is a self-archived version of an original article. This version may differ from the original in pagination and typographic details. Author(s): Title: Year: Version: Copyright: Rights: Rights url: Please cite the original version: CC BY 4.0 https://creativecommons.org/licenses/by/4.0/ Design and simulation of efficient combinational circuits based on a new XOR structure in QCA technology © 2021 the Authors Published version Safaiezadeh, Behrouz; Mahdipour, Ebrahim; Haghparast, Majid; Sayedsalehi, Samira; Hosseinzadeh, Mehdi Safaiezadeh, B., Mahdipour, E., Haghparast, M., Sayedsalehi, S., & Hosseinzadeh, M. (2021). Design and simulation of efficient combinational circuits based on a new XOR structure in QCA technology. Optical and Quantum Electronics, 53(12), Article 684. https://doi.org/10.1007/s11082-021-03294-z 2021 Vol.:(0123456789) Optical and Quantum Electronics (2021) 53:684 https://doi.org/10.1007/s11082-021-03294-z 1 3 Design andsimulation ofefficient combinational circuits based onanew XOR structure inQCA technology BehrouzSafaiezadeh1· EbrahimMahdipour1· MajidHaghparast2 · SamiraSayedsalehi3· MehdiHosseinzadeh4,5 Received: 27 May 2021 / Accepted: 10 October 2021 © The Author(s) 2021 Abstract Quantum-dot cellular automata (QCA), due to its unique characteristics like low power consumption, nanoscale design, and high computing speed is considered as an emerging technology, and it can be used as an alternative for CMOS technology in circuit design for quantum computers in the near future. XOR gate has many applications in the design of digital circuits in QCA. In this paper, an efficient novel structure of XOR gate is proposed in QCA. Also, a novel 1-bit comparator circuit, 1-bit full adder, binary to gray and gray to binary convertor code based on the proposed XOR is designed and simulated using QCADesigner 2.0.3. The simulation results demonstrated that the proposed structures provide improvements compared to previous works in terms of QCA cells count, area, and circuit cost. Keywords Quantum-dot cellular automata· XOR gate· Comparator· Full adder· Converter 1 Introduction Power consumption and circuit size reduction are the major problems in digital electronics. CMOS technology that is used to design these circuits nowadays has problems such as highpower consumption, leakage current and short-channel effects (Lent et al. 1993). Landauer (1961) stated that for any bit of information loss, there is a KTln2 Joules of energy dissipation * Majid Haghparast [email protected] 1 Department ofComputer Engineering, Science andResearch Branch, Islamic Azad University, Tehran, Iran 2 Faculty ofInformation Technology, University ofJyväskylä, P.O.Box35, FI-40014UniversityofJyväskylä,Jyväskylä, Finland 3 Department ofComputer Engineering, South Tehran Branch, Islamic Azad University, Tehran, Iran 4 Mental Health Research Center, Psychosocial Health Research Institute, Iran University ofMedical Sciences, Tehran, Iran 5 Computer Science, University ofHuman Development, Sulaymaniyah, Iraq B.Safaiezadeh et al. 1 3 684 Page 2 of 16 and this information cannot be retrieved in any way. This made researchers think about an alternative for CMOS. This new technology should have characteristics such as smaller size, higher speed, and lower power consumption than CMOS technology with same functionality. In 1944, Quantum-dot cellular automata (QCA) with same functionalities offered by Tougaw and Lent (1994). QCA Cell is the main and fundamental unit of QCA technology. Each QCA cell includes four quantum dots and two free electrons (Zhang etal. 2004). Logical zero and one states in this technology is determined by the location of electrons in the cells. The most permanent state of a QCA cell is when two electrons are diagonal in cell. XOR gate is used as based gate in logic and combinational circuits design, like multiplexer (Sen and Dutta 2014; Rashidi etal. 2016), Converters (Beigh and Mustafa 2014), Full Adder (Ahmad etal. 2014; Shams and Bayoumi 2000; Hänninen and Takala 2010; Kianpour etal. 2014), as well as Comparator in QCA (Failed 2020a; Shiri etal. 2019). Therefore, the design of QCAbased XOR structure has been considered by researchers in recent years. The core idea of this study, is the offering of new QCA-based three-input XOR and two-input XNOR structures. To show that our proposed XOR structure is better than previous structures, we use this structure to design a Full Adder, 4-bit binary to gray (B2G) code converter, 4-bit Gray to Binary (G2B) code converter, and single comparator circuit, and compare the results with previous work. The proposed designs are simulated by QCADesigner and compared to the previous works. The major contributions of our work can be summarized as follows: • An efficient three-inputs XOR gate is proposed. • A novel Full Adder based on the proposed XOR is suggested and designed. • A novel single bit Comparator based on the proposed XOR is suggested and designed. • A novel B2G code converter based on the proposed XOR is suggested and designed. • A novel G2B code converter based on the proposed XOR is suggested and designed. • Simulation of the proposed structures by QCADesigner 2.0.3 (Walus etal. 2004) is done. • The proposed circuits improved in number of cells, occupied area and latency compared to previous works. • Our 1-bit simple proposed structures have no crossover. • Our 1-bit scalable proposed structured have crossover. • The total energy dissipation for proposed designs of 1-bit comparator is calculate by QCADesigner-E (https:// github. com/ FSillT/ QCADe signer-E). The structure of this paper is organized as follows: In Sect.2, the previous works are discussed. Section3 offers the new structures of XOR and XNOR gates, as well as One-bit Comparator circuit, Full Adder, 4-bit B2G converter, and 4-bit G2B converter based on them. In Sect.4, the simulation results will be depicted. In Sect.5, the proposed circuits will be compared with previous work. Finally, the Conclusions and future works are provided in Sect.6. 2 Previous works In this section, a number of studies conducted in recent years are reviewed. Akter etal. (2015) offered two comparator circuits using their proposed TR and QCA-based Feynman gates. The designed circuits using TR gate has 134 cells, 0.25 µm2 area, and 0.5 Clock Cycle latency; and the design using Feynman includes 87 cells, 0.11 µm2 area, and 0.5 clock cycle latency. Shiri etal. (2019), proposed and simulated a 1-bit comparator using Majority, XNOR, and NOT gates in QCA technology. Their proposed design has 38 cells, Design andsimulation ofefficient combinational circuits… 1 3 Page 3 of 16 684 0.03 µm2 of area, as well as 0.5 cock cycle latency. Ahmed etal. (2020a), introduced two QCA-based 1-bit comparator circuits. The first design has 55 cells and 0.0669 µm2 of area, and the second one has 42 cells and 0.0407 µm2 of area. Majeed etal. (2020b), offered new QCA-based XOR and XNOR gates with fewer cells and smaller areas compared to the existing designed gates. Also, they designed three one-bit comparator circuits with proposed structures. The designed comparators have 40, 35, and 33 cells, and the occupied area are 0.05, 0.04, and 0.04, respectively. The latency of the proposed designs was 0.75 clock cycle and the circuits were Irreversible. Save etal. (2020c), proposed QCA-based one-bit comparator using 3 Majority gates and a NOT gate. The proposed circuit includes 30 cells, and the occupied area is 0.05 µm2 and the latency is one clock cycle. This circuit was optimal in terms of cell counts, but it was not suitable in terms of area compared to previous works. Balali etal. (2017), designed a Full Adder using 3-inputs XOR. The proposed XOR consisted of 14 cells, with an area of 0.01 µm2 and a latency of 0.5 clock cycle. Roshany etal. ( 2019), proposed a 3-inputs XOR, and then by exploiting it, they designed and simulated a QCA-based multi-layer Full Adder. Majeed at el. (2020a), proposed a Full Adder using a novel XOR gate. The simulation results shown that the proposed design was better than previous works. Babaie etal. (2018) proposed a QCA Full Adder. The proposed circuit had only 26 cells and the outputs needed two clock zones to generate. Zhang etal. (2017), proposed a new-five majority to construct Full Adders. The proposed Full Adder had 35 cells and occupied area 0.0288, and also 1 clock cycle delay. Islam etal. (2018), proposed a new QCA circuit to convert 4-bit binary to 4-bit B2G and 4-bit G2B code using two input XOR gate. The proposed QCA B2G and G2B circuits has 37 and 47 cells, and 0.04 and 0.05 the occupied area, respectively. Karkaj etal. (2016), proposed a new XOR gate and also non-reversible 4-bit B2G and G2B converter based it in QCA technology. Shu etal. (2020), proposed a new 4-bit B2G converter by employing the proposed novel XOR structure as a basic building block in its circuit. Ahmadpour etal. (2018), proposed a novel 1-bit Full Adder based on their 3-input XOR structure. This circuit was simulated by only 20 cells and required three clock zones. Nuriddin etal. (2019), proposed new XOR structures and designed based on their simple and scalable Full Adders. The scalable form had 49 cells and four clock phases. Also, simple form had 35 cells and two clock phases. Sharma et al. (2020), proposed 1-bit comparator circuit that designed by only 26 cells. Wang etal. (2020), proposed a novel XOR/XNOR structure for modular design of QCA circuits. Then they designed and simulated 1-bit Full Adder and 1-bit Comparator circuits based on it. The design of 1-bit Full Adder used only 60 cells and had a delay of 0.75 clock cycle. The design of 1-bit comparator used 47 cells and had a delay of 0.75 clock cycle. 3 The proposed structures anddesigns XOR and XNOR gates have very extensive applications in design of combinational and sequential circuits of arithmetic and logic units such as comparator, full adder, and B2G converter, G2B converter, as well as Reversible gates like Fredkin, Toffoli, Peres, and Feynman. Some of existing structures have a large number of cells and area, and also some have a long delay, which leads to an increase in the cost of the structure and the circuit designed by them. Therefore, design of such gates in QCA has a significant and critical importance. On the other hand, with optimal design of XOR and XNOR gates in order to use in combinational circuits, we can have circuits with fewer cell counts, as well as smaller area and less delay. The functionality accuracy of proposed designs are B.Safaiezadeh et al. 1 3 684 Page 4 of 16 confirmed using QCADesigner (Walus etal. 2004). In the following subsections, new QCA-based XOR structure and also the Non-reversible 1-bit Comparator, Full Adder, B2G and G2B converters code are proposed. 3.1 Novel XOR andXNOR Structures inQCA A novel XOR structure based on QCA technology is designed and simulated, as shown in Fig.1. The inputs are A, B, and C, and Out is used as the output of the proposed structure. The proposed structure can be used in design of logic and computational circuits in QCA. This structure has 10 cells, area of 0.01µm2, and 0.5 clock cycle delay. If the value of one of these inputs is set to −1, then the proposed structure operates as 2-inputs QCA XOR. Also, if one of the inputs is set to + 1, the proposed structure will act as 2-inputs QCA XNOR. For instance, as illustrated in Fig.2, by fixing one of the inputs, the structure of this gate becomes a 2-inputs QCA XNOR gate. 3.2 The proposed 1‑bit comparator In digital circuits, in addition to subtraction and addition operations, sometimes it is necessary to compare inputs. A 1-bit comparator circuit has two inputs namely A and B, and three outputs namely G, E and L, which indicate that the input A is larger, equal or smaller compared to input B, respectively. The G, E, and L outputs are calculated according to relations in (1). Fig. 1 The proposed 3-inputs QCA XOR structure Fig. 2 The proposed 2-inputs QCA XNOR gate structure Design andsimulation ofefficient combinational circuits… 1 3 Page 5 of 16 684 In this paper, we proposed 1-bit comparator circuit based on the logic diagram, as shown in Fig.3. The QCA structures of propose circuit are simulated using QCADesigner 2.0.3 (Walus etal. 2004) which is shown in Fig.4. The proposed XNOR structure, as well as Majority gate and NOT gate is used in them. Simple design#1 and design#2 of 1-bit comparator has only 25 cells and 0.02µm2 area, as shown in Fig.4a, b. The output of these designs obtains after 0.75 clock cycle delay. These proposed structure have no crossover. However, these designs of comparator are somewhat difficult to extend to an n-bit comparator. Therefore, we also propose a scalable form of the comparator. The scalable form is composed of 35 cells with four clocking phases. This structure occupies an area of only 0.028 μm2, as shown in Fig.4c. 3.3 The proposed full adders In this section, new designs for full adder in quantum-dot cellular automata technology is presented. The Full Adder circuit is a basic unit in digital arithmetic and logic circuits. Full Adder produces two outputs (SUM, Cout) by performing addition operation on three inputs (1) ⎧ ⎪ ⎨ ⎪ ⎩ L(A<B)∶AB, E(A=B)∶A⊙B, G(A>B)∶(A⊕B). AB Fig. 3 The logic diagram of the proposed structure of a 1-bit comparator circuit Fig. 4 The proposed 1-bit comparator: a simple design#1 b simple design#2 c scalable design B.Safaiezadeh et al. 1 3 684 Page 6 of 16 values (A, B, Cin). We propose two QCA structures of 1-bit Full Adder, as shown in Fig.5. The structure of the proposed design has three inputs (A, B, Cin) and two outputs (SUM, Cout). These structures are simple and scalable designs. The proposed XNOR structure, as well as Majority gate and NOT gate is used in them. Simple design of 1-bit Full Adder uses only 20 cells and 0.014 µm2 area. The output of this design obtains after 0.75 clock cycle delay. This proposed structure has no crossover. However, this Full Adder is somewhat difficult to extend to an n-bit adder. Therefore, we also propose a scalable form of the full adder for use as a ripple carry adder (RCA). The scalable form is composed of 29 cells with 0.75 clocking phases. This structure occupies an area of only 0.025 µm2, as shown in Fig.5b. RCA is an adder circuit that by serially cascading 1-bit adders is constructed. A 2-bit RCA calculates the arithmetic sum of two 2-bit binaries and the circuit consists of two 1-bit full adder circuits, as shown in Fig.6. The proposed 1-bit full adders are placed serially to successfully implement the design of the QCA 2-bit RCA, as shown in Fig.6. 3.4 The proposed 4‑bit B2G code converter Code converters are circuits that convert code into another. In this section, is proposed a novel QCA circuit to convert the 4-bit B2G code. This conversion method is useful to reduce the rapid switching activity. The logical structure of the proposed 4-bit B2G code converter is depicted in Fig.7. Inputs are described as A3, A2, A1 and A0 and the corresponding gray outputs are P3, P2, P1, and P0. The logical equation of 4-bit B2G code converter is P3=A3,P2=A3 ⊕ A2,P1=A2 ⊕ A1and P0=A1 ⊕ A0 . The main component of this converter is XOR gate. The proposed XOR structure is used for simulating B2G converter. The QCA diagram of the proposed 4-bit B2G code converter is depicted in Fig.8. This structure has 29 cells and 0.02 µm2 area. It needs two clock zones to generate the correct outputs. Our proposed structure has no crossover. 3.5 The proposed 4‑bit G2B converter In this section, a novel design of 4-bit G2B code converter based on the proposed twoinput XOR gate in QCA is suggested. The logical structure of converting 4-bit G2B code is shown in Fig.9. Inputs are described as A3, A2, A1 and A0 and the corresponding binary outputs are P3, P2, P1, and P0. The main component of this converter is XOR gate. The proposed XOR structure is used for simulating G2B converter. The QCA-based 4 bit G2B Fig. 5 The proposed Full Adder in QCA: a simple design b scalable design Design andsimulation ofefficient combinational circuits… 1 3 Page 7 of 16 684 Fig. 6 The proposed 2-bit RCA design in QCA Fig. 7 The logical structure of 4 bit B2G code converter Fig. 8 The proposed structure B2G converter in QCA B.Safaiezadeh et al. 1 3 684 Page 8 of 16 converter is shown in Fig.10. This structure has 32 cells and 0.03 µm2 area. It needs two clock zones to generate the correct outputs. Our proposed structure has no crossover. 4 The simulation results ofproposed designs In this section, the simulation results of proposed XOR structure, XNOR structures, the proposed single bit Comparator, Full Adder circuits, the proposed 4 bit B2G and G2B code converters based on QCA technology are shown. The simulation result of the proposed design of QCA XOR is shown Fig.11. In this figure, A, B, and C are inputs and Out is the output. The simulation result of the proposed design of QCA XNOR is shown Fig.12. In this figure, A and B are inputs and Out is output. The simulation result of the proposed design of single bit Comparator is shown Fig.13. In this figure, A and B are inputs and L (A is less than B), G (A greater than B) and E (A equal to B) are outputs. The simulation result of the proposed design of Full Adder is shown Fig.14. In this figure, A, B and Cin are inputs and SUM and Cout are outputs. The simulation result of the proposed design of 4 bit B2G code converter is depicted Fig.15. It has four inputs which are binary digits. The circuit has also four outputs which are the converted equivalent of the input vector into the gray code. Fig. 9 The logical diagram of 4 bit G2B code converter Fig. 10 The proposed structure G2B converter in QCA Design andsimulation ofefficient combinational circuits… 1 3 Page 15 of 16 684 Ahmed, S., Naz, S.F., Sharma, S., Ko, S.-B.: Design of quantum‐dot cellular automata‐based communication system using modular N‐bit binary to gray and gray to binary converters. int. J. Commun. Syst. 34, 1–24 (2021) Ahmed, A., Bhat, S.M., Kakkar, V.: Design of efficient 1-bit comparator in quantum dot cellular automata nano-computing. In 2020 IEEE-HYDCON, 1–6 (2020) Akter, R., Islam, N., Waheed, S.: Implementation of reversible logic gate in quantum dot cellular automata. Int. J. Comput. Appl. 109, 41–44 (2015) Babaie, S., Sadoghifar, A., NewazBahar, A.: Design of an efficient multilayer arithmetic logic unit in quantum-dot cellular automata (QCA). IEEE Trans. Circuits Syst. 66, 963–967 (2018) Bahrepour, D., Maroufi, N.: A 2-bit full comparator design with a minimum quantum cost function in quantum-dot cellular automata. Inf. Syst. Telecommun. 6, 197–203 (2018) Balali, M., Rezai, A., Balali, H., Rabiei, F., Emadi, S.: Towards coplanar quantum-dot cellular automata adders based on efficient three-input XOR gate. Results Phys. 7, 1389–1395 (2017) Beigh, M.R., Mustafa, M.: Design and simulation of efficient code converter circuits for quantum-dot cellular automata. J. Comput. Theor. Nanosci. 11, 2564–2569 (2014) Hänninen, I., Takala, J.: Binary adders on quantum-dot cellular automata. Signal Process. Syst. 58, 87–103 (2010) Heikalabad, S.R., Asfestani, M., Hosseinzadeh, M.: A full adder structure without cross-wiring in quantum-dot cellular automata with energy dissipation analysis. J. Supercomput. 74, 1994–2005 (2018) Islam, M.T., Sarwar Jahan, G., Newaz Bahar, A., Ahmed, K., Abdullah-Al-Shaf, M.: A new efficient non-reversible 4 bit binary to gray and 4 bit gray to binary converter in QCA. Nanosyst. Phys. Chem. Math. 9, 473–483 (2018) Karkaj, E.T., Rasouli Heikalabad, S.: A new efficient reversible binary to gray and gray to binary converter in quantum-dot cellular automata. Optik 130, 981–989 (2016) Khakpour, M., Gholami, M., Naghizadeh, S.: Parity generator and digital code converter in QCA nanotechnology. Int. Nano Lett. 10, 49–59 (2019) Kianpour, M., Sabbaghi-Nadooshan, R., Navi, K.: A novel design of 8-bit adder/subtractor by quantumdot cellular automata. J. Comput. Syst. Sci. 80, 1404–1414 (2014) Landauer, R.: Irreversibility and heat generation in the computational process. IBM J. Res. 5, 183–191 (1961) Lent, C.S., Tougaw, P.D., Porod, W., Bernstein, G.H.: Quantum cellular automata. Nanotechnology 4, 49–57 (1993) Majeed, A.H., Bin Zaina, M.S., Alkaldy, E., Md Nor, D.: Full adder circuit design with novel lower complexity XOR gate in QCA technology. Trans. Electric. Electron. Mater. 21, 198–207 (2020a) Majeed, A.H., Zainal, M.S., Alkaldy, E., Nor, D.M.: Single-bit comparator in quantum-dot cellular automata (QCA) technology using novel QCA-XNOR gates. J. Electron. Sci. Technol. 1–11 (2020b) Mohammadi, M., Mohammadi, M., Gorgin, S.: An efficient design of full adder in quantum-dot cellular automata (QCA) technology. Microelectron. J. 50, 35–43 (2016) Navi, K., Farazkish, R., Sayedsalehi, S., Rahimi, A.M.: A new quantum-dot cellular automata full-adder. J. Microelectron. 41, 820–826 (2010) QCADesigner-E. Available from https:// github. com/ FSillT/ QCADe signer-E Rao, N.G., Srikanth, P., Sharan, P.: A novel quantum dot cellular automata for 4-bit code converters. Optik 127, 4246–4249 (2015) Rashidi, H., Rezai, A.: High-performance full adder architecture in quantum-dot cellular automata. J. Eng. 7, 1–9 (2017) Rashidi, H., Rezai, A., Soltany, S.: High-performance multiplexer architecture for quantum-dot cellular automata. J. Comput. Electron. 15, 968–981 (2016) Ravindran, R.S.E., Santhosh, C., Surya Teja, S., Arun Sujash, S., Vijay, M., Umesh, K.: Design of reversible and nonreversible binary to gray and gray to binary converter using quantum dot cellular automata. Int. J. Adv. Trends Comput. Sci. Eng. 9, 3822–3827 (2020) Roshany, H., Rezai, A.: Novel efficient circuit design for multilayer QCA RCA. Theor. Phys. 58, 1745– 1757 (2019) Safoev, N., Jeon, J.-C.: A novel controllable inverter and adder/subtractor in quantum-dot cellular automata using cell interaction based XOR gate. Microelectron. Eng. 222, 111197 (2019) Save, K., Gudhekar, S., Panicker, D., Kassa, S.R.: A novel design of 1-bit comparator using quantum-dot cellular automata. IIOAB 41–46 (2020) Sen, B., Dutta, M.: Modular design of testable reversible ALU by QCA multiplexer with increase in programmability. Microelectron. J. 45, 1522–1532 (2014) B.Safaiezadeh et al. 1 3 684 Page 16 of 16 Shams, A., Bayoumi, M.: A novel high-performance CMOS 1-bit full-adder cell. IEEE Trans. Circuits Syst. 47, 478–481 (2000) Sharma, V.K.: Optimal Design for Digital Comparator Using QCA Nanotechnology with Energy Estimation. Wiley, New York (2020) Shiri, A., Rezai, A., Mahmoodian, H.: Design of efficient coplanar 1-bit comparator circuit in QCA technology. Facta Univ. Ser. Electron. Energ. 32, 119–128 (2019) Shu, X., Li, L., Ren, M., Mohammed, B.O.: A new binary to gray code converter based on quantum-dot cellular automata nanotechnology. Photon Netw. Commun. 41, 102–108 (2020) Tougaw, P., Lent, C.: Logical devices implemented using quantum cellular. Appl. Phys. 75, 1818–1824 (1994) Walus, K., Dysart, T., Jullien, G.A., Budiman, R.: QCADesigner: a rapid design and simulation tool for quantum-dot cellular automata. IEEE Trans. Nanotechnol. 3, 26–31 (2004) Wang, L., Xie, G.: A novel XOR/XNOR structure for modular design of QCA circuits. IEEE Trans. Circuita Syst. 67, 3327–3331 (2020) Zhang, R., Walus, K., Wang, W., Jullien, G.A.: A method of majority logic reduction for quantum cellular automata. IEEE Trans. Nonotechnol. 3, 443–450 (2004) Zhang, Y., Xie, G., Sun, M., Lv, H.: Design of normalised and simplified FAs in quantum-dot cellular automata. J. Eng. 10, 1–9 (2017) Publisher’s Note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.