Realization of 2:4 reversible decoder and its applications

Similar documents
DESIGN OF 3:8 REVERSIBLE DECODER USING R- GATE

Design and Synthesis of Sequential Circuit Using Reversible Logic

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

Reversible Circuit Using Reversible Gate

Design and Optimization of Asynchronous counter using Reversible Logic

A novel design approach of low power consuming Decoder using Reversible Logic gates

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

Realization of programmable logic array using compact reversible logic gates 1

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

Analysis of Multiplier Circuit Using Reversible Logic

Online Testable Reversible Circuits using reversible gate

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

DESIGN AND ANALYSIS OF A FULL ADDER USING VARIOUS REVERSIBLE GATES

Design of Reversible Synchronous Sequential Circuits

Transistor Implementation of Reversible Comparator Circuit Using Low Power Technique

A NEW APPROACH TO DESIGN BCD ADDER AND CARRY SKIPBCD ADDER

A Novel Ternary Content-Addressable Memory (TCAM) Design Using Reversible Logic

A Novel Design of Reversible Universal Shift Register

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

Design and Minimization of Reversible Circuits for a Data Acquisition and Storage System

Optimization of reversible sequential circuits

FULL ADDER/ SUBTRACTOR USING REVERSIBLE LOGIC

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

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

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

Design of Digital Adder Using Reversible Logic

On the Analysis of Reversible Booth s Multiplier

Design of a Compact Reversible Random Access Memory

Design of Reversible Code Converters Using Verilog HDL

Implementation of Optimized Reversible Sequential and Combinational Circuits for VLSI Applications

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

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

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

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

A NEW DESIGN TECHNIQUE OF REVERSIBLE GATES USING PASS TRANSISTOR LOGIC

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

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

Power Minimization of Full Adder Using Reversible Logic

Design and Implementation of Combinational Circuits using Reversible Gates

Literature Review on Multiplier Accumulation Unit by Using Hybrid Adder

Design of Stuck at Fault Testable Conservative Logic based Flip-Flops and its Application Circuits

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

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

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

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

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)

BCD Adder Design using New Reversible Logic for Low Power Applications

Downloaded from

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

Implementation of Reversible ALU using Kogge-Stone Adder

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

FPGA IMPLEMENTATION OF BASIC ADDER CIRCUITS USING REVERSIBLE LOGIC GATES

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

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

An Optimized BCD Adder Using Reversible Logic Gates

Design of Reversible Logic based Basic Combinational Circuits

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

Design of Universal Shift Register Using Reversible Logic

ENERGY EFFICIENT DESIGN OF REVERSIBLE POS AND SOP USING URG

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

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

REALIZATION OF EFFECTIVE REVERSIBLE DECODER BASED COMBINATIONAL CIRCUITS

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

Reversible ALU Implementation using Kogge-Stone Adder

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

Synthesis of Quantum Circuit for FULL ADDER Using KHAN Gate

Reversible Implementation of Ternary Content Addressable Memory (TCAM) Interface with SRAM

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

An Efficient Reversible Design of BCD Adder

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

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

DIAGNOSIS OF FAULT IN TESTABLE REVERSIBLE SEQUENTIAL CIRCUITS USING MULTIPLEXER CONSERVATIVE QUANTUM DOT CELLULAR AUTOMATA

Direct Design of Reversible Combinational and Sequential Circuits Using PSDRM Expressions

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

Carry Bypass & Carry Select Adder Using Reversible Logic Gates

Power Optimization using Reversible Gates for Booth s Multiplier

Design of Optimized Reversible Binary and BCD Adders

Optimized Nanometric Fault Tolerant Reversible BCD Adder

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

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

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

Australian Journal of Basic and Applied Sciences. Implementation and Testing of Fredkin Gate based Sequential Circuits

A Novel Reversible Gate and its Applications

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

Design of a Novel Reversible ALU using an Enhanced Carry Look-Ahead Adder

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

OPTIMIZED MULTIPLIER USING REVERSIBLE MULTI- CONTROL INPUT TOFFOLI GATES

Design and Implementation of Nanometric Fault Tolerant Reversible BCD Adder

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

FPGA IMPLEMENTATION OF 4-BIT AND 8-BIT SQUARE CIRCUIT USING REVERSIBLE LOGIC

Two-Qubit Quantum Gates to Reduce the Quantum Cost of Reversible Circuit

Design of Reversible Comparators with Priority Encoding Using Verilog HDL

