Forum Discussion
Altera_Forum
Honored Contributor
17 years agoHi,
I agree that handcrafting is essential for understanding and then I will use whatever is faster. By the way you can modify your previous code to be more efficient by using the idea of DDS(or NCO) i.e. generate just one suitable LUT then a use modulo adder to address the table by jumping according to a tuning word value. If you don't want any tuning then just use a fixed word. This is explained fully in DDS tutorial from AnalogDevices. kaz