EmbDev.net

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


Author: Misbah Faiz (Company: fast) (mis6358)
Posted on:

Rate this post
0 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.

Author: berndl (Guest)
Posted on:

Rate this post
0 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

Author: Rolf S. (audiorolf)
Posted on:

Rate this post
1 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.

Author: Misbah Faiz (Company: fast) (mis6358)
Posted on:

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

Author: Misbah Faiz (Company: fast) (mis6358)
Posted on:

Rate this post
0 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.

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.