Skip to content
No description, website, or topics provided.
Verilog HTML Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Simulation
db
incremental_db
output_files
verilog
work
CSC258 Project Proposal.docx
README.md
vsim.wlf

README.md

CSC258-Project - Whack-A-LED

Description

-> This is a game where users attempt to "whack" a mole when the mole appears on the screen. When SW[0] is turned to 1, the game starts. Randomly, one of three moles will appear on screen (left, center, right). You must click the corresponding keyboard button before the mole disappears to get the point. Left arrow button for left mole. Down arrow for center mole. Right arrow button for right mole. This process is repeated. Once a certain score is reached the moles will appear and disappear much faster. The goal is to get as many points as possible. This uses keyboard and VGA.

Top-Level Module

milestone3.v

project design

modules created by us

paint: draws a mole at the indicated coordinate
randomnumber: gets a random number between 0 and 7
ratecounter: to count a certain amount so mole only flashes for a certain amount of time
display_controller: turns on or off mole depending on ratecounter signal
player: determines player score
milestone3: top level module that calls everything
levelcontroller: changes ratecounter rate depending on a players score
key: initializes the keyboard files and checks whether a user has clicked the required keys. 
seven_segment_decoder: to display score to HEX

modules not created by us

oneshot
VGA
Most of the keyboard module

external resources

VGA files provided by professor
keyboard files from: John Loomis website - http://www.johnloomis.org/digitallab/ps2lab1/ps2lab1.html
You can’t perform that action at this time.