Design of 8-Bit and 16-Bit Adder-Subtractor with Optimized Power and Quantum Cost

Similar documents
Design of Digital Adder Using Reversible Logic

Design & Performance Analysis of 8-Bit Low Power Parity Preserving Carry- Look Ahead Adder

Design and Implementation of Optimized 32-Bit Reversible Arithmetic Logic Unit

Department of ECE, Vignan Institute of Technology & Management,Berhampur(Odisha), India

Power Minimization of Full Adder Using Reversible Logic

Design of High-speed low power Reversible Logic BCD Adder Using HNG gate

OPTIMAL DESIGN AND SYNTHESIS OF FAULT TOLERANT PARALLEL ADDER/SUBTRACTOR USING REVERSIBLE LOGIC GATES. India. Andhra Pradesh India,

International Journal of Scientific & Engineering Research, Volume 6, Issue 6, June ISSN

Optimized design of BCD adder and Carry skip BCD adder using reversible logic gates

FULL ADDER/ SUBTRACTOR USING REVERSIBLE LOGIC

Design of Universal Shift Register Using Reversible Logic

Performance Enhancement of Reversible Binary to Gray Code Converter Circuit using Feynman gate

Quantum Cost Optimization for Reversible Carry Skip BCD Adder

A Novel Design for carry skip adder using purity preserving reversible logic gates

Analysis of Multiplier Circuit Using Reversible Logic

ASIC Design of Reversible Full Adder/Subtractor Circuits

High Speed Time Efficient Reversible ALU Based Logic Gate Structure on Vertex Family

Lakshmi Narain College of Technology, Bhopal (M.P.) India

DESIGN OF OPTIMAL CARRY SKIP ADDER AND CARRY SKIP BCD ADDER USING REVERSIBLE LOGIC GATES

Implementation of Reversible Control and Full Adder Unit Using HNG Reversible Logic Gate

Basic Logic Gate Realization using Quantum Dot Cellular Automata based Reversible Universal Gate

Design of Reversible Even and Odd Parity Generator and Checker Using Multifunctional Reversible Logic Gate (MRLG)

Optimization of reversible sequential circuits

An Optimized BCD Adder Using Reversible Logic Gates

Realization of programmable logic array using compact reversible logic gates 1

A Novel Nanometric Reversible Four-bit Signed-magnitude Adder/Subtractor. Soudebeh Boroumand

A Novel Design of Reversible Universal Shift Register

FPGA Implementation of Ripple Carry and Carry Look Ahead Adders Using Reversible Logic Gates

On the Analysis of Reversible Booth s Multiplier

Design of Reversible Logic based Basic Combinational Circuits

Design and Synthesis of Sequential Circuit Using Reversible Logic

DESIGN OF 3:8 REVERSIBLE DECODER USING R- GATE

An FPGA Implementation of Energy Efficient Code Converters Using Reversible Logic Gates

Design and Implementation of REA for Single Precision Floating Point Multiplier Using Reversible Logic

Conference on Advances in Communication and Control Systems 2013 (CAC2S 2013)

Downloaded from

Realization of 2:4 reversible decoder and its applications

Design &Implementation 16-Bit Low Power Full Adder using Reversible Logic Gates

PERFORMANCE ANALYSIS OF CLA CIRCUITS USING SAL AND REVERSIBLE LOGIC GATES FOR ULTRA LOW POWER APPLICATIONS

Design of Optimized Reversible Binary and BCD Adders

A More Effective Realization Of BCD Adder By Using A New Reversible Logic BBCDC

Design of 16 Bit Adder Subtractor with PFAG and TG Gates Using Verilog HDL

Design of Low Power Adder and Multiplier Using Reversible Logic Gates

DESIGN OF A COMPACT REVERSIBLE READ- ONLY-MEMORY WITH MOS TRANSISTORS

Design and Implementation of Combinational Circuits using Reversible Gates

Design and Optimization of Asynchronous counter using Reversible Logic

An Approach to Simplify Reversible Logic Circuits

Computer Science & Engineering Dept, West Bengal University of Technology 2 Information Technology Dept, Manipal University

DESIGN AND ANALYSIS OF A FULL ADDER USING VARIOUS REVERSIBLE GATES

ADVANCES in NATURAL and APPLIED SCIENCES

A NEW DESIGN TECHNIQUE OF REVERSIBLE GATES USING PASS TRANSISTOR LOGIC

International Association of Scientific Innovation and Research (IASIR) (An Association Unifying the Sciences, Engineering, and Applied Research)

