how to make a 3 bit multiplier

shteii01

Joined Feb 19, 2010
4,644
I thought they want 3 bit by 3 bit multiplier, I found 2 bit by 2 bit in the wiki, and 3x3 in some pdf that I did not look at.
 

kubeek

Joined Sep 20, 2005
5,795
You have numbers A with bits a2 a1 a0 and B with bits b2 b1 b0.
To multiply them using shift-add, you take a0 AND B, add to that a1 AND B<<1, then add to that a2 AND B<<2. The result is the multiplied number, which will have up to 6 bits, so you need 6bit adder.

B<<2 means left shift by two places, so that b2 b1 b0 becomes b2 b1 b0 0 0.

All this can also be done in a cycle, so that you need just one adder and a pair of registers. Useful for wide numbers.
 

Thread Starter

dangerous

Joined Dec 27, 2010
6
no sir i m not doing my homework i m making a 3 bit multiplier in my project thats why i only want a logic diagram and rest of the work i will do myself
 

tom66

Joined May 9, 2009
2,595
no sir i m not doing my homework i m making a 3 bit multiplier in my project thats why i only want a logic diagram and rest of the work i will do myself
You have the 3-bit multiplier, why do you need a display? Just output as binary, it will be "good enough" for most cases.

dangerous said:
i want it as soon as possible plz help me?:confused:
If it's a personal project why do you need it asap? Also, please wait more than 1 minute between posting.
 
Top