SlideShare a Scribd company logo
1 of 21
PRESENTED BY
      NAVYASHREE S
       (1VK09TE018)
       Dept of TCE, VKIT



  UNDER THE GUIDANCE OF
         RAJANI N
ASSISTANT PROFESSOR,TCE DEPT
CONTENTS
• INTRODUCTION

• GENERAL CONSTRUCTION OF MAC UNIT

• THE MULTIPLIER ARCHITECTURE

• VEDIC MULTIPLIER

• ADVANTAGES

• DISADVANTAGES

• CONCLUSION

• REFERENCE
INTRODUCTION
• Vedic mathematics is the name given to the ancient system of mathematics
    which was rediscovered from the vedas.

• It gives explanation of several mathematical terms including arithematics,
    geometry, trignometry and even calculus.

• It was constructed by Shri Bharati krsna theertaji (1884-1960), after his
    eight years of research on Vedas.

• He constructed 16 main sutras and 16 sub sutras.

•   The beauty of vedic mathematics is to reduce complex calculations into
    simple one.
CONTINUED…

• Vedic mathematics sutras are powerful and useful even for astrological
    calculations.

•   In most of the digital signal processing applications, the critical operations
    are multiplication and accumulation.

• The DSP functions extensively make use of the multiply-accumulate
    (MAC) operation, for high performance digital signal processing system.

• The main motivation behind this work is to achieve high speed through
    VLSI design and implementation of MAC unit architecture using
    multipliers based on Vedic mathematics.
Example: vertical and cross wise
GENERAL CONSTRUCTION OF MAC UNIT
• A basic MAC architecture consist of a mulitplier and a accumulate adder .

• The MAC unit computes the product of two numbers and adds the product
  to an accumulator register.

• It provides high speed multiplication, saturation and clear –to-zero function.

• Here the multiplier used is a vedic multiplier based on Urdhva Tiryagbhyam
  sutra.
Fig 2:MAC Architecture
THE MULTIPLIER ARCHITECTURE
• The multiplier is based on an algorithm Urdhva Tiryagbhyam(Vertical and
  crosswise ).

• This sutras shows how to handle multiplication of larger number (N X N
  bits) by breaking it into smaller sizes.

• For multiplier, first the basic blocks, that 2x2 multiplier are made and then,
  4x4 block , 8x8 block and 16x16 block have been made.

• The device selected for synthesis is Device family spartan 3E, device is
  xc3s500, package of fg320.
VEDIC MULTIPLIER
•The 2x2 Vedic multiplier modules has been implemented using two
half-adder modules as shown in Fig. 4. The total delay is 2-half adder
delays, once the bit products are generated.
• The Implementation Equations of 2x2 Vedic multiplier modules are:
• R0(1-bit)=b0a0
• R1(1-bit)=b0a1+b1a0
• R2(1-bit)=b1a1+c1
•Product=R2 & R1 & R0
Fig 4:BLOCK DIAGRAM OF 2x2 MULTIPLIER MODULE
Eg :Multiplication of 2 decimal numbers : 43*68
• Consider the multiplication of two decimal numbers (43*68).
•The digits on both sides of the line are multiplied and added with
the carry digit.
•This carry is added in the next step and hence the process goes on. If
more than one line are there in one step, all the results are added to
previous carry.
•In each step, unit’s place digit acts as the result bit while the higher
digits act as carry for the next step.
•Initially, the carry is taken to be zero..
STEP 1               STEP 2       STEP 3

         4 3                4       3       4   3

         6 8                6       8       6   8


                        2 4
                                                                Multiplicands
                        3   2                                   carry
                        1   8                                   partial product
                    5   2
                                                               final product
                  2 4
                  2 9   2       4



Fig 3: Multiplication of 2 digit decimal numbers using Urdhva Tiryagbhyam
                                     sutra.
Fig 4:Using Urdhva Tiryagbhyam for Binary numbers


STEP 1     STEP 2       STEP 3       STEP 4
1101          1101       1101        1101
1010          1010       1010        1010

     STEP 5          STEP 6      STEP 7
     1101            1101         1101
     1010            1010         1010
CONTINUED…
• LSB are multiplied which gives the LSB of the product (vertical).

