Reverse Gates Sequential
Reverse Gates Sequential
Abstract- The reversible logic design in today's era is running the system both forward and backward. This
attracting more interest due to its low power consumption. means that reversible computations can generate inputs
Reversible logic has g row ing importantance in low from outputs and can stop and go back to any point in the
power circuit design and high processing com puting. This
computation history.
paper provides synthesizing reversible counter which is the new
approach in designing four bit reversible asynchronous II. THE CONCEPT
sequential circuit. This paper also proposed a reversible D flip
flop and Tflip-f1op. The important reversible gates used for Reversibility in computing implies that no
reversible logic synthesis a r e Fe y n m a n gate, Fr e d k i n g a t e , information about the computational states can ever be lost,
TSG gate and sayem gate etc. This p a p e r presents a basic so we can recover any earlier stage by computing
reversible gate to build more complicated circuits. The backwards or lDl-computing the results. This is termed as
transistorized implementation of reversible gate presented in this
logical reversibility. The benefits of logical reversibility can
paper are completely reversible in nature i.e. it can perform both
be gained only after employing physical reversibility.
fonvard and backward computation.
Physical reversibility is a process that dissipates no energy
to heat. Absolutely perfect physical reversibility is
Keywords- Low-power VLSJ, Low-power CMOS design, reversible practically unachievable. Computing systems give off heat
logic, reversible counters. when voltage levels change from positive to negative: bits
from zero to one. Most of the energy needed to make that
I. INTRODUCTION
change i s g i v e n o f f i n t h e f o r m o f h e a t . Rather t h a n
Energy loss is an important consideration in digital circuit changing voltages to new levels, reversible circuit elements
design, also known as circuit synthesis. Part of the problem of will gradually move charge from one node to the next. This
energy dissipation is related to technological non- ideality of way, one can only expect to lose a minute amount of
switches and materials. Higher levels of integration and the energy on each transition. Reversible computing strongly
use of new fabrication processes have dramatically reduced affects digital logic designs. Reversible logic elements are
the heat loss over the last decades. Reversible logic has needed to recover the state of inputs from the outputs. It
received great attention in the recent years due to their will impact instruction sets and high-level programming
ability to reduce the power dissipation which is the main languages as well. Eventually, these will also have to be
requirement in low power VLSI design. It has wide reversible to provide optimal efficiency.
applications in low power CMOS and Optical information
processing, quantum computation and nanotechnology. III. NEED OF REVERSffiLE COMPUTING
Irreversible hardware computation results in energy Reversible computing provide Reliable and low
dissipation due to information l o s s . According to Landauer power design, high performance circuits synchronous with
research, the amount of energy d i s s i p a t e d for e v e r y speed and processing power. Reversible circuits that
irrepressible bit Operation is at least KTln2 joules, where
conserve information, by uncomputing bits instead of
K=1.3S06505*1023 m2kg2KlUoule/Kelvin-l) is the throwing them away, will soon offer the only physically
Boltzmann's constant and T is the temperature at which possible way to keep improving performance. It again
operation is performed [1]. In 1973, Bennett showed that Improve computational efficiency this can be done by
KTln2 energy would not dissipate from a system as long building circuits which reduce energy from state will save
as the system allows the reproduction 0 f t h e i n p u t s energy. Reversible computing will also lead to improvement
from 0 b s e r v e d 0 u t p u t s [ 2]. Energy dissipation can be in energy efficiency. It Increase portability of device to
reduced or even eliminated if computation becomes reduce element size to atomic size. It has incurred more
Information-lossless Reversible logic supports the process of hardware cost, but power cost and performance are dominant
A P=A
Feynman
gate
B Q=AEi7B
o
i) TRANSiSTOR iMPLEMENTATiON
Figure 2 shows the transistor implementation of the
Feynman gate. The transistor implementation is fully
reversible, that is, the given circuit can also work for forward
as well as reverse operation.
A P A
A A
B-
-SG Gle - Q=A'C'(I)B'
B A'BffiAC
C R (A'C'(I) B') $D SG
A'B ffi AC ffi D
C
0- --- 5 (A'C'@ B').D$(AS$C )
D AB ffi A'Cffi D
B
TSG Q= AEDB I) TRANSISTOR IMPLEMENTATION
Gate
Transistorized implementation of sayem gate (SG) is
0- R = AED BED c. .. = sum
shown in figure. The sayem gate is extension of Feynman
S -C A ED B ) c,,,EJ)o.:a - Cout gate. The implementation of sayem gate requires four
transistors with two buffers and two Feynman (FG) gate as
Figure 6: TSG Gate Working As Reversible Full Adder
shown in figure. The buffer is introduced so as maintain
proper voltage level. The given implementation is completely
1) TRANSISTOR IMPLEMENTATION reversible i.e. it works for both forward and backward
The transistorized implementation of TSG gate is as computation.
shown in figure
EIj------�--�
....
r u'
U�
. .
Figure 9: Transistor Implementation of Sayem Gate
E. LATCHES
I) D-LATCH
The D flip-flop is a circuit that needs only a single
input and clock pulses. The action of the D flip-flop is
straightforward. When the clock pulse transitions from low to
high, the value of D is transferred to Q. The characteristic
equation of D-Latch is Q+ =DE+E'Q. Realization can be done
using single SG gat by giving E, Q, D and 0 respectively in
Figure 7: Transistor Implementation of TSG Gate 1st, 2nd, 3rd and 4th input of SG. Fig lO(a) shows the design
of D-Latch with only Q output and Fig 10(b) shows the design F FOUR BfT ASYNCHRONOUS UP/DOWN COUNTER
of reversible D-Latch with both the output present Q and next The implementation of reversible asynchronous Up/Down
Q+ .One FG is needed to copy and produce the complement of Counter is shown in Fig. 13 [6]. The Up/Down operation of
Q from SG for the design of Fig lOeb) this reversible circuits is controlled by the control input
UP/DOWN. For UP operation, the control input should be 1
E g,
and for down operation, the control input should be O.
Q
SG
D -
Q Ql QI
0_ - g2
c,w
Fuh.
imrilli
SG Cowluilf
D
IJ,�r! ....__
... -+_--1___+-_...1.__
... -+__-"
o UI :OOUX ---.....I-----...I..--I
Figure 13: Four-bit Reversible Asynchronous Up/Down
Counter
....
- "-
:: :; ::::;: : : : : ------------ ---------
I 1: :=: r= :=
: ---- 1 ----- ::::::=:r:=�p;;.
.
. )
-" "--------- "-----------
1 -----------1---------- -----------1---------- -----------l----------l
Table I: Truth table of T flip-flop .. -
r ----- ---- , ------------ --- -------- 1 ""----------- ---------l----- -------r----1-
"c'
:: ;---�-�----
- :-
--
; ----t----- 1 1 -----:�-----i-F-
l
------ '----- --- - ------
1-- --- -r ,,---- ------
r.:;---
"1---, --;:-l----r:---:l..
" -r--- 1 -. -.- r----- -1
1 1
•• --·----- ---·-------- -
- T- --- T
� " r--- ------r----------r-----·--r- - ------- r---- - r------T - -
u --r--------T------------r---------r------------ --------T-- -- ---r-------r-
r
.. -r-----r----T----T---- -----,-- -- r - ---r---- ------
,. --[---------1--------"[--------T------------ --r ---------- ----------""["-------1"
- T-- - --T
:::=:F:=::l
Fig II: Reversible Positive Edge Triggered T Flip-flop ·
..
-n=
Q
avgyower = 1.196Ie-005
Figure 14: simulation of Feynman gate (forward direction)
CP
Q'
--
: T:::-r: ::=-:--·
·r-·-....·-·- ----·--· --·-+-·-···-·-t··-·--·-··t··-·-- - �:-:::::::=:==r:--:=�·:::�-=r-
I
" ··,-·-....·-·-1--·--.. ·- -.----.'1"--...--1'--.-.--'1"--.--.-. -·--·--·-I--- -·--·1-·---..·-r----·-·'1'
� -.-.---.'1""-...-.- 1 '--.-.--'1"..-.--.... - " '-'--' -r '--'-'--1 "'--'-"'-j "---'-'-1
"1= . ,,+. · · · ·
�]��:�+::=:]:=:: :=::+�:"�T:::::: =:: ::: l
: :V····················· ····· ····· • • • • • • • • • • • • • • • • •I �� � : : :
.
:
: :�
. -
.
� ..
.... " ,. ". !
,
T
··I·-· I�i.:
ldi'lj
"r'" . '1 -T r T" T I T T
: L : C: :r:
• • • • • • 1 • • • • • • • • • • • • • • • • ·i ::l:
" . r·· "I" T T 1:
1'"
r" · .__._ : :. : _ __
:' ::�:::: ::::::::::::::::i:::
�: q::::
:: ::::::::::::�::::::::
� "j--'-'''--'-I''-'--'''-' ----.-"[-...-".-.-.
+ __ .. __
_____ : ::=:::
.
:::::: _____ ·
..-·-· .-..t..·-·-..·-· -..·---·-1------·
, ___ __ ..:::_..:::==:::r;.l
"'--"'- [--'-'-"' 1"
.
� ..
avgyower = 2.066Se-OOS
Figure IS: simulation of Feynman gate (backward direction) avgyower = -6.S332e-007
Figure 18: simulation of Fredkin gate (backward direction)
2) FREDKlN GATE
(;Hli
3) T FLIP-FLOP
·
-m
��:: : : : : : : : ::f : : r:
.. ..
1'"----,.1
l.i 7'·
l<7"
l<:
ll il [ i � r
l
;l.:.;.. ......................... .........
I 1
) � t I: ;$ ) !i 0: ,
1!'l1�
· ···..
.
... j!,
== m m
•• m X. m.. mmm
�l_r r�
···
..
) � 1 Ii ::" .Ii � l;�
Ie';
........... .......................
____
..................................
::�
.. ........... .. ... ................................ � ...
............ ............................
.
lll]!(
{;.:. . ................................., ....• ....••....• ..........T....
"""'=""'i;,==;"'m"".......="'=
• ....••
(;Hll {�:,,,. ;=='i=='7."'= ..... ........�
.. ....=�=�=""";= . =.... .... == '=
li�._..
!l !l !l !l !"
lI�._..
J�';._..
�<.:..-..
:.i+_..
l� :
���.-..
jli=iili:j=r
ll�._..
,�.;.-..
((..:.. - ..
) I t 1/ ;$ J Ii ': &
1!l1�
avgyower = 2.9826e-004
.. . ...• .. . REFERENCES
Likewise we will get simulation of other reversible logic [8] M.-L. Chuang and c.- Y. Wang, "Synthesis of reversible sequential
elements," ACM journal of Engineering Technologies in Computing Systems
gates. (JETC), vol. 3, no. 4, 2008.