Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

BCD multiplier

Status
Not open for further replies.

stanley85

New Member
Hey guys,this is a great forum instead...!:p
I need help and guidance to build a one bit x one bit BCD multiplier...!I have google for it and found nothing on it!For this design,i'm am not allowed to use counter and address to use only basic equipment such as mux,demux,ic and basic gates..!Any idea on how to design it?
Thanks:p
 
1 bit * 1 bit multiply = 2 bit answer.
Take the 2 inputs to an xor gate and the output is bit 0 of the answer.
Take the 2 inputs to an and gate and the output is bit 1 of the answer.

Mike.
 
Pommie said:
1 bit * 1 bit multiply = 2 bit answer.
Take the 2 inputs to an xor gate and the output is bit 0 of the answer.
Take the 2 inputs to an and gate and the output is bit 1 of the answer.

Mike.
i still dont get it..!:rolleyes:
my question,let say 3 (0011 BCD) * 9 (1001 BCD) the output will be 27 (0010 0111).
How do i combine full adder or other equipment to design a circuit to get the output in BCD?This is wat i meant by one bit*one bit BCD multiplier.Anyone can help me in solving this porblem..!
Thanks for your reply..!:D
 
shahzad-h said:
do u need multiplier circuit which multiply two four bit number and gives answer in BCD form

yeah,if it is possible,i'm interested to see the circuit..DO you have it?;)
 
4 bit multiplier.

Hi Stanley85,

If one of the two 4-bit words is "0" the result should also be "0".
If one of the 4-bit words is "1" the result should be equal to the
other 4-bit word. If one of the 4-bit words is "2" the result should
be equal to the other 4-bit word, but shifted one position to the
left. If one of the 4-bit words is "3", the result should be equal to
the other 4-bit word, but shifted one position to the left and added
to this 4-bit word. If one of the 4-bit words is "4", the result is equal
to the other 4-bit word, but shifted two positions to the left. If one
of the 4-bit words is "5" the result should be equal to the other 4-bit
word, but shifted two positions to the left and added to this 4-bit
word, and so on . . . .
The final circuit will have eight inputs and also eight outputs.
I really don't have a clue what this circuit should look like, I got my
degree by asking questions on forums like this. :D

on1aag.
 
on1aag said:
Hi Stanley85,

If one of the two 4-bit words is "0" the result should also be "0".
If one of the 4-bit words is "1" the result should be equal to the
other 4-bit word. If one of the 4-bit words is "2" the result should
be equal to the other 4-bit word, but shifted one position to the
left. If one of the 4-bit words is "3", the result should be equal to
the other 4-bit word, but shifted one position to the left and added
to this 4-bit word. If one of the 4-bit words is "4", the result is equal
to the other 4-bit word, but shifted two positions to the left. If one
of the 4-bit words is "5" the result should be equal to the other 4-bit
word, but shifted two positions to the left and added to this 4-bit
word, and so on . . . .
The final circuit will have eight inputs and also eight outputs.
I really don't have a clue what this circuit should look like, I got my
degree by asking questions on forums like this. :D

on1aag.

I appreciate your help but i 'm not sure i understand bout ur explanation...!DEfinitely the circuit will have 8 inputs but the number is constrained till 9 cause in BCD and the output must be in BCD form as well!I can say that the maximum input will be (1001)*(1001) and the rest which are more than 9 can be considered as "dont care".I just can't figure it out how the circuit going to look like...!
:eek:
 
There are eight inputs which represent 256 combinations. Not all of the combinations are legitimate BCD values. There are 100 valid BCD combinations. For each of those 100 combinations there are eight output values that you can compute. Each of the eight outputs is a boolean function of the eight inputs.

Your task weedhopper is to write down the eight boolean equations of 8 variables. Even after you have done this you wont really know if you are correct unles you build it or simulate it.
 
Papabravo said:
There are eight inputs which represent 256 combinations. Not all of the combinations are legitimate BCD values. There are 100 valid BCD combinations. For each of those 100 combinations there are eight output values that you can compute. Each of the eight outputs is a boolean function of the eight inputs.

Your task weedhopper is to write down the eight boolean equations of 8 variables. Even after you have done this you wont really know if you are correct unles you build it or simulate it.

IS there any simple way to get the equation without using boolean..!Do you know anywhere i can get the example of the circuit...!100 combination,it will take a long time to get to it right...?
 
Sorry man that's as good as it gets.
 
4-bit BCD multiplier.

Hi Stanley85,

Shifting to the left is multiplying by two, shifting to the right is
dividing by two. This can be done using multiplexers. The addition
can be done by a BCD full adder like the 74HC583.

Have much fun, :p

on1aag.
 
on1aag said:
Hi Stanley85,

Shifting to the left is multiplying by two, shifting to the right is
dividing by two. This can be done using multiplexers. The addition
can be done by a BCD full adder like the 74HC583.

Have much fun, :p

on1aag.
opps,havent learn bout that yet!That's why i need example of it so i could understand the whole process of design it...!SOrry for asking,do you know anyplace that i can search for it?
 
sure, you can create complex combinational and/or sequential logic or you can use a 256 x 8 memory. EPROMs are pretty cheap and easy to use. your input is the two 4 bit BCD values as the address and the value at that location is the result. just fill out the 256 entry array with the values you want. The performance is basically the cost of one EPROM access.

hope your teacher appreciates the help you are getting here.

table lookup, it's A Good Thing.
 
philba said:
sure, you can create complex combinational and/or sequential logic or you can use a 256 x 8 memory. EPROMs are pretty cheap and easy to use. your input is the two 4 bit BCD values as the address and the value at that location is the result. just fill out the 256 entry array with the values you want. The performance is basically the cost of one EPROM access.

hope your teacher appreciates the help you are getting here.

table lookup, it's A Good Thing.

I'm not sure that i understand your advice.!HAvent learn bout it yet..!Anyway,stil appreciate ur help..!:p
 
Status
Not open for further replies.

Latest threads

Back
Top