Skip to content

meriac/tt03-play-tune

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyTapeout tt03: Super Mario Tune on A Piezo Speaker

Overview

This Verilog chip design is made for the TinyTapout tt03 shuttle. It will play the Super Mario Tune over a Piezo Speaker connected across io_out[1:0]. The speaker is driven in differential PWM mode to increase its output power.

Listen To The Generated Sound

Listen to the Verilog Simulation PWM output for 62505Hz clock frequency here.

Chip Design of the Super Mario Tune player

Chip Design of the Super Mario Tune player (see also the interactive version of this design)

Verilog Design Files

Waveform of Verilog Simulation Output

Using GTKWave for visualization of Simulation Results: 25s of Verilog simulation - showing the Waveform output Zooming into the Waveform

How To Test

Provide 6250Hz clock on io_in[0], briefly hit reset io_in[1] (Low, High, Low) and io_out[1:0] will play a differential sound wave over piezo speaker (Super Mario Tune).

External Hardware Required

Piezo speaker connected across io_out[1:0]

About

Plays a tune over a piezo speaker connected to GPIO pins

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Verilog 61.9%
  • Python 29.4%
  • Tcl 6.9%
  • Makefile 1.8%