• The LSB of the multiplicand is multiplied with the next higher bit of the
  multiplier and added with the product of LSB and next higher bit of the
  multiplicand (crosswise).
• The sum gives the second bit of the product and the carry is added to the next
  stage sum obtained by crosswise and vertical multiplication.
• All four bits , are processed with crosswise multiplication and addition to give
  sum and carry.
• The sum is corresponding bit of the product and carry is again added to the next
  stage addition and multiplication of three bits except the LSB.
• The same operation continues until the multiplication of two MSBs to give the
  MSB of the product.
Fig 5:Better implementation of Urdhva Tiryagbhyam sutra for binary
                               numbers
Continued..

• A 4x4 multiplication is simplified into 4, 2x2 multiplication that can be
   performed in parallel.

• This reduces the number of stages of logic and thus reduces the delay of the
   multiplier.

• This example illustrates a better    and parallel implementation style of

   Urdhva Tiryagbhyam sutra.
ADVANTAGES
•   Vedic multiplier is faster than the array multiplier and booth multiplier.

• The area needed for vedic multiplier is very small as compared to other
    multiplier architecture.

• MAC is used in modern digital signal processing.

• MAC always lie in the critical path that determines the speed of the overall
    hardware systems.
DISADVANTAGES
• For complex multiplications, even the system becomes complex.
CONCLUSION
• The proposed vedic mathematics based MAC unit proves to be highly
  efficient in terms of speed. Due to its regular and parallel structure ,it can be
  realised easily on silicon as well.
REFERENCE
• Maharaja, J.S.S.B.K.T ., “VEDIC MATHEMATICS”, Motilal banarasidass
    Publishers Pvt. Ltd, Delhi, 2009.

• Amandeep singh , “Design and hardware realisation of a 16-bit Arithematic
    unit”,THAPAR UNIVERSITY(2010).

•   B.   Parhami,    "Computer      Arithmetic   Algorithms   and   Hardware

    Architectures", 2n d ed, Oxford University Press, New York, 2010.
THANK YOU

More Related Content

What's hot

8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkarSAQUIB AHMAD
 
Atmel and pic microcontroller
Atmel and pic microcontrollerAtmel and pic microcontroller
Atmel and pic microcontrollerTearsome Llantada
 
VLSI Systems & Design
VLSI Systems & DesignVLSI Systems & Design
VLSI Systems & DesignAakash Mishra
 
Fpga implementation of vedic multiplier
Fpga implementation of vedic multiplierFpga implementation of vedic multiplier
Fpga implementation of vedic multiplierIAEME Publication
 
Design and development of carry select adder
Design and development of carry select adderDesign and development of carry select adder
Design and development of carry select adderABIN THOMAS
 
DIgital clock using verilog
DIgital clock using verilog DIgital clock using verilog
DIgital clock using verilog Abhishek Sainkar
 
DIFFERENTIAL AMPLIFIER using MOSFET
DIFFERENTIAL AMPLIFIER using MOSFETDIFFERENTIAL AMPLIFIER using MOSFET
DIFFERENTIAL AMPLIFIER using MOSFETPraveen Kumar
 
Generation of AM-DSB-SC using Balanced FET Modulator.pptx
Generation of AM-DSB-SC using Balanced FET Modulator.pptxGeneration of AM-DSB-SC using Balanced FET Modulator.pptx
Generation of AM-DSB-SC using Balanced FET Modulator.pptxArunChokkalingam
 
ATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part IATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part IVineethMP2
 
floating point multiplier
floating point multiplierfloating point multiplier
floating point multiplierBipin Likhar
 
Wallace tree multiplier.pptx1
Wallace tree multiplier.pptx1Wallace tree multiplier.pptx1
Wallace tree multiplier.pptx1vamshi krishna
 
Lect 2 ARM processor architecture
Lect 2 ARM processor architectureLect 2 ARM processor architecture
Lect 2 ARM processor architectureDr.YNM
 
Time delay programs and assembler directives 8086
Time delay programs and assembler directives 8086Time delay programs and assembler directives 8086
Time delay programs and assembler directives 8086Dheeraj Suri
 

What's hot (20)

DSP Processor
DSP Processor DSP Processor
DSP Processor
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkar
 
Atmel and pic microcontroller
Atmel and pic microcontrollerAtmel and pic microcontroller
Atmel and pic microcontroller
 
