2 Replies - 8463 Views - Last Post: 31 January 2011 - 07:59 PM Rate Topic: -----

#1 deejay220989  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 20-September 08

VHDL Floating Point Multiplier

Posted 09 January 2011 - 01:07 AM

Hi guys,

I have a project which needs me to create a VHDL code for a floating point multiplier using Quartus II.

As we know, the floating point can be represented in binary in 32 bits: 1 sign bit, 8 exponent bits and 23 mantissa bits.

The multiplier will need to accept two inputs: A and B.

The hints given for this prject is that I need to create an adder for the exponent and a multiplier for the mantissa.

I'm required to create my own multiplier. Creating a 23 bit multiplier for the mantissa is possible..but not easy. I'm confused whether should I use the shift method or the array method for the multiplication.

Besides that, do I really need to create a 23 bit multiplier just for the mantissa? Or is there any shorter way?

Any comments are appreciated. Thanks!

Is This A Good Question/Topic? 0
  • +

Replies To: VHDL Floating Point Multiplier

#2 calvinthedestroyer  Icon User is offline

  • D.I.C Lover

Reputation: 167
  • View blog
  • Posts: 1,908
  • Joined: 13-October 07

Re: VHDL Floating Point Multiplier

Posted 09 January 2011 - 09:54 PM

You might have to look for other examples of how other programmers have done it.

Did you try writing your program with both the array method and the shift method? Use BBCode when posting. For example:
Paste Your Code Here
and post both of your program examples so that we can compare them and look for a shorter way.
Was This Post Helpful? 0
  • +
  • -

#3 imran07  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 31-January 11

Re: VHDL Floating Point Multiplier

Posted 31 January 2011 - 07:59 PM

I am doing a similar project this term, and right now designing a multiplier with shifting and adding. if you like, we can discuss and solve issues together.
cheers.

View Postdeejay220989, on 09 January 2011 - 01:07 AM, said:

Hi guys,

I have a project which needs me to create a VHDL code for a floating point multiplier using Quartus II.

As we know, the floating point can be represented in binary in 32 bits: 1 sign bit, 8 exponent bits and 23 mantissa bits.

The multiplier will need to accept two inputs: A and B.

The hints given for this prject is that I need to create an adder for the exponent and a multiplier for the mantissa.

I'm required to create my own multiplier. Creating a 23 bit multiplier for the mantissa is possible..but not easy. I'm confused whether should I use the shift method or the array method for the multiplication.

Besides that, do I really need to create a 23 bit multiplier just for the mantissa? Or is there any shorter way?

Any comments are appreciated. Thanks!

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1