SlideShare a Scribd company logo
1 of 4
Download to read offline
Prof. R. P. Sarnaik et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 4( Version 6), April 2014, pp.77-80
www.ijera.com 77 | P a g e
Implementation of Binary Coded Decimal Digit Adders and
Multipliers on Fpga Platform
Prof. R. P. Sarnaik (Assistant Prof.)*, Dr. S. A. Ladhake (Principal) **
*(Department of Electronics & Telecommunication, SGBAU, Amravati)
**(Sipna College Of Engineering & Technology, SGBAU, Amravati)
Abstract
Binary-coded decimal (BCD) is a class of binary encodings of decimal numbers where each decimal digit is
represented by a fixed number of bits. The main problem in existing decimal adders is the need of correction
circuit as the result is in binary form which increases delay & area. In this paper, we propose a high speed BCD
adder and multiplier without need of correction circuit. The Decimal carry-save adders (CSAs) are used to
design BCD digit adders which consist less area, low power and high speed performance. BCD Multiplier is
design using Wallace Tree Architecture, explaining the use of half and full adders for addition of intermediate
product terms obtained after the multiplication of two nibbles (4 bits).In this paper, correction free BCD Adder
is efficient one. FPGAs provide an efficient hardware platform that can be employed for accelerating decimal
algorithms. These designs are described and simulated using VHDL hardware description language Modelsim
Simulator SE 6.3f. BCD Adders & BCD Multipliers are synthesized with the help of Altera Quartus II 9.1 sp2.
Implementation results and comparison with existing designs are provided.
Keywords – BCD Adders, BCD Multiplier, Decimal Adders, Decimal Carry-Save Adders, Wallace Tree
I. Introduction
Binary calculations are not suitable for
commercial, banking, and business applications due
to the unacceptable inexact decimal to binary
conversion errors they produce. In [12] a real
example shows the extreme effect of these wrong
approximations, where it stated that if a
communication company approximates a 5% sales
tax on an item (such as a $0.70 telephone call), the
yearly loss is over than a $5 million. Software
solution to the fractional approximation problem for
decimal arithmetic is somewhat slower one.
Compared to hardware speeds, the performance of
existing decimal arithmetic software libraries is very
poor. Software solution is slower than a hardware
implementation by 100 to 1000 times [4].
Nowadays, decimal arithmetic is
implemented using software while binary arithmetic
is usually implemented by the hardware. Further, the
survey showed that 55% of the numeric data
columns, used by 51 major organization’s databases,
were decimal data types and 43.7% were integer
types which could have been stored as decimals. In
spite of this, currently, decimal floating-point
arithmetic is not supported by any microprocessors.
Decimal floating-point coprocessor could be included
in the machines that handle these calculations to
speed up these applications.
In order to convey the growing evolution of
the decimal arithmetic, efficient decimal algorithms
have to be investigated. Decimal digit adders and
decimal digit multipliers are key components of any
decimal hardware to support decimal arithmetic
applications. Therefore, efficient BCD digit units to
be used in high performance decimal hardware
accelerators. Two main contributions of this work
can be highlighted: proposing two new BCD digit
adders and proposing one new BCD digit multiplier.
These designs are described and simulated using
VHDL hardware description language and
implemented on an FPGA.
II. Related Work
In general for binary addition the long carry
chain of BCD adder slows down the addition
operation. The decimal addition is having delay
problem if BCD range exceeds. To produce BCD
digit product multiplier & multiplicand used a Look
Up Table. But for wide range of digits these Look Up
Table is inefficient.
To improve the BCD adders and BCD
multipliers speed as well as inefficiency, designers
have proposed several enhancements as follows
a) Direct decimal addition provides fast operation
[1]. In this, the designer provides technique for
new high-speed area-optimized correction-free
BCD digit adders that can be employed in
different decimal applications.
b) Decimal speculative addition gives efficient
binary multiplication [3]. In this, the linearity of
carry propagation interferes with parallel
execution using a tree representation.
RESEARCH ARTICLE OPEN ACCESS
Prof. R. P. Sarnaik et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 4( Version 6), April 2014, pp.77-80
www.ijera.com 78 | P a g e
c) Conditional speculative decimal addition having
low latency and less hardware requirements [6].
Designer preferred the (Q-T) carry tree
implementation over their parallel prefix carry tree
implementation for their proposed adder.
For high performance decimal floating point
units are used to improve speed and Optimize area
using recoding algorithm by generating partial
products. The parallel generation of partial products
is performed using signed digit radix-10 or radix-5
recodings of multipliers [6] & [8]. The partial
products is implemented in a tree structure based on a
decimal multi operand carry-save addition algorithm
that uses unconventional (non BCD) decimal-coded
number systems.
The proposed a parallel serial decimal
multiplier architecture which provides parallel serial
proposal to reduce complexity and it exploits
overlapping update to speed up pipeline [7]. The
values of the Digit Products in the successive
columns of the product array are added in binary and
converted in decimal. Their decimal alignment
generates a set of three or four serial decimal
numbers whose sum is the product.
We are using Direct Boolean expressions BCD digit
adder’s major approach which is the fastest among
other proposed adders [1]. The proposed Correction
free BCD digit adder increases the speed by applying
correction-free addition techniques [11]. Also two
new BCD digit adders and one new BCD digit
multiplier are included in paper for the purpose of
speeding up decimal arithmetic applications over
FPGAs [8] & [9].
2.1 Direct Boolean Expressions BCD Digit Adder
Design a direct BCD digit adder using a four
bit input, five bit output combinational logic. The
four bit inputs are the two BCD input digits A and B
plus the decimal carry input Cin and the five bit
outputs are the BCD digit of the decimal sum S plus
the decimal carry out Cout. For example, to add (6 + 7
= 13), this operation is translated to (0110 + 0111 =
10011) BCD. The output result (10011) BCD is the
BCD representation of the decimal number 13. The
most significant bit is the decimal carry output
generated from the addition operation, while the
other bits are the BCD summation digit. The truth
table for all output logic functions is constructed for
all possible combinations of the inputs. Since the
inputs are nine bits, the number of possible
combinations is 24
= 16. Many of these combinations
are valid since 4-bit number can take any value from
0 to (15)10. In the case when the input is not valid,
the output is set to don’t care. Table 1 consist the two
input BCD digits are assumed to be A = a3a2a1a0
and B = b3b2b1b0. The output consists of the BCD
digit sum S = s3s2s1s0 and the decimal carry output.
This adder is designed to support both
binary and decimal additions. A binary carry look-
ahead adder (CLA) is used to add two input
operands, which are either binary or decimal
numbers. The result of the binary CLA is the correct
result for binary inputs, but it needs to be corrected
for decimal inputs.
Fig1: Conventional BCD Adder
Table 1: BCD Adder
Inputs Outputs
Cin a3 a2 a1
a0
b3 b2 b1
b0
Cout s3 s2 s1
s0
0 0110 1000 1 0100
1 1001 1001 1 1001
0 1100 0001 - ----
2.2 Correction Free BCD Digit Adder
Fig 2: Correction free BCD adder
The internal architecture of the FPGA
device is used in the synthesis/implementation to
optimized speed/area. Traditionally BCD addition is
usually carried out with two stages of binary addition
(one adder for addition of the two decimal operands
and the second adder for adding correction value) and
an intermediate stage for correction logic
computation. In the first stage, the two decimal
operands are added using a 4-bit binary adder. The
correction that is performed in the second addition
stage is required whenever the result of first addition
stage is greater than 9 = (1001) BCD. The correction
Prof. R. P. Sarnaik et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 4( Version 6), April 2014, pp.77-80
www.ijera.com 79 | P a g e
is performed by adding (0110)2 to the result of the
first stage sum using another 4-bit binary adder (the
second addition stage). The correction logic increases
delay and area. The decimal value of A, B, and S can
be used to obtain their 8421 BCD representation. In
general, we can write A =a3a2a1a0, B = b3b2b1b0,
and S =s3s2s1s0, where ai, bi, and si € {0, 1}, i € {0,
1, 2, 3}. A and B can be expressed in terms of two
integers m = a3a2a1 and n = b3b2b1 as: A = 2 × m+
a0 and B = 2 × n + b0. If the two input decimal
digits A and B are 9= (1001)BCD and 8 =
(1000)BCD (last row of Table 1), respectively, then
we have: m = (100)2 = 4 , n = (100)2 = 4 and Z=
z3z2z1z0 0 = 2 × (n + m) = 2 × (4 + 4) = (16)10.This
means that the decimal carry z3 is 1 and the even
decimal digit z2 z1 z0 0 = (6)10 = (0110 )BCD. Since
the produced decimal digit is always even, only
z3z2z1z0 are forwarded to Stage2 of the BCD digit
adder. For finding the Boolean expression, first we
have to make a truth table for different combinations
of the input starting from(0000) to (1001).
Table 2: Correction Free BCD Digit Adder
Inputs Outputs
Cin a3 a2 a1
a0
b3 b2 b1
b0
Cout s3 s2 s1
s0
0 1111 0001 1 0000
0 1001 1001 1 1000
0 1111 1011 1 1010
2.3 Direct Boolean Expressions BCD Digit
Multiplier
Fig.3 BCD Digit Multiplier
In proposed BCD digit multiplier, word
“direct” means no need for neither “first finding the
binary multiplication result and then converting the
product to a BCD form” [9] nor “any recoding
process” [5].Instead, we have used a simplified
Boolean expressions to perform the “direct”
functionality. In this case, the two operands are two
decimal digits A = a3a2a1a0 and B = b3b2b1b0 and
the output P = A × B is 8 bit P7P6P5P4P3P2P1P0
(two BCD digits). Since the input is 8 bits wide, the
number of combinations in the truth table is 28
= 256.
Among all these combinations only 100
combinations are valid and the rest are invalid. All
outputs for the invalid combinations in the truth table
are set to don’t care. If the output functions depend
on more than six variables from the input variable
then it needs hierarchy of LUTs to be implemented.
An example on this is P1 which depends on all the
eight input variables. On the other hand, some
functions depend only on two variables like P0 or
four variables like P7. This means that these two
outputs consumes a single 6-input LUT each.
Wallace tree multiplier consists of three step
process, in the first step, the bit product terms are
formed after the multiplication of the bits of
multiplicand and multiplier, in second step, the bit
product matrix is reduced to lower number of rows
using half and full adders, this process continues till
the last addition remains, in the final step, final
addition is done using adders to obtain the result .
Table 3 : BCD Multiplier
(A)BCD (B)BCD P(p7p6p5p4p3p2p1)
0000 1001 00000000
1000 0010 00010110
1001 1001 10000001
1010 0001 XXXXXXXX
III. 3. Experimental Results And
Comparisons
All our proposed designs were described
using VHDL hardware description language, and
simulated to ensure correct functionality. They were
then synthesized with Altera Quartus II 9.1 sp2 tool
and then simulated in Modelsim Simulator SE 6.3f.
Synthesis results of our BCD digit adders &
multipliers are shown in Table 4 & 5. These results
show that our Correction free BCD digit adder is the
fastest among other proposed adders.
Table 4 : BCD Adder
Adders Delay(ns) Total Thermal
Power
Dissipiation (mW)
Direct BCD
Adder
15.087 71.29
Correction
Free BCD
Adder
15.000 68.54
Prof. R. P. Sarnaik et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 4( Version 6), April 2014, pp.77-80
www.ijera.com 80 | P a g e
Table 5 : BCD Multiplier
Multipliers Delay(ns) Total Thermal
Power
Dissipiation (mW)
Array
Multiplier
19.224 68.55
BCD
Wallace
Multiplier
17.913 68.54
IV. Conclusion
The different designers have proposed
several enhancements for high speed area
optimization .But, In this paper, We have studied and
implemented Direct BCD Addition approach for this.
The correction-free BCD digit adders are used which
provides correction-free addition techniques. In this
paper, two new BCD digit adders and one new BCD
digit multipliers are designed to speed up decimal
arithmetic applications over FPGA.
References
[1]. M. S. Schmookler and A. Weinberger,
“High speed decimal addition,” IEEE
Transactions on Computers, vol. 20, pp.
862–866, 1971.
[2]. R. H. Larson, “Medium speed multiply,”
IBM Technical Disclosure Bulletin, p. 2055,
1973.
[3]. H. Wetter W. Bultmann, W. Haller and A.
Worner, “Binary and decimal adder unit,”
2001.
[4]. M.F. Cowlishaw, “Decimal Floating-Point:
Algorism for Computers,” Proc. 16th IEEE
Symp. Computer Arithmetic, pp. 104-111,
July 2003.
[5]. E. M. Schwarz, “Decimal multiplication
with efficient partial product generation,” in
Proceedings of the 17th IEEE Symposium on
Computer Arithmetic, Washington, DC,
USA, 2005, ARITH ’05, pp. 21–28, IEEE
Computer Society.
[6]. A. V´azquez and EAntelo, “Conditional
speculative decimal addition,” Nancy,
France, 2006.
[7]. L. Dadda. Parallel decimal multipliers: a
hybrid approach. AlaRI Internal Report,
2006.
[8]. A. Va´zquez, E. Antelo, and P. Montuschi,
“A New Family of High-Performance
Parallel Decimal Multipliers,” Proc. 18th
IEEE Symp. Computer Arithmetic, pp. 195-
204, June 2007.
[9]. G. Jaberipur and A. Kaivani, “Binary-coded
decimal digit multipliers,” IET Computers
and Digital Techniques, vol. 1, no. 4, pp.
377–381, 2007.
[10]. N. H. Tuli´c, “Fpga implementations of
decimal arithmetic cells,” M.S. thesis,
Jordan University of Science and
Technology, May 2009.
[11]. Inc.xilinx,“Vertix5datasheet”,http://www.
xilinx.com/support/documentation/datasheet
s/ds100.pdf.
[12]. IBMCorporation,“DecimalFAQ,”
http://www2.hursley.ibm.com/decimal/decifaq1.html.
’