DESIGN OF COMPACT REVERSIBLE LOW POWER n-bit BINARY COMPARATOR USING REVERSIBLE GATES

An Efficient Reversible Design of BCD Adder

Department of ECE, Assistant professor, Sri Padmavatimahilavisvavidyalayam, Tirupati , India

Design of Reversible Comparators with Priority Encoding Using Verilog HDL

Design and Implementation of Carry Adders Using Adiabatic and Reversible Logic Gates

EFFICIENT APPROACH FOR DESIGNING LOW POWER REVERSIBLE DECODER/ENCODER WITH LOW QUANTUM COST

Power Optimization using Reversible Gates for Booth s Multiplier

PERFORMANCE IMPROVEMENT OF REVERSIBLE LOGIC ADDER

Implementation of Optimized Reversible Sequential and Combinational Circuits for VLSI Applications

A NEW APPROACH TO DESIGN BCD ADDER AND CARRY SKIPBCD ADDER

Carry Bypass & Carry Select Adder Using Reversible Logic Gates

Design of a compact reversible binary coded decimal adder circuit

Design of a Compact Reversible Random Access Memory

A Novel Reversible Gate and its Applications

Design of Sequential Circuits Using MV Gates in Nanotechnology

BCD Adder Design using New Reversible Logic for Low Power Applications

Reversible Circuit Using Reversible Gate

PERFORMANCE EVALUATION OF REVERSIBLE VEDIC MULTIPLIER

A NEW DESIGN TECHNIQUE OF REVERSIBLE BCD ADDER BASED ON NMOS WITH PASS TRANSISTOR GATES

Transistor Implementation of Reversible Comparator Circuit Using Low Power Technique

Implementation of Reversible ALU using Kogge-Stone Adder

Reversible ALU Implementation using Kogge-Stone Adder

VHDL DESIGN AND IMPLEMENTATION OF C.P.U BY REVERSIBLE LOGIC GATES

ISSN Vol.03, Issue.03, June-2015, Pages:

SCOPE OF REVERSIBLE ENGINEERING AT GATE-LEVEL: FAULT-TOLERANT COMBINATIONAL ADDERS

Synthesis of Quantum Circuit for FULL ADDER Using KHAN Gate

A VLSI Design of Power Efficient Reversible Logic Gates for Arithmetic and Logical Unit

An Improved Design of a Reversible Fault Tolerant Encoder Based FPGA

Design of Efficient Adder Circuits Using PROPOSED PARITY PRESERVING GATE (PPPG)

Optimized Reversible Programmable Logic Array (PLA)

FPGA IMPLEMENTATION OF BASIC ADDER CIRCUITS USING REVERSIBLE LOGIC GATES

Online Testable Reversible Circuits using reversible gate

Design of Reversible Code Converters Using Verilog HDL

Reversible Multiplier with Peres Gate and Full Adder.

A New Approach for Designing of 3 to 8 Decoder and It s Applications Using Verilog HDL

Optimized Nanometric Fault Tolerant Reversible BCD Adder

Bharat V. Mhaske 1, Manisha Waje 2 1 ME (E&TC), Electronics & Telecommunication Department, G.H. Raisoni Collage of Engineering & Management, Pune,

Circuit for Revisable Quantum Multiplier Implementation of Adders with Reversible Logic 1 KONDADASULA VEDA NAGA SAI SRI, 2 M.

Design of Reversible Synchronous Sequential Circuits

DESIGN OF PARITY PRESERVING LOGIC BASED FAULT TOLERANT REVERSIBLE ARITHMETIC LOGIC UNIT

A New Design of Optical Reversible Adder and Subtractor Using MZI

Design and Implementation of Reversible Binary Comparator N.SATHISH 1, T.GANDA PRASAD 2

Design and Optimization of Reversible BCD Adder/Subtractor Circuit for Quantum and Nanotechnology Based Systems

Design of Fault Tolerant Reversible Multiplexer based Multi-Boolean Function Generator using Parity Preserving Gates

Design of a Compact Reversible Carry Look-Ahead Adder Using Dynamic Programming

DESIGN AND IMPLEMENTATION OF EFFICIENT HIGH SPEED VEDIC MULTIPLIER USING REVERSIBLE GATES

Design Exploration and Application of Reversible Circuits in Emerging Technologies

REALIZATION OF EFFECTIVE REVERSIBLE DECODER BASED COMBINATIONAL CIRCUITS

Transcription:

Design of 8-Bit and 16-Bit Adder-Subtractor with Optimized Power and Quantum Cost Prinkle Wadhawan 1, Amandeep Singh Bhandari 2 1,2 Department of ECE, Punjabi University Patiala Abstract: Reversible logic gates have gained interest in design of circuits in VLSI due to its low power consumption and one- toone mapping of input and output bits. The paper represents the design of 8-bit and 16-bit adder-subtractor using various reversible logic gates. The basic AND, OR, NOT gates and the universal NAND, NOR gates are irreversible. Reversible logic gates are superior to irreversible logic gate with respect to parameters such as power consumption, quantum cost, power dissipation etc. In this paper the adder-subtractor circuit has been designed using DKG gate and WG gates. The proposed design has improved the existing circuit in terms of quantum cost and power consumption. Keywords: Reversible logic gates, quantum cost. I. INTORDUCTION The use of irreversible logic gates in circuits lead to energy dissipation into the environment. This energy dissipation is associated with information loss. Laws of physics suggest that KTln2 Joules energy is dissipated for every one bit of information loss, where K is Boltzmann constant and T is absolute temperature [1]. In 1973, C.H. Bennett concluded that ideally the reversible logic gates have zero power dissipation [2]. Further with the increase in device density of the chip, power dissipation becomes a critical problem. As a solution reversible logic gates were developed. The reversible logic is used in a number of real time applications. For a gate to be reversible it must satisfy two conditions. Firstly, its inputs and outputs must be uniquely retrievable from each other (logical reversibility) and secondly, the reversible logic based device should run backwards (physical reversibility). A reversible logic gate is a logic circuit consisting of equal number of inputs and outputs (say N), making it an N*N gate. Let the input vector be I v= I 1,I 2,I 3,..I N and the output vector be O v=o 1,O 2,O 3, O N, then an N*N reversible logic gate can be shown as: Fig. 1 N*N Reversible logic gate symbol [10] A. There are several parameters for deciding the quality and performance of the circuits. 1) Number of Reversible Gates (N): The amount of reversible gates employed in the circuit. 2) Number of Constant Inputs (CI): This refers to the amount of inputs that are to be maintained constant at either zero or one so as to synthesize the given logical function [7]. 3) Number of Garbage Outputs (GO): This refers to the amount of unused output in a reversible logic circuit. One cannot avoid the garbage outputs as these are essential to attain reversibility [15]. 4) Quantum Cost (QC): This refers to the value of the circuit in terms of the value of a primitive gate. It is calculated by knowing the amount of primitive reversible logic gates (1*1 and 2*2) needed to make the circuit [9]. B. There are some conditions for any gate to be reversible that are following [6][12]: 1) Number of inputs and outputs should be same. 2) No feedback and no fan-out is allowed. 3) Minimum number of reversible gates should be used. 4) Minimum number of constant inputs and minimum number of garbage outputs should be produced. 1067

II. BASIC REVERSIBLE LOGIC GATES A. Feynman Gate Feynman gate is a 2*2 reversible gate as shown in figure 2[3]. The input vector is I (A, B) and the output vector is O(P, Q). The outputs are defined by P=A, Q=A B. The quantum cost of a Feynman gate is 1. Feynman Gate (FG) can be used as a copying gate. Since a fan-out is not allowed in reversible logic, this gate is useful for duplication of the required outputs. The block diagram of Feynman gate is shown below: Fig. 2 Feynman Gate [3] B. Double Feynman Gate Double Feynman gate is a 3*3 reversible gate as shown in figure 3[4]. The input vector is I (A, B, C) and the output vector is O (P, Q, R). The outputs are defined by P = A, Q=A B, R=A C. Quantum cost of Double Feynman gate is 2. Its block diagram is shown below: Fig. 3 Double Feynman Gate [4] C. Toffoli Gate Toffoli gate is a 3*3 reversible gate as shown in figure 4 [5]. The input vector is I (A, B, C) and the output vector is O (P, Q, R). The outputs are defined by P=A, Q=B, R=AB C. Quantum cost of a Toffoli gate is 5. Its block diagram is shown below: Fig. 4 Toffoli Gate [5] D. WG Gate WG gate is a 4*4 reversible logic gate as shown in figure 5. Its input vector is I(A, B, C, D) and the output vector is O(P, Q, R, S). The output of WG gate is P=A, Q=A B D, R=A B C, S= (A D B)(A D C) (A D). The quantum cost of this gate is 7. Its block diagram is shown below: Fig. 5 WG Gate [16] 1068

