User manual
DE2 User Manual
62
Demonstration Setup, File Locations, and Instructions
• Project directory: DE2_i2sound
• Bit stream used: DE2_i2sound.sof or DE2_i2sound.pof
• Connect a microphone to the microphone-in port (pink color) on the DE2 board
• Connect the audio output of a music-player, such as an MP3 player or computer, to the
line-in port (blue color) on the DE2 board
• Connect a headset/speaker to the line-out port (green color) on the DE2 board
• Load the bit stream into the FPGA
• You should be able to hear a mixture of the microphone sound and the sound from the music
player
• Press KEY0 to adjust the volume; it cycles between volume levels 0 to 9
Figure 5.8 illustrates the setup for this demonstration.
Figure 5.8. The setup for the Karaoke Machine.
5.6 Ethernet Packet Sending/Receiving
In this demonstration, we will show how to send and receive Ethernet packets using the Fast
Ethernet controller on DE2 board. As illustrated in Figure 5.9, we use the Nios II processor to send
and receive Ethernet packets using the DM9000A Ethernet PHY/MAC Controller. The
demonstration can be set up to use either a loop-back connection from one board to itself, or two
DE2 boards connected together.