More Related Content

What's hot

IRJET- Efficient Design of Radix Booth Multiplier
IRJET- Efficient Design of Radix Booth MultiplierIRJET- Efficient Design of Radix Booth Multiplier
IRJET- Efficient Design of Radix Booth MultiplierIRJET Journal
 
FPGA based Real-time Automatic Number Plate Recognition System for Modern Lic...
FPGA based Real-time Automatic Number Plate Recognition System for Modern Lic...FPGA based Real-time Automatic Number Plate Recognition System for Modern Lic...
FPGA based Real-time Automatic Number Plate Recognition System for Modern Lic...IJERA Editor
 
Design of high speed area optimized binary coded
Design of high speed area optimized binary codedDesign of high speed area optimized binary coded
Design of high speed area optimized binary codedeSAT Publishing House
 
A Pipelined Fused Processing Unit for DSP Applications
A Pipelined Fused Processing Unit for DSP ApplicationsA Pipelined Fused Processing Unit for DSP Applications
A Pipelined Fused Processing Unit for DSP Applicationsijiert bestjournal
 
Paper id 25201467
Paper id 25201467Paper id 25201467
Paper id 25201467IJRAT
 
Color to Gray and back’ using normalization of color components with Cosine, ...
Color to Gray and back’ using normalization of color components with Cosine, ...Color to Gray and back’ using normalization of color components with Cosine, ...
Color to Gray and back’ using normalization of color components with Cosine, ...IOSR Journals
 
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)inventionjournals
 