Quantum Cost Optimization for Reversible Carry Skip BCD Adder

Reversible Circuit Synthesis of Symmetric Functions Using a Simple Regular Structure

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

PERFORMANCE EVALUATION OF REVERSIBLE VEDIC MULTIPLIER

Improved ESOP-based Synthesis of Reversible Logic

Novel Reversible Gate Based Circuit Design and Simulation Using Deep Submicron Technologies

PERFORMANCE IMPROVEMENT OF REVERSIBLE LOGIC ADDER

Transcription:

Realization of 2:4 reversible decoder and its applications Neeta Pandey n66pandey@rediffmail.com Nalin Dadhich dadhich.nalin@gmail.com Mohd. Zubair Talha zubair.talha2010@gmail.com Abstract In this paper realization of 2:4 reversible decoder is proposed which can provide active high as well as active low outputs. The proposed decoder uses Feynman and Fredkin gates and has low quantum cost The proposed gate is fist extended to 3:8 decoder followed by an n-input decoder. The theoretical proposition is verified through SPICE simulations. A comparison with existing reversible decoders is also included. Keywords Reversible decoder, Feynman and Fredkin gates I. INTRODUCTION The encoded input information need be preserved at the output in computational tasks pertaining to digital signal processing, communication, computer graphics, and cryptography applications [1]. The conventional computing circuits are irreversible i.e. the input bits are lost when the output is generated. This information loss during computation culminates into increased power consumption. According to Landauer [2], for each bit of information that is lost during the computation generates KTln2 Joules of heat energy where K and T respectively represent Boltzmann s constant and absolute temperature. The information loss becomes more frequent for high speed systems thereby leading to increased heat energy. C. Bennett [3] demonstrated that power dissipation in can be significantly reduced the same operation is done reversibly. Reference [4] describes that reversible logic allows the circuit to go back at any point of time therefore no bit of information is actually lost and the amount of heat generated is negligible. In digital design, decoders find extensive usage - in addressing a particular location for read/write operation in memory cells [5], in I/O processors for connecting a memory chips to the CPU [6]; and also in Analog to Digital (ADC) and Digital to Analog Converters (DAC) which are used in various different stages of a communication system. This paper therefore addresses the design of reversible decoders. The literature survey on reversible decoders [7-11] shows that the focus is on either developing topology based on available reversible gates [7-9] or present an altogether new gate for the said purpose [10, 11]. The topology [7] employs Double Feynman and Fredkin gates for realization whereas the one presented in [8, 9] is based on Fredkin gates. The former topology is cost efficient and later has higher cost metrics. Comparatively larger number of constant inputs and garbage outputs are present in [7]. A new gate R2D is proposed in [10] for developing reversible decoders. It, however, has large constant inputs and garbage outputs. Yet another reversible decoder is presented in [11] which has attractive cost metrics but it cannot be extended further into a generalized n- input decoder. The reversible decoders [7-11] provide only active high mode of operation. This study introduces a reversible decoder which can provide both active high and active low mode of operation and utilizes Feynman and Fredkin gates. A comparison in terms of number of constant inputs, quantum cost and the number of garbage outputs is also given. The proposed topology is implemented using transmission gates. The functionality of the theoretical proposition is verified through SPICE simulations using 180 nm TSMC CMOS technology parameters II. BACKGROUND AND BASIC CONCEPTS Reversible gates have equal number of inputs and outputs; and each of these input output combination is unique. An n input n output reversible gate is represented as n x n gate. The inputs which assume value 0 or 1 during the operation are termed as constant inputs. On the other hand, the number of outputs introduced for maintaining reversibility is called garbage outputs. Some of the most widely and commonly used reversible gates are Feynman Gate (FG), Fredkin Gate (FRG), Peres gate (PG) and Toffoli gate (TG). Out of these gates Feynman gate is a 2 x 2 gate while Peres, Toffoli and Fredkin gates belong to 3 x 3 gates. The cost of reversible gate is given in terms of number of primitive reversible gates needed to realize the circuit [12]. The proposed work is based on Feynman and Fredkin gates [13, 14] whose quantum representation is given in Fig. 1. The quantum cost of these gates is one and five respectively. 978-1-4799-2866-8/14/$31.00 2014 IEEE 349