E. DKG Gate DKG gate is a 4*4 reversible gate as shown in figure 6[12]. The input vector is I (A, B, C, D) and the output vector is O (P, Q, R, S). The output is defined by P=B, Q=A C AD, R= (A B) (C D) CD and S=B C D. Quantum cost of DKG gate is 6. Its block diagram is shown below: Fig. 6 DKG Gate [11] III. PROPOSED WORK A. Design 1: 8-Bit Adder-Subtractor Using DKG Gates In this approach DKG gates are used for adder Subtractor design. As shown in figure 7, the design has a total of 8 DKG gates cascaded to work as 8-bit adder-subtractor.the Binary numbers A and B are applied to the second and third inputs of DKG gate whereas as first input is connected to mode and fourth input is also connected to mode for first gate whereas for all other gates is connected to previous carry. This design approach generates a total of 16 garbage outputs. Quantum cost of this design is 48. The expression for adder and subtractor is given below [13]: Sum=A B C IN Carry= (A B) C IN AB Difference=A B C IN Borrow=A B+BC IN+C INA Where C IN is the previous carry in case of adder and previous borrow in case of subtractor [8]. Fig. 7 Proposed design for reversible 8-bit adder-subtractor using DKG gate B. Design 2: 16-Bit Adder Subtractor using WG Gates In this design WG gates are used. As shown in figure 8 the design has 16 WG gates are cascaded to function as adder as well as subtractor. Binary inputs A and B are applied to first and second inputs of the WG gate and third input is connected to mode for first gate whereas for all other gates it is connected to previous carry and fourth input will select the mode of operation. Quantum cost of the circuit is 112. 1069

Fig. 8 Proposed design for reversible 16-bit adder-subtractor using WG gate C. Design 3: 16-Bit Adder Subtractor using DKG Gates The design has a total of 16 DKG gates cascaded to work as 16-bit adder-subtractor. This design approach generates a total of 32 garbage outputs. Quantum cost of this design is 96. Fig. 9 Proposed design for reversible 16-bit adder-subtractor using DKG gate A. Design 1 IV. IMPLEMENTATION AND RESULTS Fig. 10 RTL view of DKG gate 1070

Fig. 11 RTL view of synthesized 8-bit adder-subtractor using DKG gates Fig. 12 Power Consumption for reversible 8-bit adder-subtractor using DKG gate Fig. 13 Power Consumption for existing reversible 8-bit adder-subtractor using WG gate 1071

Fig. 14 Comparative results of power consumption graph for proposed and existing design. B. Design 2 Fig. 15 Proposed design of 16-bit Adder-Subtractor circuit using WG gates Fig. 16 Power Consumption for reversible 16-bit adder-subtractor using WG gate 1072

C. Design 3 Fig. 17 Proposed design of 16-bit adder-subtractor using DKG gate Fig. 18 Power Consumption for reversible 16-bit adder-subtractor using DKG gate Fig. 19 Comparative results of power consumption graph for proposed design 2 and design 3 1073