Optimization and implementation of parallel squarer
Optimization and implementation of parallel squarerOptimization and implementation of parallel squarer
Optimization and implementation of parallel squarereSAT Publishing House
 
Realization of Direct Digital Synthesis in Cordic Algorithm
Realization of Direct Digital Synthesis in Cordic AlgorithmRealization of Direct Digital Synthesis in Cordic Algorithm
Realization of Direct Digital Synthesis in Cordic AlgorithmIJASRD Journal
 
Ijarcet vol-2-issue-3-1036-1040
Ijarcet vol-2-issue-3-1036-1040Ijarcet vol-2-issue-3-1036-1040
Ijarcet vol-2-issue-3-1036-1040Editor IJARCET
 
Design and implementation of high speed baugh wooley and modified booth multi...
Design and implementation of high speed baugh wooley and modified booth multi...Design and implementation of high speed baugh wooley and modified booth multi...
Design and implementation of high speed baugh wooley and modified booth multi...eSAT Publishing House
 
Design of QSD Number System Addition using Delayed Addition Technique
Design of QSD Number System Addition using Delayed Addition TechniqueDesign of QSD Number System Addition using Delayed Addition Technique
Design of QSD Number System Addition using Delayed Addition TechniqueKumar Goud
 
DESIGN OF RADIX-8 BOOTH MULTIPLIER USING KOGGESTONE ADDER FOR HIGH SPEED ARIT...
DESIGN OF RADIX-8 BOOTH MULTIPLIER USING KOGGESTONE ADDER FOR HIGH SPEED ARIT...DESIGN OF RADIX-8 BOOTH MULTIPLIER USING KOGGESTONE ADDER FOR HIGH SPEED ARIT...
DESIGN OF RADIX-8 BOOTH MULTIPLIER USING KOGGESTONE ADDER FOR HIGH SPEED ARIT...eeiej_journal
 