Table 1 Truth Table for proposed 2:4 reversible decoder (S = 0) (S = 1) A B X 2 X 0 X 3 X 1 X 0 X 2 X 1 X 3 (a) 0 0 1 0 0 0 0 1 1 1 0 1 0 1 0 0 1 0 1 1 1 0 0 0 1 0 1 1 0 1 1 1 0 0 0 1 1 1 1 0 (b) Fig. 1. Quantum representation of (a) Feynman and (b) Fredkin gates [13,14] A. Reversible The proposed 2:4 Reversible decoder is shown in Fig. 2. It uses two Feynman gates (FG) and two Fredkin gates (FRG). It has three inputs A, B and S where A and B are the inputs to the decoder and S is the select line which will select the mode of operation for decoder. The output lines of decoder are taken from the outputs of the two cascaded Fredkin gates wherein each of the Fredkin gates provides two of the four outputs of the decoder. The active high outputs are achieved for S=0, therefore only a single output will be at logic high and all other outputs will be at logic low. Conversely, S=1 provides active low operation thus single output will be at logic low and all other outputs will assume logic high. The operation of the circuit is given in Table 1. The proposed decoder uses two constant inputs and a single garbage output; and has quantum cost of 12. Thus, the proposed circuit performs the operation in active high as well as active low mode in a very cost efficient manner. The next section describes the implementation of 3:8 decoder using decoder of Fig. 2. B. Proposed 3:8 Reversible The block diagram of the proposed 3-to-8 decoder is shown in Fig. 3 where A, B and C are the inputs to the decoder, S is the select line and Y i (i = 0, 1,..7) represent the outputs. It uses the proposed 2-to-4 decoder and cascade it with Fredkin and Feynman gates. It also uses an additional 1 to 5 tracer circuit in order to remove the fan out problem in the reversible decoder in case S had been the output of any other reversible gate. This block copies input S to 5 different lines and comprises of Feynman gates. Each of the tracer circuit output is applied to the input to the Fredkin gates. The tracer circuit, however, will not be needed if S is the not an output of any other reversible gate. Table 2 and 3 show the truth tables of the proposed decoder with select line S = 0 and 1 respectively. Fig. 3. Proposed 3:8 Reversible Fig. 2. Reversible The proposed 3:8 decoder can easily be extended to a generalized m: 2 m reversible decoder where n is greater than or equal to 3. The generalized decoder will use a 1 to (2 m - 3) tracer circuit which will copy the input S to each of the 2 m - 3 lines and can easily be implemented by using Feynman gates in the same manner in which 1 to 5 tracer circuit was 350

implemented. Figure 4 shows the generalized m:2 m reversible decoder, here A 1, A 2,, A m are its inputs and outputs are represented as Z 0, Z 1,, Z n ( n=2 m ), and S is the select line. Table 2 Truth table for Proposed 3:8 reversible with S=0 A B C Y 4 Y 5 Y 1 Y 0 Y 6 Y 7 Y 2 Y 3 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 0 0 1 C. Transmission Gate based implementation of Feynman and Fredkin gates A transmission gate (TG) is parallel connection of NMOS and PMOS switch and is shown in figure 5. The inputs X and S (applied to gate terminals) are called pass and control input and the gate provides. The output of TG is represented as Y. When the control signal S=0, the output will be in high impedance state while following the pass input (X) for S=1. The advantage of TG gate over NMPS or PMOS pass gate lies in the fact that the output is not degraded in the former one. The TG based implementation of Feynman and Fredkin gates is given in Fig. 5. Table 3 Truth table for Proposed 3-to-8 reversible with S=1 A B C Y 0 Y 1 Y 4 Y 5 Y 2 Y 3 Y 6 Y 7 0 0 0 0 1 1 1 1 1 1 1 0 0 1 1 0 1 1 1 1 1 1 0 0 0 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 0 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 (a) Fig.4. Generalized block diagram for m:2 m Reversible (b) Fig. 5. TG based implementation of (a) Feynman and (d) Fredkin Gates 351

