Tic Tac Toe - PowerPoint PPT Presentation

1 / 10
About This Presentation
Title:

Tic Tac Toe

Description:

System Requirements. A Tic Tac Toe game. One Player or Two Player mode. Test mode and Reset mode ... Responsible for passing data. Reset. Clock Divide. Test ... – PowerPoint PPT presentation

Number of Views:191
Avg rating:3.0/5.0
Slides: 11
Provided by: vlsi1E
Category:
Tags: responsible | tac | tic | toe

less

Transcript and Presenter's Notes

Title: Tic Tac Toe


1
Tic Tac Toe
  • ECE551, Final Project
  • Eric Harrah
  • Adam Miller

2
System Requirements
  • A Tic Tac Toe game
  • One Player or Two Player mode
  • Test mode and Reset mode
  • 9 bits of input
  • 6 to set position in 3x3 matrix
  • 2 Mode switches
  • 1 Push button is used
  • 20 bits of output
  • 18 bits for the LED Array
  • 1 Error LED output bit
  • 1 bit to light the win LED

3
Flow Chart
4
Player Module
  • Acquires the input
  • waits for the pushbutton to be hit
  • sends the 6 bits for the position and the 2 bits
    for the mode to the main module

5
Analysis of Input Module
  • Inputs 6 bit position and 2 bit mode, plus 18
    bits from LED Array
  • Checks for legal move
  • if legal, sets bits output based on mode
  • if illegal move, sends error

6
AI module
  • Input Change
  • Logic Order
  • Check for winning move
  • Check for losing move
  • Preset move

7
Output Module
  • Checks mode
  • in test mode, outputs test input
  • 1 player mode
  • checks for win by player - output
  • checks for win by AI - output
  • if win set win LED
  • 2 player mode
  • check for win by either player

8
Simulation of Output
9
Other Modules
  • Main
  • Responsible for passing data
  • Reset
  • Clock Divide
  • Test

10
Conclusions
  • VHDL
  • Setup Time
  • Modularity
Write a Comment
User Comments (0)
About PowerShow.com