Table 1: Comparison of proposed work with existing work. Sr. Parameters 8 bit adder-subtractor design 16 bit adder-subtractor design No. Proposed Existing [16] Proposed Proposed 1. Quantum cost 48 56 112 96 2. Power consumption(w) 0.091 3.643 4.436 1.983 V. CONCLUSION Reversible logic is an emerging technology which will lead to lesser power consumption and no power loss. In this paper 8-bit and 16-bit adder-subtractor circuits are designed using WG gate and DKG gate. Table 1 demonstrates that proposed design is better than existing design in terms of quantum cost and power consumption. The quantum cost of 8-bit adder-subtractor design using DKG gate is 48 and its power consumption is 0.091W whereas the quantum cost of existing design is 56 and its power consumption is 3.643W, the quantum cost of 16-bit adder-subtractor using WG gate is 112 and its power consumption is 4.436W, quantum cost of 16-bit adder-subtractor using DKG gate is 96 and its power consumption is 1.983W. Hence the proposed circuit is better than existing circuit in terms of quantum cost and power consumption. REFERENCES [1] Rolf Landauer, Irreversibility and Heat Generation in the Computational Process, IBM Journal of Research and Development, 5, pp. 183-191, 1961. [2] C H Bennett, Logical Reversibility of Computation, IBM J.Research and Development, pp. 525-532, November 1973. [3] Hafiz Md. Hasan Babu, Md. Rafiqul Islam, Syed Mostahed Ali Chowdhury, Ahsan Raja Chowdhury, Synthesis of Full-Adder Circuit Using Reversible Logic, VLSI Design, 2004. Proceedings. 17th International Conference on. IEEE, 2004. [4] Prashant.R.Yelekar, Prof. Sujata S. Chiwande, Introduction to Reversible Logic Gates & its Application, 2nd National Conference on Information and Communication Technology (NCICT) 2011. [5] Himanshu,Thapliyal and Nagarajan Ranganathan, "Design of efficient reversible binary subtractors based on a new reversible gate," VLSI, 2009. ISVLSI'09. IEEE Computer Society Annual Symposium, IEEE, 2009. [6] Maii T.Emam, and Layle A A Elsayed, "Reversible Full Adder/Subtractor, Symbolic and Numerical Methods, Modeling and Applications to Circuit Design (SM2ACD), 2010 XIth International Workshop on. IEEE, 2010 [7] Himanshu Thapliyal and Nagarajan Ranganathan, "A new reversible design of BCD adder," Design, Automation & Test in Europe Conference & Exhibition, IEEE, 2011. [8] Parminder Kaur, Balwinder Singh Dhaliwal, "Design of fault tolearnt full adder/subtarctor using reversible gates, Computer Communication and Informatics (ICCCI), 2012 International Conference on. IEEE, 2012. [9] Raghava Garipelly, P.Madhu Kiran, A.Santhosh Kumar A Review on Reversible logic gates and their Implemantation, International journal of emerging and advanced engineering, March2013, volume3, Issue3. [10] Ankur Sarker, Avishek Bose, Shalini Gupta, "Design of a compact fault tolerant adder/subtractor circuits using parity preserving reversible gates," Computer and Information Technology (ICCIT), 2014 17th International Conference on. IEEE, 2014. [11] Papiya Biswas, Namit Gupta, Nilesh Patidar, Basic Reversible Logic Gates and It s Qca Implementation, Int Journal of Engineering Research and Applications ISSN : 2248-9622, Vol. 4, Issue 6( Version 5), June 2014, pp.12-16. [12] A. N. Nagamani, S. Ashwin, Vinod Kumar Agrawal, "Design of optimized reversible binary adder/subtractor and BCD adder," Contemporary Computing and Informatics (IC3I), 2014 International Conference on. IEEE, 2014 [13] K. Prasad Babu, S.Ahmed Basha, M.Chenniah, H.Devanna, "Design of low power FULLADDER using NG and NTG gates," Smart Structures and Systems (ICSSS), 2014 International Conference on. IEEE, 2014. [14] Lenin Gopal, Adib Kabir Chaudhary, Alpha Agape Gopalai, Ashutosh Kumar Singh, Bakri Madon, "Reversible logic gate implementation as switch controlled reversible full adder/subtractor," Control System, Computing and Engineering (ICCSCE), 2014 IEEE International Conference on. IEEE, 2014. [15] M.Aditya, YB Nithin Kumar, M. H. Vasantha, "Reversible full/half adder with optimum power dissipation, Intelligent Systems and Control (ISCO), 2016 10th International Conference on. IEEE, 2016 [16] Vandana Shukla, O. P. Singh, G. R. Mishra, R. K. Tiwari, A Novel Approach for Reversible Realization of 8-Bit Adder-Subtractor Circuit with Optimized Quantum Cost, in IEEE ISBN 978-1-4673-6725-7,2016. [17] Ankush, Amandeep Singh Bhandari, Review Paper on Reversible Logic Gate, International Journal for Research in Electronics & Communication Engineering, vol. 1, Issue 7, (2016). [18] Ankush, Amandeep Singh Bhandari, Design & Performance Analysis of Low Power Reversible Carry Skip Adder, IOSR Journal of VLSI and Signal Processing, vol. 6, Issue 4, Ver. II,(2016),pp.33-39 [19] Ankush, Amandeep Singh Bhandari, Design & Performance Analysis of Low Power Reversible Residue Adder, International Journal of Hybrid Information Technology, vol. 9,Issue 9,(2016),pp.93-102. [20] Amandeep Singh Bhandari and Priya Sharma, Introduction to Reversible Logic and Mathematical Derivation for V and V+ Gates, International Journal of Computer Applications (0975 8887) Volume 153 No5, November 2016, pp 14-18. [21] Prinkle Wadhawan, Ravijot Kaur, Amandeep Singh, A REVIEW ON QUANTUM DOT CELLULAR AUTOMATA, International Journal of Electrical and Electronics Engineers, Volume 9, Issue 1, 2017, pp319-327. 1074