Maker Pro
Maker Pro

digital electronics

hi
I need to divide two 10 bit numbers.I would like to know if any kind of
chip is readily available or what would be the best circuit for
implementing this(A circuit for a higher number of bits like 16 will
also do).Any help in this regard would be appreciated.

Rangan
[email protected]
 
R

Rich Webb

Jan 1, 1970
0
hi
I need to divide two 10 bit numbers.I would like to know if any kind of
chip is readily available or what would be the best circuit for
implementing this(A circuit for a higher number of bits like 16 will
also do).Any help in this regard would be appreciated.

Not enough information. Is this for homework to demonstrate the concept
using discrete logic gates, or for "real" work where there may be other
constraints, such as throughput, footprint, cost, integration with other
components, etc.?

Absent any other information, a reasonable answer to your question is:

unsigned short divide(unsigned short dividend, unsigned short divisor)
{
return dividend / divisor;
}

or we could instantiate a 10-bit divider in VHDL or some flavor of
assembly language or ...
 
This is one part of a project I am doing and not just to illustrate the
concept.As long as the circuit gives the output by some 500ms at the
maximum and doesnt take up a power of more than 200mW its ok.Also i
would like to avoid using some microcontroller or pic as i feel it
would be an overkill.
Thanks
Rangan
[email protected]
 
K

Kitchen Man

Jan 1, 1970
0
On 20 Aug 2005 21:06:58 -0700, [email protected] wrote:

[Re: want ten-bit integer divider]
This is one part of a project I am doing and not just to illustrate the
concept.As long as the circuit gives the output by some 500ms at the
maximum and doesnt take up a power of more than 200mW its ok.Also i
would like to avoid using some microcontroller or pic as i feel it
would be an overkill.

Perhaps a ROM or similar device, pre-programmed with a ten-bit answer
dependant on the ten-bit input?
 
R

Rich Webb

Jan 1, 1970
0
This is one part of a project I am doing and not just to illustrate the
concept.As long as the circuit gives the output by some 500ms at the
maximum and doesnt take up a power of more than 200mW its ok.Also i
would like to avoid using some microcontroller or pic as i feel it
would be an overkill.

[Please include context in replies. Yes, the Google usenet interface
sucks. "Do no evil"? Feh!]

Is there nothing else that the project needs to do? It would seem that
building this out of discrete logic would be overkill. If a
microcontroller is a bad fit, how about a CPLD?

How are the ten bits presented to the front end of the divider block?
How do you want the results presented at the back end?
 
J

Jasen Betts

Jan 1, 1970
0
This is one part of a project I am doing and not just to illustrate the
concept.As long as the circuit gives the output by some 500ms at the
maximum and doesnt take up a power of more than 200mW its ok.Also i
would like to avoid using some microcontroller or pic as i feel it
would be an overkill.

A $5 microcontroller, plus $5 worth of extra hardware
could do it,

I doubt there's a cheaper way, of course you'd need a programmer for the
micro, if you make one of them too and shop at an expeisive hobby store
call it $50

Bye.
Jasen
 
K

Ken Moffett

Jan 1, 1970
0
A $5 microcontroller, plus $5 worth of extra hardware
could do it,

I doubt there's a cheaper way, of course you'd need a programmer for
the micro, if you make one of them too and shop at an expeisive hobby
store call it $50

Bye.
Jasen

Or, you could go with a Picaxe-40 uC. ~$10.00 for the 40 pin chip, 2
resistors, a 3-wire serial cable, and free PBasic programming/loading
software. 32 I/O lines, so 2 sets of 10 bits in and 1 set of 10 bits out.
Not sure about the current consumption, but a lot of that depends on what
you're driving, and if 200mW is a maximum peak or average consumption.

http://www.rev-ed.co.uk/picaxe/
 
Top