Exponential function- Verilog

Status
Not open for further replies.

chikaofili

Junior Member level 3
Joined
Jun 29, 2011
Messages
30
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,510
Hello,
I am new to verilog. Please how can I implement exponential functions in verilog for inputs that are less than 1.

I have a function Y= 1- exp(-a/b)

and a/b ranges from 0 to 1.


I tried using the ** it didnot work because of rounding issues.

I also tried Taylor series. Please any ideas will be welcomed.


Thank you

Chika
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…