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

Similar documents
Optimized Nanometric Fault Tolerant Reversible BCD Adder

Design and Implementation of Nanometric Fault Tolerant Reversible BCD Adder

Optimized Reversible Programmable Logic Array (PLA)

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

An Optimized BCD Adder Using Reversible Logic Gates

Low Power Reversible Parallel Binary Adder/Subtractor Rangaraju H G 1, Venugopal U 2, Muralidhara K N 3, Raja K B 2

A Novel Reversible Gate and its Applications

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

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

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

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

Design of Reversible Sequential Circuit Using Reversible Logic Synthesis

ASIC Design of Reversible Full Adder/Subtractor Circuits

Design of Digital Adder Using Reversible Logic

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

An Efficient Reversible Design of BCD Adder

A Cost Effective Design of Reversible Single Precision Floating Point Multiplier

Analysis of Multiplier Circuit Using Reversible Logic

Power Minimization of Full Adder Using Reversible Logic

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

DESIGN AND ANALYSIS OF A FULL ADDER USING VARIOUS REVERSIBLE GATES

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

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

OPTIMIZED MULTIPLIER USING REVERSIBLE MULTI- CONTROL INPUT TOFFOLI GATES

Quantum Cost Optimization for Reversible Carry Skip BCD Adder

Optimization of reversible sequential circuits

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

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

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

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

Design and Implementation of Combinational Circuits using Reversible Gates

FULL ADDER/ SUBTRACTOR USING REVERSIBLE LOGIC

Low Power and High Speed BCD Adder using Reversible Gates

On the Analysis of Reversible Booth s Multiplier

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

A NEW APPROACH TO DESIGN BCD ADDER AND CARRY SKIPBCD ADDER

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

A NEW DESIGN TECHNIQUE OF REVERSIBLE GATES USING PASS TRANSISTOR LOGIC

Design of a Compact Reversible Random Access Memory

Design of a compact reversible binary coded decimal adder circuit

Implementation of Reversible ALU using Kogge-Stone Adder

Synthesis of Fredkin-Toffoli Reversible Networks

FPGA IMPLEMENTATION OF BASIC ADDER CIRCUITS USING REVERSIBLE LOGIC GATES

Literature Review on Multiplier Accumulation Unit by Using Hybrid Adder

M.Tech Student, Canara Engineering College, Mangalore, Karnataka, India 2

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

Design of Reversible Logic based Basic Combinational Circuits

A Novel and Systematic Approach to Implement Reversible Gates in Quantum Dot Cellular Automata

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

Carry Bypass & Carry Select Adder Using Reversible Logic Gates

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

Quantum Cost efficient Reversible Multiplier

Design of Universal Shift Register Using Reversible Logic

CHAPTER 2 AN ALGORITHM FOR OPTIMIZATION OF QUANTUM COST. 2.1 Introduction

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

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

Power Optimization using Reversible Gates for Booth s Multiplier

Chapter 03: Computer Arithmetic. Lesson 03: Arithmetic Operations Adder and Subtractor circuits Design

Reversible ALU Implementation using Kogge-Stone Adder

Implementation of Optimized Reversible Sequential and Combinational Circuits for VLSI Applications

Design of Reversible Code Converters Using Verilog HDL

Combinational Logic. By : Ali Mustafa

Module 2. Basic Digital Building Blocks. Binary Arithmetic & Arithmetic Circuits Comparators, Decoders, Encoders, Multiplexors Flip-Flops

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

Design of an Ultra-Efficient Reversible Full Adder-Subtractor in Quantum-dot Cellular Automata

A Novel Design of Reversible Universal Shift Register

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

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

Engineering Letters, 13:2, EL_13_2_3 (Advance online publication: 4 August 2006) Design of Reversible/Quantum Ternary Multiplexer and Demultiplexer

Downloaded from

Design of Optimized Reversible Binary and BCD Adders

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

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

PERFORMANCE EVALUATION OF REVERSIBLE VEDIC MULTIPLIER

Design of Low Power Adder and Multiplier Using Reversible Logic Gates

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

BCD Adder Design using New Reversible Logic for Low Power Applications

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

PERFORMANCE IMPROVEMENT OF REVERSIBLE LOGIC ADDER

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

Design Methodologies for Reversible Logic Based Barrel Shifters

