
This project is a hardware-accelerated, two-player Tic-Tac-Toe implementation. The design is optimized for high throughput and performance to meet the extreme demands of the legendary three by three board game (some might even say it's NP-complete).
IDLE mode. You will see a single LED "rotating" around the 3x3 grid.GAME_OVER. The winning line will flash rapidly.GAME_OVER state to clear the board and return to the IDLE rotation animation.The project requires 9 momentary pushbuttons and 9 LEDs arranged in a 3x3 grid.
| Component | ASIC Pin(s) | Description |
|---|---|---|
| Buttons 0-7 | ui_in[7:0] |
Inputs for the first 8 cells (Top-Left to Bottom-Middle). |
| Button 8 | uio_in[0] |
Input for the 9th cell (Bottom-Right). |
| LEDs 0-7 | uo_out[7:0] |
Outputs for the first 8 LEDs. |
| LED 8 | uio_out[7] |
Output for the 9th LED. |
ui_in and uio_in[0]) should have a 10kΩ pull-down resistor to Ground. The buttons should connect the pin to VCC (3.3V) when pressed.| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | Button Top Left | LED Top Left | Button Bottom Right |
| 1 | Button Top Center | LED Top Center | |
| 2 | Button Top Right | LED Top Right | |
| 3 | Button Middle Left | LED Middle Left | |
| 4 | Button Middle Center | LED Middle Center | |
| 5 | Button Middle Right | LED Middle Right | |
| 6 | Button Bottom Left | LED Bottom Left | |
| 7 | Button Bottom Center | LED Bottom Center | LED Bottom Right |