Forum Discussion

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

Single precision converter [Verilog]

Hello,

Do you know if they is any verilog library or something for converting an integer to floating point [32 bits]. Thank you.

2 Replies

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

    If the problem is dedicated to synthesis, look for floating point MegaFunctions.

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

    Thank you for the reply.

    Someone told me that using fixed point instead will require less resources. Do you know of any libraries for implementing math functions (such as exponential and division) for fixed point? With Verilog?

    Thank you.