From: Pritha on
We are trying to build an ALU Architecture, the instruction set of
which also includes Multiply and Divide. Could someone help us
regarding the implementation or suggest some sites or books explaining
the same?
From: jacko on
On Jun 24, 10:27 pm, Pritha <ghoshal.pri...(a)gmail.com> wrote:
> We are trying to build an ALU Architecture, the instruction set of
> which also includes Multiply and Divide. Could someone help us
> regarding the implementation or suggest some sites or books explaining
> the same?

The first step with regards to multiply and divide is to decide what
your area constraints are. If you have masses of area and power is not
your major concern then you should go for a parallel multiplier and
divider, as a bit serial design is slower, but takes much less chip
area, but does require multicycle sequencing.

If you wish to reduce logic count even further then my site
http://indi.hpsdr.com/system32.html has some ideas on how to make the
multiply and divide logic common and so total to less.

keywords in google: bit serial multiplication, alu multiply
instruction, reciprical division multiply

Also search for alu microprocessor design

OK>

cheers

p.s. learning VHDL may be a good starting point.
From: Quadibloc on
On Jun 24, 11:27 pm, Pritha <ghoshal.pri...(a)gmail.com> wrote:
> We are trying to build an ALU Architecture, the instruction set of
> which also includes Multiply and Divide. Could someone help us
> regarding the implementation or suggest some sites or books explaining
> the same?

My humble web site at

http://www.quadibloc.com/comp/cp0202.htm

discusses some of the fancy methods of multiplying and dividing.

Of course, the simple one is to have a multiplier-quotient register,
and just do repeated addition and subtraction with shifting, in
imitation of an adding machine.

John Savard
From: jon on
On 25 Jun, 06:27, Pritha <ghoshal.pri...(a)gmail.com> wrote:
> We are trying to build an ALU Architecture, the instruction set of
> which also includes Multiply and Divide. Could someone help us
> regarding the implementation or suggest some sites or books explaining
> the same?

Have a look at the Lattice Mico32 source code.

http://www.latticesemi.com/products/intellectualproperty/ipcores/mico32/index.cfm

Jon
From: messa on
On Jun 25, 1:27 am, Pritha <ghoshal.pri...(a)gmail.com> wrote:
> We are trying to build an ALU Architecture, the instruction set of
> which also includes Multiply and Divide. Could someone help us
> regarding the implementation or suggest some sites or books explaining
> the same?

you can check opencores.org for some arithmetic cores implementation.
Be sure to read the licence of any core that you might use before
deciding to use it.

good luck!