Hi Elcielo,
You need to provide more detailed info about the phase error you want to achieve in order to get a better answer, but here is the idea. You need to build an accumulator (to serve as the phase accumulator), the range between zero and maximum value of the accumulator will represent all phase values in one cycle of the sinusoid. Then you will use the accumulator output to address a look up table with sine values. The output of the look-up table (ram) can go straight to a DAC. There are
many improvements you can implement to this basic idea:
1. Store only one quadrant of the sine period (0-pi/2 for example), 'cause the sine's value in other quadrants can be inferred by simmetry.
2. Keep more precision in the accumulator than address bits in the LUT, then you can interpolate the LUT values for the intermediate accumulator values.
etc.
As I said, for more info, you need to give more info.
Hope this helps.