SlideShare a Scribd company logo
IOSR Journal of Computer Engineering (IOSRJCE)
ISSN: 2278-0661, ISBN: 2278-8727 Volume 5, Issue 6 (Sep-Oct. 2012), PP 42-47
www.iosrjournals.org
www.iosrjournals.org 42 | Page
Efficient Design of Reversible Sequential Circuit
Md. Selim Al Mamun1
, Indrani Mandal2
, Md. Hasanuzzaman3
1, 2
(Computer Science and Engineering, Jatiya Kabi Kazi Nazrul Islam University, Bangladesh)
3
(Computer Science and Engineering, Dhaka University, Bangladesh)
ABSTRACT: Reversible logic has come to the forefront of theoretical and applied research today. Although
many researchers are investigating techniques to synthesize reversible combinational logic, there is little work
in the area of sequential reversible logic. Latches and flip-flops are the most significant memory elements for
the forthcoming sequential memory elements. In this paper, we proposed two new reversible logic gates MG-1
and MG-2. We then proposed new design techniques for latches and flip-flops with the help of the new proposed
gates. The proposed designs are better than the existing ones in terms of number of gates, garbage outputs and
delay.
Keywords - Garbage Output, Latch, MG gate, Quantum Cost, Reversible Logic
I. INTRODUCTION
In recent year reversible logic has been considered as an important issue for computer design. The
primary reason for this is the increasing demands for lower power devices. It has been proved that for
irreversible logic computations, each bit of information loss generates kTln2 joules of heat energy, where k is
Boltzmann’s constant and T is the absolute temperature at which computation is performed [1]. The generated
heat can be problematic for larger circuits. Bennett [2] showed that circuits must be built using reversible logic
gates only to avoid the heat dissipation.
Reversible logic has a one to one correspondence between its inputs and outputs. Thus reversible
computing does not result in information loss during the computation process. Hence it naturally takes care of
heating generated due to information loss. Despite the great potential of reversible logic and these endorsements
from the leaders in the field, a little work has been done in the area of sequential reversible logic. In this paper,
we studied the existing works in this area and proposed some new designs for sequential circuits - D latch and
JK latch.
Many researchers are working in the field of reversible logic to optimize the circuit design. The main
challenges of designing reversible circuits are to reduce the number of gates, garbage outputs, constant inputs,
propagation delay and quantum cost. While designing the proposed latches, we tried to optimize the number of
gates, number of garbage outputs, delay and hardware complexity. In this paper, two new reversible logic gates
‘Mamun Gate’ MG-1 and MG-2 are proposed for the implementation of D latch and JK latch.
The rest of the paper is organized as follows: Section 2 provides the readers with the necessary
background in reversible logic. Section 3 presents our proposed reversible gate MG1 and MG2. Section 4
describes proposed design and synthesis of reversible sequential circuit. Section 5 presents the comparisons of
our design with the existing ones in literature and finally this paper is concluded with section 6
II. REVERSIBLE LOGIC GATES
In this section, some basic definitions related to reversible logic are presented. We formally define
reversible gate, garbage output, then we present some popular reversible gates along with their input-output
specifications. We also describe the quantum equivalent circuits for the popular reversible gates.
Definition 2.1. A Reversible Gate is a k-input, k-output (denoted by k*k) circuit that produces a unique output
pattern for each possible input pattern [3].
Definition 2.2. Unwanted or unused outputs which are needed to maintain reversibility of a reversible gate (or
circuit) are known as Garbage Outputs. The garbage output of Feynman gate [4] is shown in Fig.1 with *.
Definition 2.3. The delay of a logic circuit is the maximum number of gates in a path from any input line to any
output line. This definition is based on the assumptions that: (i) Each gate performs computation in one unit time
and (ii) All inputs to the circuit are available before the computation begins.
Definition 2.4. The input vector, Iv and output vector, Ov for 2*2 Feynman Gate (FG) is defined as follows: Iv =
(A, B) and Ov = (P = A, Q = A  B). The block diagram and quantum representation for 2*2 Feynman gate is
shown in Fig. 1.
Efficient Design of Reversible Sequential Circuit
www.iosrjournals.org 43 | Page
Figure 1: Block diagram and quantum representation of a 2*2 Feynman Gate.
Definition 2.5. The input vector, Iv and output vector, Ov for 3*3 Toffoli gate (TG) [5] is defined as follows: Iv =
(A, B, C) and Ov = (P = A, Q = B, R =AB  C). The block diagram and quantum representation for 3*3 Toffoli
gate is shown in Fig. 2.
Figure 2: Block diagram and quantum representation of a 3*3 Toffoli gate
Definition 2.6. The input vector, Iv and output vector, Ov for 3*3 Fredkin gate (FRG) [6] is defined as follows: Iv
= (A, B, C) and Ov = (P = A, ACBAQ  , ABCAR  ).The block diagram and quantum representation for
3*3 Fredkin gate is shown in Fig. 3.
Figure 3: Block diagram and quantum representation of a 3*3 Fredkin gate
Definition 2.7. The input vector, Iv and output vector, Ov for 3*3 Peres gate (PG)[7] is defined as follows: Iv =
(A, B, C) and Ov = (P = A, Q = A  B, R = AB  C). The block diagram and quantum representation for 3*3
Peres gate is shown in Fig. 4.
Figure 4: Block diagram and quantum representation of a 3*3 Peres gate
III. PROPOSED REVERSIBLE LOGIC GATES
In this paper we proposed two new 4x4 reversible gates named ‘Mamun Gate’: MG-1 and MG-2 Here
in this section we described the input-output specifications, block diagrams and truth tables of the proposed
gates.
3.1. Proposed MG-1 Gate
The input and output vectors of MG-1 gate are Iv=(A,B,C,D) and Ov=( DAP  , CABAQ  ,
ABCAR  , DABCAS  ). The block diagram and truth table of a 4x4 MG-1 are given in Fig. 5 and
Table I respectively.
Figure 5: Block diagram of a 4x4 MG-1 Gates
Efficient Design of Reversible Sequential Circuit
www.iosrjournals.org 44 | Page
Table I: Truth Table of a 4x4 MG-1 gate
A B C D DAP  CABAQ  ABCAR  DABCAS 
0 0 0 0 0 0 0 0
0 0 0 1 1 0 0 1
0 0 1 0 0 0 1 1
0 0 1 1 1 0 1 0
0 1 0 0 0 1 0 0
0 1 0 1 1 1 0 1
0 1 1 0 0 1 1 1
0 1 1 1 1 1 1 0
1 0 0 0 1 1 0 0
1 0 0 1 0 1 0 1
1 0 1 0 1 0 0 0
1 0 1 1 0 0 0 1
1 1 0 0 1 1 1 1
1 1 0 1 0 1 1 0
1 1 1 0 1 0 1 1
1 1 1 1 0 0 1 0
3.2. Proposed MG-2 Gate
The input and output vectors of MG-2 gate are Iv = (A, B, C, D) and Ov (P=A, CABAQ  ,
ABCAR  , DAS  . The block diagram and truth table of a 4x4 MG-2 are given in Fig. 6 and Table II
respectively..
Figure 2: Block diagram of a 4x4 MG-2 Gate
Table II: Truth table of a 4x4 MG-2 gate
A B C D P = A CABAQ  ABCAR  DAS 
0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 1
0 0 1 0 0 0 1 0
0 0 1 1 0 0 1 1
0 1 0 0 0 1 0 0
0 1 0 1 0 1 0 1
0 1 1 0 0 1 1 0
0 1 1 1 0 1 1 1
1 0 0 0 1 1 0 1
1 0 0 1 1 1 0 0
1 0 1 0 1 0 0 1
1 0 1 1 1 0 0 0
1 1 0 0 1 1 1 1
1 1 0 1 1 1 1 0
1 1 1 0 1 0 1 1
1 1 1 1 1 0 1 0
IV. DESIGN OF REVERSIBLE LATCHES USING MG GATES
Many researchers proposed their own design for sequential circuit. The designs vary in terms of
number of gates and quantum costs. In this section we described our proposed design of reversible D-Latch and
JK Latch.
Efficient Design of Reversible Sequential Circuit
www.iosrjournals.org 45 | Page
4.1. Proposed D Latch
The D Latch can be realized by only one MG-1 gate. The characteristic equation of D latch is
QCLKDCLKQ ..  . The D Latch can be mapped with MG-1 by giving CLK, D, Q and 1 respectively in 1st
,
2nd
, 3rd
and 4th
inputs of MG-1. The Fig. 7 shows the proposed D latch.
Figure 3: Proposed design of D Latch
The Master-Slave D flip-flop can be realized by two MG-1 gates. No extra gate is needed to generate
CLK . The realization of Master-Slave D flip-flop is shown in Fig. 8.
Figure 4: Master-Slave D flip-flop
4.2. Proposed JK Latch
The JK latch can be realized by one MG-1 gate and one MG-2 gate. The characteristic equation of JK
latch is )(. QKQJCLKQCLKQ  . The JK latch can be mapped first giving inputs Q, J, K, 0, respectively in
1st
, 2nd
, 3rd
and 4th
inputs of MG-2 gate. Then CLK, )QKQJ  (2nd
output of MG-2 gate), Q and 1 respectively
in 1st
, 2nd
, 3rd
and 4th
inputs of MG-1. The proposed JK flip-flop is shown in Fig. 9.
Figure 5: Proposed JK Flip-Flop
The Master-Slave JK flip-flop can be realized by two MG-1 gates and one MG-2 gate. The proposed Master-
Slave JK flip-flop is shown in Fig. 10.
Figure 6: Master-Slave JK flip-flop.
Efficient Design of Reversible Sequential Circuit
www.iosrjournals.org 46 | Page
V. RESULTS AND DISCUSSIONS
5.1. Evaluation of Proposed Reversible MG gates
The proposed reversible gates are 1 through 4x4 gates. With the help of proposed gates design of
different latches and flip-flops has been improved. As latches are most important memory block used in RAM
and FPGA, this gate can contribute significantly in reversible community
5.2. Evaluation of Proposed D Latch
Both the designs of D latch and Master-Slave D latch are optimized than the existing designs. The
comparisons are shown in Tables III and IV.
Table III: Comparisons of different designs of D latches
D Latch design Cost
No. of gates Garbage Outputs Delay
Proposed 1 1 1
Existing [8] 5 6 5
Existing [9] 2 2 2
Existing [10] 1 2 1
Existing [11] 5 5 5
Existing [12] 3 4 3
Existing [13] 1 1 1
Table IV: Comparisons of different designs of Master-Slave D latches
Master Slave D Latch Cost
No. of gates Garbage Outputs Delay
Proposed 2 2 2
Existing [8] 11 12 5
Existing [9] 5 4 2
Existing [13] 3 2 3
From the comparison tables we can see that the proposed designs of D latch are better than existing
ones in terms of number of gates, number of garbage outputs and delay.
5.3. Evaluation of Proposed JK Latch
Both of our proposed design of JK latch and Master-Slave JK latch are better than the existing ones in
literature. Tables V and VI show the comparisons of different design of JK latches.
Table V: Comparisons of different designs of JK latches
JK Latch design Cost
No. of gates Garbage Outputs Delay
Proposed 2 2 2
Existing [8] 4 8 4
Existing [9] 3 3 3
Existing [10] 2 3 2
Existing [13] 2 2 2
Table VI: Comparisons of different designs of JK latches
Master-Slave JK Latch Cost
No. of gates Garbage Outputs Delay
Proposed 3 3 3
Existing [8] 12 14 12
Existing [9] 6 5 6
Existing [13] 3 3 3
From the comparison tables we can see that the proposed designs of JK latches are better than existing
ones in terms of number of gates, number of garbage outputs and delay.
Efficient Design of Reversible Sequential Circuit
www.iosrjournals.org 47 | Page
VI. CONCLUSION
Reversible latches are going to be the main memory block for the forthcoming quantum devices. In this
paper we proposed optimized reversible D latch and JK latches with the help of proposed ‘Mamun’ gates.
Appropriate algorithms and theorems are presented to clarify the proposed design and to establish its efficiency.
We compare our design with the existing designs available in literature which claims our success in terms of
number of gates, number of garbage outputs and delay. This optimization can contribute significantly in
reversible logic community.
REFERENCES
[1] Rolf Landauer, "Irreversibility and Heat Generation in the Computing Process", IBM Journal of Research and Development, vol. 5,
pp. 183-191, 1961.
[2] Charles H.Bennett, "Logical Reversibility of computation", IBM Journal of Research and Development, vol. 17, no. 6, pp. 525-532,
1973.
[3] Hafiz Md.Hasan Babu, Md.Rafiqul Islam, Ahsan Raja Chowdhury, and Syed Mostahed Ali Chowdhury, Synthesis of full-adder
circuit using reversible logic, International Conference on VLSI Design, vol. 17, pp. 757-760, 2004.
[4] Richard P.Feynman, Quantum mechanical computers, Foundations of Physics, vol. 16, no. 6, pp. 507-531, 1986.
[5] Tommaso Toffoli, Reversible Computing, Automata, Languages and Programming, 7th Colloquium of Lecture Notes in Computer
Science, vol. 85, pp. 632-644, 1980.
[6] Edward Fredkin and Tommaso Toffoli, Conservative Logic, International Journal of Theoretical Physics, vol. 21, pp. 219-253,
1982.
[7] A. Peres, Reversible Logic and Quantum Computers, Physical Review A, vol. 32, pp. 3266-3276, 1985.
[8] J.E Rice, A New Look at Reversible Memory Elements, Proceedings International Symposium on Circuits and Systems (ISCAS,)
2006, Kos, Greece, May 21-24,2006, pp. 243-246.
[9] H. Thapliyal and A. P. Vinod, Design of reversible sequential elements with feasibility of transistor implementation, In Proc. the
2007 IEEE Intl. Symp. On Cir.and Sys., pages 625–628, New Orleans, USA, May 2007.
[10] Sadat Md. Sayem, Masashi Ueda, Optimization of reversible sequential Circuits, Journal of Computing, vol. 2, Issue 6, June 2010,
ISSN 2151-9617
[11] Ashis Kumer Biswas, Lafifa Jamal, M. A. Mottalib1, Hafiz Md. Hasan Babu. Design of a Reversible Parallel Loading Shift
Register, Dhaka Univ. J.Eng & Tech. vol 1(2) 1-5,2011.
[12] Md. Belayet Ali, Md. Mosharof Hossin and Enayat Ullah, Design of Reversible Sequential Circuit Using Reversible Logic
Synthesis, International Journal of VLSI design & Communication Systems (VLSICS) vol.2, No.4, December 2011.
[13] Bhagyalaksmi H R and Venkatesha M K, Design of Sequential Circuit Elements Using Reversible Logic Gates, World Applied
Programming, vol (2), Issue (5), May 2012. 263-271.