Design and Implementation of DMC for Memory Reliability Enhancement
Design and Implementation of DMC for Memory Reliability EnhancementDesign and Implementation of DMC for Memory Reliability Enhancement
Design and Implementation of DMC for Memory Reliability EnhancementIRJET Journal
 

What's hot (19)

IRJET- Efficient Design of Radix Booth Multiplier
IRJET- Efficient Design of Radix Booth MultiplierIRJET- Efficient Design of Radix Booth Multiplier
IRJET- Efficient Design of Radix Booth Multiplier
 
FPGA based Real-time Automatic Number Plate Recognition System for Modern Lic...
FPGA based Real-time Automatic Number Plate Recognition System for Modern Lic...FPGA based Real-time Automatic Number Plate Recognition System for Modern Lic...
FPGA based Real-time Automatic Number Plate Recognition System for Modern Lic...
 
Design of high speed area optimized binary coded
Design of high speed area optimized binary codedDesign of high speed area optimized binary coded
Design of high speed area optimized binary coded
 
A Pipelined Fused Processing Unit for DSP Applications
A Pipelined Fused Processing Unit for DSP ApplicationsA Pipelined Fused Processing Unit for DSP Applications
A Pipelined Fused Processing Unit for DSP Applications
 
Paper id 25201467
Paper id 25201467Paper id 25201467
Paper id 25201467
 
Vedic multiplier
Vedic multiplierVedic multiplier
Vedic multiplier
 
Radix8
Radix8Radix8
Radix8
 
Color to Gray and back’ using normalization of color components with Cosine, ...
Color to Gray and back’ using normalization of color components with Cosine, ...Color to Gray and back’ using normalization of color components with Cosine, ...
Color to Gray and back’ using normalization of color components with Cosine, ...
 
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)
 
Optimization and implementation of parallel squarer
Optimization and implementation of parallel squarerOptimization and implementation of parallel squarer
Optimization and implementation of parallel squarer
 
SFQ MULTIPLIER
SFQ MULTIPLIERSFQ MULTIPLIER
SFQ MULTIPLIER
 
Realization of Direct Digital Synthesis in Cordic Algorithm
Realization of Direct Digital Synthesis in Cordic AlgorithmRealization of Direct Digital Synthesis in Cordic Algorithm
Realization of Direct Digital Synthesis in Cordic Algorithm
 
Ijarcet vol-2-issue-3-1036-1040
Ijarcet vol-2-issue-3-1036-1040Ijarcet vol-2-issue-3-1036-1040
Ijarcet vol-2-issue-3-1036-1040
 
Design and implementation of high speed baugh wooley and modified booth multi...
Design and implementation of high speed baugh wooley and modified booth multi...Design and implementation of high speed baugh wooley and modified booth multi...
Design and implementation of high speed baugh wooley and modified booth multi...
 
Design of QSD Number System Addition using Delayed Addition Technique
Design of QSD Number System Addition using Delayed Addition TechniqueDesign of QSD Number System Addition using Delayed Addition Technique
Design of QSD Number System Addition using Delayed Addition Technique
 
Gt3612201224
Gt3612201224Gt3612201224
Gt3612201224
 
DESIGN OF RADIX-8 BOOTH MULTIPLIER USING KOGGESTONE ADDER FOR HIGH SPEED ARIT...
DESIGN OF RADIX-8 BOOTH MULTIPLIER USING KOGGESTONE ADDER FOR HIGH SPEED ARIT...DESIGN OF RADIX-8 BOOTH MULTIPLIER USING KOGGESTONE ADDER FOR HIGH SPEED ARIT...
DESIGN OF RADIX-8 BOOTH MULTIPLIER USING KOGGESTONE ADDER FOR HIGH SPEED ARIT...
 
2012
20122012
2012
 
Design and Implementation of DMC for Memory Reliability Enhancement
Design and Implementation of DMC for Memory Reliability EnhancementDesign and Implementation of DMC for Memory Reliability Enhancement
Design and Implementation of DMC for Memory Reliability Enhancement
 

Viewers also liked

Makalah komunikasi
Makalah komunikasiMakalah komunikasi
Makalah komunikasiWarnet Raha
 
Corporate Presentation October 2014
Corporate Presentation October 2014Corporate Presentation October 2014
Corporate Presentation October 2014PretiumR
 
FPL'2014 - FlexTiles Workshop - 8 - FlexTiles Demo
FPL'2014 - FlexTiles Workshop - 8 - FlexTiles DemoFPL'2014 - FlexTiles Workshop - 8 - FlexTiles Demo
FPL'2014 - FlexTiles Workshop - 8 - FlexTiles DemoFlexTiles Team
 
Eye Wear Japan 2009
Eye Wear Japan 2009Eye Wear Japan 2009
Eye Wear Japan 2009T G
 
Учи неучёного
Учи неучёногоУчи неучёного
Учи неучёного0leGG
 
Business Research
Business ResearchBusiness Research
Business Researchjatinegara
 
κως πορεια στο χρονο
κως πορεια στο χρονοκως πορεια στο χρονο
κως πορεια στο χρονοmanoliskav
 
Performance Analysis of OSTBC MIMO Using Precoder with ZF & MMSE Equalizer
Performance Analysis of OSTBC MIMO Using Precoder with ZF & MMSE EqualizerPerformance Analysis of OSTBC MIMO Using Precoder with ZF & MMSE Equalizer
Performance Analysis of OSTBC MIMO Using Precoder with ZF & MMSE EqualizerIJERA Editor
 
Modelo de especificação de caso de uso
Modelo de especificação de caso de usoModelo de especificação de caso de uso
Modelo de especificação de caso de usoLeandro Rodrigues
 
Educación inclusiva, diversidad y discursividad.aldo ocampo gonzález
Educación inclusiva, diversidad y discursividad.aldo ocampo gonzálezEducación inclusiva, diversidad y discursividad.aldo ocampo gonzález
Educación inclusiva, diversidad y discursividad.aldo ocampo gonzálezhipocampus0727
 
