High Speed Pipelined 4 Input Decimal Adder: Rishabh Panday, Himanshu Joshi
High Speed Pipelined 4 Input Decimal Adder: Rishabh Panday, Himanshu Joshi
Abstract In the present days after increasing the complexity II. PREVIOUS WORK
in the computation, internet based applications we need a fast
and compact decimal adder which work with less delay and A. BCD adder
same power consumptions. So we can design a pipelined four
input decimal adder using the DG, DP signals and Correction
digits. By using the CSA, CLA, PG generator and with a
register we reduce the delay of the adder with 46.22% compare
to conventional decimal adders by synthesize the simulation in
Xilinx software. In our proposed work decimal adder is divided
in two parts and a register is used in between that for reduce the
delay of critical path. So the pipelined decimal adder can work
fast addition of the decimal numbers.
I. INTRODUCTION
In the past time all the computers and processers and many
digital devices used the binary arithmetic such that addition
but that type of addition have some approximate errors. For an
example take (0.9)10= (0.1110)2 this is not show the exact
result of the decimal fraction number. It requires the infinite
bits for represent the decimal number so for overcome by
these types of problems BCD binary coded decimal numbers
are used for take the exact result. In the BCD numbers every
decimal digit represent in the four bits. By using the BCD,
decimal numbers are exactly represented like
(0.9)10=(0.1001)2. So the results are taken in finite bits.
So we proposed a work on high speed pipelined four input
decimal adder. In the BCD adder sums of two digits are Fig 1: One digit BCD adder
generated but when the sums are greater than 9 than in every
digit a special correction value (0110)2 is added to the sum of Previously three input decimal adders are proposed. In the
every digit [2]. But by using these methods the delay of addition of the two digits (each 4 bits) one digit BCD adders
addition in the adders is so much. are used for add the decimal numbers. In that DG and DP
So our proposed pipelined decimal adder can reduce the delay signals [1] are used for generate the real carries and then add
of the decimal adder with using same area constraints. So we the sums with the correction logic digits for take the valid
provide the fast addition of the decimal numbers compare to results of the decimal numbers.
convention decimal adders. In a BCD adder we take two decimal digits A and B and take
Now with following this in section [2] a brief idea on the the sums of that with the one digit BCD adder with composed
convention decimal adders is given. In section [3] our with the four full adders. Now if the sum of the digit is greater
proposed pipelined work is explained with a numerical than 9 than a correction value 6 (0110)2 is added to the each
example. And in section [4] our implementation results and sum of the digit. For that a carry network is used in the
comparison between the conventional adders and pipelined addition. It is used for generate the carries of the decimal
decimal adder is given. In section [5] the summery of our digits.
proposed work is given.
Digit 1 A3 A2 A1 A0
Digit 2 B3 B2 B1 B 0
Carry S3 S2 S1 S0
Rishabh Panday, Electronics & Communication, Jagannath University,
Jaipur, India, 09460344714. And CC= carry + (Z8.Z4) + (Z8.Z2)
+ denotes logical OR
Himanshu Joshi, Assistant Professor, Jagannath University, Jaipur,
India, Mobile No. 9414618668. . denotes logical AND
222 www.erpublication.org
High Speed Pipelined Four Input Decimal Adders
So if we increase the number of input in the decimal adder III. PROPOSED HIGH SPEED PIPELINED FOUR INPUT DECIMAL
than full adders are also increase in the decimal number and ADDER
the delay of the addition is also increased by that. So a new In our proposed pipelined decimal adder three stages are
type of BCD adder is designed for reduce the delay of the used for add the decimal numbers. each decimal number has
adder. four bits. In the first stage of our proposed decimal adder first
B. Reduced delay BCD adder block consists CSA and DG, DP generator. This block
generate the sums of each decimal digit and also DG (digit
In the second type of adder there are three stages which are
generate) and DP (digit propagate) signals. These DG and DP
used in the reduced delay BCS adders. In the first stage of the
signals are sent to the second stage which is carry network.
adder a block Adder+ Analyzer [2] is used. Two inputs are
Carry network generate the real carries of the decimal digits.
given to that block. This block is used for sum the digits and
generate the DG (Digit Generation) and DP (Digit
Propagation) signals. The sums which are generate by this
block if more than 9 than DG identify the condition of the
sums in the decimal adder. And when the sum is equal to 9
than condition is identified by the DP. Bothe these signals are
sent to the second stage which is a carry network. In the carry
network real carries are generate by using DG and DP signals.
223 www.erpublication.org
International Journal of Engineering and Technical Research (IJETR)
ISSN: 2321-0869 (O) 2454-4698 (P), Volume-3, Issue-10, October 2015
Digit 4 Digit 3 Digit 2 Digit 1
1001 1000 0010 0000 W
1000 1001 0111 0100 X
0101 1000 1001 1001 Y
0111 0100 0111 0110 Z
11101 11101 11001 10011 Sum[4]
1 1 1 1 DG[1]
1 1 1 0 DG[2]
0 0 0 0 DG[3]
0 0 0 0 DP[1]
0 0 0 0 DP[2]
0 0 0 0 DP[3]
0 0 0 0 DP[4]
0 0 0 0 DP[5]
0 0 0 1 DP[6]
0 0 0 0 DP[7]
0 0 0 0 DP[8]
1 1 0 0 DP[9]
1 1 1 1 C10
Fig4: Proposed pipelined four input decimal adder 1 1 1 0 C20
1 1 0 0 C30
Table1: For DG and DP identifying conditions 10101 10100 01101 00110 Corr
Signals Conditions of the sum in 11101 11101 11001 10011 Sum[4]
each digit 10101 10100 01101 00110 Corr[4]
DG[1] >9 (110010)(110001)(100110)(11001) Result
DG[2] >19 IV. IMPLEMENTATION RESULTS AND COMPARISON
DG[3] >29 In the designing of pipelined four input decimal adder we
DP[1] =7 use the Xilinx software. In that verilog module is used for the
designing. After implementation and simulation of the codes
DP[2] =8 we get the delay of the decimal adder.
DP[3] =9
DP[4] =17
DP[5] =18
DP[6] =19
DP[7] =27
DP[8] =28
DP[9] =29
224 www.erpublication.org
High Speed Pipelined Four Input Decimal Adders
By comparing our results with the previously developed 754-2008 Decimal Rounding," Proc. 19th IEEE Symposium on
Computer Arithmetic (ARITH-19), pp. 135-144,2009.
decimal adders we can conclude that the delay of our decimal [5] A. Vazquez, E. Antelo and P. Montuschi, "A New Family of High
adder is so much reduced. Comparision of our proposed Performance Parallel Decimal Multipliers," Proc. of the 18th IEEE
decimal adder with among previously decimal adders are Symposium on Computer Arithmetic (ARITH-18), pp. 195-204, 2007.
shown below: [6] G. Jaberipur and A. Kaivani, "Improving the Speed of Parallel Decimal
Multiplication," IEEE Transactions on Computers, Vol. 58,No. 11, pp.
1539-1552, Nov. 2009.
Table2: Comparision between adders [7] M. S. Schmookler and A.W.Weinberger. High Speed Decimal
Addition, IEEE transactions on Computers, Vol. 20, No. 8,
pp.862--867, Aug. 1971.
Type of adder Delay(ns) I/O [8] Song Yu-yun, Hu Qing-sheng A O.18J.lffi Pipelined 8BIOB Encoder
for a High speed SerDes New Star Research Institute of Applied
Buffers Technology, No.451 , Huangshan Road, Hefei, Anhui.
[9] Rahul Jain, Khushboo Singh, Ghanshyam Jangid A 64 Bit Pipeline
Pipelined 4-input(proposed 27.377 82
Based Decimal Adder Using a New High Speed BCD Adder
work) International Journal of Science and Research (IJSR).
[10] R. K. James, T. K. Shahana, K. P. Jacob, and S. Sasi, "Decimal
4-input (type3) 50.908 82 multiplication using compact BCD multiplier," Proc. International
Conference on Electronic Design (ICED), pp. 1-6, 2008.
4-input (type2) 63.994 83 [11] I. S. Hwang. High Speed Binary and Decimal Arithmetic Unit. United
StatesPatent, (4,866,656), September 1989.
4-input (type1) 80.889 83 [12] A. Vazquez, E. Antelo and P. Montuschi, "Improved Design of
High-Performance Parallel Decimal Multipliers," IEEE Transactions
3-input (type3 previous work)[1] 49.921 66 on Computers, Vol. 59, No. 5, pp. 679-693, May 2010.
[13] B. Shirazi, D. Y. Y. Young, and C. N. Zhang. RBCD: Redundant
Binary Coded Decimal Adder. In IEEE Proceedings, Part E, No. 2,
In the comparison we can see that our proposed pipelined volume 136, pages 156160, March 1989.
[14] T. Lang and A. Nannarelli, "A Radix-10 Digit-Recurrence Division
decimal adder reduce the delay in compare to other decimal Unit: Algorithm and Architecture," IEEE Transactions on Computers,
adders. Vol. 56, No. 6, pp. 727-739, June 2007.
[15] M. M. Mano. Digital Design, pages 129131.Prentice Hall, third
V. CONCLUSION edition, 2002.
[16] J. D. Thompson, N. Karra, and M. J. SchulteB A 64-Bit Decimal
Our proposed pipelined decimal adder is implemented Floating-Point Adder In Proceedings of the IEEE Computer Society
using the verilog code. Our proposed decimal adder has four Annual Symposium on VLSI, pages 297 298, February 2004.
[17] P. M. Kogge and H. S. Stone. A Parallel Algorithm for The Efficient
inputs with each digit have four bits. Decimal adder is Solution of a General Class of Recurrence Equations. IEEE Trans. on
designed using the CSA, CLA adder, DG, DP generator and Computers, C-22(8), Aug. 1973.
register. Our designed pipelined four input decimal adder [18] L. -K. Wang, M. A. Erle, C. Tsen, E. M. Schwarz and M. J. Schulte, "A
survey of hardware designs for decimal arithmetic," IBM Journal of
presents the less delay and same power with increase number
Research and Development, Vol. 54, Issue 2, pp. 8:1-8:15, 2010.
of inputs in compare to other decimal adders. [19] E. Cornea, J. Harrison, J. C. Anderson, P. Tang, E. Schneider, and E.
Pipelined decimal adder has reduced the delay about Gvozdev, "A Software Implementation of the IEEE 754R Decimal
46.22% compare to conventional adders. So this is adding of Floating-Point Arithmetic Using the Binary Encoding Format," IEEE
Transactions on Computers, Vol. 58, No. 2, pp. 148-162, Feb. 2009.
the decimal numbers in very high speed. And in the future our [20] M. F. Cowlishaw, Decimal Floating-Point: Algorism for Computers,
proposed decimal adder can implemented with more inputs. Proc. of 16th IEEE Symposium on Computer Arithmetic (ARITH-16),
pp. 104111, June 2003.
[21] Draft IEEE Standard for Floating-Point Arithmetic. New York: IEEE,
Inc., 2004.
ACKNOWLEDGMENT [22] R.D. Kenney and M.J. Schulte, Multioperand Decimal
Addition,Proc. IEEE Computer Society Ann. Symp. VLSI, pp.
The completion of that project gives us so much pleasure. I 251-253, Feb.2004.
would like to express my sincere gratitude to my project guide
Mr Himanshu Joshi for giving me the opportunity and
guideline to work on that. It would never be possible for us to Rishabh Panday, Student of M.Tech (Embedded System) in jagannath
university, Jaipur, India. I am completed B.Tech (Electronics &
take this project to this level without his innovative ideas and Communication) degree in 2012 from Rajasthan Technical University.
his relentless support and encouragement.
Himanshu Joshi, Assistant Professor Department of ECE in Jagannath
University, Jaipur, India. He has completed his M.Tech (VLSI and
REFERENCES Embedded system) in 2011 from Gyan Vihar University, Jaipur, and B.E
[1] Tso-Bing Juang, Hsin-Hao Peng, Chao-Tsung Kuo Area-Efficient degree in 2007 from Rajasthan University. He is currently working in the
3-Input Decimal Adders Using Simplified Carry and Sum Vectors VLSI and Communication Field.
2011 IEEE/IFIP 19th International Conference on VLSI and .
System-on-Chip.
[2] A. Bayrakci and A. Akkas, Reduced delay BCD adder, Proc.
IEEE18th International Conference on Application-specific Systems,
Architectures and Processors, (ASAP), pp. 266-271, July 2007.
[3] R.D. Kenney and M.J. Schulte, High-speed multioperand decimal
adders, IEEE Transactions on Computers, pp. 953-963, Vol. 54,
No.8, Aug. 2005.
[4] G. Bioul, M. Vazquez, J. P. Deschamps, and G. Sutter, "Decimal
addition in FPGA," Proc. SPL. 5th Southern Conference on
Programmable Logic, pp. 101-108, 2009.[11] A. Vazquez and E.
Antelo, "A High-Performance Significant BCD Adder with IEEE
225 www.erpublication.org