Theta (Sawtooth) generator
This file calculates a theta-angle-signal based on the given frequency-information:
This file calculates a theta-angle-signal based on the given frequency-information:
For both microcontrollers and FPGAs its quite challenging to calculate sine- and cosine-values with good enough precision to calculate different things with higher accuracy. Mitu Raj and Roshan Raju implemented a nice Mini-Cordic-IP-Core that does exactly this: calculate sin/cos as fixed-point values that can be used within an FPGA.