Austin's Nine Characteristics of Life
Austin's Nine Characteristics of LifeAustin's Nine Characteristics of Life
Austin's Nine Characteristics of Lifeguestf6b7ed
 
Canon printer support number
Canon printer support numberCanon printer support number
Canon printer support numbercustomeruknumber
 

Viewers also liked (19)

Makalah komunikasi
Makalah komunikasiMakalah komunikasi
Makalah komunikasi
 
Jb2516071610
Jb2516071610Jb2516071610
Jb2516071610
 
Corporate Presentation October 2014
Corporate Presentation October 2014Corporate Presentation October 2014
Corporate Presentation October 2014
 
FPL'2014 - FlexTiles Workshop - 8 - FlexTiles Demo
FPL'2014 - FlexTiles Workshop - 8 - FlexTiles DemoFPL'2014 - FlexTiles Workshop - 8 - FlexTiles Demo
FPL'2014 - FlexTiles Workshop - 8 - FlexTiles Demo
 
Reflets
RefletsReflets
Reflets
 
Eye Wear Japan 2009
Eye Wear Japan 2009Eye Wear Japan 2009
Eye Wear Japan 2009
 
Учи неучёного
Учи неучёногоУчи неучёного
Учи неучёного
 
Business Research
Business ResearchBusiness Research
Business Research
 
Liuping
LiupingLiuping
Liuping
 
κως πορεια στο χρονο
κως πορεια στο χρονοκως πορεια στο χρονο
κως πορεια στο χρονο
 
Performance Analysis of OSTBC MIMO Using Precoder with ZF & MMSE Equalizer
Performance Analysis of OSTBC MIMO Using Precoder with ZF & MMSE EqualizerPerformance Analysis of OSTBC MIMO Using Precoder with ZF & MMSE Equalizer
Performance Analysis of OSTBC MIMO Using Precoder with ZF & MMSE Equalizer
 
Customer Loyalty Dps
Customer Loyalty DpsCustomer Loyalty Dps
Customer Loyalty Dps
 
Modelo de especificação de caso de uso
Modelo de especificação de caso de usoModelo de especificação de caso de uso
Modelo de especificação de caso de uso
 
Fff
FffFff
Fff
 
Educación inclusiva, diversidad y discursividad.aldo ocampo gonzález
Educación inclusiva, diversidad y discursividad.aldo ocampo gonzálezEducación inclusiva, diversidad y discursividad.aldo ocampo gonzález
Educación inclusiva, diversidad y discursividad.aldo ocampo gonzález
 
HL15033_brochure
HL15033_brochureHL15033_brochure
HL15033_brochure
 
28757p
28757p28757p
28757p
 
Austin's Nine Characteristics of Life
Austin's Nine Characteristics of LifeAustin's Nine Characteristics of Life
Austin's Nine Characteristics of Life
 
Canon printer support number
Canon printer support numberCanon printer support number
Canon printer support number
 

Similar to Q044067780

Paper id 27201434
Paper id 27201434Paper id 27201434
Paper id 27201434IJRAT
 
IRJET - Approximate Unsigned Multiplier with Varied Error Rate
IRJET - Approximate Unsigned Multiplier with Varied Error RateIRJET - Approximate Unsigned Multiplier with Varied Error Rate
IRJET - Approximate Unsigned Multiplier with Varied Error RateIRJET Journal
 
Implementation of High Speed Low Power 16 Bit BCD Multiplier Using Excess-3 C...
Implementation of High Speed Low Power 16 Bit BCD Multiplier Using Excess-3 C...Implementation of High Speed Low Power 16 Bit BCD Multiplier Using Excess-3 C...
Implementation of High Speed Low Power 16 Bit BCD Multiplier Using Excess-3 C...IJMTST Journal
 
High –Speed Implementation of Design and Analysis by Using Parallel Prefix Ad...
High –Speed Implementation of Design and Analysis by Using Parallel Prefix Ad...High –Speed Implementation of Design and Analysis by Using Parallel Prefix Ad...
High –Speed Implementation of Design and Analysis by Using Parallel Prefix Ad...IOSRJECE
 
IRJET- Design and Implementation of Code Converters for High Speed Multiplier...
IRJET- Design and Implementation of Code Converters for High Speed Multiplier...IRJET- Design and Implementation of Code Converters for High Speed Multiplier...
IRJET- Design and Implementation of Code Converters for High Speed Multiplier...IRJET Journal
 
A digital calibration algorithm with variable amplitude dithering for domain-...
A digital calibration algorithm with variable amplitude dithering for domain-...A digital calibration algorithm with variable amplitude dithering for domain-...
A digital calibration algorithm with variable amplitude dithering for domain-...VLSICS Design
 
High Speed and Area Efficient Matrix Multiplication using Radix-4 Booth Multi...
High Speed and Area Efficient Matrix Multiplication using Radix-4 Booth Multi...High Speed and Area Efficient Matrix Multiplication using Radix-4 Booth Multi...
High Speed and Area Efficient Matrix Multiplication using Radix-4 Booth Multi...IRJET Journal
 
A Novel Efficient VLSI Architecture for IEEE 754 Floating point multiplier us...
A Novel Efficient VLSI Architecture for IEEE 754 Floating point multiplier us...A Novel Efficient VLSI Architecture for IEEE 754 Floating point multiplier us...
A Novel Efficient VLSI Architecture for IEEE 754 Floating point multiplier us...IJERA Editor
 
Design and implementation of Closed Loop Control of Three Phase Interleaved P...
Design and implementation of Closed Loop Control of Three Phase Interleaved P...Design and implementation of Closed Loop Control of Three Phase Interleaved P...
Design and implementation of Closed Loop Control of Three Phase Interleaved P...IJMTST Journal
 
