bits2real

Discussion in 'VHDL' started by vincedx@gmail.com, Dec 28, 2006.

  1. Guest

    Hi, I'm writing a little component in vhdl and I need to use real
    values in it. Since I can't synthesize a componet that has real ports,
    I must convert a 64 std_logic_vector from and to real. I already found
    a function real2bits, but I also need a sort of bits2real.

    Anyone help?
    , Dec 28, 2006
    #1
    1. Advertising

  2. wrote:
    > Since I can't synthesize a componet that has real ports,
    > I must convert a 64 std_logic_vector from and to real. I already found
    > a function real2bits, but I also need a sort of bits2real.


    A 64 bit signed or unsigned port may
    do what you need using numeric_std functions.

    -- Mike Treseler
    Mike Treseler, Dec 28, 2006
    #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.

Share This Page