
Module: tt_um_dip_switch_game_TobiasPfaffeneder
Can You Count Binary is a logic game designed for the Tiny Tapeout platform.
It runs entirely on the Tiny Tapeout PCB — no external hardware required!
Your goal is simple: convert decimal numbers displayed on the seven-segment display into their binary equivalents using the onboard DIP switches.
But hurry up - your time is limited, and the game gets faster as you play!
123, 045, 007, ...).| Signal | Dir | W | Description |
|---|---|---|---|
ui_in[7:0] |
in | 8 | DIP switches (player input) |
uo_out[7:0] |
out | 8 | Seven-segment display (parallel 8-bit) |
uio_in[7:0] |
in | 8 | Unused |
clk |
in | 1 | System clock (1 kHz) |
rst_n |
in | 1 | Asynchronous reset (active-low) |
ena |
in | 1 | Always 1 on Tiny Tapeout |
https://wokwi.com/projects/446871385453862913
No external hardware is required. The Dip switches and the seven-segment display on the Tiny Tapeout PCB are used to play the game.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | DIP-Switch 0 | 7-Segment-Display A | unused |
| 1 | DIP-Switch 1 | 7-Segment-Display B | unused |
| 2 | DIP-Switch 2 | 7-Segment-Display C | unused |
| 3 | DIP-Switch 3 | 7-Segment-Display D | unused |
| 4 | DIP-Switch 4 | 7-Segment-Display E | unused |
| 5 | DIP-Switch 5 | 7-Segment-Display F | unused |
| 6 | DIP-Switch 6 | 7-Segment-Display G | unused |
| 7 | DIP-Switch 7 | 7-Segment-Display DP | unused |