i am using the cyclone II DE2 board to do an assignment with the title alarm clock... normally we are using the LED to represent the alarm sound... i would like to ask izit possible that make DE2 playing some sound or any other way to perform it?
There is a CODEC chip on the DE2 board which will allow you to play (and record) sounds, but thats significantly harder than making an LED turn on.Your best bet is to buy a piezo electric buzzer and attach it to one of the GPIOs.
Did you use NIOS II for alarm clock or direct HW?I think you need to use NIOS II and right drivers to initialize and use CODEC chip. Easiest way is to get Piezo buzzer and control it with selected GPIO. If you want to use IO pin to audio output for amplifier then this may help. Examples are in Verilog. http://www.fpga4fun.com/musicbox.html Edit: GPIO (General Purpose Input Output). Usually mean pin in FPGA.