241 Super Mario Tune on A Piezo Speaker

241 : 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: 6250 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 6.25kHz 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