1 / 10

Mancala

ECE 551. Mancala. Ben McCue Nithiya Gajanetharan Nora D. Bull. Background. One of the oldest games known to man African and Asian societies play this game as a form of chess Some alterations made to original rules to make compatible with FPGA board. Background. Goal:

ordell
Download Presentation

Mancala

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ECE 551 Mancala Ben McCue Nithiya Gajanetharan Nora D. Bull

  2. Background • One of the oldest games known to man • African and Asian societies play this game as a form of chess • Some alterations made to original rules to make compatible with FPGA board.

  3. Background • Goal: • Capture more seeds than opponent. • Original rules: • Select hollow on your side of the board and sow seeds around board until you run out. • Place seeds in your home but skip opponent’s home as you pass by. • After first player releases last seed - second player’s turn begins. • If player runs out of seeds on their side of the board then game is over and the other player receives all seeds left on their side. http://www.mastersgames.com/rules/mancala-rules.htm http://en.wikipedia.org/wiki/Mancala

  4. FPGA Rules • To pick where to start use push buttons to select 1-4 or 5-8 holes • Player 1 can only select 1-4 • Player 2 can only select 5-8 • Switch 1* sets side of board player is selecting from • If switch is up: 5-8 • If switch down: 1-4 • FPGA board will keep up with amount of seeds in homes

  5. FPGA Rules • How to tell if it is your turn: • If LED 1 on then Player 1’s turn • If LED 2 on then Player 2’s turn • Keeping Score: • To display Player 1’s score on seven segment LED switch 2* needs to be down • To display Player 2’s score on seven segment LED switch 2* needs to be up

  6. Design Flow

  7. Applying to FPGA

  8. Graphical Interface

  9. Graphical Interface

  10. Module Description Data Input (Switches, Buttons) Built in Self Test (BIST) Computational Logic State Machine Display Module (7-Seg Led’s) Debounce Module Clock Divider Sample Clock

More Related