Design of Arithmetic Unit For High Speed Performance Using Vedic Mathematics
Design of Arithmetic Unit For High Speed Performance Using Vedic Mathematics
Abstract-
Vedic Mathematics is the ancient system of mathematics which has a unique technique of calculation based on
16 formula (sutras). The word Vedic is desired from word Veda which store house of all knowledge. As the ever
increasing demand in enhancing the ability of coprocessor to handle the complex and challenging processor as
resulted in integration of number of processor cores into single chip, but still the load on the processor is not less
in generic system. This load is reduced by connecting the main processor with co processor, which are designed
to work on the specific types of function like numeric computation, signal processing, image processing and
arithmetic operation. The speed of arithmetic is of extreme importance and depends greatly on the speed of
multiplier. Therefore the technologies are always looking for new algorithm and hardware so as to implement
this operation in much optimized way in the terms of area and speed. Vedic Mathematics deals with various
branches of mathematics like arithmetic, algebra, geometry etc in computation algorithm of the coprocessor
which will reduce the complexity of execution time , area and power consumption etc. The efficiency of Urdhav
Triyagbhyam Vedic method for multiplication, strikes a difference of actual process of multiplication, by
enabling parallel generation of intermediate product, eliminating unwanted multiplication steps with zeros and
scaled to higher bit level. This formula (Sutras) is used to build high speed power efficient multiplier in
coprocessor.
This project is to design arithmetic module using the technique of ancient Indian Vedic Mathematics to improve
the performance of coprocessor. This project is to design NxN arithmetic module, where A & B are the two N
bits inputs of these module and different sections of module are multiplier which is designed by using Vedic
algorithm of multiplication named Urdhav Triyagbhyam multiplier and with carry save adder, adder/ subtractor
and MAC unit.
Keywords : DSP, Arithmetic Logical Unit, Adder, Multiplication,Vedic Urdhav Triyambakam multiplication
algorithm, Vedic Multiplier (VM).
not only performs the arithmetic operation but also PROPOSED ARITHMETIC UNIT:
logical operation and therefore ALU is called a heart Our Proposed 32x32 bit Arithmetic Unit is shown in
of Microprocessor, Microcontroller, and CPUs. No the following:-
technology uses works upon that operation either fully FPGAs are well suited to datapath designs come
or partially which are performs by ALU. The block across in digital filtering applications which
diagram of ALU given below in figure (1), where encountered in digital filtering applications which
ALU has been implemented on FPGA tool operations on a single device. In particular, multiple
multiply-accumulate (MAC) units [2] [3] may be
implemented on a single FPGA, which provides
comparable performance to general-purpose
architectures which have a single MAC unit.
MAC UNIT:
Due to ever-increasing IC i.e. integrated
circuit fabrication capabilities, the future of FPGA
technology promises both higher densities and higher
speeds. Many FPGA families are based on memory
technology, so the improvements in those areas
Figure 1: Block Diagram of an ALU
should associate with FPGA evolution.
answer.
We get: 21 x 32 = 276
C6r6r5r4r3r2r1r0 being the final product get. Hence at the same time which is not discussed here.
this is the standard general mathematical formula
which is applicable to all cases of multiplication III. Quantitative Results
purpose. All the partial products are calculated in
parallel and the delay associated is mainly the time Following table shows the area and timing constraint
taken by the carry to propagate through the adders of proposed Vedic Multiplier at different bit levels.
which form the multiplication array. So for large
number this is not an efficient algorithm for the NBit Numbe Numbe Numbe Maximum
multiplication of as a lot of propagation delay will be Multipli r of r of r of Combinati
involved in such cases of mathematical calculation. er LUT occupie bounde onal path
To overcome this type of problem Nikhilam Sutra uses as d Slices d IOBs delay(ns)
come in exist will present an efficient method of logic
multiplying two large numbers. 4-bit 28 16 16 11.443ns
8-bit 64 37 80 6.03ns
VEDIC MULTIPLICATION ALGORITHM:
The Vedic Sutras:
Vedic mathematics is based on 16 Sutras (or IV. Synthesis and Simulation
aphorisms) dealing with various branches of
mathematics like arithmetic, algebra, geometry etc. 1.RTL schematic of proposed vedic multiplier:
These Sutras along with their brief meanings are
enlisted below alphabetically.
IV. Result
1) (Anurupye) Shunyamanyat If one is in
ratio, the other is zero.
2) Chalana-Kalanabyham Differences and
Similarities
3) Ekadhikina Purvena By one more than the
previous one.
4) Ekanyunena Purvena By one less than the
previous one.
5) Gunakasamuchyah The factors of the sum
is equal to the sum of the factors.
6) Gunitasamuchyah The product of the sum
is equal to the sum of the product.
7) Nikhilam Navatashcaramam Dashatah All
from 9 and the last from 10. Figure 2: RTL schematic of proposed Vedic multiplier
8) Paraavartya Yojayet Transpose and adjust.
9) Puranapuranabyham By the completion or
Non-completion
10) Sankalana-vyavakalanabhyam By addition
and by subtraction.
11) Shesanyankena Charamena The remainders
by the last digit.
12) Shunyam Saamyasamuccaye When the
sum is the Same that sum is zero.
13) Sopaantyadvayamantyam The ultimate and
twice the penultimate.
14) Urdhva-Tiryagbyham Vertically and
crosswise.
15) Vyashtisamanstih Part and Whole.
16) Yaavadunam Whatever the extent of its
deficiency.
These methods and ideas can be directly applied to
trigonometry, plain and spherical geometry, conics,
calculus (both differential and integral), and applied
various kind of mathematic calculation. As mentioned
earlier, all these Sutras were renovated from ancient
Vedic texts early in the last century by Sri Bharati
Krsna Tirtha. Many Sub-sutras were also discovered
REFERENCES
[1] Vedic Maths Sutras - Magic Formulae
[Online]. Available:
http://hinduism.about.com/library/weekly/extr
a/blvedicmath utras.htm.
[2] S.J. Jou, C.Y.Chen, E.C. Yang, and
C.C.Su(1997), A pipelined multiplier-
accumulator using a high speed, low power
static and dynamic full adder design, IEEE
journal of Solid-state circuits, vol.32, no.1,
Jan.1997,pp.114-118.
[3] Xiaoping Hung, Wen-Jung Liu, and Belle W.
Y. Wei. A High Performance CMOS
Redundant Binary Multiplication and
Accumulation (MAC) Unit, IEEE
Transactions On Circuits and Systems,
41(1):33--39, January 1994
[4] P. R. Cappello, editor. VLSI Signal
Processing. (IEEE Press, 1984).
[5] V.Vamshi Krishna, S. Naveen Kumar High
Speed,Power and Area efficient Algorithms