
The project implements a tamagotchi: a cat is born on startup and is to be kept alive.
Interacting with the tamagotchi is done using a gamepad:
The tamagotchi can be used by attaching a gamepad, VGA screen and audio module. In order to reset the tamagotchi, pull the rst_n low for a while. When the rst_n is high again, the screen should flash colorfully as the the cat is born. After this process, the tamagotchi is in a 'default' idle state. Use the buttons on the gamepad to traverse states (remember to go back to the default state before trying to enter a new state), discover the fish-catching minigame and keep the cat alive.
If the 'A' button is pressed while 'select' is pressed, the tamagotchi enters a 'fast' mode where the battery increases and decreases quicker, making testing easier.
Gamepad, VGA and Audio PMODs.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | R1 | ||
| 1 | G1 | ||
| 2 | B1 | ||
| 3 | VS | ||
| 4 | gamepad_pmod_latch | R0 | |
| 5 | gamepad_pmod_clk | G0 | |
| 6 | gamepad_pmod_data | B0 | |
| 7 | HS | AudioPWM |