Designing of Adders and Vedic Multiplier using Gate Diffusion Input
Designing of Adders and Vedic Multiplier using Gate Diffusion InputDesigning of Adders and Vedic Multiplier using Gate Diffusion Input
Designing of Adders and Vedic Multiplier using Gate Diffusion InputIRJET Journal
 

Similar to Q044067780 (20)

Paper id 27201434
Paper id 27201434Paper id 27201434
Paper id 27201434
 
H010414651
H010414651H010414651
H010414651
 
At36276280
At36276280At36276280
At36276280
 
IRJET - Approximate Unsigned Multiplier with Varied Error Rate
IRJET - Approximate Unsigned Multiplier with Varied Error RateIRJET - Approximate Unsigned Multiplier with Varied Error Rate
IRJET - Approximate Unsigned Multiplier with Varied Error Rate
 
Implementation of High Speed Low Power 16 Bit BCD Multiplier Using Excess-3 C...
Implementation of High Speed Low Power 16 Bit BCD Multiplier Using Excess-3 C...Implementation of High Speed Low Power 16 Bit BCD Multiplier Using Excess-3 C...
Implementation of High Speed Low Power 16 Bit BCD Multiplier Using Excess-3 C...
 
High –Speed Implementation of Design and Analysis by Using Parallel Prefix Ad...
High –Speed Implementation of Design and Analysis by Using Parallel Prefix Ad...High –Speed Implementation of Design and Analysis by Using Parallel Prefix Ad...
High –Speed Implementation of Design and Analysis by Using Parallel Prefix Ad...
 
C0421013019
C0421013019C0421013019
C0421013019
 
IRJET- Design and Implementation of Code Converters for High Speed Multiplier...
IRJET- Design and Implementation of Code Converters for High Speed Multiplier...IRJET- Design and Implementation of Code Converters for High Speed Multiplier...
IRJET- Design and Implementation of Code Converters for High Speed Multiplier...
 
IJETT-V9P226
IJETT-V9P226IJETT-V9P226
IJETT-V9P226
 
A digital calibration algorithm with variable amplitude dithering for domain-...
A digital calibration algorithm with variable amplitude dithering for domain-...A digital calibration algorithm with variable amplitude dithering for domain-...
A digital calibration algorithm with variable amplitude dithering for domain-...
 
N046018089
N046018089N046018089
N046018089
 
BCD ADDER (1).pptx
BCD ADDER (1).pptxBCD ADDER (1).pptx
BCD ADDER (1).pptx
 
High Speed and Area Efficient Matrix Multiplication using Radix-4 Booth Multi...
High Speed and Area Efficient Matrix Multiplication using Radix-4 Booth Multi...High Speed and Area Efficient Matrix Multiplication using Radix-4 Booth Multi...
High Speed and Area Efficient Matrix Multiplication using Radix-4 Booth Multi...
 
A Novel Efficient VLSI Architecture for IEEE 754 Floating point multiplier us...
A Novel Efficient VLSI Architecture for IEEE 754 Floating point multiplier us...A Novel Efficient VLSI Architecture for IEEE 754 Floating point multiplier us...
A Novel Efficient VLSI Architecture for IEEE 754 Floating point multiplier us...
 
BCD ADDER (1).pptx
BCD ADDER (1).pptxBCD ADDER (1).pptx
BCD ADDER (1).pptx
 
DEL LAB MANUAL
DEL LAB MANUALDEL LAB MANUAL
DEL LAB MANUAL
 
Design and implementation of Closed Loop Control of Three Phase Interleaved P...
Design and implementation of Closed Loop Control of Three Phase Interleaved P...Design and implementation of Closed Loop Control of Three Phase Interleaved P...
Design and implementation of Closed Loop Control of Three Phase Interleaved P...
 
Designing of Adders and Vedic Multiplier using Gate Diffusion Input
Designing of Adders and Vedic Multiplier using Gate Diffusion InputDesigning of Adders and Vedic Multiplier using Gate Diffusion Input
Designing of Adders and Vedic Multiplier using Gate Diffusion Input
 
Id2514581462
Id2514581462Id2514581462
Id2514581462
 
Id2514581462
Id2514581462Id2514581462
Id2514581462
 

Recently uploaded

Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
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 productivityPrincipled Technologies
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
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 WorkerThousandEyes
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
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
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 