A Novel 4 4 Universal Reversible Gate as a Cost Efficient Full Adder/Subtractor in Terms of Reversible and Quantum Metrics

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

FPGA Implementation of Optimized 4 Bit BCD and Carry Skip Adders using Reversible Gates

Improved ESOP-based Synthesis of Reversible Logic

Design and Synthesis of Sequential Circuit Using Reversible Logic

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

Design of an Online Testable Ternary Circuit from the Truth Table

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

Reversible Circuit Using Reversible Gate

Quantum Carry-Save Arithmetic

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

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

Reversible Function Synthesis with Minimum Garbage Outputs

An Algorithm for Minimization of Quantum Cost

Transistor Implementation of Reversible Comparator Circuit Using Low Power Technique

Optimized Reversible Vedic multipliers for High Speed Low Power Operations

Design and Implementation of Efficient Reversible Vedic multiplier for Low Power and High Speed Operations

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

Realization of 2:4 reversible decoder and its applications

Transcription:

World pplied Sciences Journal 4 (6): 787-792, 2008 ISSN 1818-4952 IDOSI Publications, 2008 Design and Optimization of Reversible CD dder/subtractor Circuit for Quantum and Nanotechnology ased Systems 1 Majid Mohammadi, 1 Mohammad Eshghi, 2 Majid Haghparast and 3 bbas ahrololoom 1 Faculty of Electrical and Computer Engineering, Shahid eheshti University, Tehran, Iran 2 C.E. Department, Science and Research ranch, Islamic zad University, Tehran, Iran 3 C.E. Department, Kerman University, Kerman, Iran bstract: Reversible logic circuits have found emerging attention in nanotechnology, quantum computing and low power CMOS designs. In this paper we present a modular synthesis method to realize a reversible inary Coded Decimal (CD) adder/subtractor circuit. We use genetic algorithms and don t care concept to design and optimize all parts of a CD adder circuit in terms of number of garbage inputs/outputs and the quantum cost. We have also developed and used genetic algorithm-based synthesis software to design and optimize proper circuits for a reversible CD adder/subtractor such as full adder, reversible 9 s complement generator and reversible multiplexer. The results show improvement in the quantum cost, the number of garbage inputs and outputs. Key words: Reversible logic circuits Genetic algorithm Synthesis of reversible circuits Optimization Don t care Reversible CD adder, nanotechnology INTRODUCTION Decimal arithmetic has found promising uses in the financial and commercial applications. This is due to the precise calculations required in these applications as oppose to binary arithmetic where some of decimal fractions can not be represented precisely [1]. The software implementation of decimal arithmetic eliminates these conversion errors, but it is typically 100 to 1000 times slower than binary arithmetic. This attracts the attention of hardware designers to add a decimal arithmetic unit to CPUs to perform decimal calculations [2]. Energy loss on the other hand, is an important consideration in a binary arithmetic circuit. Part of the problem of energy dissipation is related to non-ideal of transistors and materials. Higher level of integration and the use of new fabrication processes have reduced the heat loss over the last decades. nother problem arises from Landauer s principles [3] state that, logic computations that are not reversible, necessarily generate heat KT.ln2 for every bits of information that is lost, where K is the oltzmann s constant and T is the temperature. Reversible are circuits (gates) in which there is a one-to-one mapping between vectors of inputs and outputs. The reversible designs do not lose any information. Reversible logic circuits have found promising attention in nanotechnology 0[4], quantum computing and low power CMOS designs. Some reversible logic circuit synthesis methods are proposed in the literature [8, 14]0. Genetic lgorithm (G) is also used to synthesize and optimize a reversible or quantum logic circuit 0[15,12]. Don t cares (DCs) can be managed in G-based methods. Some works are also done on reversible CD adder design and optimization [5, 6, 11, 13]. From the point of view of reversible logic circuits, there are some factors as the complexity measures of a circuit, namely, the number of the gates, the number of garbage inputs/outputs and the quantum cost. In this paper, a reversible inary Coded Decimal (CD) adder/subtractor has been designed and optimized by using G and DC concept in the sense of above factors. The structure of this paper is as follows: First we explain the background including CD adders, reversible logic circuits, genetic algorithms and their application in the synthesis of circuits and DCs (Don t Cares) in reversible and quantum logic circuits. Then the main contribution of paper is presented. We used the CD adder to construct a CD adder/subtractor. Conclusions and references are also provided. Corresponding uthor: Majid haghparast, Department of Computer Engineering, Science and Research ranch, Islamic zad University, Tehran, Iran 787