Array multiplier
Array multiplierArray multiplier
Array multiplier
 
VLSI Systems & Design
VLSI Systems & DesignVLSI Systems & Design
VLSI Systems & Design
 
Fpga implementation of vedic multiplier
Fpga implementation of vedic multiplierFpga implementation of vedic multiplier
Fpga implementation of vedic multiplier
 
FPGA
FPGAFPGA
FPGA
 
Design and development of carry select adder
Design and development of carry select adderDesign and development of carry select adder
Design and development of carry select adder
 
DIgital clock using verilog
DIgital clock using verilog DIgital clock using verilog
DIgital clock using verilog
 
Multipliers in VLSI
Multipliers in VLSIMultipliers in VLSI
Multipliers in VLSI
 
VERY LARGE SCALE INTEGRATION (VLSI) TECHNOLOGY
VERY LARGE SCALE INTEGRATION (VLSI) TECHNOLOGYVERY LARGE SCALE INTEGRATION (VLSI) TECHNOLOGY
VERY LARGE SCALE INTEGRATION (VLSI) TECHNOLOGY
 
DIFFERENTIAL AMPLIFIER using MOSFET
DIFFERENTIAL AMPLIFIER using MOSFETDIFFERENTIAL AMPLIFIER using MOSFET
DIFFERENTIAL AMPLIFIER using MOSFET
 
Generation of AM-DSB-SC using Balanced FET Modulator.pptx
Generation of AM-DSB-SC using Balanced FET Modulator.pptxGeneration of AM-DSB-SC using Balanced FET Modulator.pptx
Generation of AM-DSB-SC using Balanced FET Modulator.pptx
 
Convolutional codes
Convolutional codesConvolutional codes
Convolutional codes
 
ATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part IATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part I
 
floating point multiplier
floating point multiplierfloating point multiplier
floating point multiplier
 
Wallace tree multiplier.pptx1
Wallace tree multiplier.pptx1Wallace tree multiplier.pptx1
Wallace tree multiplier.pptx1
 
Lect 2 ARM processor architecture
Lect 2 ARM processor architectureLect 2 ARM processor architecture
Lect 2 ARM processor architecture
 
Time delay programs and assembler directives 8086
Time delay programs and assembler directives 8086Time delay programs and assembler directives 8086
Time delay programs and assembler directives 8086
 
Verilog hdl
Verilog hdlVerilog hdl
Verilog hdl
 

Viewers also liked

OPTIMIZED REVERSIBLE VEDIC MULTIPLIERS
OPTIMIZED REVERSIBLE VEDIC MULTIPLIERSOPTIMIZED REVERSIBLE VEDIC MULTIPLIERS
OPTIMIZED REVERSIBLE VEDIC MULTIPLIERSUday Prakash
 
design of high speed performance 64bit mac unit
design of high speed performance 64bit mac unitdesign of high speed performance 64bit mac unit
design of high speed performance 64bit mac unitShiva Narayan Reddy
 
Ieee project reversible logic gates by_amit
Ieee project reversible logic gates  by_amitIeee project reversible logic gates  by_amit
Ieee project reversible logic gates by_amitAmith Bhonsle
 
Final Project Report
Final Project ReportFinal Project Report
Final Project ReportRiddhi Shah
 
Design of power efficient 4x4 array multiplier using adiabatic logic
Design of power efficient 4x4 array multiplier using adiabatic logicDesign of power efficient 4x4 array multiplier using adiabatic logic
Design of power efficient 4x4 array multiplier using adiabatic logiciaemedu
 
Elliptic curve scalar multiplier using karatsuba
Elliptic curve scalar multiplier using karatsubaElliptic curve scalar multiplier using karatsuba
Elliptic curve scalar multiplier using karatsubaIAEME Publication
 
Ação de restauração de autos
Ação de restauração de autosAção de restauração de autos
Ação de restauração de autosTito Bernardi
 
Design and Analysis of a Conventional Wallace Multiplier in 180nm CMOS Techno...
Design and Analysis of a Conventional Wallace Multiplier in 180nm CMOS Techno...Design and Analysis of a Conventional Wallace Multiplier in 180nm CMOS Techno...
Design and Analysis of a Conventional Wallace Multiplier in 180nm CMOS Techno...iosrjce
 

