How to write a code to generate on an 8-bit port (or more) a sinusoidal wave?

Status
Not open for further replies.
VHDL code Question

if u just need a single tone, then u can store the values for the sine in a ROM and throw it out on each clock.

If u need different tones to be generated, then u have to implement a Phase Accumulator also.This concept u can get it easily if u go through any of "DDS" or "NCO" implementation. search in google for NCO or DDS.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…