More Related Content

PDF
Implementation and Comparison of Efficient 16-Bit SQRT CSLA Using Parity Pres...
PDF
A Novel Design of 4 Bit Johnson Counter Using Reversible Logic Gates
PDF
Dw2645274531
PDF
C046051216
PDF
Low cost reversible signed comparator
PPT
Design and minimization of reversible programmable logic arrays and its reali...
PDF
2015 16combinepdf
PDF
Evolution of Structure of Some Binary Group-Based N-Bit Compartor, N-To-2N De...
Implementation and Comparison of Efficient 16-Bit SQRT CSLA Using Parity Pres...
A Novel Design of 4 Bit Johnson Counter Using Reversible Logic Gates
Dw2645274531
C046051216
Low cost reversible signed comparator
Design and minimization of reversible programmable logic arrays and its reali...
2015 16combinepdf
Evolution of Structure of Some Binary Group-Based N-Bit Compartor, N-To-2N De...

What's hot (19)

PDF
Power Optimization using Reversible Gates for Booth’s Multiplier
PDF
A NEW DESIGN TECHNIQUE OF REVERSIBLE BCD ADDER BASED ON NMOS WITH PASS TRANSI...
PDF
Design of Reversible Sequential Circuit Using Reversible Logic Synthesis
PDF
EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...
PDF
Feasible methodology for
PDF
17443 microprocessor
PDF
Cost Efficient Design of Reversible Adder Circuits for Low Power Applications
PPT
Minimum Cost Fault Tolerant Adder Circuits in Reversible Logic Synthesis
PDF
Low Power Implementation of Booth’s Multiplier using Reversible Gates
PDF
Bk044382388
PDF
FPGA Implementation of SubByte & Inverse SubByte for AES Algorithm
PDF
VHDL Design and FPGA Implementation of a High Data Rate Turbo Decoder based o...
PDF
Design and Synthesis of Multiplexer based Universal Shift Register using Reve...
PDF
MODIFIED GOLDEN CODES FOR IMPROVED ERROR RATES THROUGH LOW COMPLEX SPHERE DEC...
PDF
Implementation of Stronger S-Box for Advanced Encryption Standard
PDF
FPGA based BCH Decoder
PDF
W34137142
PDF
A High Throughput CFA AES S-Box with Error Correction Capability
PDF
Power and Delay Analysis of Logic Circuits Using Reversible Gates
Power Optimization using Reversible Gates for Booth’s Multiplier
A NEW DESIGN TECHNIQUE OF REVERSIBLE BCD ADDER BASED ON NMOS WITH PASS TRANSI...
Design of Reversible Sequential Circuit Using Reversible Logic Synthesis
EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...
Feasible methodology for
17443 microprocessor
Cost Efficient Design of Reversible Adder Circuits for Low Power Applications
Minimum Cost Fault Tolerant Adder Circuits in Reversible Logic Synthesis
Low Power Implementation of Booth’s Multiplier using Reversible Gates
Bk044382388
FPGA Implementation of SubByte & Inverse SubByte for AES Algorithm
VHDL Design and FPGA Implementation of a High Data Rate Turbo Decoder based o...
Design and Synthesis of Multiplexer based Universal Shift Register using Reve...
MODIFIED GOLDEN CODES FOR IMPROVED ERROR RATES THROUGH LOW COMPLEX SPHERE DEC...
Implementation of Stronger S-Box for Advanced Encryption Standard
FPGA based BCH Decoder
W34137142
A High Throughput CFA AES S-Box with Error Correction Capability
Power and Delay Analysis of Logic Circuits Using Reversible Gates
Ad

