Exponential Function

Jun 22, 2004 1 Replies

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?

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

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required