Viewers also liked (20)

Vedic Mathematics ppt
Vedic Mathematics pptVedic Mathematics ppt
Vedic Mathematics ppt
 
OPTIMIZED REVERSIBLE VEDIC MULTIPLIERS
OPTIMIZED REVERSIBLE VEDIC MULTIPLIERSOPTIMIZED REVERSIBLE VEDIC MULTIPLIERS
OPTIMIZED REVERSIBLE VEDIC MULTIPLIERS
 
Vedic maths .PPT
Vedic maths .PPTVedic maths .PPT
Vedic maths .PPT
 
Vedic Mathematics.ppt
Vedic Mathematics.pptVedic Mathematics.ppt
Vedic Mathematics.ppt
 
design of high speed performance 64bit mac unit
design of high speed performance 64bit mac unitdesign of high speed performance 64bit mac unit
design of high speed performance 64bit mac unit
 
PPT on Vedic maths
PPT on Vedic mathsPPT on Vedic maths
PPT on Vedic maths
 
Ieee project reversible logic gates by_amit
Ieee project reversible logic gates  by_amitIeee project reversible logic gates  by_amit
Ieee project reversible logic gates by_amit
 
Vedic math
Vedic mathVedic math
Vedic math
 
Final Project Report
Final Project ReportFinal Project Report
Final Project Report
 
Design of power efficient 4x4 array multiplier using adiabatic logic
Design of power efficient 4x4 array multiplier using adiabatic logicDesign of power efficient 4x4 array multiplier using adiabatic logic
Design of power efficient 4x4 array multiplier using adiabatic logic
 
Elliptic curve scalar multiplier using karatsuba
Elliptic curve scalar multiplier using karatsubaElliptic curve scalar multiplier using karatsuba
Elliptic curve scalar multiplier using karatsuba
 
Reversible code converter
Reversible code converterReversible code converter
Reversible code converter
 
Sama vedam
Sama vedamSama vedam
Sama vedam
 
vedas
vedasvedas
vedas
 
Maths puzzles
Maths puzzlesMaths puzzles
Maths puzzles
 
Ação de restauração de autos
Ação de restauração de autosAção de restauração de autos
Ação de restauração de autos
 
VEDIC MATHS
VEDIC MATHSVEDIC MATHS
VEDIC MATHS
 
Design and Analysis of a Conventional Wallace Multiplier in 180nm CMOS Techno...
Design and Analysis of a Conventional Wallace Multiplier in 180nm CMOS Techno...Design and Analysis of a Conventional Wallace Multiplier in 180nm CMOS Techno...
Design and Analysis of a Conventional Wallace Multiplier in 180nm CMOS Techno...
 
2010 Primar y5 Maths sa2 Rosyth
2010 Primar y5 Maths sa2 Rosyth 2010 Primar y5 Maths sa2 Rosyth
2010 Primar y5 Maths sa2 Rosyth
 
Storage area network
Storage area networkStorage area network
Storage area network
 

Similar to vedic mathematics based MAC unit

Implementation of 16 x16 bit multiplication algorithm by using vedic mathemat...
Implementation of 16 x16 bit multiplication algorithm by using vedic mathemat...Implementation of 16 x16 bit multiplication algorithm by using vedic mathemat...
Implementation of 16 x16 bit multiplication algorithm by using vedic mathemat...eSAT Journals
 
High Speed Signed multiplier for Digital Signal Processing Applications
High Speed Signed multiplier for Digital Signal Processing ApplicationsHigh Speed Signed multiplier for Digital Signal Processing Applications
High Speed Signed multiplier for Digital Signal Processing ApplicationsIOSR Journals
 
A comprehensive study on Applications of Vedic Multipliers in signal processing
A comprehensive study on Applications of Vedic Multipliers in signal processingA comprehensive study on Applications of Vedic Multipliers in signal processing
A comprehensive study on Applications of Vedic Multipliers in signal processingIRJET Journal
 
A Time-Area-Power Efficient High Speed Vedic Mathematics Multiplier using Com...
A Time-Area-Power Efficient High Speed Vedic Mathematics Multiplier using Com...A Time-Area-Power Efficient High Speed Vedic Mathematics Multiplier using Com...
A Time-Area-Power Efficient High Speed Vedic Mathematics Multiplier using Com...Kumar Goud
 
