Re: How many bits?

Discussion in 'VHDL' started by Tricky, Sep 10, 2009.

  1. Tricky

    Tricky Guest

    On 10 Sep, 09:59, Tricky <> wrote:
    > Quick question for everyone: is there an easy way to work out how many
    > bits are require to store the sum of N numbers at M bits per number.
    >
    > In my case, I need to store the sum of 2^20 (1mill)  18bit numbers.
    >
    > Theres probably another 2^n number in there, but I cant figure it out.
    >
    > Thanks for the help.


    Lol - Im so stupid..please ignore my ramblings

    38
    Tricky, Sep 10, 2009
    #1
    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. GGG
    Replies:
    10
    Views:
    12,553
    Donar
    Jul 6, 2006
  2. sarmin kho
    Replies:
    2
    Views:
    825
    A. Lloyd Flanagan
    Jun 15, 2004
  3. Miki Tebeka
    Replies:
    1
    Views:
    445
    Marcin 'Qrczak' Kowalczyk
    Jun 14, 2004
  4. sergey

    "casting" bits to bits?

    sergey, Nov 8, 2006, in forum: VHDL
    Replies:
    1
    Views:
    705
    sergey
    Nov 8, 2006
  5. Tomás

    Value Bits Vs Object Bits

    Tomás, Jun 2, 2006, in forum: C Programming
    Replies:
    13
    Views:
    547
    Hallvard B Furuseth
    Jul 1, 2006
Loading...

Share This Page