Anda di halaman 1dari 4

International Conference on Computing, Communication and Automation (ICCCA2016)

Implementation of an Efficient Multiplier Using the


Vedic Multiplication Algorithm
Paras Gulati, Harsh Yadav and Manoj KumarTaleja
UniversitySchool of Information and Communication
Technology, GuruGobindSinghIndraprasthaUniversity,
New Delhi, India
parasgulati8@gmail.com

AbstractThis paper proposes the implementation of an ancient


Indian Vedic multiplier using the 16 bit modified carry select
adder, 16 bit ripple carry adder and 16 bit kogge stone adder.
The modified carry select adder shows the improved speed
performance with less time delay. The design has been
implemented using Verilog hardware description language. The
design code is tested using theModelsim simulator. The code is
synthesized using Virtex-7 family. The Virtex-7 family is based
on 28nm design which has 50 percent lower power compared to
the previous generation Virtex-6. The paper makes a comparison
of the performance of 16 bit Vedic multiplier using three
different adders modified carry select adder, ripple carry adder
and kogge stone adder. Results shows that the 16 bit Vedic
multiplier using modified carry select adder is better in terms of
power consumption and speed as compared to the other two 16
bit Vedic multipliers.

Keywords Modified carry select adder, vedic multiplier, ripple


carry adder, Kogge stone adder, binary to excess-1 converter
(BEC).

Fig. 1. Vedic multiplication of two decimal numbers


I. INTRODUCTION
The Vedic multiplier has a wide application and is used as key connected through the line. Then, the first digit of the product
element in most of the Arithmetic Logic Unit (ALU). It is an is stored as the first digit of result and the remaining digit is
ancient multiplication technique which reduces the tedious the carry for the next stage. In the next stage of multiplication
calculation to a simpler one. Power consumption and delay are again the digits connected to each other through the line are
the prime performance indicators in any VLSI circuit design. multiplied and the individual products obtained are added to
High speed processors are required for many applications so the carry from the previous stage. Then, again the first digit of
there is a great need for high speed multiplier circuits. The the sum obtained is stored as the second digit of the result and
reduction in time delay and power consumption is the prime the remaining digit is the carry for the next stage. [2]-[4]. This
objective for the high speed processors. The Vedic multiplier process is repeated again and again and thus the final result i.e.
has applications in fast fourier transform, filtering, the product of the two numbers 386 x 512 is obtained through
convolution, communications and digital signal processing the Vedic multiplication technique as shown in Fig. 1.
[1]. The Vedic multiplication technique is time efficient
technique with increased speed and requires less hardware.The III. ADDERS
ancient Vedic mathematics comprises of the 16 sutras where
Adders perform the function of adding two numbers [5].
each sutra represents the different branch of mathematics.
The adders have a variety of use in processors, ALU and many
other applications.
II. MULTIPLICATION OF TWO DECIMAL NUMBERS BY VEDIC
MATHEMATICS A. Modified Carry Select Adder
To begin, let us take two three digit numbers 386 and 512. The modified carry select adder is used as an alternative of
The product of the two decimal numbers using the Vedic the ripple carry adder because it incorporates a binary to
multiplication technique is illustrated in Fig1. The excess-1 converter (BEC) as shown in Fig. 2, to reduce the
multiplication begins by first multiplying the two digits time delay and the area occupied in contrast to the ripple carry
adder. The performance of the modified carry select adder is

ISBN:978-1-5090-1666-2/16/$31.00 2016 IEEE 1440


International Conference on Computing, Communication and Automation (ICCCA2016)

C. Kogge Stone Adder

Fig. 2. Binary to Excess-1 Converter, usedin designing the modified carry


select adder.

better as compared to the ripple carry adder and the kogge


stone adder [6].

The logic equations for the binary to excess-1 converter are:


N0 =~ M0
N1 = M0 ^ M1
N2 = M2 ^ (M0 &M1)
N3 = M3 ^ (M0 &M1 &M2)

B. Ripple Carry Adder


