Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- Here the content of LUT must be 1s and 0s right?, but I have the generated values for e^(x) in floating point values where I take x = 0:0.001:10. could you please show me some directions or any links to such sample code? Thank you. --- Quote End --- Your LUT content need be in fixed point signed values, you can interpret it as binary zeros/ones or hex or just decimal. But you precompute the contents in fixed point i.e. by scaling values up to your bit width representation and round up any fractional remainders. Yoy precompute the largest possible expression (e.g. whole of exp(...))