AN IMPROVED DESIGN OF REVERSIBLE BINARY TO BINARY CODED DECIMAL CONVERTER FOR BINARY CODED DECIMAL MULTIPLICATION



Similar documents
An Extension to DNA Based Fredkin Gate Circuits: Design of Reversible Sequential Circuits using Fredkin Gates

A New Reversible TSG Gate and Its Application For Designing Efficient Adder Circuits

A Beginning in the Reversible Logic Synthesis of Sequential Circuits

COMPARATIVE ANALYSIS OF 4-BIT AND 8-BIT REVERSIBLE BARREL SHIFTER DESIGNS USING REVKIT

NEW adder cells are useful for designing larger circuits despite increase in transistor count by four per cell.

Binary Adders: Half Adders and Full Adders

Keywords Quantum logic gates, Quantum computing, Logic gate, Quantum computer

Optimization and Comparison of 4-Stage Inverter, 2-i/p NAND Gate, 2-i/p NOR Gate Driving Standard Load By Using Logical Effort

MEP Y9 Practice Book A

International Journal of Electronics and Computer Science Engineering 1482

Floating Point Fused Add-Subtract and Fused Dot-Product Units

Oct: 50 8 = 6 (r = 2) 6 8 = 0 (r = 6) Writing the remainders in reverse order we get: (50) 10 = (62) 8

A New Low Power Dynamic Full Adder Cell Based on Majority Function

Design and FPGA Implementation of a Novel Square Root Evaluator based on Vedic Mathematics

A Novel Low Power, High Speed 14 Transistor CMOS Full Adder Cell with 50% Improvement in Threshold Loss Problem

COMBINATIONAL CIRCUITS

Chapter 2 Logic Gates and Introduction to Computer Architecture

A single register, called the accumulator, stores the. operand before the operation, and stores the result. Add y # add y from memory to the acc

Efficient Interconnect Design with Novel Repeater Insertion for Low Power Applications

The string of digits in the binary number system represents the quantity

Implementation of Modified Booth Algorithm (Radix 4) and its Comparison with Booth Algorithm (Radix-2)

United States Naval Academy Electrical and Computer Engineering Department. EC262 Exam 1

Counters and Decoders

Understanding Logic Design

Useful Number Systems

High Speed Gate Level Synchronous Full Adder Designs

Design of Low Power One-Bit Hybrid-CMOS Full Adder Cells

Lab 1: Full Adder 0.0

Design of Energy Efficient Low Power Full Adder using Supply Voltage Gating

A High Performance Binary to BCD Converter

2011, The McGraw-Hill Companies, Inc. Chapter 3

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

Chapter 1: Digital Systems and Binary Numbers

An Efficient RNS to Binary Converter Using the Moduli Set {2n + 1, 2n, 2n 1}

Let s put together a Manual Processor

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

DEPARTMENT OF INFORMATION TECHNLOGY

Design Verification and Test of Digital VLSI Circuits NPTEL Video Course. Module-VII Lecture-I Introduction to Digital VLSI Testing

BINARY CODED DECIMAL: B.C.D.

Binary Number System. 16. Binary Numbers. Base 10 digits: Base 2 digits: 0 1

CMOS Binary Full Adder

10 BIT s Current Mode Pipelined ADC

Levent EREN A-306 Office Phone: INTRODUCTION TO DIGITAL LOGIC

High Speed and Efficient 4-Tap FIR Filter Design Using Modified ETA and Multipliers

HIGH SPEED AREA EFFICIENT 1-BIT HYBRID FULL ADDER

A Novel Cryptographic Key Generation Method Using Image Features

Two's Complement Adder/Subtractor Lab L03

Sistemas Digitais I LESI - 2º ano

Circuits and Boolean Expressions

Performance Comparison of an Algorithmic Current- Mode ADC Implemented using Different Current Comparators

Basic Logic Gates Richard E. Haskell

LOW POWER MULTIPLEXER BASED FULL ADDER USING PASS TRANSISTOR LOGIC

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

CSE140 Homework #7 - Solution

Module 4 : Propagation Delays in MOS Lecture 22 : Logical Effort Calculation of few Basic Logic Circuits