Viewers also liked (20)

PDF
A0330103
PDF
H0325660
PDF
G0354447
PDF
D0532328
PDF
D0521522
PDF
K0466974
PDF
C0311217
PDF
G0563337
PDF
E0463137
PDF
G0945361
PDF
I0545760
PDF
D0342934
PDF
A0340108
PDF
C0541925
PDF
E0441929
PDF
F0613134
PDF
E0543443
PDF
Technology Integration Pattern For Distributed Scrum of Scrum
PDF
A Study in Employing Rough Set Based Approach for Clustering on Categorical ...
PDF
E0622035
A0330103
H0325660
G0354447
D0532328
D0521522
K0466974
C0311217
G0563337
E0463137
G0945361
I0545760
D0342934
A0340108
C0541925
E0441929
F0613134
E0543443
Technology Integration Pattern For Distributed Scrum of Scrum
A Study in Employing Rough Set Based Approach for Clustering on Categorical ...
E0622035
Ad

Similar to Efficient Design of Reversible Sequential Circuit (20)

PDF
International Journal of Engineering and Science Invention (IJESI)
PDF
Design of Reversible Sequential Circuit Using Reversible Logic Synthesis
PDF
An Extensive Literature Review on Reversible Arithmetic and Logical Unit
PDF
EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...
PDF
Delay Optimization of Low Power Reversible Gate using MOS Transistor Level de...
PDF
OPTIMIZED MULTIPLIER USING REVERSIBLE MULTICONTROL INPUT TOFFOLI GATES
PDF
A Novel Design of a 4 Bit Reversible ALU using Kogge-Stone Adder
PDF
SCOPE OF REVERSIBLE ENGINEERING AT GATE-LEVEL: FAULT-TOLERANT COMBINATIONAL A...
PDF
Approach to design a high performance fault-tolerant reversible ALU
PDF
A review on reversible logic gates and their implementation
PDF
A low power adder using reversible logic gates
PDF
A low power adder using reversible logic gates
PDF
A Novel Parity Preserving Reversible Binary-to-BCD Code Converter with Testab...
PDF
High Speed Time Efficient Reversible ALU Based Logic Gate Structure on Vertex...
PDF
Low Power Reversible Parallel Binary Adder/Subtractor
PDF
Low Power Reversible Parallel Binary Adder/Subtractor
PDF
Low Power Reversible Parallel Binary Adder/Subtractor
PDF
Low Power Reversible Parallel Binary Adder/Subtractor
PDF
QUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATES
PDF
International Journal of Computational Engineering Research(IJCER)
International Journal of Engineering and Science Invention (IJESI)
Design of Reversible Sequential Circuit Using Reversible Logic Synthesis
An Extensive Literature Review on Reversible Arithmetic and Logical Unit
EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...
Delay Optimization of Low Power Reversible Gate using MOS Transistor Level de...
OPTIMIZED MULTIPLIER USING REVERSIBLE MULTICONTROL INPUT TOFFOLI GATES
A Novel Design of a 4 Bit Reversible ALU using Kogge-Stone Adder
SCOPE OF REVERSIBLE ENGINEERING AT GATE-LEVEL: FAULT-TOLERANT COMBINATIONAL A...
Approach to design a high performance fault-tolerant reversible ALU
A review on reversible logic gates and their implementation
A low power adder using reversible logic gates
A low power adder using reversible logic gates
A Novel Parity Preserving Reversible Binary-to-BCD Code Converter with Testab...
High Speed Time Efficient Reversible ALU Based Logic Gate Structure on Vertex...
Low Power Reversible Parallel Binary Adder/Subtractor
Low Power Reversible Parallel Binary Adder/Subtractor
Low Power Reversible Parallel Binary Adder/Subtractor
Low Power Reversible Parallel Binary Adder/Subtractor
QUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATES
International Journal of Computational Engineering Research(IJCER)