Q044067780

  • 1. Prof. R. P. Sarnaik et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 4( Version 6), April 2014, pp.77-80 www.ijera.com 77 | P a g e Implementation of Binary Coded Decimal Digit Adders and Multipliers on Fpga Platform Prof. R. P. Sarnaik (Assistant Prof.)*, Dr. S. A. Ladhake (Principal) ** *(Department of Electronics & Telecommunication, SGBAU, Amravati) **(Sipna College Of Engineering & Technology, SGBAU, Amravati) Abstract Binary-coded decimal (BCD) is a class of binary encodings of decimal numbers where each decimal digit is represented by a fixed number of bits. The main problem in existing decimal adders is the need of correction circuit as the result is in binary form which increases delay & area. In this paper, we propose a high speed BCD adder and multiplier without need of correction circuit. The Decimal carry-save adders (CSAs) are used to design BCD digit adders which consist less area, low power and high speed performance. BCD Multiplier is design using Wallace Tree Architecture, explaining the use of half and full adders for addition of intermediate product terms obtained after the multiplication of two nibbles (4 bits).In this paper, correction free BCD Adder is efficient one. FPGAs provide an efficient hardware platform that can be employed for accelerating decimal algorithms. These designs are described and simulated using VHDL hardware description language Modelsim Simulator SE 6.3f. BCD Adders & BCD Multipliers are synthesized with the help of Altera Quartus II 9.1 sp2. Implementation results and comparison with existing designs are provided. Keywords – BCD Adders, BCD Multiplier, Decimal Adders, Decimal Carry-Save Adders, Wallace Tree I. Introduction Binary calculations are not suitable for commercial, banking, and business applications due to the unacceptable inexact decimal to binary conversion errors they produce. In [12] a real example shows the extreme effect of these wrong approximations, where it stated that if a communication company approximates a 5% sales tax on an item (such as a $0.70 telephone call), the yearly loss is over than a $5 million. Software solution to the fractional approximation problem for decimal arithmetic is somewhat slower one. Compared to hardware speeds, the performance of existing decimal arithmetic software libraries is very poor. Software solution is slower than a hardware implementation by 100 to 1000 times [4]. Nowadays, decimal arithmetic is implemented using software while binary arithmetic is usually implemented by the hardware. Further, the survey showed that 55% of the numeric data columns, used by 51 major organization’s databases, were decimal data types and 43.7% were integer types which could have been stored as decimals. In spite of this, currently, decimal floating-point arithmetic is not supported by any microprocessors. Decimal floating-point coprocessor could be included in the machines that handle these calculations to speed up these applications. In order to convey the growing evolution of the decimal arithmetic, efficient decimal algorithms have to be investigated. Decimal digit adders and decimal digit multipliers are key components of any decimal hardware to support decimal arithmetic applications. Therefore, efficient BCD digit units to be used in high performance decimal hardware accelerators. Two main contributions of this work can be highlighted: proposing two new BCD digit adders and proposing one new BCD digit multiplier. These designs are described and simulated using VHDL hardware description language and implemented on an FPGA. II. Related Work In general for binary addition the long carry chain of BCD adder slows down the addition operation. The decimal addition is having delay problem if BCD range exceeds. To produce BCD digit product multiplier & multiplicand used a Look Up Table. But for wide range of digits these Look Up Table is inefficient. To improve the BCD adders and BCD multipliers speed as well as inefficiency, designers have proposed several enhancements as follows a) Direct decimal addition provides fast operation [1]. In this, the designer provides technique for new high-speed area-optimized correction-free BCD digit adders that can be employed in different decimal applications. b) Decimal speculative addition gives efficient binary multiplication [3]. In this, the linearity of carry propagation interferes with parallel execution using a tree representation. RESEARCH ARTICLE OPEN ACCESS
  • 2. Prof. R. P. Sarnaik et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 4( Version 6), April 2014, pp.77-80 www.ijera.com 78 | P a g e c) Conditional speculative decimal addition having low latency and less hardware requirements [6]. Designer preferred the (Q-T) carry tree implementation over their parallel prefix carry tree implementation for their proposed adder. For high performance decimal floating point units are used to improve speed and Optimize area using recoding algorithm by generating partial products. The parallel generation of partial products is performed using signed digit radix-10 or radix-5 recodings of multipliers [6] & [8]. The partial products is implemented in a tree structure based on a decimal multi operand carry-save addition algorithm that uses unconventional (non BCD) decimal-coded number systems. The proposed a parallel serial decimal multiplier architecture which provides parallel serial proposal to reduce complexity and it exploits overlapping update to speed up pipeline [7]. The values of the Digit Products in the successive columns of the product array are added in binary and converted in decimal. Their decimal alignment generates a set of three or four serial decimal numbers whose sum is the product. We are using Direct Boolean expressions BCD digit adder’s major approach which is the fastest among other proposed adders [1]. The proposed Correction free BCD digit adder increases the speed by applying correction-free addition techniques [11]. Also two new BCD digit adders and one new BCD digit multiplier are included in paper for the purpose of speeding up decimal arithmetic applications over FPGAs [8] & [9]. 2.1 Direct Boolean Expressions BCD Digit Adder Design a direct BCD digit adder using a four bit input, five bit output combinational logic. The four bit inputs are the two BCD input digits A and B plus the decimal carry input Cin and the five bit outputs are the BCD digit of the decimal sum S plus the decimal carry out Cout. For example, to add (6 + 7 = 13), this operation is translated to (0110 + 0111 = 10011) BCD. The output result (10011) BCD is the BCD representation of the decimal number 13. The most significant bit is the decimal carry output generated from the addition operation, while the other bits are the BCD summation digit. The truth table for all output logic functions is constructed for all possible combinations of the inputs. Since the inputs are nine bits, the number of possible combinations is 24 = 16. Many of these combinations are valid since 4-bit number can take any value from 0 to (15)10. In the case when the input is not valid, the output is set to don’t care. Table 1 consist the two input BCD digits are assumed to be A = a3a2a1a0 and B = b3b2b1b0. The output consists of the BCD digit sum S = s3s2s1s0 and the decimal carry output. This adder is designed to support both binary and decimal additions. A binary carry look- ahead adder (CLA) is used to add two input operands, which are either binary or decimal numbers. The result of the binary CLA is the correct result for binary inputs, but it needs to be corrected for decimal inputs. Fig1: Conventional BCD Adder Table 1: BCD Adder Inputs Outputs Cin a3 a2 a1 a0 b3 b2 b1 b0 Cout s3 s2 s1 s0 0 0110 1000 1 0100 1 1001 1001 1 1001 0 1100 0001 - ---- 2.2 Correction Free BCD Digit Adder Fig 2: Correction free BCD adder The internal architecture of the FPGA device is used in the synthesis/implementation to optimized speed/area. Traditionally BCD addition is usually carried out with two stages of binary addition (one adder for addition of the two decimal operands and the second adder for adding correction value) and an intermediate stage for correction logic computation. In the first stage, the two decimal operands are added using a 4-bit binary adder. The correction that is performed in the second addition stage is required whenever the result of first addition stage is greater than 9 = (1001) BCD. The correction
  • 3. Prof. R. P. Sarnaik et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 4( Version 6), April 2014, pp.77-80 www.ijera.com 79 | P a g e is performed by adding (0110)2 to the result of the first stage sum using another 4-bit binary adder (the second addition stage). The correction logic increases delay and area. The decimal value of A, B, and S can be used to obtain their 8421 BCD representation. In general, we can write A =a3a2a1a0, B = b3b2b1b0, and S =s3s2s1s0, where ai, bi, and si € {0, 1}, i € {0, 1, 2, 3}. A and B can be expressed in terms of two integers m = a3a2a1 and n = b3b2b1 as: A = 2 × m+ a0 and B = 2 × n + b0. If the two input decimal digits A and B are 9= (1001)BCD and 8 = (1000)BCD (last row of Table 1), respectively, then we have: m = (100)2 = 4 , n = (100)2 = 4 and Z= z3z2z1z0 0 = 2 × (n + m) = 2 × (4 + 4) = (16)10.This means that the decimal carry z3 is 1 and the even decimal digit z2 z1 z0 0 = (6)10 = (0110 )BCD. Since the produced decimal digit is always even, only z3z2z1z0 are forwarded to Stage2 of the BCD digit adder. For finding the Boolean expression, first we have to make a truth table for different combinations of the input starting from(0000) to (1001). Table 2: Correction Free BCD Digit Adder Inputs Outputs Cin a3 a2 a1 a0 b3 b2 b1 b0 Cout s3 s2 s1 s0 0 1111 0001 1 0000 0 1001 1001 1 1000 0 1111 1011 1 1010 2.3 Direct Boolean Expressions BCD Digit Multiplier Fig.3 BCD Digit Multiplier In proposed BCD digit multiplier, word “direct” means no need for neither “first finding the binary multiplication result and then converting the product to a BCD form” [9] nor “any recoding process” [5].Instead, we have used a simplified Boolean expressions to perform the “direct” functionality. In this case, the two operands are two decimal digits A = a3a2a1a0 and B = b3b2b1b0 and the output P = A × B is 8 bit P7P6P5P4P3P2P1P0 (two BCD digits). Since the input is 8 bits wide, the number of combinations in the truth table is 28 = 256. Among all these combinations only 100 combinations are valid and the rest are invalid. All outputs for the invalid combinations in the truth table are set to don’t care. If the output functions depend on more than six variables from the input variable then it needs hierarchy of LUTs to be implemented. An example on this is P1 which depends on all the eight input variables. On the other hand, some functions depend only on two variables like P0 or four variables like P7. This means that these two outputs consumes a single 6-input LUT each. Wallace tree multiplier consists of three step process, in the first step, the bit product terms are formed after the multiplication of the bits of multiplicand and multiplier, in second step, the bit product matrix is reduced to lower number of rows using half and full adders, this process continues till the last addition remains, in the final step, final addition is done using adders to obtain the result . Table 3 : BCD Multiplier (A)BCD (B)BCD P(p7p6p5p4p3p2p1) 0000 1001 00000000 1000 0010 00010110 1001 1001 10000001 1010 0001 XXXXXXXX III. 3. Experimental Results And Comparisons All our proposed designs were described using VHDL hardware description language, and simulated to ensure correct functionality. They were then synthesized with Altera Quartus II 9.1 sp2 tool and then simulated in Modelsim Simulator SE 6.3f. Synthesis results of our BCD digit adders & multipliers are shown in Table 4 & 5. These results show that our Correction free BCD digit adder is the fastest among other proposed adders. Table 4 : BCD Adder Adders Delay(ns) Total Thermal Power Dissipiation (mW) Direct BCD Adder 15.087 71.29 Correction Free BCD Adder 15.000 68.54
  • 4. Prof. R. P. Sarnaik et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 4( Version 6), April 2014, pp.77-80 www.ijera.com 80 | P a g e Table 5 : BCD Multiplier Multipliers Delay(ns) Total Thermal Power Dissipiation (mW) Array Multiplier 19.224 68.55 BCD Wallace Multiplier 17.913 68.54 IV. Conclusion The different designers have proposed several enhancements for high speed area optimization .But, In this paper, We have studied and implemented Direct BCD Addition approach for this. The correction-free BCD digit adders are used which provides correction-free addition techniques. In this paper, two new BCD digit adders and one new BCD digit multipliers are designed to speed up decimal arithmetic applications over FPGA. References [1]. M. S. Schmookler and A. Weinberger, “High speed decimal addition,” IEEE Transactions on Computers, vol. 20, pp. 862–866, 1971. [2]. R. H. Larson, “Medium speed multiply,” IBM Technical Disclosure Bulletin, p. 2055, 1973. [3]. H. Wetter W. Bultmann, W. Haller and A. Worner, “Binary and decimal adder unit,” 2001. [4]. M.F. Cowlishaw, “Decimal Floating-Point: Algorism for Computers,” Proc. 16th IEEE Symp. Computer Arithmetic, pp. 104-111, July 2003. [5]. E. M. Schwarz, “Decimal multiplication with efficient partial product generation,” in Proceedings of the 17th IEEE Symposium on Computer Arithmetic, Washington, DC, USA, 2005, ARITH ’05, pp. 21–28, IEEE Computer Society. [6]. A. V´azquez and EAntelo, “Conditional speculative decimal addition,” Nancy, France, 2006. [7]. L. Dadda. Parallel decimal multipliers: a hybrid approach. AlaRI Internal Report, 2006. [8]. A. Va´zquez, E. Antelo, and P. Montuschi, “A New Family of High-Performance Parallel Decimal Multipliers,” Proc. 18th IEEE Symp. Computer Arithmetic, pp. 195- 204, June 2007. [9]. G. Jaberipur and A. Kaivani, “Binary-coded decimal digit multipliers,” IET Computers and Digital Techniques, vol. 1, no. 4, pp. 377–381, 2007. [10]. N. H. Tuli´c, “Fpga implementations of decimal arithmetic cells,” M.S. thesis, Jordan University of Science and Technology, May 2009. [11]. Inc.xilinx,“Vertix5datasheet”,http://www. xilinx.com/support/documentation/datasheet s/ds100.pdf. [12]. IBMCorporation,“DecimalFAQ,” http://www2.hursley.ibm.com/decimal/decifaq1.html. ’