Forum Discussion

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

Fixed point [Math functions in verilog]

Hello,

Is there any library for math functions in verilog? By math functions, I mean division and exponential. If it is in VHDL please let me know as well.. But verilog will be the best.

Thank you!

1 Reply

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

    VHDL has divide, but its not really that useful for real designs because divides need some serious pipelining. So you need an IP divider instead that you can get in VHDL or verilog.