Filling the consistency and reliability gap in elastic cloud an IaaS approach

Binary Numbering Systems

Design and Development of Virtual Instrument (VI) Modules for an Introductory Digital Logic Course

Systems I: Computer Organization and Architecture

ONLINE TESTING IN TERNARY REVERSIBLE LOGIC

ASYNCHRONOUS COUNTERS

EXPERIMENT 4. Parallel Adders, Subtractors, and Complementors

Introduction to computer science

Module 3: Floyd, Digital Fundamental

Gates & Boolean Algebra. Boolean Operators. Combinational Logic. Introduction

To convert an arbitrary power of 2 into its English equivalent, remember the rules of exponential arithmetic:

BOOLEAN ALGEBRA & LOGIC GATES

FORDHAM UNIVERSITY CISC Dept. of Computer and Info. Science Spring, Lab 2. The Full-Adder

Numerical Research on Distributed Genetic Algorithm with Redundant

Logic in Computer Science: Logic Gates

Lecture 8: Synchronous Digital Systems

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

ISSN: ISO 9001:2008 Certified International Journal of Engineering Science and Innovative Technology (IJESIT) Volume 2, Issue 3, May 2013

A CDMA Based Scalable Hierarchical Architecture for Network- On-Chip

VHDL Test Bench Tutorial

RAM & ROM Based Digital Design. ECE 152A Winter 2012

HCF4028B BCD TO DECIMAL DECODER

ANALOG & DIGITAL ELECTRONICS

Gates, Circuits, and Boolean Algebra

Lecture 8: Binary Multiplication & Division

exclusive-or and Binary Adder R eouven Elbaz reouven@uwaterloo.ca Office room: DC3576

Binary Division. Decimal Division. Hardware for Binary Division. Simple 16-bit Divider Circuit

SIM-PL: Software for teaching computer hardware at secondary schools in the Netherlands

ERROR DETECTION AND CORRECTION

ECE410 Design Project Spring 2008 Design and Characterization of a CMOS 8-bit Microprocessor Data Path

Upon completion of unit 1.1, students will be able to

Arbitrary Density Pattern (ADP) Based Reduction of Testing Time in Scan-BIST VLSI Circuits

Static-Noise-Margin Analysis of Conventional 6T SRAM Cell at 45nm Technology

Microprocessor & Assembly Language

Volume 11 Issue 7 Version 1.0 December 2011 Type: Double Blind Peer Reviewed International Research Journal Publisher: Global Journals Inc.

1. Give the 16 bit signed (twos complement) representation of the following decimal numbers, and convert to hexadecimal:

Numbering Systems. InThisAppendix...

DB19. 4-Bit Parallel Adder/ Subtractor. Digital Lab Experiment Board Ver. 1.0

How To Fix A 3 Bit Error In Data From A Data Point To A Bit Code (Data Point) With A Power Source (Data Source) And A Power Cell (Power Source)

ABB i-bus EIB Logic Module LM/S 1.1

Transcription:

American Journal of Applied Sciences 11 (1): 69-73, 2014 ISSN: 1546-9239 2014 Science Publication doi:10.3844/ajassp.2014.69.73 Published Online 11 (1) 2014 (http://www.thescipub.com/ajas.toc) AN IMPROVED DESIGN OF REVERSIBLE BINARY TO BINARY CODED DECIMAL CONVERTER FOR BINARY CODED DECIMAL MULTIPLICATION 1 Praveena Murugesan and 2 Thanushkodi Keppanagounder 1 Department of ECE, Anna University, Tamilnadu, India 2 Akshaya College of Engineering and Technology, Coimbatore, Tamilnadu, India Received 2012-09-17; Revised 2013-09-19; Accepted 2013-11-28 ABSTRACT Reversible logic gates under ideal conditions produce zero power dissipation. This factor highlights the usage of these gates in optical computing, low power CMOS design, quantum optics and quantum computing. The growth of decimal arithmetic in various applications as stressed the need to propose the study on reversible binary to BCD converter which plays a greater role in decimal multiplication for providing faster results. The different parameters such as gate count,garbage output and constant input are more optimized in the proposed fixed bit binary to binary coded decimal converter than the existing design. Keywords: Reversible Logic, BCD Multiplication, Quantum Computing, Nanotechnology 1. INTRODUCTION correlation between each of its input and output assignment (Haghparast and Navi, 2008a). Since the usage of fanouts are disallowed in the reversible logic circuits, additional logic gates can be introduced inorder to achieve the required result. The parameters that are used in the measurement of performance and complexity of reversible logic circuits are as follows (Haghparast and Navi, 2008b): The electronic industry faced a greater challenge to decrease the energy dissipation of circuits along with the wide advancements in the era of integrated circuits. The above fact is the main reason for designing reversible logic gates for reducing the power dissipation which in recent years has gained greater momentum. According to the principle of Landauer (1961), the conventional combinational logic circuits dissipate Number of reversible gates energy due to the information loss in the process. The Quantum cost Hardware Complexity energy dissipation of KTln2 joules occurs for each bit of Constant inputs and information where K is the Boltzmann s constant of Garbage outputs 1.38 10 23 J/K and T is the absolute temperature at which the computations are performed. This dissipation has got greater impact on the life and speed of CMOS devices. Many researchers demonstrated that the energy dissipation can be kept under control by the introduction of reversible logic gates. A reversible logic gate is a k-input and k-output device (denoted k*k) where inputs must be equal to its outputs. Reversible gate can generate unique output pattern for each input vector and vice versa i.e., there is arithmetic (Ahmed, 2011). Corresponding Author: Praveena Murugesan, Department of ECE, Anna University, Tamilnadu, India Decimal arithmetic has its wide usage in financial and commercial applications. It plays greater role in these applications because of its high level of accuracy but it is slower than binary arithmetic. This led to the need for determining standard specifications for decimal floating-point arithmetic. Thus the new revision of the IEEE standard (IEEE 754-2008) includes specifications for decimal floating point 69

In this study an improved design of reversible binary to BCD converter is introduced. The usage of n bit converters for fixed bit binary to Binary Coded Decimal conversion is expensive in terms of gate count and quantum cost. Therefore a 7 bit binary to 8 bit BCD converter is introduced in this study. This technique produces better results when compared with the earlier works done in reversible binary to BCD converter. The structure of this study is as follows. Firstly this study introduces the reversible gates required in the implementation of the proposed design. Secondly the proposed reversible gates are described. Then the proposed architecture details are mentioned with an examples and finally the comparative analysis is done. Fig. 1. Feynman gate Fig. 2. BVF gate 2. MATERIALS AND METHODS 2.1. Basic Reversible Logic Gates The reversible logic gates required in the implementation of reversible binary to BCD converter are discussed below. A 2*2 Feynman gate (Feynman, 1986) also called Controlled NOT is shown in Fig. 1. It is a basic gate which is used to copy a input and to invert a input bit. The Input vector I v and the Output vector O v of Feymann gate are I v = (A, B) and the O v = (P = A, Q = A B) respectively. A reversible 4*4 BVF gate (Bhagyalakshmi and Venkatesha, 2010) in Fig. 2 contains XOR gate at the output Q and S. Therefore it allows for the duplication of the inputs inorder to overcome the fanout which is not allowed in reversible circuits. In contrast to FG gate where duplication of single input takes place, in BVF gate duplication of both the inputs are done. Consider for example, the Input vector I V = (1,0,1,0) then the output vector becomes O V = (1,1,1,1). A single HNG gate (Haghparast and Navi, 2008b) can implement all the functions of a reversible full adder unit which is depicted in Fig. 3. This gate produces two garbage outputs and requires one constant input to function as a full adder unit. Therefore in a 4 bit adder it has 8 garbage outputs and 4 constant inputs which is considered to be minimal. The 5*5 reversible MPS gate (Praveena and Thanushkodi, 2012) can work as BCD detection and correction gate is depicted in Fig. 4. When the outputs are greater than 1001 (9) then MPS gate detects it and corrects it with the addition of 0110(6). 70 Fig. 3. HNG gate Fig. 4. MPS gate 2.2. Proposed Gates Two reversible gates Binary Coded Decimal Higher significant digit (BCDH) and Binary Coded Decimal Lower significant digit (BCDL) are proposed in this study to convert the higher significant binary bits to its valid BCD digit. Consider the seven binary bits b 6 b 5 b 4 b 3 b 2 b 1 b 0 to be converted into Binary Coded Decimal digits. In this b 6 b 5 b 4 are higher significant binary bits. These b 6 b 5 b 4 (HSBs) bits contribute differently towards the lower and higher significant BCD digits. The below equation clearly explains the contribution of the b 6 b 5 b 4 bits: b 6 2 6 + b 5 2 5 + b 4 2 4 For example consider 011(HSB), by the above equation the value will be 48 which is represented as 0100 and 1000 where 0100 is higher significant BCD digit and 1000 is lower significant BCD digit. Truth table of BCDH and BCDL gate can be drawn from the logic function representation and it will clearly

show that the gates are reversible by having unique output for each of its input. This verifies the criteria of reversible logic gates. 2.3. BCDH Gate The proposed BCDH gate in Fig. 5 is a 4*4 reversible logic gate. The gate can be used to obtain the higher significant Binary Coded Decimal digit from the higher significant binary bits. For example when the input to BCDH gate is 0100 (Higher significant binary bits) then the output obtained from this gate is 0110. The logic function representation of the gate is shown below: Fig. 5. BCDH gate Fig. 6. BCDL gate P = m (6,7,10,11,12,13,14,15) Q = m (3,4,5,9,12,13,14,15) R = m (2,4,5,7,8,11,14,15) S = m (1,2,5,6,9,11,13,15) 2.4. BCDL Gate The 4*4 BCDL gate is used to derive the lower significant BCD digits from the higher significant binary bits is depicted in Fig. 6. When input to BCDL gate is 0100 (Higher significant binary bits) then the output obtained from BCDL gate is 0100. The logic function representation of the gate is as shown below: P = m (3,5,7,11,12,13,14,15) Q = m (1,4,7,9,10,13,14,15) R = m (1,2,5,8,10,11,14,15) S = m (6,8,9,10,11,12,13,15) 2.5. Proposed Architecture The proposed reversible binary to BCD converter architecture is a alteration of the architecture in (Bhattacharya et al., 2010) to make it appropriate for reversible logic execution. The reversible 7 bit binary to 8 bit BCD converter architecture is shown in Fig. 7. Consider binary bits b 6 b 5 b 4 b 3 b 2 b 1 b 0 which are to be converted to BCD bits c 7 c 6 c 5 c 4 c 3 c 2 c 1 c 0. The lower significant binary bits b 3 b 2 b 1 b 0 are sent through the MPS gate where the BCD detection and correction takes place. This gate adds the correction factor 0110, when the bits are greater than 1001. The higher significant binary bits b 6 b 5 b 4 are duplicated by the usage of BVF and FG gates. Bits b 4 and b 5 are duplicated by the BVF gate and b 6 is copied by the usage of FG gate. 71 Fig. 7. Architecture of reversible 7 bit binary to 8 bit BCD converter These two sets of b 6 b 5 b 4 are sent to the BCDH and BCDL gates respectively. From these gates the higher and lower significant BCD digits are obtained. The multiplication of two BCD digits will ultimately result only in the following combinations of b 6, b 5 and b 4 and they are 000, 001, 010, 011, 100 and 101 (Bhattacharya et al., 2010). Based on the above logic the reversible BCDH and BCDL gates are designed.

Table 1. Analysis of proposed reversible 7 bit binary to 8 bit BCD converter No of No. of No. of Gate reversible gates constant inputs Garbage outputs HNG 9 14 20 MPS 2 2 0 BVF 1 2 0 FG 1 1 0 BCDH 1 1 0 BCDL 1 1 0 Total 15 21 20 Table 2. Comparative analysis of Various Reversible Binary to BCD converter Reversible binary No. of No. of to BCD No. of constant garbage converter gates inputs outputs Delay Raj mohan 49 61 64 49 Rajmohan et al. (2010) Proposed 15 21 20 15 Fig. 8. Example of a binary to BCD conversion Final result is 1000 0001 The outputs of BCDL are checked for the needed BCD correction through the MPS gate,and the carry that is obtained is added with the carry obtained from the lower significant binary bits through the HNG gate. Then the possible sum and carry is added with the higher significant BCD digit through the 4 bit adders. The outputs of both the MPS gates are added to obtain the BCD bits c 3 c 2 c 1 c 0. The ultimate output c 7 c 6 c 5 c 4 c 3 c 2 c 1 c 0 comes from both the 4 bit adders. For example consider the structure of a binary number (1010001) 2 being transferred to its corresponding BCD digit that is 1000 0001 in Fig. 8. 3. RESULTS Table 1 analysis the details of reversible 7 bit binary to 8 bit BCD converter and Table 2 clearly compares the proposed circuit with the existing design. The Table 1 clearly shows the number of gates, number of constant inputs and number of garbage outputs that are used in the designing of the binary to BCD converter. 72 It is evident from the above table, that the proposed architecture uses a total of 15 reversible logic gates, 21 inputs and 20 garbage outputs. The proposed binary to BCD converter performs better than the existing circuits. Table 2 proves the above fact. 4. DISCUSSION Minimizing the number of reversible gates is the major constraint in designing reversible logic circuits. The proposed circuit uses a total of 15 reversible gates,which shows a clear improvement of 69.3% over the existing circuit (Rajmohan et al., 2010). In reversible logic circuits the total delay of the proposed circuit is calculated in terms of gate delays. The total delay is: Total = MPS+ HNG+ BVF+ FG+ BCDH + BCDL Total = 2 + 9 + 1 + 1 + 1 + 1 = 15 Gate delays The other important criterion in designing reversible binary to BCD converter is to lessen the number of constant inputs so as to increase the performance of the circuits. Therefore the proposed circuit is designed with an improvement of 65.5% over the existing design. Another criterion to be considered is the garbage output. The cost of the circuit increases for every

garbage bit. Therefore it is kept minimal at 20 and shows 68.7% improvement over the other circuit. 5. CONCLUSION This study presented an improved design of reversible binary to BCD converter to be used in decimal multiplication. The proposed converter reduces the overall cost of the circuit by reducing the number of gates and by optimizing other essential parameters. Though computations on reversible binary to BCD converter requires double the steps when compared to conventional combinational circuits they are very much required for many applications especially quantum computing where only reversible gates are employed in the architecture. This design will be useful in building more complex computational structures and can be used as a base for future research in designing a very optimized reversible BCD multiplier. 6. REFERENCES Ahmed, M.E.E., 2011. Decimal floating point arithmetic unit based on a fused multiply add module. MS Thesis, Electronics and Communication Engineering. Bhagyalakshmi, H.R. and M.K. Venkatesha, 2010. An improved design of a multiplier using reversible logic gates. Int. J. Eng. Sci. Technol., 2: 3838-3845. Bhattacharya, J., A. Gupta and A. Singh, 2010. A high performance Binary to BCD converter for decimal multiplication. Proceedings of the International Symposium on VLSI Design Automation and Test, Apr. 26-29, IEEE Xplore Press, Hsin Chu, pp: 315-318. DOI: 10.1109/VDAT.2010.5496752 Feynman, R., 1986. Quantum mechanical computers. Found. Phys., 16: 507-531. Haghparast, M. and K. Navi, 2008a. A novel fault tolerant reversible gate for nanotechnology based systems. Am. J. Applied Sci., 5: 519-523. DOI: 10.3844/ajassp.2008.519.523 Haghparast, M. and K. Navi, 2008b. A novel reversible BCD adder for nanotechnology based systems. Am. J. Applied Sci., 5: 282-288. DOI: 10.3844/ajassp.2008.282.288 Landauer, R., 1961. Irreversibility and heat generation in the computing process. IBM J. Res. Dev., 5: 183-191. DOI: 10.1147/rd.53.0183 Praveena, M. and K. Thanushkodi, 2012. A novel design of reversible BCD adder with reduced delay. Eur. J. Scient. Res., 83: 282-288. Rajmohan, V., V. Ranganathan and M. Rajmohan, 2010. A reversible design of BCD multiplier. J. Comput., 2: 112-117. 73