FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-22-2005, 04:18 PM
Giox
Guest
 
Posts: n/a
Default Hints for efficient 32 bit multiplier

Hello everybody, I'm interested in the implementation of a 32x32 bit
multiplier (unsigned values). The target FPGA is Virtex V300e
I would like to implement a system that is not too big, while I have
not a lot of timing constraints. Using a behavioral approach I obtain a
multiplier that needs about 17% of the FPGA, I would like to reduce
this size and the target frequency is about 70Mhz.
Where can I find some good manual that can help me in this task? can
you give me some advice about how to code this device?
Any help will be appreciated.

Reply With Quote
  #2 (permalink)  
Old 09-22-2005, 05:37 PM
mk
Guest
 
Posts: n/a
Default Re: Hints for efficient 32 bit multiplier

On 22 Sep 2005 08:18:54 -0700, "Giox" <[email protected]>
wrote:

>Hello everybody, I'm interested in the implementation of a 32x32 bit
>multiplier (unsigned values). The target FPGA is Virtex V300e
>I would like to implement a system that is not too big, while I have
>not a lot of timing constraints. Using a behavioral approach I obtain a
>multiplier that needs about 17% of the FPGA, I would like to reduce
>this size and the target frequency is about 70Mhz.
>Where can I find some good manual that can help me in this task? can
>you give me some advice about how to code this device?
>Any help will be appreciated.


Suppose you want to calculate p * q.
If p = a * 2^16 + b and q = c * 2^16 + d then
p * q = (a*c * 2^32 + (a*d+b*c) * 2^16 + b * d) which says that you
can use 4 16 bit multipliers to do a 32 bit multiplication or use one
16 bit multiplier and run it over 4 cycles to get what you want.

Reply With Quote
  #3 (permalink)  
Old 09-22-2005, 10:42 PM
Sylvain Munaut
Guest
 
Posts: n/a
Default Re: Hints for efficient 32 bit multiplier

mk wrote:
> On 22 Sep 2005 08:18:54 -0700, "Giox" <[email protected]>
> wrote:
>
>
>>Hello everybody, I'm interested in the implementation of a 32x32 bit
>>multiplier (unsigned values). The target FPGA is Virtex V300e
>>I would like to implement a system that is not too big, while I have
>>not a lot of timing constraints. Using a behavioral approach I obtain a
>>multiplier that needs about 17% of the FPGA, I would like to reduce
>>this size and the target frequency is about 70Mhz.
>>Where can I find some good manual that can help me in this task? can
>>you give me some advice about how to code this device?
>>Any help will be appreciated.

>
>
> Suppose you want to calculate p * q.
> If p = a * 2^16 + b and q = c * 2^16 + d then
> p * q = (a*c * 2^32 + (a*d+b*c) * 2^16 + b * d) which says that you
> can use 4 16 bit multipliers to do a 32 bit multiplication or use one
> 16 bit multiplier and run it over 4 cycles to get what you want.
>


Using karatsuba, you might get away with only 3 multipliers and just a
few extralogic.


Sylvain
Reply With Quote
  #4 (permalink)  
Old 09-23-2005, 12:53 AM
Ray Andraka
Guest
 
Posts: n/a
Default Re: Hints for efficient 32 bit multiplier

Giox wrote:

>Hello everybody, I'm interested in the implementation of a 32x32 bit
>multiplier (unsigned values). The target FPGA is Virtex V300e
>I would like to implement a system that is not too big, while I have
>not a lot of timing constraints. Using a behavioral approach I obtain a
>multiplier that needs about 17% of the FPGA, I would like to reduce
>this size and the target frequency is about 70Mhz.
>Where can I find some good manual that can help me in this task? can
>you give me some advice about how to code this device?
>Any help will be appreciated.
>
>
>

Do you need a result on every cycle of the 70 MHz clock? If not, then
you can do the multiplication over several clock cycles summing the
partial products in an accumulator. Look at the multipliers page on my
website (Under the DSP section) for some guidance on different multipliers.

--
--Ray Andraka, P.E.
President, the Andraka Consulting Group, Inc.
401/884-7930 Fax 401/884-7950
email [email protected]
http://www.andraka.com

"They that give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety."
-Benjamin Franklin, 1759


Reply With Quote
  #5 (permalink)  
Old 09-23-2005, 12:41 PM
Giox
Guest
 
Posts: n/a
Default Re: Hints for efficient 32 bit multiplier

Thanks a lot, I will read it.
Thanks to everyone
Gio

Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Optimizing Verilog Coding for More Efficient FPGA Synthesis vittal Verilog 0 09-15-2006 02:21 PM
How to create area-efficient comparator rootz Verilog 5 09-15-2005 04:31 PM
2 bit multiplier [email protected] FPGA 3 04-12-2005 11:29 PM
Efficient Voltage Regulators Spartan 3 Current Requirements Yaju N FPGA 8 02-25-2005 03:39 AM


All times are GMT +1. The time now is 11:52 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved