Arithmetic Libraries

Discussion in 'VHDL' started by ALuPin, Feb 10, 2004.

  1. ALuPin

    ALuPin Guest

    Hello everybody,

    can someone tell me what is the difference between
    the libraries
    ieee.std_logic_arith.all and
    ieee.numeric_std.all ?

    I am using Altera QuartusII software. Is one of the two libraries
    "more recommendable" ?

    Thank you in advance.
     
    ALuPin, Feb 10, 2004
    #1
    1. Advertising

  2. ALuPin wrote:


    > can someone tell me what is the difference between
    > the libraries
    > ieee.std_logic_arith.all and
    > ieee.numeric_std.all ?


    std_logic_arith is implemented different on different simulation and
    synthesis tools. Therefore it's recommended to use it.

    numeric_std has not these problems. But it is a newer library. If you
    share designs with other companies, that use *really old* tools, you may
    get problems.

    -> Take numeric_std.

    Ralf
     
    Ralf Hildebrandt, Feb 10, 2004
    #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. Sherrie Laraurens

    Galois field arithmetic libraries in C++

    Sherrie Laraurens, Jul 22, 2004, in forum: C++
    Replies:
    1
    Views:
    1,042
    Arash Partow
    Jul 22, 2004
  2. joshc
    Replies:
    5
    Views:
    584
    Keith Thompson
    Mar 31, 2005
  3. Karsten Wutzke
    Replies:
    21
    Views:
    942
    Roedy Green
    Jun 29, 2007
  4. srepmub

    interval arithmetic libraries

    srepmub, Jun 6, 2009, in forum: Python
    Replies:
    1
    Views:
    487
  5. Sriram Srinivasan
    Replies:
    13
    Views:
    589
    Benjamin Kaplan
    Nov 12, 2009
Loading...

Share This Page