Académique Documents
Professionnel Documents
Culture Documents
1. Introduction
Reversible logic is emerging as a promising computing paradigm with applications in emerging technologies such as quantum computing, quantum dot cellular automata, optical computing, etc. [3, 4, 5, 12, 22, 26]. Reversible circuits are those circuits that do not lose information and reversible computation in a system can be performed only when the system comprises of reversible gates. These circuits can generate unique output vector from each input vector, and vice versa, that is, there is a one-to-one mapping between the input and output vectors. Landauer has shown in [1] that for irreversible logic computations, each bit of information lost, generates kTln2 joules of heat energy, where k is Boltzmanns constant and T the absolute temperature at which computation is performed. Bennett showed that kTln2 energy dissipation would not occur, if a computation is carried out in a reversible way [2], since the amount of energy dissipated in a system bears a direct relationship to the number of bits erased during computation. This makes reversible logic in demand for low power VLSI circuits working even beyond the thermodynamic limits of computation [8, 17]. One of the emerging
Section 3 deals with the proposed TR reversible gate. Section 4 deals with designs of reversible subtractor units using TR gate. Section 5 provides the conclusions of this work.
230
B passed in complemented form by using a NOT gate. Since NAND is a universal gate, it demonstrates the universal nature of the proposed TR gate. It is quite complex to determine the quantum cost of a reversible gate. Thus, we have estimated the quantum cost of TR gate from the quantum implementation of Toffoli gate, i.e., by realizing the TR gate from 1 Toffoli gate, 2 NOT gates and 1 CNOT gate as shown in Figure 11. Thus, the proposed quantum cost of TR gate will be quantum cost of 1 CNOT gate+ quantum cost of 1 Toffoli gate =6 (quantum cost of NOT gates are zero). We want to emphasize that this is not an efficient method of determining the quantum cost of TR gate. For example, Peres gate can be derived from Toffoli gate, by cascading a CNOT gate at the outputs P and Q of Toffoli gate as shown in Fig. 12. In this manner, the quantum cost of Peres gate should be quantum cost of 1 Toffoli gate + quantum cost of 1 CNOT gate= 6. But in optimal quantum realization as shown previously in Fig.6, the quantum cost of Peres gate is 4 which is 1 less than the cost of the Toffoli gate. Thus, it can be expected that the optimal quantum cost of TR gate will be lower than or equal to the proposed implementation but in any case will not be higher than 6. In this work, the main purpose of estimating the quantum cost of TR gate is to have the comparison of the subtractors designs based on it, with the existing reversible binary subtractor designs in literature.
231
have done our comparison with the designs in [16] as to the best of our knowledge; it is the only work in literature describing the designing of reversible binary subtractors. Thus proposed design achieves 50% reduction in number of reversible gates and 66% reduction in number of garbage outputs with quantum cost, as same as, of the design in [16]. Table 2. Truth Table of Half Subtractor
A 0 0 1 1 B 0 1 0 1 Borr 0 1 0 0 Diff 0 1 1 0
Figure 11. Proposed Quantum Cost estimation of TR gate by using 1 Toffoli gate, 2 NOT gate and 1 CNOT gate
Figure 12. Realization of Peres gate from 1 Toffoli gate + 1 CNOT gate
Figure 13. Proposed TR gate Based Design of Reversible Half Subtractor Table 3. A Comparison of Reversible Half Subtractors
# of Gates # of Garbage Outputs 2 3 1 50% 1 66% Quantum cost 6 6 Same cost
since 1 bit can produce only two distinct output combinations. Since (22=4) >3, thus it will require at least 2 garbage outputs to have 3 different output combinations for the inputs (0,0,0),(1,0,1) and (1,1,0). Table 4. Truth Table of Full Subtractor
A 0 0 0 0 1 1 1 1 B 0 0 1 1 0 0 1 1 C 0 1 0 1 0 1 0 1 Borr 0 1 1 1 0 0 0 1 Diff 0 1 1 0 1 0 0 1
The proposed design of the reversible full subtractor is shown in Fig.14. It requires two TR gates to design a reversible full subtractor with only two garbage outputs and quantum cost of 12. Thus the proposed TR gate realizes the full subtractor with bare minimum of two garbage outputs. The existing design in literature [16] requires 5 reversible gates, 9 garbage outputs and quantum cost of 17. A comparison of reversible full subtractors is shown in Table 5. From Table 5, we can see that proposed design based on TR gate has an improvement ratio of 60% in terms of number of reversible gates, 77% in terms of garbage outputs and 30% in terms of quantum cost compared to existing design in literature.
Figure 15. Proposed TR gate Based Design of Reversible Parallel Subtractor Table 6. A Comparison of Reversible Parallel Subtractor Figure 14. Proposed TR gate Based Design of Reversible Full Subtractor
# of Gates 17 7 64.7% # of Garbage Outputs 30 7 77% Quantum cost 55 42 20%
5. Conclusions
We have designed efficient reversible subtractors using a novel reversible TR gate. The quantum cost of the TR gate is also estimated. The proposed reversible subtractor designs are shown better than the existing
233
one in literature in terms of number of reversible gates, garbage outputs and quantum cost. The proposed work shows that in reversible logic, the design of a specific reversible gate for a particular function can be very much beneficial. This can help in achieving the reductions in number of reversible gates, garbage outputs and quantum cost, and can be considered an important contribution of this work to the reversible logic community along with the design of efficient binary subtractors.
[15]
[16]
6. References
[1] R. Landauer, Irreversibility and Heat Generation in the Computational Process, IBM J. 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] A.N. Al-Rabadi, Reversible Logic Synthesis: From Fundamentals to Quantum Computing, SpringerVerlag, New York, First Edition, 2004 [4] V. Vedral, A. Bareno and A. Ekert, Quantum Networks for Elementary Arithmetic Operations. arXiv:quant-ph/9511018 v1. (nov 1995) [5] H. Thapliyal and N. Ranganathan, "Reversible Logic Based Concurrently Testable Latches for Molecular QCA", To appear IEEE Trans. on Nanotechnology, 2009. [6] D. Maslov, "Reversible Logic Synthesis", Phd. Thesis, University of New Brunswick, Canada, Oct 2003. [7] K. Patel, I. Markov, and J. Hayes, ``Optimal Synthesis of Linear Reversible Circuits,'' Quantum Information and Computation, vol. 8, no. 3-4, pp. 282-294, 2008. [8] A. D. Vos and Y. Van Rentergem, Power consumption in reversible logic addressed by a ramp voltage, Proc. of the 15th Intl. Workshop Patmos 2005, Lecture Notes of Computer Science, vol. 3728, pp. 207-216, SpringerVerlag, Oct 2005. [9] E. Fredkin, T Toffoli, Conservative Logic, Int. J. Theor. Phys, vol. 21, no. 34, pp. 219253, 1982 [10] T. Toffoli, Reversible Computing, Tech memo MIT/LCS/TM-151, MIT Lab for Computer Science (1980). [11] A. Peres, Reversible logic and quantum computers, Phys. Rev. A, Gen. Phys., vol. 32, no. 6, pp. 3266 3276, Dec. 1985. [12] H. Thapliyal and N. Ranganathan, "Testable Reversible Latches for Molecular QCA", Proc. of the 8th Intl. Conf. on Nanotechnology, Arlington, TX, Aug 2008, pp. 699-702. [13] J. Mathew, H. Rahaman, B.R. Jose, D.K. Pradhan, "Design of Reversible Finite Field Arithmetic Circuits with Error Detection", Proc. of the 21st Intl. Conf. on VLSI Design, Hyderabad, India, Jan 2008, pp.453-459. [14] J.W. Bruce, M.A. Thornton, L. Shivakumariah, P.S. Kokate and X.Li, "Efficient Adder Circuits Based on a Conservative Logic Gate", Proc. of the IEEE Computer
234
[21]
[22]
[23] [24]
[25]
[26]
Society Annual Symposium on VLSI, April 2002, Pittsburgh, PA, USA, pp 83-88. H. M. H. Babu, M. R. Islam, S.M. Ali Chowdhury and A. R.Chowdhury, "Synthesis of Full-Adder Circuit Using Reversible Logic", Proc. of the 17th International Conference on VLSI Design (VLSI Design 2004), January 2004, Mumbai, India,pp-757-760. H. Thapliyal, M.B Srinivas and H.R Arabnia, Reversible Logic Synthesis of Half, Full and Parallel Subtractors, Proc. of the 2005 Intl. Conf. on Embedded Systems and Applications, June 2005, Las Vegas, pp.165-181. M.P Frank, Introduction to reversible computing: motivation, progress, and challenges, Proc. of the 2nd Conf. on Computing Frontiers, 2005, pp 385390. D. Maslov and G. W. Dueck, Reversible Cascades with Minimal Garbage, IEEE Trans. on CAD, vol. 23(11), pp. 1497-1509, Nov. 2004 Digital Signal Processing (DSP) Blocks in Stratix Devices, available online at www.altera.com W.N. N. Hung, X. Song, G. Yang, J. Yang, and M. Perkowski, "Optimal Synthesis of Multiple Output Boolean Functions Using a Set of Quantum Gates by Symbolic Reachability Analysis", IEEE Trans. Computer-Aided Design, Vol. 25, No. 9,pp.1652-1663, Sep 2006. C. Chavet, C. Andriamisaina, P. Coussy, E. Casseau, E. Juin, P. Urard, E. Martin, "A design flow dedicated to multi-mode architectures for DSP applications", Proc. of the IEEE/ACM Intl. Conf. on Computer-Aided Design (ICCAD07), San Jose, CA, Nov. 2007,pp.604611 H. Thapliyal and N. Ranganathan, "Conservative QCA Gate (CQCA) for Designing Concurrently Testable Molecular QCA Circuits", Proc. of the 22nd Intl. Conf. on VLSI Design, New Delhi, India, Jan 2009, pp. 511516 M.K. Thomsen and R. Glck, "Optimized reversible binary-coded decimal adders", Vol.54, no.7, pp.697706, Jul 2008. J. A. Smolin, D. P. DiVincenzo, Five Two-Bit Quantum Gates are Sufficient to Implement the Quantum Fredkin Gate, Physical Review A, 53, 1996, pp.2855-2856. P. Gupta, A. Agarwal, and N. K. Jha, An Algorithm for Synthesis of Reversible Logic Ciruits, IEEE Trans. Computer-Aided Design, vol. 25, no. 11, pp. 23172330, Nov. 2006 X. Ma, J. Huang, C. Metra, F.Lombardi, Reversible Gates and Testability of One Dimensional Arrays of Molecular QCA, Springer Journal of Electronic Testing, Vol. 24, No. 1-3, pp.297-311, Jan 2008.