ceiling VHDL function

Discussion in 'VHDL' started by scs9gp, May 11, 2007.

  1. scs9gp

    scs9gp

    Joined:
    Apr 26, 2007
    Messages:
    5
    Hi I am looking for a VHDL Function that gives the ceiling of a real number.
    The input to the function must be real number and the output which is the ceiling of the input must be an integer number.

    Alternatively
    The ceiling function of the IEEE.real_math package returns a real number as a ceiling of the real input number does anyone have a function to convert real into integer.

    Thanks
    George
     
    scs9gp, May 11, 2007
    #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. walala
    Replies:
    3
    Views:
    4,830
    walala
    Sep 18, 2003
  2. albert.neu@gmail.com
    Replies:
    2
    Views:
    8,721
    Jim Lewis
    Mar 21, 2006
  3. dude

    VHDL 2002 vs VHDL 1993

    dude, Mar 23, 2006, in forum: VHDL
    Replies:
    1
    Views:
    1,303
    Nicolas Matringe
    Mar 23, 2006
  4. afd
    Replies:
    1
    Views:
    8,413
    Colin Paul Gloster
    Mar 23, 2007
  5. Alasdair
    Replies:
    15
    Views:
    771
    Steven D'Aprano
    Mar 9, 2008
Loading...

Share This Page