The ripple carry adder involves multiple full adders which are
cascaded in parallel for adding an N-bit number. In this adder,
the carry generated from the previous stage gets rippled into
the next stage. The block diagram representing a 4 bitripple
carry adder is shown in Fig. 3, which involves four full adders
and the carry generated is sent to the next stage for
computation [7]. Fig. 4. Kogge stone adder

The kogge stone adder is a high performance adder. It is a


parallel prefix form carry look-ahead adder which can
generate the carry signals in O(log t) time. In this adder, each
vertical stage produces a propagate and a generate. The
concept of kogge stone adder was evolved by Peter M. Kogge
and Harold S. Stone. The block diagram representing the
kogge stone adder [8] is shown in Fig. 4.

IV. TYPES OF MULTIPLIERS


A. 16 X 16 Vedic Multiplier Using Modified Carry Select
Adder
This section describes the 16 x 16 Vedic multiplier using
Fig. 3. A 4- bitripple carry adder ripple carry adder. The block diagram is shown in Fig. 5. In
this multiplier four 8 bit Vedic multipliers and three 16 bit
modified carry select adders have been used. Consider the
process of multiplication by taking two numbers X and Y each
of 16 bits. The two numbers X[15:0] and Y [15:0] are
multiplied as per the diagram shown in Fig 5and the final
product is obtained. The carry generated by each stage is fed
to the next stage as per the block diagramshown in Fig. 5. In
1441
International Conference on Computing, Communication and Automation (ICCCA2016)

this way the time delay gets reduced. carry adder

C. 16 X 16 Vedic Multiplier Using Kogge Stone Adder

Fig. 5. Block diagram representing 16 x 16 Vedic multiplier using modified


carry select adder

Fig. 7. Block diagram representing 16 x 16 Vedic multiplier using kogge


B. 16 X 16 Vedic Multiplier Using Ripple Carry Adder stone adder
This section describes the 16 x 16 Vedic multiplier using This section describes the 16 x 16 Vedic multiplier using
ripple carry adder. The block diagram is manifested in Fig. 6. kogge stone adder. The block diagram is shown in Fig. 7. The
The ripple carry adder uses multiple adders for its design.This 16 x 16 Vedic Multiplier using kogge stone adder consists of
multiplier uses three 16 bit adders and four 8 bit Vedic three 16 bit Kogge stone adders and four 8 bit Vedic
multipliers. The carry from the last stage is fed as input to the multipliers. The kogge stone adder is faster as compared to the
next stage [7]. The adder has a simple design but it is other adders. The two 16 bit inputs X and Y are fed as per the
relatively slow than the modified carry select adder due to the diagram shown in Fig. 7, and the result obtained is the product
time delay that is involved in transferring the carry generated of the two inputs X and Y.
by the previous stage to the next stage. Therefore, this is the
reason for more time delay in case of the ripple carry adder. V. RESULT AND DISCUSSIONS
The inputs are fed as per the block diagram shown in Fig. 6,
The 16 x 16 Vedic multiplier using modified carry select
and thus the product of the inputs X and Y is generated at the
adder, ripple carry adder and the kogge stone adder were
output.
designed using Verilog hardware description language. The
Virtex-7 family has been used with the XC 7VX330T device.
The simulation is performed in Modelsim. Table 1 represents
the comparison of number of LUTs, maximum combinational
path delay and maximum output required time after clock for
the Vedic multiplier using the threeadders. The results show
that the 16 bit Vedic Multiplier using modified carry select
adder uses 34.60 % and 51.62 %less path delayas compared to
the 16 bit Vedic multiplier usingkogge stone adder and ripple
carry adder respectively.Further, modified carry select adder
shows the 38.74 % and 56.45 % less maximum output
required time after clock as compared to the 16 bit Vedic
multiplier usingkogge stone adder and ripple carry adder
respectively. Table 2 represents the comparison of power for
the Vedic multipliers using all three adders. The 16 bit Vedic
multiplier using modified carry select adder uses8.20% less
power as compared to the 16 bit Vedic multiplier using kogge
stone adder and 14.1 % t less power as compared to the 16 bit
Vedic multiplier usingripple carry adder.

Fig. 6. Block diagram representing 16 x 16 Vedic multiplier using ripple

