Forum Discussion
Altera_Forum
Honored Contributor
13 years agoYou can do an integrator by adding the current signal value to the previous one (stored in a register) and dividing the result by a constant value.
But why do you want to do it this way? It isn't the best way of generating a sine wave. Any error in the incoming signal, or any rounding error in the integration process, can accumulate over time and you risk having a drift on you output signal.