Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21602 Discussions

HELP: Sound generation on the DE1 board

Altera_Forum
Honored Contributor II
1,381 Views

I have a project that involves sound generation off of the DE1 board. 

By default, the flash memory of the DE1 board is programmed with a code that will generate a 1kHz sine wave.  

I took a look at the code and I noticed 2 things:  

The code is written in Verilog (I need VHDL) and the file has all the code for every sound generation mode. (Its way too robust for my needs) 

 

Can someone help me discern what the necessary components are to generate a 1kHz wave from the DE1 board in VHDL? Sample code would be the most beneficial.  

 

Thanks
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
486 Views

Yes, i know how. 

 

Um, Does that make sense to you? 

 

Do you understand the question?
0 Kudos
Altera_Forum
Honored Contributor II
486 Views

 

--- Quote Start ---  

Yes, i know how. 

 

Um, Does that make sense to you? 

 

Do you understand the question? 

--- Quote End ---  

 

 

 

Can you help me figure out what I need to generate the 1kHz wave? 

 

It seems I need : 

 

Some I2C interfacing 

A case statement of values for the wave. 

Not sure what else. 

 

I'm not really sure I understand how it actually generates the sound though. 

 

Any help at all would be good.
0 Kudos
Reply