EmbDev.net

Forum: FPGA, VHDL & Verilog Exponential function in IP core


von Misbah F. (Company: fast) (mis6358)


Rate this post
useful
not useful
How to implement exponential in IP core in xilinx? I tried using sing 
and cosh and then a adder but the output is not satisfactory.

von berndl (Guest)


Rate this post
useful
not useful
Misbah Faiz wrote:
> How to implement exponential in IP core in xilinx? I tried using sing
> and cosh and then a adder but the output is not satisfactory.

Hmm, is the second sentence not complete? Did you want to write 
'singing' or 'sing-a-song'? I can tell you: This won't help! Been there, 
done that hundreds of times...

For your 'cosh' problem I would suggest http://forums.xilinx.com/
These guys are very supportive and will be more than happy to solve your 
problem

von Rolf S. (audiorolf)


Rate this post
useful
not useful
I think he wants to emulate this with sin hyperbolicus / cos 
hyperbolicus, but this is not necessary. One would use the CORDIC anyway 
to calculate this, and CORDIC gives you the EXP directly. Just read the 
manual.

von Misbah F. (Company: fast) (mis6358)


Rate this post
useful
not useful
I meant sinh sorry for the mistake

von Misbah F. (Company: fast) (mis6358)


Rate this post
useful
not useful
Yes you are right but CORDIC is not giving me direct exponential. I did 
go through the manual. What i figured out is as e^x = sinh + cosh so we 
can generate sinh and cosh using CORDIC and then use a adder to get the 
answer. But the result does not come correct.

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.