1442
International Conference on Computing, Communication and Automation (ICCCA2016)

TABLE 2.POWER AND MEMORY USAGE COMPARISON

Vedic Multiplier Total Power Peak Memory


(mW) Usage (MB)
Using Modified Carry 142.92 978
Select Adder

Using Ripple carry 166.38 1012


adder
Using Kogge Stone 155.69 998
Fig. 8. Simulation results of 16 x 16 Vedic multiplier using modified carry Adder
select adder

VI. CONCLUSION
The 16 x 16 Vedic multiplier using modified carry select
adder shows lesser power consumption and peak memory
usage as compared to the same multiplier usingripple carry
adder and kogge stone adder. The time delay involved in the
16 x 16 Vedic multiplier using modified carry select adder is
also less as compared to the time delays of the other two 16 x
16 Vedic multipliers. The 16 bit Vedic Multiplier using
modified carry select adder uses 34.60 % and 51.62 % less
path delayas compared to the 16 bit Vedic multiplier
usingkogge stone.The 16 bit Vedic multiplier using modified
Fig. 9. Simulation results of 16 x 16 Vedic multiplier using ripple carry adder
carry select adderconsumes 8.20% less power as compared to
design withkogge stone adder and 14.1 % less power as
compared to the designwith ripple carry adder. Therefore, it
has an enhanced speed and can be used in the DSP
applications and in processors for faster computations.

VII. REFERENCES
[1] Kanhe, Aniruddha, Shishir Kumar Das, and Ankit Kumar Singh. "Design
and implementation of low power multiplier using vedic multiplication
technique." International Journal of Computer Science and
Communication 3, no. 1, pp.131-132, 2012.
Fig. 10. Simulation results of 16 x 16 Vedic multiplier using kogge stone [2] Mehta, Parth, and DhanashriGawali. "Conventional versus Vedic
adder mathematical method for Hardware implementation of a multiplier." In
IEEE International Conference on Advances in Computing, Control, &
Telecommunication Technologies, 2009, pp. 640-642, 2009.
[3] Ramalatha, M., K. Deena Dayalan, P. Dharani, and S. Deborah Priya.
TABLE 1. COMPARISON OF THREE MULTIPLIERS USING DIFFERENT ADDERS "High speed energy efficient ALU design using Vedic multiplication
techniques." In IEEE International Conference on Advances in
Computational Tools for Engineering Applications, 2009. ACTEA'09., pp.
Vedic Multiplier No. of Maximum Maximum
600-603. 2009.
Slice Combinational Output Required [4] Thapliyal, Himanshu, and Hamid R. Arabnia. "A Time-Area-Power
Efficient Multiplier and Square Architecture Based on Ancient Indian
LUTs Path Delay (ns) Time After clock
Vedic Mathematics." In ESA/VLSI, pp. 434-439, 2004
(ns) [5] Kumar, Manoj, Sujata Pandey, and Sandeep K. Arya. "Design of CMOS
Energy Efficient Single Bit Full Adders." In High Performance
Using Modified 21 23.367 19.236 Architecture and Grid Computing, pp. 159-168. Springer Berlin
Carry Select Adder Heidelberg, 2011.
[6] Anjana, R., B. Abishna, M. S. Harshitha, E. Abhishek, V. Ravichandra,
Using Ripple Carry 17 48.304 44.173 and M. S. Suma. "Implementation of vedic multiplier using Kogge-stone
Adder adder." In IEEE International Conference on, Embedded Systems
(ICES), 2014 pp. 28-31, 2014.
Using Kogge Stone 19 35.732 31.403 [7] Pushpangadan, Ramesh, Vineeth Sukumaran, Rino Innocent, Dinesh
Adder Sasikumar, and VaisakSundar. "High speed vedic multiplier for digital
signal processors." IETE journal of research 55, no. 6, pp. 282-
286,2009.
[8] Saha, Prabir, Arindam Banerjee, Partha Bhattacharyya, and
AnupDandapat. "High speed ASIC design of complex multiplier using
vedic mathematics." In IEEE Students' Technology Symposium
(TechSym), 2011, pp. 237-241, 2011.

1443

Anda mungkin juga menyukai