Altera Cyclone II FPGA Starter User Manual
Page 45
Altera Corporation
6–3
October 2006
Cyclone II FPGA Starter Development Kit User Guide
Advanced Examples
The block diagram (
) shows that the Music Synthesizer
comprises four major blocks:
■
DEMO_SOUND
stores a sample sound for the user to play.
■
PS2_KEYBOARD
processes user input from the PS/2 keyboard.
■
STAFF
displays the corresponding keyboard diagram on the VGA
monitor when a key is pressed
■
TONE_GENERATOR
represents the core of the music synthesizer
SOC.
Use SW9 to switch the music source between PS2_KEYBOAD and the
DEMO_SOUND
block. To repeat the demo sound, press KEY1.
The TONE_GENERATOR can produce two tones, (1) String and (2)
Brass, selected by SW0. The audio CODEC used on the development
board has two channels, turned ON/OFF by SW1 and SW2.
Figure 6–2. Block Diagram of the Music Synthesizer Design