Reversible gates and circuits: function or a circuit is reversible if there is a one-to-one correspondence between its input and output assignments [13]. Classical reversible logic gates can be implemented in various technologies such as CMOS, optical and nanotechnology. Quantum gates, on the other hand, act on qubits. qubit is a unit of quantum information. Generally, quantum gates cannot be implemented using conventional technologies such as CMOS. reversible gate has an equal number of inputs and outputs. Generally, with n inputs, there exist (2 n )! C4 Cout MTERILS ND METHODS ackground: efore that we propose the method is used in this paper some background information is needed. These are information about CD adders, reversible logic, using genetic algorithms to synthesize a reversible circuit and the DC concept. CD adders: Figure 1 illustrates three parts of a CD adder: 4-bit binary adder, over 9 detection unit and correction unit. The first part is a binary adder which performs on two four-bit CD digits and a one-bit carry input. In the second part, the over-9-detector recognizes if the result of the first part is more than 9 or not. Finally, in the third part, if the output of detector (P flag) is '1', the sum is added by 6, else do nothing. conventional CD adder is shown in Fig. 2. The 4-bit binary adder is cascade of 4 Fs (4-bit carry-propagate adder). The detection part in Fig. 2 is constructed by using two ND gates (1, 2) and one OR gate. The correction unit adds 0 to the binary number if the binary result is less than 10 and adds 6 to the binary result if it is more than 9. binary full adder is a basic circuit for designing binary arithmetic units such as n-bit binary adder, subtractor and multiplier. In the same sense a CD adder/subtractor is a basic circuit for designing CD arithmetic units such as CD n-digit adder/ subtractor, CD multiplier and so on. 4 4 4-bit binary dder Sum >9Detection unit P Correction unit CD Sum Fig. 1: lock diagram of a CD adder World ppl. Sci. J., 4 (6): 787-792, 2008 Cin 788 Fig. 2: n irreversible CD adder C Q= C (a) NG (a) (b) Q= Q= C R= C R=C. C (c) Q='+C R=+'C Fig. 3: (a) Feynman gate (b) Toffoli gate, (c) Fredkin gate Fig. 4: (a) New gate, (b) Peres gate Q= R= C reversible gates. The well-known 2 2 Feynman gate (Fig. 3a) operates as a controlled NOT (CNOT). If the control input of CNOT is set to 0, the gate acts as a UFFER gate; else, it acts as a NOT gate. The Feynman gate can be used as fanout gate to copy a signal. If the input in Fig. 3a is set to 0 then two outputs of the Feynman gate are. Toffoli and Fredkin gates [7] are 3 3 reversible gates (Fig. 3a, b). Each of these gates is universal, i.e. any logical reversible circuit can be implemented using these gates. Other reversible gates are also proposed in some papers [13]. Figure 4a and 4b show the New Gate (NG) and the Peres gates, respectively. Hafiz [5] designed a full adder using one NG and one Peres gates. reversible circuit is usually depicted using a series of connected gates on a number of parallel lines similar to the musical staff. These lines are the inputs/outputs of the circuit. The gates are placed on these parallel lines. Using this concept, design of a reversible circuit is similar to composing a piece of music. synthesis method using this style usually results in smaller circuits with fewer garbage outputs [8]. (b)

