Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

HELP: Sound generation on the DE1 board

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

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Yes, i know how.

    Um, Does that make sense to you?

    Do you understand the question?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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.