More from IOSR Journals (20)

PDF
A011140104
PDF
M0111397100
PDF
L011138596
PDF
K011138084
PDF
J011137479
PDF
I011136673
PDF
G011134454
PDF
H011135565
PDF
F011134043
PDF
E011133639
PDF
D011132635
PDF
C011131925
PDF
B011130918
PDF
A011130108
PDF
I011125160
PDF
H011124050
PDF
G011123539
PDF
F011123134
PDF
E011122530
PDF
D011121524
A011140104
M0111397100
L011138596
K011138084
J011137479
I011136673
G011134454
H011135565
F011134043
E011133639
D011132635
C011131925
B011130918
A011130108
I011125160
H011124050
G011123539
F011123134
E011122530
D011121524

Recently uploaded (20)

PDF
Encapsulation theory and applications.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
August Patch Tuesday
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Tartificialntelligence_presentation.pptx
PPTX
Machine Learning_overview_presentation.pptx
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
Encapsulation theory and applications.pdf
Programs and apps: productivity, graphics, security and other tools
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
A comparative study of natural language inference in Swahili using monolingua...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
OMC Textile Division Presentation 2021.pptx
August Patch Tuesday
SOPHOS-XG Firewall Administrator PPT.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Group 1 Presentation -Planning and Decision Making .pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Spectral efficient network and resource selection model in 5G networks
Tartificialntelligence_presentation.pptx
Machine Learning_overview_presentation.pptx
Heart disease approach using modified random forest and particle swarm optimi...
Network Security Unit 5.pdf for BCA BBA.
Encapsulation_ Review paper, used for researhc scholars
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Diabetes mellitus diagnosis method based random forest with bat algorithm

