Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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

Status
Not open for further replies.

Renjith

Full Member level 3
Joined
Jan 3, 2005
Messages
173
Helped
15
Reputation
30
Reaction score
6
Trophy points
1,298
Location
India
Activity points
1,710
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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top