Showing posts with label Urdhva Triyakbhyam Sutra. Show all posts
Showing posts with label Urdhva Triyakbhyam Sutra. Show all posts

Saturday, 17 August 2013

Design your own Vedic multiplier

Vedic Multipliers:
You all must have heard of Vedic mathematics and I am sure you must have tried few Vedic logic to add/multiply/divide etc.. What is more interesting about Vedic is the logic behind it. Ever since it has come into existence people have tried coming up with their own set of Vedic hardware keeping the low power issues and the area constraints. I came across one such logic using Vedic maths for fast multiplications and browsed few papers related to it. Interestingly I noticed that its quite simple for anyone to design their own Vedic hardware multiplier using Verilog. So I tried doing it myself using few papers and resources. Guess what? it worked 
The Vedic logic I used is the “Urdhva Triyakbhyam Sutra” . If you google it I am sure u will get the logic so i will not explain much about logic here but instead will start with the hardware design of Vedic multiplier. Here is snapshot of the logic which is easy to understand

The figure shows how to multiply two 2 bit numbers using Urdhva Triyakbhyam Sutra. Now with this logic we have to convert it to a equivalent hardware. Two bit multiplication is equivalent to a “and” gate so my first part is over. Next part is to add two bits which is nothing but a half adder and for our logic we need two half adders. U can easily code for a half adder, If not its available here  http://verilog-code.blogspot.in/p/verilog-codesprojects.htmlLet’s start with the coding now and make sure that you have understood the logic well before you proceed reading . 

To start with the design has two stages:
1> Multiplier stage using “and” gates and we need four such gates
2> half adders and two such adders
[Note: the carry of first adder must be added to the second adder]
This is my black box model 
showing only the inputs and outputs:



Please Note : Our course is now listed for Udemy training by Industry and leading companies use our courses  :
Analog Design- Intuitive Approach
Rc Circuits Analysis With LT Spice
Basics of Mosfet - Simplified View
Please use these links or share with someone who might be interested.
Note : Author discounts are already applied to these links.