Professional Documents
Culture Documents
Ravi L S Naveen K B
Research Scholar, Adichunchanagiri University, BG Nagara Depatment of ECE
Assistant Professor, Rajeev Institute of Technology, Adichunchanagiri University
Hassan, Karnataka, INDIA BG Nagara, Mandya District, Karnataka, INDIA
ravigowda1234@gmail.com naveenkb@bgsit.ac.in
Abstract— In the integrated circuit designs, the Area, dissipation. The Arithmetic and logic unit outputs are
Power dissipation and Time delay will play an important role. designed from reversible logic.
The Speed will rises with decreasing the size of a computing
element and mean while heat dissipation will lowers with II. DEFINETIONS ESSENTIAL RELATED TO REVERSIBLE
decreasing power dissipation. Future technologies for quantum LOGIC
computing will involve reversible logic, and reversible logic
gates reduce leakage power usage. Reversible logic gates were A. Garbage Outputs
used to design the arithmetic and logical unit (ALU) in this The number of inputs and outputs can be balanced by
research work. Electronic unit such as ALU’s are built upon adding additional inputs or outputs as necessary to achieve
conventional or irreversible logic gates. Due to the saturation reversibility in certain situations. The quantity of outputs
of Moore’s law, alternating ways are formed where new needed to build a reversible n-input and k-output function is
semiconductor materials and new methodologies have been known as garbage [2]. The relationship between the
implemented. One such way is to use reversible logic gates quantity of garbage outputs and constant inputs is
instead of irreversible logic gates. In this application of VLSI
demonstrated by the straight forward formula below.
design, reversible logic has significantly emerged in power
optimization technology. To validate functionality, each + / = + / (1)
suggested design was analyzed and simulated using cadence
virtuoso. B. Quantum Costs
The quantum cost of the circuit is its cost expressed in terms
Keywords— Reversible Logic, Garbage Outputs, ALU, of a basic gate.
Quantum Cost.
Authorized licensed use limited to: MANIPAL INSTITUTE OF TECHNOLOGY. Downloaded on March 06,2024 at 10:06:35 UTC from IEEE Xplore. Restrictions apply.
circuit. ALU has a wide range of outputs. If the n number Fig. 4. FeynmanGate Quantum Cost
of inputs and outputs in the logic gate have one-to-one
mapping, then the logic gate will be reversible. The inputs
and outputs of reversible logic gates is defined by defining C. Fredkin Gate
the input vector of the digital circuit (IV) and output vector This is the reversible logic gate, defined by 3-input lines
of the digital circuit (OV) is as shown below and 3-output lines. The logic block of Fredkin gate is shown
= 1, 2, 3, 4, 5 … . (2) in fig.5 and the quantum cost of Fredkin gate in 7, which is
shown in fig.6
! ! = !1, !2, !3, !4, !5 … . ! (3)
The above equations 1 and 2 defines the input and output
lines and clearly defines that both vectors are equal in the
reversible logic based digital circuit and hence the reversible
logic gates are used to designed the ALU block.
A. Toffoli Gate
Fig. 5. Fredkin Gate
It is a 3x3reversible logic gate with three outputs (P=A,
Q=B, and R=AB XOR C) and three inputs (A, B, and C).
The fig.1 represents toffoli gate [2], in that (a) represents the
logic block of toffoli gate and (b) represents logic circuit of
toffoli gate. The Quantum cost is 5 as shown in fig.1.
D. HNG Gate
This HNG reversible gate has 4-inputs and 4-outputsas
shown in fig.7, it displays the input mapping (A, B, C, D)
and to the output mapping (P=A, Q=B, R=A ⊕ (B ⊕ C),
S=A ⊕ B.C ⊕A.B) and the quantum cost is 6 as shown in
fig. 8.
Fig. 1. Toffoli Gate &its Logic Circuit
Fig. 7. HNGGate
B. Feynman Gate
The logic block of Feynman reversible logic gate is shown in
below fig.3, which has 2-input and 2-output lines. The
quantum cost of Feynman gate is 2 and it is shown in fig.4.
Authorized licensed use limited to: MANIPAL INSTITUTE OF TECHNOLOGY. Downloaded on March 06,2024 at 10:06:35 UTC from IEEE Xplore. Restrictions apply.
reversible logic as possible. The problem of energy loss in subtraction, shifting, and Boolean comparisons (XOR, OR,
digital circuit design may be handled by utilizing reversible AND, and NOT operations) [8]. Additionally, bit wise and
logic circuits instead of traditional or conventional logic mathematical operations may be performed on binary
circuits. In this design, two Fredkin gates, a 4*4 Toffoli gate, integers. The data is sent to the computer's memory after the
and a Feynman gate are used to build the control unit. As the ALU operations has completed processing the input. ALU
whole adder unit, HNG gates are utilized. As seen in figure can do multiply operation [9] of two numbers and hence it
7, the HNG gate's outputs R and S will result in the output F can handle integer calculations and the result is likewise an
and carry Cout. The quantum cost of this design is 22. There integer. This is in addition to conducting addition and
are seven trash outputs and three constant inputs [5]. As seen subtraction calculations but ALU will not perform division
in table 1, it is capable of eight arithmetic operations and operation because as the consequences, these operation
seven logical operations. Setting S2 to logic 0 selects produces floating point numbers which cannot operated in
arithmetic operations, whereas setting S2 to logic 1 allows ALU and floating point number will be utilized for non-
logical operations to be carried out [6]. integer computations [10].
The central processing unit (CPU) is also known as the The ALU operations get more intricate, the cost of the
ALU. It is a key part of the computer system and conducts ALU increases since it consumes more CPU space and yields
both arithmetic and logic operations. An integrated circuit in more heat generation in conventional logic. Hence the
found inside a CPU or GPU [7], commonly referred to as an information will be lost cannot recover back. To overcome
integer unit (IU), is the final part of the processor to conduct this problem ALU unit [11] is designed by using reversible
computations. It is capable of carrying out the arithmetic logic gates. The proposed ALU block was designed using
operations and logical operations, including addition, reversible logic gates as shown in figure.
Fig. 9. Proposed Block Diagram Reversible Logic based Arithmetic and Logic Unit
Authorized licensed use limited to: MANIPAL INSTITUTE OF TECHNOLOGY. Downloaded on March 06,2024 at 10:06:35 UTC from IEEE Xplore. Restrictions apply.
Fig. 12. RTL Schematic of 8-Bit ALU Proposed Reversible Logic Architecture
QuantumCost 32 40 52 30 6.25 25 42
ConstantI/Ps 3 4 2 1 66.6 75 50
Total Power ( Watt) 0.108 0.112 0.118 0.107 0.1 0.5 1.1
Dynamic Power (Watt) 0.004 0.006 0.008 0.002 0.2 0.4 0.6
Authorized licensed use limited to: MANIPAL INSTITUTE OF TECHNOLOGY. Downloaded on March 06,2024 at 10:06:35 UTC from IEEE Xplore. Restrictions apply.
proposed designs can be elaborated and integrated for n-bit [6] Y. Shamala and A.V.N Tilak, “Reversibl arithemetic logic unit,” n
ALU. proceedings of the 3rd international onference on electronics computer
tehnology, Vol.5, 2011, pp. 207-211
REFERENCES [7] R.Jayashree and M.Kiran Kumar, “Design and analysis of flip-flops
using reversible logic,” International Journal of Advanced
[1] Dhoumendra Madal, Sumana Mandal and Sisir Kumar Garai, “Design Information Science and Technology (IJAIST) ISSN: 2319:2682
of all-optical binary one bit comprator using eversible logic gates”, Vol.23, No23, March 2014.
IEEE, 2017. DOI: 978-1-5386-1703-8/17.
[8] Avinash G. Keskar and Vishal R. Satpute, “Design of eight-bit novel
[2] A Kamaraj and P.Marihamy, “Design and implementation of reversible arithmetic and logic unit,” 978-0-7695-4561- 5/11, IEEE,
Arithemetic and Logic Unit (ALU) using novel rversible logic gates 2014.
in quantum cellular automa”, IEEE,2017. DOI: 978-1-5090-4559-
[9] T. Naga Babu, D. Sounder, B. Subhakara Rao and P. Bose Babu, “A
4/17.
Low Power Adder Using Reversible Logic Gates,” International
[3] Mojtaba Valinataj, Mahboobeh and Hamid Jazayeri, “ Novel low-cost Journal of Research in Engineering and Technology ISSN: 2319-
and fault tolerant reversible logic adders”, Computers nd Electrical 1163, Volume: 01, Issue: 03, Nov 2012.
Engineering, Elsevier, 2016, pp 56-72.
[10] Lenin Gopal, Nor Syahira Mohd Mahayadin, Adib Kabir
[4] Zhijin Gaun, Weiping Ding, Yueqin Hang, “An Arithemetic logic unit Chowdhury,Alpha Agape Gopalai, Ashutosh Kumar Singh “Design
design based on reversible logi gates,” IEEE Pacific RIM Conference and Synthesis of Reversible Arithmetic and Logic Unit,”
on recent trends in electronics informaton communication technology, IEEE International Conference on computer, communication,
2011, pp 925-931. control technology, pp 139 – 143, 2014..
[5] Deeptha A, Drishika Muthanna, Dhrithi M, Pratiksha M and B S [11] Umesh Kumar and Lavisha Sahu and Uma Sharma,
Kariyappa, “Design and Optimization of 8-bit ALU using Reversible “Performance Evaluation of Reversible Logic Gates,” 978-1-5090-
logic,” IEEE International cinference on Recent trends in electroics 5515-9/16, IEEE, 2016.
information communiction tchnology, 2016. DOI: 978-1-5090=0774-
5/16.
Authorized licensed use limited to: MANIPAL INSTITUTE OF TECHNOLOGY. Downloaded on March 06,2024 at 10:06:35 UTC from IEEE Xplore. Restrictions apply.