This is an old revision of the document!
For our final project in Computer Architecture we decided to build an FPGA Guitar. We used 8 buttons on the FPGA, and defined the first seven as notes, each one corresponding to different frequencies, and the eight button being the “strum” button, that triggers the corresponding notes one want to play. The frequencies varied from approximately 200Hz to 440Hz (note “A”).
We created a controlSignalGen() module that determined the control signals generated. We followed a one-hot-encoding pattern, where the inputControl switches are 7-bit numbers that determine a 3-bit ControlSignal, at every edge of the strummer button. The strummer button is going to change the control signal, every time it switches from 0 to 1, or vice versa, and a one-hot-encoding exists.