OpenCores
no use no use 1/1 no use no use
Arithmetic functions using fixed point [Verilog]
by chika on Jul 20, 2011
chika
Posts: 1
Joined: Jul 20, 2011
Last seen: Apr 19, 2012
Hello,
I am trying to implement a function such as exp(-a/b)

a and b are integers.

I think i need to (correct me if I am wrong)

a. convert 'a' and 'b' to fixed point.

b. perform division

c. perform exponential function.

Please do you know any function/ library that can implement this? Preferably in Verilog.

I know megafunctions for floating point will do, but i requires alot of resources.

Thank you
no use no use 1/1 no use no use
© copyright 1999-2026 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.