Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > Division

Reply
Thread Tools

Division

 
 
vb_thecapt vb_thecapt is offline
Junior Member
Join Date: Mar 2012
Posts: 3
 
      03-17-2012
Hi everybody, i'm quite new to vhdl and hardware implementation and i have a problem.
I have to implement a weighted average (weights are not constant) with integer fixed-point numbers. The problem is that the sum of the weights (the divisor in the average) is not always a power of 2, so how i can perform that division WITHOUT use any ipcore divider?
The approximation of the divisor to the nearest power of 2 is not always a good choiche because the result could be not accurated enough.
Thank you in advance

ps: i use xilinx ise 13.2
 

Last edited by vb_thecapt; 03-17-2012 at 01:08 PM..
Reply With Quote
 
 
 
 
jeppe jeppe is offline
Senior Member
Join Date: Mar 2008
Location: Denmark
Posts: 346
 
      03-17-2012
This site will explain all about the topic and even generate VHDL source code:

http://users-tima.imag.fr/cis/guyot/...ish/Divise.htm

your welcome
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
division by 7 without using division operator krypto.wizard@gmail.com C Programming 94 02-09-2007 06:57 AM
SRT DIvision, Square root and reciprocal square root alghazo@siu.edu VHDL 0 05-27-2004 06:23 AM
polynomial division remainder Manfred Balik VHDL 5 05-18-2004 02:37 AM
FLOATING POINT DIVISION sunwij VHDL 3 12-29-2003 04:44 AM
will Synposys Design Compiler support division by two's power and integer rounding? walala VHDL 12 09-14-2003 03:49 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57