Gate Type Main Output Ctrl I/O 1 Fig. 5: Coding a reversible gate Ctrl I/O 2 World ppl. Sci. J., 4 (6): 787-792, 2008 Ctrl I/O r R1 Rn Gate 1 Gate 2 Gate m Fig. 6: chromosome codes a complete reversible circuit The Quantum Cost (QC) of a reversible circuit is defined as the number of 1 1 or 2 2 reversible quantum or logic gates that are needed to realize the circuit [9]. For instance, the Toffoli gate is realized by minimum of five 2 2 gates, therefore, its QC is five [9]. The QC of a Fredkin gate is also 5. Note that the Peres gate has QC of 4 while it has more functionality than Toffoli gate. ctually, it has one target output as the same as the Toffoli gate (larger circle in Fig. 4b) and one additional XOR output (filled circle in Fig. 4b). Peres gate is also universal and can be used in synthesis of reversible logic circuits. Optimizing the reve rsible circuits using G and don t cares: Genetic algorithm is an optimization algorithm. We use it in the optimal synthesis of reversible logic circuits [15]. In this algorithm, variables of search space have to be coded to a string of bits, named chromosome. Each gate is coded as shown in Fig. 5. Many gates may be used in the synthesis. Therefore, we consider a field as the gate type and assign one code to each type of gate. The second field represents the location of main output of the gate. The third up to the last fields are location of r inputs of the gate. For some types of gates such as Peres, the third field is location of the XOR output of the gate. Each chromosome represents a complete circuit and includes the codes of m gates plus R1 to Rn, the constant inputs of the circuit (Fig. 6). This will be discussed in the latter paragraphs. fter defining the chromosome structure, we define a population of chromosomes and apply three basic operators of G to chromosomes of this population. The crossover operator selects two chromosomes randomly and exchanges corresponding segments from them. The mutation operator applies random changes to the selected chromosome with a specific probability. The selection operator selects some of good chromosomes for reproduction of the next population. In the synthesis of a reversible circuit using G, each generated chromosome is a coded circuit. n important advantage of G to other synthesis methods is that various universal gates can be used in 789 the synthesis. For example one can use the Toffoli or Peres or Fredkin gates or a combination of them for the synthesis. nother choice may be a set of universal quantum gates such as V, V+ and Feynman gates. ased on G synthesis algorithm, a software is developed in this research which can synthesize a given function by using each of mentioned gates separately, or simultaneously. The definition of a reversible function would possibly include inputs, outputs or conditions whose values are not important. These are named don t cares (DCs). In [12], the DCs in a reversible function or circuit are classified into three types: DC inputs, DC conditions and DC outputs. The first type is an additional bit that we add to the input part of the truth table of a logical function to retain the reversibility of the function. Traditionally, this type of DCs is named constant input because its value is not varying in the circuit. Different values of DC inputs will result to the different synthesized circuits. To assign the optimum values to these DCs, they must be inserted in the chromosome which defines the circuit (Fig. 6). The second type of the DCs is DC condition. When the values of some rows of the truth table are not specified or are not important, they are assumed DC conditions. These occur when some DC inputs for the function are assumed, but this is not true in all cases. In the other words, a circuit may have DC conditions while it doesn t have any DC inputs (such as a CD adder in which input numbers over the 9 are DCs). The third type of DCs is DC output. It is additional output whose value is not important in the rows of the truth table. Conventionally, DC outputs are called garbage outputs. If the synthesis algorithm ignores these DCs, it generates a circuit that satisfies the care conditions or outputs. This will result to obtain a smaller circuit in less synthesis time. s we will show in the next subsection, a reversible CD dder has all types of DCs. These are used to obtain an optimized circuit. Design and optimization of the reversible CD dder: Referring to Fig. 1 three parts of a CD adder have to be designed with reversible gates. These parts are 4-bit binary adder, detection part and correction part. The correction part is a 4-bit binary adder, too. Hafiz used two NG gates to design a full adder. Next, four Fs are used to construct a binary ripple carry 4-bit adder. For over-9-detector he used a circuit depicted in Fig. 7. The detector, which is designed specifically for decimal addition, can be designed more efficient with the lower cost and less number of DC outputs. In this work, we design the detection part by using Toffoli

