Forum Discussion

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

Line out port de1 .. help !

Hi all ..

my project is alarm clock ..

and i'm going to write the code using Verilog code but one thing that i don't know how to use it :(

the LineOut port on altera DE1

how can i write the code to get sound when the alarm done?

and can de1 generate sounds?? or i must line in sound to get it out ?

any one can help me with that?

1 Reply

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

    I'm pretty sure that's the point of the class..

    Learning verilog. And figuring out how to talk to the hardware..

    I haven't looked at the DE1 lately, but there should be a codec between the FPGA and line-out. First dig up the datasheet for that part, and figure out how to send data to it.. (Most likely an I2S interface)

    Then write the verilog code to send some 1-KHz to 5 KHz tone tone to the CODEC, for Line-out.

    If you can make it make a tone, you can then work on the alarm clock portion.

    Pete