Exponential Function

Hello, 1.) I was wondering if there was any way that I could perform exponential operations on numbers that are stored in memory!

2.) How do I use Coregen to perform addition and multiplication to numbers stored in memory in the fpga, or should I use Coregen?
Reply to
Phil Moore
Loading thread data ...

Yes. It is easiest if the base is 2. For base 2 (ie. 2^x), separate off the fractional portion of x, look up the antilog of the fractional portion from a LUT, and then shift that by the integer part of x.

--

--Ray Andraka, P.E. President, the Andraka Consulting Group, Inc.

401/884-7930 Fax 401/884-7950 email snipped-for-privacy@andraka.com
formatting link

"They that give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin, 1759

Reply to
Ray Andraka

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.