Skip to content

Simple Super Mario Bros. clone created in System Verilog

Notifications You must be signed in to change notification settings

nicklesimba/FPGA-Mario

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FPGA Mario

This project makes use of USB keyboard, VGA display, and audio to make a functional Super Mario Bros. clone complete with animation, powerups, enemy interaction, and collision detection. This project was written mostly in System Verilog, with the keyboard interface written in C.

Here is a video showcasing a demo of this project.

Getting Started

  • Make sure an FPGA board is available. This is necessary to run the project. Ensure the FPGA board is properly connected to a VGA display and a USB keyboard.
  • First download the DE2 Control Panel app and follow the instructions on the website to ensure a successful installation.
  • Download and import the project into Quartus Prime. Upon a successful compile, connect the FPGA via the USB-Blaster. If music is desired, load a .wav file of your choice onto the board via DE2 Control Panel, then disconnect the Control Panel.
  • Next, click start in Quartus to flash the FPGA with the program. The display should show the Super Mario Bros. logo. If the program fails to start, ensure that Control Panel is disconnected.
  • Restart the FPGA by pressing KEY0. This will cause Mario to appear.
  • Open Eclipse and start the USB-reading via the NIOS-II console. This may fail several times. Upon a successful keyboard read, the user should be able to control Mario!

Built With

Contributing

Please contact [email protected] if you are interested in contributing to this project.

Authors

  • Nikhil Simha - System Verilog and C programming - Github
  • Pranith Bottu - System Verilog programming - Github

Acknowledgments

  • Thanks to Rishi's Helper Tools for enabling us to use sprites
  • Thanks to Koushik Roy for the VHDL audio driver
  • All rights to Mario and related properties belong to Nintendo

About

Simple Super Mario Bros. clone created in System Verilog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published