World ppl. Sci. J., 4 (6): 787-792, 2008 0 0 1 1 2 2 3 3 4 =0 4 =1 (a) (b) Fig. 7: Detector part designed by Hafiz Fig. 9: Detector part of CD adder: (a) using Toffoli gates, (b) using Fredkin gates ( 0 =C 4, 1 =S 3, 2 =S 2, 3 =S 1, 4 =0, =P) Cin R=0 V V V V + ( a ) (b) S DC DC Cout Fig. 10: Two implementations of F generated and optimized by G: (a) Using Quantum gates with QC=6, (b) Using Peres gates with QC=8. Fig. 8: CD adder circuit gates in order to reduce its numb er of DC outputs, as well as the quantum cost. Detector part is a circuit which has four inputs and one output, expressed in Eq.1. P = ((S 1 +S 2 ).S 3 ) + C 4 (1) S 1, S 2 and S 3 are three bits of the sum and C 4 is the Carry out of the 4-bit binary adder in the first part of the CD adder (Fig. 8). The Minimum number of required DC outputs is log 2 q, where q is the maximum number of repetition in the output patterns [10]. Truth table of the P equation shows that there are 11 repeated '1's in the table; therefore, it requires at least log 2 11 = 4 DC 790 outputs. Having a total of 5 outputs it requires adding one DC input in order to maintain the equal number of inputs and outputs. This is the minimum number of DC inputs and outputs to have a reversible implementation. s a result of the one additional input and four additional outputs, the truth table of the reversible function has one DC input, four DC outputs and 16 DC conditions. The DC conditions are due to one DC input. Since the DC input must be constant in the final circuit, this additional input is also named constant input in the literature Figure 9a illustrates the resulted circuit of the detector by means of Toffoli gates. The output P is the expected output of the detector. It uses three 3 3 and two 2 2 Toffoli gates. The QC of this circuit is 17. Using Fredkin gates, a simpler circuit can be obtained. This circuit which is shown in Fig.9.b, uses only three Fredkin gates with quantum cost of 15. To optimize the other parts of CD adder, some optimized Fs can be used. For instance, in [8] an F with four Toffoli and Feynman gates is proposed. In [12] various optimized designs of F with and without quantum gates are proposed. n F can also designed by Peres gates. In this research, we have designed and optimized F using G and using quantum and Peres gates, shown in Fig. 10. The first design uses 6 quantum 2 2 gates having total QC of 6. nother design uses only two Peres gates but its QC is 8. New CD subtractor: To calculate the CD operation a-b we have to add a to 9 s complement of b with carry

World ppl. Sci. J., 4 (6): 787-792, 2008 0 1 2 3 Q 1 Q 2 Q 3 Table 1: Summary parameters of designs Design QC G-in G-out 1 Hafiz [5] 136 21 26 2 F in Fig. 10b 109 19 24 3 F in Fig. 10a 93 19 24 Fig. 11: 9 s complement circuit: 3 2 1 0 is input digit and Q 3 Q 2 Q 1 is output digit. 0 1 2 3 4 5 6 7 8 Q 1 Q 2 Q 3 Q 4 we obtain 93 or 109 values for QC of CD adder/ subtractor according to the F design is used. Table 1 shows the summary of parameters of our two designs. This table also shows the Hafiz s design for comparison. Note that Hafiz had only designed the CD adder part of this circuit. We have added the other parts of our subtractor design to this design to show a comparison. s the Table 1 shows, the number of garbage inputs and outputs is decreased. Our designs also show a good improvement in the Quantum Cost (QC) of circuit. CONCLUSION Fig. 12: Implementation of a multiplexer using Fredkin gates. 3 2 1 0 is input digit and 7 6 5 4 is 9 s complement of input digit and Q 3 Q 2 Q 1 is output digit. 8 is control input input of 1. Therefore we need to design a reversible 9 s complement circuit. To design this circuit we can use the G synthesis software. Note that this circuit is a 4 4 circuit which has 6 DC conditions. It have to produce outputs 9, 8,, 0 for 0, 1,, 9 inputs, respectively. Since there are no repeated patterns in the outputs of the circuit, it doesn t need garbage outputs. Fig. 11 shows the circuit which G has generated. This circuit has 4 gates with QC of 6. To design a reversible CD adder/subtractor we have to use a reversible multiplexer to apply or 9 s complement of to the circuit. We have used the Fredkin gates to construct a reversible multiplexer (Fig. 12). The Q output of this multiplexer is, if the control input ( 8 ) is 0, otherwise, output is 9 s complement of. Note that the lower outputs of Fredkin gates are garbage outputs. The QC of this circuit is 4 5=20. RESULTS ND DISCUSSION We can calculate the QC of the overall design of CD adder/subtractor. It is QC of CD adder plus QC of the 9 s complement circuit plus QC of multiplexer. To implement the CD adder we can use the F designs of Fig. 10a or Fig. 10b. Then the QC of CD adder is 8 F+15+4. Thus the QC of CD adder is 67 for design Fig. 10a and 83 for design Fig. 10b. Thus, 791 In this paper, the Genetic lgorithm (G) and DCs (DCs) are used to optimize a binary coded decimal adder and subtractor. This circuit can further be used in a large reversible system as a module of CD reversible adder/subtractor. We have also developed and used genetic algorithm-based synthesis software to design and optimize proper circuits for a reversible CD adder/subtractor such as full adder, reversible 9 s complement generator and reversible multiplexer. The G-based synthesis algorithm used in this paper has many advantages to the other synthesis methods. For instance, optimum or near optimum results can be obtained, many universal gates can be used for synthesis, quantum gates can be included and don t cares can be handled. Table 1 shows the summary of parameters of designs which we proposed in this paper. This table also shows the Hafiz s design. Note that Hafiz had only designed the CD adder part of this circuit. This table shows that all important parameters such as the quantum cost and the number of garbage inputs and outputs are reduced in the proposed circuits. In addition, our circuits can also do subtraction. The reversible CD adder/subtractor can be used as a basic circuit for constructing the other reversible CD arithmetic circuits. For example, by cascading n blocks of this circuit, an n digit CD adder and subtractor can be assembled. Some works are also done on CD multiplication which can be extended to reversible form by using the proposed CD adder. ll the proposed circuits are quantum and reversible circuits that can be used in nanotechnology based systems.

