Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- If your application is not critical you can use a small LUT e.g. 256 points then interpolate (linearly) between two values as they occur by finding the difference between input (t) value and nearst LUT values. i.e. some t values will point directly, most others will point in between LUT points so a basic calculation is needed to adjust the result. --- Quote End --- Altera Guru, Infact, my design is critical. output need to be very precise. Is ther anyway for that? Now, I got some points then linearize them (y = mx + c) with a particular time interval, then write code like below. if t = 0 then e = 1; elsif t > 0 and t <= 1 then e = -0.5 * x + 1; ...... end. Could I implement in this way? Thank you. Akilan.T