This Verilog chip design is made for the TinyTapout tt08 shuttle. It will play the Super Mario Tune over a Piezo Speaker connected across bidir[0:1] and bidir[7]. The speaker is driven in differential PWM mode to increase its output power. The changed pinout accomodates for the Tiny Tapeout Audio Pmod.
Please refer to the Bringup Guide for connecting your piezo speaker or headphone port.
Listen to the Verilog Simulation PWM output for 100kHz clock frequency here.
(see also the interactive version of this design)
- Playback Logic
- Autogenerated Super Mario Tune Storage. This project contains a Python-based script for converting a RTTL ringtone into optimized Verilog. An additional script converts TIM-file waveforms from the Verilog simulator back to a WAV-sound file to verify the correctness of the hardware-based player's sound.
Using GTKWave for visualization of Simulation Results: