Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

ieee 754 format

sir i want to represnt 0.46 in ieee 754 format,after presenting if i multiply it with decimal like 3 can i get the desired right value in vhdl?i dont want to use fixed_pkg,it was too much combersome,i can't run it.:(

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    the fixed package is not for floating point numbers. The only way to do floating point is with alteras floating point IP blocks.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    The only way to do floating point is with alteras floating point IP blocks.

    --- Quote End ---

    You could also implement the IEEE-754 arithmetic yourself (which is a considerable amount of work) or obtain IEEE-754 IP from a third party vendor.