
The Tiny Tapeout Scoreboard chip processes the input of two pushbuttons and controls two 7 segment displays. The purpose is to count and show a game score of two players. With the two pushbuttons you are able to set the points - button 1 is for player 1 and button 2 for player 2. A short press adds one point to the count, a long press (at least 1.5 seconds) decreases the score by 1. The two digit score is then presented via two 7-segment displays wich alternate between the score of player 1 and player 2. Therefore the scoreboard blinks 2 times with the text 'P1' or 'P2' and after the blinking the respective score of each player is shown for 2 seconds.
Furthermore, there is a pushbutton-processor that, not only recognises a long press of a push buthon, but has an debounce logik so that a single pushbutton press increases the score just by one - even if the button is bouncing.
The design can be testet with the given testbenches in the test folder. Each moudle has its own testbenchfile.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | P1 | Seg_A1 | Seg_A2 |
| 1 | P2 | Seg_B1 | Seg_B2 |
| 2 | Seg_C1 | Seg_C2 | |
| 3 | Seg_D1 | Seg_D2 | |
| 4 | Seg_E1 | Seg_E2 | |
| 5 | Seg_F1 | Seg_F2 | |
| 6 | Seg_G1 | Seg_G2 | |
| 7 | Seg_H1 | Seg_H2 |