Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- I am thinking to make a table for the calculation of cos(x)/sin(x). I know this could be a very large table if I want the precision to be high. Generally speaking, what is the phase step (x = x+step; x0=0) for making such a table to satisfy the average precision requirement? Thanks. --- Quote End --- To avoid division I will get cos lut and 1/sin lut then multiply cos by 1/sin. Precision can be that of amplitude or phase. I think you mean phase precision. Phase precision can be designed irrespective of lut size e.g. 2^20 modulo adder. The accumulator result will point to both luts using msbs.