ALU Using Area Optimized Vedic Multiplier
ALU Using Area Optimized Vedic MultiplierALU Using Area Optimized Vedic Multiplier
ALU Using Area Optimized Vedic MultiplierIJERA Editor
 
Parallel Hardware Implementation of Convolution using Vedic Mathematics
Parallel Hardware Implementation of Convolution using Vedic MathematicsParallel Hardware Implementation of Convolution using Vedic Mathematics
Parallel Hardware Implementation of Convolution using Vedic MathematicsIOSR Journals
 
Implemenation of Vedic Multiplier Using Reversible Gates
Implemenation of Vedic Multiplier Using Reversible Gates Implemenation of Vedic Multiplier Using Reversible Gates
Implemenation of Vedic Multiplier Using Reversible Gates csandit
 
Design and Implementation of an Efficient 64 bit MAC
Design and Implementation of an Efficient 64 bit MACDesign and Implementation of an Efficient 64 bit MAC
Design and Implementation of an Efficient 64 bit MACIJERA Editor
 
DESIGN OF LOW POWER MULTIPLIER
DESIGN OF LOW POWER MULTIPLIERDESIGN OF LOW POWER MULTIPLIER
DESIGN OF LOW POWER MULTIPLIERIRJET Journal
 
Design and Implentation of High Speed 16x16 CMOS Vedic Multiplier
Design and Implentation of High Speed 16x16 CMOS Vedic MultiplierDesign and Implentation of High Speed 16x16 CMOS Vedic Multiplier
Design and Implentation of High Speed 16x16 CMOS Vedic MultiplierEECJOURNAL
 
Low Power 32×32 bit Multiplier Architecture based on Vedic Mathematics Using ...
Low Power 32×32 bit Multiplier Architecture based on Vedic Mathematics Using ...Low Power 32×32 bit Multiplier Architecture based on Vedic Mathematics Using ...
Low Power 32×32 bit Multiplier Architecture based on Vedic Mathematics Using ...VIT-AP University
 
JOURNAL PAPER
JOURNAL PAPERJOURNAL PAPER
JOURNAL PAPERRaj kumar
 
High speed multiplier using vedic mathematics
High speed multiplier using vedic mathematicsHigh speed multiplier using vedic mathematics
High speed multiplier using vedic mathematicseSAT Publishing House
 
Design and Implementation of 8 Bit Multiplier Using M.G.D.I. Technique
Design and Implementation of 8 Bit Multiplier Using M.G.D.I. TechniqueDesign and Implementation of 8 Bit Multiplier Using M.G.D.I. Technique
Design and Implementation of 8 Bit Multiplier Using M.G.D.I. TechniqueIJMER
 

Similar to vedic mathematics based MAC unit (20)

A045030105
A045030105A045030105
A045030105
 
A045030105
A045030105A045030105
A045030105
 
Implementation of 16 x16 bit multiplication algorithm by using vedic mathemat...
Implementation of 16 x16 bit multiplication algorithm by using vedic mathemat...Implementation of 16 x16 bit multiplication algorithm by using vedic mathemat...
Implementation of 16 x16 bit multiplication algorithm by using vedic mathemat...
 
F011123134
F011123134F011123134
F011123134
 
High Speed Signed multiplier for Digital Signal Processing Applications
High Speed Signed multiplier for Digital Signal Processing ApplicationsHigh Speed Signed multiplier for Digital Signal Processing Applications
High Speed Signed multiplier for Digital Signal Processing Applications
 
Ijet v5 i6p2
Ijet v5 i6p2Ijet v5 i6p2
Ijet v5 i6p2
 
A comprehensive study on Applications of Vedic Multipliers in signal processing
A comprehensive study on Applications of Vedic Multipliers in signal processingA comprehensive study on Applications of Vedic Multipliers in signal processing
A comprehensive study on Applications of Vedic Multipliers in signal processing
 
Al04605265270
Al04605265270Al04605265270
Al04605265270
 
A Time-Area-Power Efficient High Speed Vedic Mathematics Multiplier using Com...
A Time-Area-Power Efficient High Speed Vedic Mathematics Multiplier using Com...A Time-Area-Power Efficient High Speed Vedic Mathematics Multiplier using Com...
A Time-Area-Power Efficient High Speed Vedic Mathematics Multiplier using Com...
 
