Forum Discussion
Altera_Forum
Honored Contributor
16 years ago1) Do as kaz said
2) Do as kaz said 3) Do as kaz said, but as few bits as possible for your constellation, to save resources with the multiplications in point 4.2. For example, assign values of -2, -1, 1, 2. 4.1) Create a half-sine table (with DAC resolution) with nSamples and cycle through it at DAC speed to get a sine wave. Use two instances of this in parallel, to get the 0º and 90º sines, using a 0 and nSamples/2 offset respectively. You can adjust the cycle step to adjust the carrier frequency. 4.2) Re-syncrhonize the values I and Q values you got from point 3) to thte DAC clock and then multiply them by the 0º and 90º waves respectively. 4.3) Add the results of 4.2 and send them to the DAC. The multiplication is going to be your first performance bottleneck here. Have fun.