World ppl. Sci. J., 4 (6): 787-792, 2008 REFERENCES 1. Cowlishaw, M.F., 2003. Decimal Floating-Point: lgorism for Computers. Proceedings of the 16th IEEE Symposium on Computer rithmetic, pp: 104-111. 2. Shankland, S., 2006. IM s POWER6 gets help with math, multimedia. ZDNet News. 3. Landauer, R., 1961. Irreversibility and heat generation in the computing process. IM J. Res. Develop., 5: 183-191. 4. zghadi, M.R., O. Kavehei and K. Navi, 2007. Novel Design for Quantum-dot Cellular utomata Cells and Full dders. Journal of pplied Science, ISSN, pp: 1812-5654. 5. Hafiz, Md., H. abu and.r. Chowdhury, 2005. Design of a Reversible inary Coded Decimal dder by Using Reversible 4-bit Parallel dder. 18th Int. Conf. VLSI Design, pp: 255-260. 6. Hasan abu, H.Md. and.r. Chowdhury, 2006. Design of a compact reversible binary coded decimal adder circuit. Elsevier Journal of Systems rchitecture, 52: 272-282. 7. Fredkin, E. and T. Toffoli, 1982. Conservative logic. Int. J. Theoretical Physics, 21 (3/4): 219-253. 8. Maslov, D., G.W. Dueck and D.M. Miller, 2003. Simplification of Toffoli networks via templates. Proc. Symp. Integrated Circuits & System Design, pp: 53-58. 9. arenco,., C.H. ennett, R. Cleve, D.P. DiVincenzo, N. Margolus, P. Shor, T. Sleator, J.. Smolin and H. Weinfurter, 1995. Elementary gates for quantum computation. Phys. Rev., 52. (5): 3457-3467. 10. Maslov, D. and G.W. Dueck. 2003. bage in reversible design of multiple output functions. 6th International Symposium on Representations and Methodology of Future Computing Technologies, pp: 162-170. 11. Mohamadi, M., M. Eshghi and. Kaivani, 2007. Design of Reduced Quantum Cost Reversible CD dder. IEEE EWDTS, Yerevan, pp: 475-478. 12. Mohamadi, M., M. Eshghi and K. Navi, 2007. Optimizing the Reversible Full dder Circuit. IEEE EWDTS, Yerevan, pp: 312-315. 13. Majid Haghprast and Keivan Navi, 2008. Novel Reversible CD dder For Nanotechnology ased Systems. merican Journal of pplied Sciences, ISSN 1546-9239, 5 (3): 282-288. 14. Gupta, P., bhinav grawal and Niraj. K Jha, 2006. n lgorithm for Synthesis of Reversible Logic Circuits. IEEE Transactions on Computer- ided Design of Integrated Circuits and Systems, 25 (11): 2317-2330 15. Martin Lukac, Maerk Perkowski and Hilton Gol, 2003. Evolutionary pproach to Quantum and Reversible Circuits Synthesis. rtificial Intelligence Review, 20 (3-4): 361-417. 792