III. SIMULATION RESULT AND ANALYSIS The theoretical proposition is verified using SPICE simulations using 0.18 m TSMC CMOS technology parameters. and 3:8 reversible decoders have been implemented using the TG representation of FG and FRG gates given in Fig. 5. The aspect ratios of all NMOS and PMOS transistors are taken as 0.2 m/0.27 m and 0.5 m/0.27 m respectively. Figures 6 and 7 depict the simulated result for active high mode of operation of proposed 2:4 and 3:8 decoders. Similar results are obtained for active low mode of operation. The simulated results for 2-to-4 and 3- to-8 reversible decoders adhere to their functionality. The proposed 2:4 and 3:8 decoders are compared with their existing counterparts and are summarized in Table 4. The proposed 2:4 decoder show 50% reduction in the number of constant inputs and garbage outputs as compared to the one proposed in [7] with no increase in quantum cost. Though the proposed 3:8 decoder has a higher quantum cost (12.5%) than [7] but uses lesser number of constant inputs and garbage outputs and an advantage of providing active high and active low mode of operation. Similarly, while comparing the proposed 2:4 decoder with the one given in [8], it is observed that there is 66.67%, 50% and 20% improvement in constant inputs, garbage output and quantum cost. Compared to decoders of Ref. [9], the proposed decoder is better in terms of constant inputs and garbage outputs. Table 4 Comparison of and 3:8 reversible decoders with their existing counterparts Ref. [7] Constant Garbage Quantum Cost 2:4 4 2 12 +50% +50% 0% 3:8 8 3 32 Proposed 3:8 6 2 36 +25% +33% -12.5% Ref. [8] Constant Garbage Quantum Cost 2:4 6 2 15 +66.67% +50% +20% Ref. [9] Constant Garbage Quantum Cost 2:4 3 1 11 +33.33% +0% -9.09% 3:8 8 3 35 Proposed 3:8 6 2 36 +25% +33.33% -2.85% Fig. 6. Simulated waveforms of proposed 2:4 decoder IV. CONCLUSION Reversible decoder of size 2:4 is presented in this paper and the design is extended to 3:8 decoder. The design is generalized to n-to-2 n reversible decoder. The proposed reversible decoders used Feynman and Fredkin gates which are implemented using TG logic. The proposed reversible decoders can be used in active high or active low mode of operation depending upon the select line. The structure is more efficient than its previous counterparts. The cost metrics of the proposed decoder can further be reduced if the select line S is assumed not to be the output of any other reversible gate. 352

Reference: [1] V. V. Shinde, A. K. Prasad, I. L. Markov, and J. P. Hayes, Synthesis of Reversible Logic Circuits, IEEE Tran Computer-aided Design of Int. Cir. and Syst., vol. 22, pp. 710-722, 2003 [2] R. Landauer, Irreversibility and heat generation in the computational process, IBM J. Res. Develop., vol. 5, pp. 183 191, 1961. [3] C. H. Bennett, Logical reversibility of computation, IBM J. Res. and Develop., vol. 17, pp. 525-532, 1973 [4] A. De Vos, Reversible computing, Prog. Quantum Electron., vol. 23, no. 1, pp. 1 49, Jan. 1999 [5] R. J.. Tocci, Digital Systems: Principles and Applications, Printice Hall, 1988. [6] M. Morris Mano, Computer System Architecture, Pearson.. [7] M. Shamsujjoha, and H. M. H. Babu, A Low Power Fault Tolerant Reversible Using MOS Transistor, 2013 26th International Conference on VLSI Design and the 12th International Conference on Embedded Systems, pp. 368 373, 2013. [8] S. K. Noor Mahammad, S. K. Sastry Hari, S. Shroff, and V Kamakoti, Constructing online testable circuits using reversible logic, Proceedings of the 10th IEEE VLSI Design and Test Symposium (VDAT), Goa, India, August 2006, pp. 373-383. [9] R. Aradhya, R, Chinmaye, and K. Muralidhara, Design, Optimization and Synthesis of Efficient Reversible Logic Binary, International Journal of Computer Applications, vol. 46, pp. 45-51, 2012. [10] M. Morrison, and N. Ranganathan, Design of a Moore Finite State Machine using a Novel Reversible Logic Gate, and Synchronous Up-Counter, 2011 11th IEEE International Conference on Nanotechnology Portland Marriott, pp. 1445-1449, 2011. [11] M. Nachtigal, and N. Ranganathan, Design and Analysis of a Novel Reversible Encoder/, 2011 11th IEEE International Conference on Nanotechno'logy, Portland Marriott, pp. 1543-1546, 2011. [12] H. Thapliyal and N. Ranganathan, Design of Reversible Sequential Circuits Optimizing Quantum Cost, Delay, and Garbage, ACM J. on Emerging Technologies in Computer Systems, vol. 6, pp. 14.1-14.31, 2010. [13] M. Nielsen, I. Chuang, Quantum Computation and Quantum Information, Cambridge University Press, 2000 [14] E. Fredkin, and T. Toffoli, Conservative logic, International J. Theor. Physics, vol. 21, pp. 219-253,1982. Fig. 7. Simulated waveforms of proposed 2:4 decoder 353