ALU Using Area Optimized Vedic Multiplier
ALU Using Area Optimized Vedic MultiplierALU Using Area Optimized Vedic Multiplier
ALU Using Area Optimized Vedic Multiplier
 
Parallel Hardware Implementation of Convolution using Vedic Mathematics
Parallel Hardware Implementation of Convolution using Vedic MathematicsParallel Hardware Implementation of Convolution using Vedic Mathematics
Parallel Hardware Implementation of Convolution using Vedic Mathematics
 
F044033742
F044033742F044033742
F044033742
 
Implemenation of Vedic Multiplier Using Reversible Gates
Implemenation of Vedic Multiplier Using Reversible Gates Implemenation of Vedic Multiplier Using Reversible Gates
Implemenation of Vedic Multiplier Using Reversible Gates
 
Design and Implementation of an Efficient 64 bit MAC
Design and Implementation of an Efficient 64 bit MACDesign and Implementation of an Efficient 64 bit MAC
Design and Implementation of an Efficient 64 bit MAC
 
DESIGN OF LOW POWER MULTIPLIER
DESIGN OF LOW POWER MULTIPLIERDESIGN OF LOW POWER MULTIPLIER
DESIGN OF LOW POWER MULTIPLIER
 
Design and Implentation of High Speed 16x16 CMOS Vedic Multiplier
Design and Implentation of High Speed 16x16 CMOS Vedic MultiplierDesign and Implentation of High Speed 16x16 CMOS Vedic Multiplier
Design and Implentation of High Speed 16x16 CMOS Vedic Multiplier
 
Low Power 32×32 bit Multiplier Architecture based on Vedic Mathematics Using ...
Low Power 32×32 bit Multiplier Architecture based on Vedic Mathematics Using ...Low Power 32×32 bit Multiplier Architecture based on Vedic Mathematics Using ...
Low Power 32×32 bit Multiplier Architecture based on Vedic Mathematics Using ...
 
JOURNAL PAPER
JOURNAL PAPERJOURNAL PAPER
JOURNAL PAPER
 
High speed multiplier using vedic mathematics
High speed multiplier using vedic mathematicsHigh speed multiplier using vedic mathematics
High speed multiplier using vedic mathematics
 
Design and Implementation of 8 Bit Multiplier Using M.G.D.I. Technique
Design and Implementation of 8 Bit Multiplier Using M.G.D.I. TechniqueDesign and Implementation of 8 Bit Multiplier Using M.G.D.I. Technique
Design and Implementation of 8 Bit Multiplier Using M.G.D.I. Technique
 

