0% found this document useful (0 votes)
350 views9 pages

Whack A Mole Presentation

The document describes the design of a Whack-a-Mole game using an FPGA board, LEDs, and buttons. The game starts with a 5-second countdown and then a 30-second gameplay period where a random LED lights up and the player must press the corresponding button, increasing their score. Modules are used to implement the timers, random number generation, scoring, and 7-segment display. The project aims to improve Verilog skills. Additional levels and a more user-friendly interface are suggested for redesigning the project.

Uploaded by

Radhey Patel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
350 views9 pages

Whack A Mole Presentation

The document describes the design of a Whack-a-Mole game using an FPGA board, LEDs, and buttons. The game starts with a 5-second countdown and then a 30-second gameplay period where a random LED lights up and the player must press the corresponding button, increasing their score. Modules are used to implement the timers, random number generation, scoring, and 7-segment display. The project aims to improve Verilog skills. Additional levels and a more user-friendly interface are suggested for redesigning the project.

Uploaded by

Radhey Patel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Whack a Mole

Jack Crowley, Rajiv Ramroop, Stacia


Kolodziejski, Radhey Patel
Project Goal

Design and create the whack a mole game using the FPGA board, LEDs, and
buttons.

Improve our writing and understanding of Verilog code as well as the


implementation on FPGA boards.
Design Specifications
- The game starts with a 5 second counter, then counts down from 30 for the duration of the
game. If the reset button is pressed, the 5 second countdown and the score will restart.
- Once the 5 second timer is done, a random LED will light up and the user has to click the
appropriate button for that LED.
- Once the user hits the correct button, the score, which is displayed using the 7 segment
display, will go up by one.
- If the user does not hit the correct button, the score will remain the same and a different
random LED will light up.
- Each LED will remain lit for one second and if the user does not hit any button within one
second, a different random LED will light up.
- When the 30 second countdown ends, the LEDs stop lighting up and the game is over. The 5
second countdown only starts again if the reset button is pressed.
Design Functionality
Modules
5 Second Timer 1 Hz Clock Divider

- Down counter from 5 to 0 - 1 second clock for each LED and both
countdowns
30 Second Timer
2 Hz Clock Divider Random Number Generator
- Down counter from 30 to 0
- Harder level of the game - Generates a random
Debouncer
number to assign to the LED
- Used for the buttons on Binary to BCD Score Counter
FPGA
- Converts binary input to BCD - Counts the score depending
7 Segment Display
on how many correct
- Displays the score buttons are pressed
Design Functionality
Do’s and Don’ts

Do Don’t
- Communicate effectively with team - Leave all the work and coding for the last
members minute
- Plan out all diagrams and functionality - Give all work to one or two people
before writing the code - Write minimal number of modules
- Write code in advance and write
testbenches to help with debugging
- Be flexible with team members and keep
an open mind
- Use multiple modules
If we could redesign this project from scratch....

- Add more levels to the game using different speeds for the LEDs to light up
- Have a different way of pushing the buttons, or a different configuration of
buttons on the board so that it is more user friendly
- Make it more “Game- Like”, by displaying messages to users
Thank you!
Questions?

You might also like