Forum Discussion

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

Floating point divider - compilation error

I'm trying to use the Mega Wizard Floating Point Divider Code in my project. The Quartos compilation was passed successfully, but it's failed in the Model Sim one. At the end of compilation there is an error message that talking about the syntax error in the Altera's automatically created code file that called "my project name_inst.vhd. As I know, it's impossible to make changes in IP files. How can i solve this problem? Thanks

11 Replies

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

    The ALTFP_CONVERT will convert fixed point or integer values (because they are basically the same thing) to floating point and vice versa.

    fixed point is just a human concept, and uses integer arithmatic, and requires no special IP blocks for arithmatic or conversion..