vedic mathematics based MAC unit

  • 1. PRESENTED BY NAVYASHREE S (1VK09TE018) Dept of TCE, VKIT UNDER THE GUIDANCE OF RAJANI N ASSISTANT PROFESSOR,TCE DEPT
  • 2. CONTENTS • INTRODUCTION • GENERAL CONSTRUCTION OF MAC UNIT • THE MULTIPLIER ARCHITECTURE • VEDIC MULTIPLIER • ADVANTAGES • DISADVANTAGES • CONCLUSION • REFERENCE
  • 3. INTRODUCTION • Vedic mathematics is the name given to the ancient system of mathematics which was rediscovered from the vedas. • It gives explanation of several mathematical terms including arithematics, geometry, trignometry and even calculus. • It was constructed by Shri Bharati krsna theertaji (1884-1960), after his eight years of research on Vedas. • He constructed 16 main sutras and 16 sub sutras. • The beauty of vedic mathematics is to reduce complex calculations into simple one.
  • 4. CONTINUED… • Vedic mathematics sutras are powerful and useful even for astrological calculations. • In most of the digital signal processing applications, the critical operations are multiplication and accumulation. • The DSP functions extensively make use of the multiply-accumulate (MAC) operation, for high performance digital signal processing system. • The main motivation behind this work is to achieve high speed through VLSI design and implementation of MAC unit architecture using multipliers based on Vedic mathematics.
  • 6. GENERAL CONSTRUCTION OF MAC UNIT • A basic MAC architecture consist of a mulitplier and a accumulate adder . • The MAC unit computes the product of two numbers and adds the product to an accumulator register. • It provides high speed multiplication, saturation and clear –to-zero function. • Here the multiplier used is a vedic multiplier based on Urdhva Tiryagbhyam sutra.
  • 8. THE MULTIPLIER ARCHITECTURE • The multiplier is based on an algorithm Urdhva Tiryagbhyam(Vertical and crosswise ). • This sutras shows how to handle multiplication of larger number (N X N bits) by breaking it into smaller sizes. • For multiplier, first the basic blocks, that 2x2 multiplier are made and then, 4x4 block , 8x8 block and 16x16 block have been made. • The device selected for synthesis is Device family spartan 3E, device is xc3s500, package of fg320.
  • 9. VEDIC MULTIPLIER •The 2x2 Vedic multiplier modules has been implemented using two half-adder modules as shown in Fig. 4. The total delay is 2-half adder delays, once the bit products are generated. • The Implementation Equations of 2x2 Vedic multiplier modules are: • R0(1-bit)=b0a0 • R1(1-bit)=b0a1+b1a0 • R2(1-bit)=b1a1+c1 •Product=R2 & R1 & R0
  • 10. Fig 4:BLOCK DIAGRAM OF 2x2 MULTIPLIER MODULE
  • 11. Eg :Multiplication of 2 decimal numbers : 43*68 • Consider the multiplication of two decimal numbers (43*68). •The digits on both sides of the line are multiplied and added with the carry digit. •This carry is added in the next step and hence the process goes on. If more than one line are there in one step, all the results are added to previous carry. •In each step, unit’s place digit acts as the result bit while the higher digits act as carry for the next step. •Initially, the carry is taken to be zero..
  • 12. STEP 1 STEP 2 STEP 3 4 3 4 3 4 3 6 8 6 8 6 8 2 4 Multiplicands 3 2 carry 1 8 partial product 5 2 final product 2 4 2 9 2 4 Fig 3: Multiplication of 2 digit decimal numbers using Urdhva Tiryagbhyam sutra.
  • 13. Fig 4:Using Urdhva Tiryagbhyam for Binary numbers STEP 1 STEP 2 STEP 3 STEP 4 1101 1101 1101 1101 1010 1010 1010 1010 STEP 5 STEP 6 STEP 7 1101 1101 1101 1010 1010 1010
  • 14. CONTINUED… • LSB are multiplied which gives the LSB of the product (vertical). • The LSB of the multiplicand is multiplied with the next higher bit of the multiplier and added with the product of LSB and next higher bit of the multiplicand (crosswise). • The sum gives the second bit of the product and the carry is added to the next stage sum obtained by crosswise and vertical multiplication. • All four bits , are processed with crosswise multiplication and addition to give sum and carry. • The sum is corresponding bit of the product and carry is again added to the next stage addition and multiplication of three bits except the LSB. • The same operation continues until the multiplication of two MSBs to give the MSB of the product.
  • 15. Fig 5:Better implementation of Urdhva Tiryagbhyam sutra for binary numbers
  • 16. Continued.. • A 4x4 multiplication is simplified into 4, 2x2 multiplication that can be performed in parallel. • This reduces the number of stages of logic and thus reduces the delay of the multiplier. • This example illustrates a better and parallel implementation style of Urdhva Tiryagbhyam sutra.
  • 17. ADVANTAGES • Vedic multiplier is faster than the array multiplier and booth multiplier. • The area needed for vedic multiplier is very small as compared to other multiplier architecture. • MAC is used in modern digital signal processing. • MAC always lie in the critical path that determines the speed of the overall hardware systems.
  • 18. DISADVANTAGES • For complex multiplications, even the system becomes complex.
  • 19. CONCLUSION • The proposed vedic mathematics based MAC unit proves to be highly efficient in terms of speed. Due to its regular and parallel structure ,it can be realised easily on silicon as well.
  • 20. REFERENCE • Maharaja, J.S.S.B.K.T ., “VEDIC MATHEMATICS”, Motilal banarasidass Publishers Pvt. Ltd, Delhi, 2009. • Amandeep singh , “Design and hardware realisation of a 16-bit Arithematic unit”,THAPAR UNIVERSITY(2010). • B. Parhami, "Computer Arithmetic Algorithms and Hardware Architectures", 2n d ed, Oxford University Press, New York, 2010.