45 Super Mario Tune on A Piezo Speaker

45 : Super Mario Tune on A Piezo Speaker

  • Author: Milosch Meriac
  • Description: Plays Super Mario Tune over a Piezo Speaker connected across io_out[1:0]
  • GitHub repository
  • Most recent GDS build
  • HDL project
  • Extra docs
  • Clock: 3125 Hz
  • External hardware: Piezo speaker connected across io_out[1:0]


How it works

Converts an RTTL ringtone into verilog using Python - and plays it back using differential PWM modulation

How to test

Provide 3kHz clock on io_in[0], briefly hit reset io_in[1] (L->H->L) and io_out[1:0] will play a differential sound wave over piezo speaker (Super Mario)


# Input Output
0 clock piezo_speaker_p
1 reset piezo_speaker_n
2 none none
3 none none
4 none none
5 none none
6 none none
7 none none