SlideShare uma empresa Scribd logo
1 de 6
Baixar para ler offline
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.

Mais conteúdo relacionado

Mais procurados

Minimum Cost Fault Tolerant Adder Circuits in Reversible Logic Synthesis
Minimum Cost Fault Tolerant Adder Circuits in Reversible Logic SynthesisMinimum Cost Fault Tolerant Adder Circuits in Reversible Logic Synthesis
Minimum Cost Fault Tolerant Adder Circuits in Reversible Logic Synthesis
Sajib Mitra
 

Mais procurados (19)

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

Destaque

Destaque (20)

A0330103
A0330103A0330103
A0330103
 
H0325660
H0325660H0325660
H0325660
 
G0354447
G0354447G0354447
G0354447
 
D0532328
D0532328D0532328
D0532328
 
D0521522
D0521522D0521522
D0521522
 
K0466974
K0466974K0466974
K0466974
 
C0311217
C0311217C0311217
C0311217
 
G0563337
G0563337G0563337
G0563337
 
E0463137
E0463137E0463137
E0463137
 
G0945361
G0945361G0945361
G0945361
 
I0545760
I0545760I0545760
I0545760
 
D0342934
D0342934D0342934
D0342934
 
A0340108
A0340108A0340108
A0340108
 
C0541925
C0541925C0541925
C0541925
 
E0441929
E0441929E0441929
E0441929
 
F0613134
F0613134F0613134
F0613134
 
E0543443
E0543443E0543443
E0543443
 
Technology Integration Pattern For Distributed Scrum of Scrum
Technology Integration Pattern For Distributed Scrum of ScrumTechnology Integration Pattern For Distributed Scrum of Scrum
Technology Integration Pattern For Distributed Scrum of Scrum
 
A Study in Employing Rough Set Based Approach for Clustering on Categorical ...
A Study in Employing Rough Set Based Approach for Clustering  on Categorical ...A Study in Employing Rough Set Based Approach for Clustering  on Categorical ...
A Study in Employing Rough Set Based Approach for Clustering on Categorical ...
 
E0622035
E0622035E0622035
E0622035
 

Semelhante a Efficient Design of Reversible Sequential Circuit

QUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATES
QUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATESQUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATES
QUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATES
DrKavitaKhare
 

Semelhante a Efficient Design of Reversible Sequential Circuit (20)

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

Mais de IOSR Journals

Mais de IOSR Journals (20)

A011140104
A011140104A011140104
A011140104
 
M0111397100
M0111397100M0111397100
M0111397100
 
L011138596
L011138596L011138596
L011138596
 
K011138084
K011138084K011138084
K011138084
 
J011137479
J011137479J011137479
J011137479
 
I011136673
I011136673I011136673
I011136673
 
G011134454
G011134454G011134454
G011134454
 
H011135565
H011135565H011135565
H011135565
 
F011134043
F011134043F011134043
F011134043
 
E011133639
E011133639E011133639
E011133639
 
D011132635
D011132635D011132635
D011132635
 
C011131925
C011131925C011131925
C011131925
 
B011130918
B011130918B011130918
B011130918
 
A011130108
A011130108A011130108
A011130108
 
I011125160
I011125160I011125160
I011125160
 
H011124050
H011124050H011124050
H011124050
 
G011123539
G011123539G011123539
G011123539
 
F011123134
F011123134F011123134
F011123134
 
E011122530
E011122530E011122530
E011122530
 
D011121524
D011121524D011121524
D011121524
 

Último

Último (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 

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.