Efficient Design of Reversible Sequential Circuit

  • 1. IOSR Journal of Computer Engineering (IOSRJCE) ISSN: 2278-0661, ISBN: 2278-8727 Volume 5, Issue 6 (Sep-Oct. 2012), PP 42-47 www.iosrjournals.org www.iosrjournals.org 42 | Page Efficient Design of Reversible Sequential Circuit Md. Selim Al Mamun1 , Indrani Mandal2 , Md. Hasanuzzaman3 1, 2 (Computer Science and Engineering, Jatiya Kabi Kazi Nazrul Islam University, Bangladesh) 3 (Computer Science and Engineering, Dhaka University, Bangladesh) ABSTRACT: Reversible logic has come to the forefront of theoretical and applied research today. Although many researchers are investigating techniques to synthesize reversible combinational logic, there is little work in the area of sequential reversible logic. Latches and flip-flops are the most significant memory elements for the forthcoming sequential memory elements. In this paper, we proposed two new reversible logic gates MG-1 and MG-2. We then proposed new design techniques for latches and flip-flops with the help of the new proposed gates. The proposed designs are better than the existing ones in terms of number of gates, garbage outputs and delay. Keywords - Garbage Output, Latch, MG gate, Quantum Cost, Reversible Logic I. INTRODUCTION In recent year reversible logic has been considered as an important issue for computer design. The primary reason for this is the increasing demands for lower power devices. It has been proved that for irreversible logic computations, each bit of information loss generates kTln2 joules of heat energy, where k is Boltzmann’s constant and T is the absolute temperature at which computation is performed [1]. The generated heat can be problematic for larger circuits. Bennett [2] showed that circuits must be built using reversible logic gates only to avoid the heat dissipation. Reversible logic has a one to one correspondence between its inputs and outputs. Thus reversible computing does not result in information loss during the computation process. Hence it naturally takes care of heating generated due to information loss. Despite the great potential of reversible logic and these endorsements from the leaders in the field, a little work has been done in the area of sequential reversible logic. In this paper, we studied the existing works in this area and proposed some new designs for sequential circuits - D latch and JK latch. Many researchers are working in the field of reversible logic to optimize the circuit design. The main challenges of designing reversible circuits are to reduce the number of gates, garbage outputs, constant inputs, propagation delay and quantum cost. While designing the proposed latches, we tried to optimize the number of gates, number of garbage outputs, delay and hardware complexity. In this paper, two new reversible logic gates ‘Mamun Gate’ MG-1 and MG-2 are proposed for the implementation of D latch and JK latch. The rest of the paper is organized as follows: Section 2 provides the readers with the necessary background in reversible logic. Section 3 presents our proposed reversible gate MG1 and MG2. Section 4 describes proposed design and synthesis of reversible sequential circuit. Section 5 presents the comparisons of our design with the existing ones in literature and finally this paper is concluded with section 6 II. REVERSIBLE LOGIC GATES In this section, some basic definitions related to reversible logic are presented. We formally define reversible gate, garbage output, then we present some popular reversible gates along with their input-output specifications. We also describe the quantum equivalent circuits for the popular reversible gates. Definition 2.1. A Reversible Gate is a k-input, k-output (denoted by k*k) circuit that produces a unique output pattern for each possible input pattern [3]. Definition 2.2. Unwanted or unused outputs which are needed to maintain reversibility of a reversible gate (or circuit) are known as Garbage Outputs. The garbage output of Feynman gate [4] is shown in Fig.1 with *. Definition 2.3. The delay of a logic circuit is the maximum number of gates in a path from any input line to any output line. This definition is based on the assumptions that: (i) Each gate performs computation in one unit time and (ii) All inputs to the circuit are available before the computation begins. Definition 2.4. The input vector, Iv and output vector, Ov for 2*2 Feynman Gate (FG) is defined as follows: Iv = (A, B) and Ov = (P = A, Q = A  B). The block diagram and quantum representation for 2*2 Feynman gate is shown in Fig. 1.
  • 2. Efficient Design of Reversible Sequential Circuit www.iosrjournals.org 43 | Page Figure 1: Block diagram and quantum representation of a 2*2 Feynman Gate. Definition 2.5. The input vector, Iv and output vector, Ov for 3*3 Toffoli gate (TG) [5] is defined as follows: Iv = (A, B, C) and Ov = (P = A, Q = B, R =AB  C). The block diagram and quantum representation for 3*3 Toffoli gate is shown in Fig. 2. Figure 2: Block diagram and quantum representation of a 3*3 Toffoli gate Definition 2.6. The input vector, Iv and output vector, Ov for 3*3 Fredkin gate (FRG) [6] is defined as follows: Iv = (A, B, C) and Ov = (P = A, ACBAQ  , ABCAR  ).The block diagram and quantum representation for 3*3 Fredkin gate is shown in Fig. 3. Figure 3: Block diagram and quantum representation of a 3*3 Fredkin gate Definition 2.7. The input vector, Iv and output vector, Ov for 3*3 Peres gate (PG)[7] is defined as follows: Iv = (A, B, C) and Ov = (P = A, Q = A  B, R = AB  C). The block diagram and quantum representation for 3*3 Peres gate is shown in Fig. 4. Figure 4: Block diagram and quantum representation of a 3*3 Peres gate III. PROPOSED REVERSIBLE LOGIC GATES In this paper we proposed two new 4x4 reversible gates named ‘Mamun Gate’: MG-1 and MG-2 Here in this section we described the input-output specifications, block diagrams and truth tables of the proposed gates. 3.1. Proposed MG-1 Gate The input and output vectors of MG-1 gate are Iv=(A,B,C,D) and Ov=( DAP  , CABAQ  , ABCAR  , DABCAS  ). The block diagram and truth table of a 4x4 MG-1 are given in Fig. 5 and Table I respectively. Figure 5: Block diagram of a 4x4 MG-1 Gates
  • 3. Efficient Design of Reversible Sequential Circuit www.iosrjournals.org 44 | Page Table I: Truth Table of a 4x4 MG-1 gate A B C D DAP  CABAQ  ABCAR  DABCAS  0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 1 0 0 0 1 1 0 0 1 1 1 0 1 0 0 1 0 0 0 1 0 0 0 1 0 1 1 1 0 1 0 1 1 0 0 1 1 1 0 1 1 1 1 1 1 0 1 0 0 0 1 1 0 0 1 0 0 1 0 1 0 1 1 0 1 0 1 0 0 0 1 0 1 1 0 0 0 1 1 1 0 0 1 1 1 1 1 1 0 1 0 1 1 0 1 1 1 0 1 0 1 1 1 1 1 1 0 0 1 0 3.2. Proposed MG-2 Gate The input and output vectors of MG-2 gate are Iv = (A, B, C, D) and Ov (P=A, CABAQ  , ABCAR  , DAS  . The block diagram and truth table of a 4x4 MG-2 are given in Fig. 6 and Table II respectively.. Figure 2: Block diagram of a 4x4 MG-2 Gate Table II: Truth table of a 4x4 MG-2 gate A B C D P = A CABAQ  ABCAR  DAS  0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0 1 0 0 0 1 1 0 0 1 1 0 1 0 0 0 1 0 0 0 1 0 1 0 1 0 1 0 1 1 0 0 1 1 0 0 1 1 1 0 1 1 1 1 0 0 0 1 1 0 1 1 0 0 1 1 1 0 0 1 0 1 0 1 0 0 1 1 0 1 1 1 0 0 0 1 1 0 0 1 1 1 1 1 1 0 1 1 1 1 0 1 1 1 0 1 0 1 1 1 1 1 1 1 0 1 0 IV. DESIGN OF REVERSIBLE LATCHES USING MG GATES Many researchers proposed their own design for sequential circuit. The designs vary in terms of number of gates and quantum costs. In this section we described our proposed design of reversible D-Latch and JK Latch.
  • 4. Efficient Design of Reversible Sequential Circuit www.iosrjournals.org 45 | Page 4.1. Proposed D Latch The D Latch can be realized by only one MG-1 gate. The characteristic equation of D latch is QCLKDCLKQ ..  . The D Latch can be mapped with MG-1 by giving CLK, D, Q and 1 respectively in 1st , 2nd , 3rd and 4th inputs of MG-1. The Fig. 7 shows the proposed D latch. Figure 3: Proposed design of D Latch The Master-Slave D flip-flop can be realized by two MG-1 gates. No extra gate is needed to generate CLK . The realization of Master-Slave D flip-flop is shown in Fig. 8. Figure 4: Master-Slave D flip-flop 4.2. Proposed JK Latch The JK latch can be realized by one MG-1 gate and one MG-2 gate. The characteristic equation of JK latch is )(. QKQJCLKQCLKQ  . The JK latch can be mapped first giving inputs Q, J, K, 0, respectively in 1st , 2nd , 3rd and 4th inputs of MG-2 gate. Then CLK, )QKQJ  (2nd output of MG-2 gate), Q and 1 respectively in 1st , 2nd , 3rd and 4th inputs of MG-1. The proposed JK flip-flop is shown in Fig. 9. Figure 5: Proposed JK Flip-Flop The Master-Slave JK flip-flop can be realized by two MG-1 gates and one MG-2 gate. The proposed Master- Slave JK flip-flop is shown in Fig. 10. Figure 6: Master-Slave JK flip-flop.
  • 5. Efficient Design of Reversible Sequential Circuit www.iosrjournals.org 46 | Page V. RESULTS AND DISCUSSIONS 5.1. Evaluation of Proposed Reversible MG gates The proposed reversible gates are 1 through 4x4 gates. With the help of proposed gates design of different latches and flip-flops has been improved. As latches are most important memory block used in RAM and FPGA, this gate can contribute significantly in reversible community 5.2. Evaluation of Proposed D Latch Both the designs of D latch and Master-Slave D latch are optimized than the existing designs. The comparisons are shown in Tables III and IV. Table III: Comparisons of different designs of D latches D Latch design Cost No. of gates Garbage Outputs Delay Proposed 1 1 1 Existing [8] 5 6 5 Existing [9] 2 2 2 Existing [10] 1 2 1 Existing [11] 5 5 5 Existing [12] 3 4 3 Existing [13] 1 1 1 Table IV: Comparisons of different designs of Master-Slave D latches Master Slave D Latch Cost No. of gates Garbage Outputs Delay Proposed 2 2 2 Existing [8] 11 12 5 Existing [9] 5 4 2 Existing [13] 3 2 3 From the comparison tables we can see that the proposed designs of D latch are better than existing ones in terms of number of gates, number of garbage outputs and delay. 5.3. Evaluation of Proposed JK Latch Both of our proposed design of JK latch and Master-Slave JK latch are better than the existing ones in literature. Tables V and VI show the comparisons of different design of JK latches. Table V: Comparisons of different designs of JK latches JK Latch design Cost No. of gates Garbage Outputs Delay Proposed 2 2 2 Existing [8] 4 8 4 Existing [9] 3 3 3 Existing [10] 2 3 2 Existing [13] 2 2 2 Table VI: Comparisons of different designs of JK latches Master-Slave JK Latch Cost No. of gates Garbage Outputs Delay Proposed 3 3 3 Existing [8] 12 14 12 Existing [9] 6 5 6 Existing [13] 3 3 3 From the comparison tables we can see that the proposed designs of JK latches are better than existing ones in terms of number of gates, number of garbage outputs and delay.
  • 6. Efficient Design of Reversible Sequential Circuit www.iosrjournals.org 47 | Page VI. CONCLUSION Reversible latches are going to be the main memory block for the forthcoming quantum devices. In this paper we proposed optimized reversible D latch and JK latches with the help of proposed ‘Mamun’ gates. Appropriate algorithms and theorems are presented to clarify the proposed design and to establish its efficiency. We compare our design with the existing designs available in literature which claims our success in terms of number of gates, number of garbage outputs and delay. This optimization can contribute significantly in reversible logic community. REFERENCES [1] Rolf Landauer, "Irreversibility and Heat Generation in the Computing Process", IBM Journal of Research and Development, vol. 5, pp. 183-191, 1961. [2] Charles H.Bennett, "Logical Reversibility of computation", IBM Journal of Research and Development, vol. 17, no. 6, pp. 525-532, 1973. [3] Hafiz Md.Hasan Babu, Md.Rafiqul Islam, Ahsan Raja Chowdhury, and Syed Mostahed Ali Chowdhury, Synthesis of full-adder circuit using reversible logic, International Conference on VLSI Design, vol. 17, pp. 757-760, 2004. [4] Richard P.Feynman, Quantum mechanical computers, Foundations of Physics, vol. 16, no. 6, pp. 507-531, 1986. [5] Tommaso Toffoli, Reversible Computing, Automata, Languages and Programming, 7th Colloquium of Lecture Notes in Computer Science, vol. 85, pp. 632-644, 1980. [6] Edward Fredkin and Tommaso Toffoli, Conservative Logic, International Journal of Theoretical Physics, vol. 21, pp. 219-253, 1982. [7] A. Peres, Reversible Logic and Quantum Computers, Physical Review A, vol. 32, pp. 3266-3276, 1985. [8] J.E Rice, A New Look at Reversible Memory Elements, Proceedings International Symposium on Circuits and Systems (ISCAS,) 2006, Kos, Greece, May 21-24,2006, pp. 243-246. [9] H. Thapliyal and A. P. Vinod, Design of reversible sequential elements with feasibility of transistor implementation, In Proc. the 2007 IEEE Intl. Symp. On Cir.and Sys., pages 625–628, New Orleans, USA, May 2007. [10] Sadat Md. Sayem, Masashi Ueda, Optimization of reversible sequential Circuits, Journal of Computing, vol. 2, Issue 6, June 2010, ISSN 2151-9617 [11] Ashis Kumer Biswas, Lafifa Jamal, M. A. Mottalib1, Hafiz Md. Hasan Babu. Design of a Reversible Parallel Loading Shift Register, Dhaka Univ. J.Eng & Tech. vol 1(2) 1-5,2011. [12] Md. Belayet Ali, Md. Mosharof Hossin and Enayat Ullah, Design of Reversible Sequential Circuit Using Reversible Logic Synthesis, International Journal of VLSI design & Communication Systems (VLSICS) vol.2, No.4, December 2011. [13] Bhagyalaksmi H R and Venkatesha M K, Design of Sequential Circuit Elements Using Reversible Logic Gates, World Applied Programming, vol (2), Issue (5), May 2012. 263-271.