Forum Discussion
Altera_Forum
Honored Contributor
10 years agoExponential function in vhdl
hiii I want to implement exp(x.^2) in VHDL for synthesis. Can any one suggest how to do it. Here x is in signed format and i want result in fixed point arithmatic i.e. without rondoff operation....
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- For exponential, you will need to create a look up table filled with all the results. The address input of the LUT is x and the output is your function. --- Quote End --- Thank you Tricky for your reply. May be I can write this lookup table in a package and call it for places where I need exponential function. If you have any sample program then please share.