Exponential function in IP core

Guest #3663861
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
#3664009
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.
OP (Company: fast) #3665813
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.

Reply

A question of your own? This thread is over 12 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.