Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
FPGA Piano
Rating: 5.0 out of 5(1 rating)
15 students

FPGA Piano

analysis, coding, simulation and run on board
Created byHUI HU
Last updated 11/2022
English

What you'll learn

  • FPGA coding and debug skill
  • FPGA system analysis skill
  • FPGA key press processing skill by using different solutions
  • FPGA audio tone generate skill
  • How to drive buzzer by FPGA
  • How to drive led by FPGA

Course content

1 section19 lectures4h 58m total length
  • System Target3:12
  • Make Buzzer Buzzing26:28
  • System Analysis10:02
  • Buzzer Module Status Machine6:33
  • Buzzer Module Coding22:28
  • Buzzer Module Simulation24:56
  • Key Module Status Machine11:33
  • One Key Module Coding37:29
  • One Key Module Simulation24:42
  • Key Module Solution1 Coding15:10

    Develop and test a seven-key FPGA module (keys zero to six) that decodes the key value and outputs key-on and key-off signals with a single always block and case statement.

  • Key Module Solution1 Simultion19:42
  • Key Module Solution2 Coding17:15

    Modify the key module to form key module two from solution one, update seven-bit inputs, and implement a decode task in Visual Studio Code to interpret key presses.

  • Key Module Solution2 Simulation10:15
  • LED Module Status Machine3:45
  • LED Module Coding10:57
  • LED Module Simulation17:16
  • Top Module Coding11:25
  • Top Module Simulation11:12
  • Run on Board14:30

Requirements

  • basic FPGA knowledge

Description

Audio processing is one very important subject of the FPGA application. I like to start with this “FPGA Piano” project. For this project, I specially design one FPGA daughter board. On this board, it has one buzzer, seven keys and one LED. If we press anyone of the keys, the LED will turn on and the buzzer will play one of the piano tone: do, re, mi, fa, so, la ti. If you play it according certain rhythm, you can play a simple song. In the end of the series, we demo how to play one “twinkle, twinkle, little star” song. It can be a very simple version of “electrical piano”. It is a very fun project.


For the software, it includes four main modules: buzzer module, key module, led module and top module. I type every piece of code from scratch and analyze the whole system from the whole picture in every detail. Also, I simulate every module of the system and demo how to fix the bugs in the software. You can not only learn the coding skill and also the debug technique, also you can learn how to begin one new system design from the very beginning, how to match the software interfaces with the hardware design, achieve the system requirement.

Who this course is for:

  • FPGA learner