Division

Discussion in 'VHDL' started by vb_thecapt, Mar 17, 2012.

  1. vb_thecapt

    vb_thecapt

    Joined:
    Mar 17, 2012
    Messages:
    3
    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: Mar 17, 2012
    vb_thecapt, Mar 17, 2012
    #1
    1. Advertising

  2. vb_thecapt

    jeppe

    Joined:
    Mar 10, 2008
    Messages:
    348
    Location:
    Denmark
    jeppe, Mar 17, 2012
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. walala
    Replies:
    12
    Views:
    1,873
  2. sunwij

    FLOATING POINT DIVISION

    sunwij, Dec 28, 2003, in forum: VHDL
    Replies:
    3
    Views:
    1,028
    sunwij
    Dec 29, 2003
  3. Manfred Balik

    polynomial division remainder

    Manfred Balik, May 12, 2004, in forum: VHDL
    Replies:
    5
    Views:
    3,307
    Mike Treseler
    May 18, 2004
  4. alghazo@siu.edu
    Replies:
    0
    Views:
    1,214
    alghazo@siu.edu
    May 27, 2004
  5. krypto.wizard@gmail.com

    division by 7 without using division operator

    krypto.wizard@gmail.com, Feb 1, 2007, in forum: C Programming
    Replies:
    94
    Views:
    4,480
    ┬Ča\\/b
    Feb 9, 2007
Loading...

Share This Page