Skip to content

Commit

Permalink
feat: update project tt_um_2048_vga_game from urish/tt08-2048-game
Browse files Browse the repository at this point in the history
Commit: dc44f905c2a5e514a65eb4a88548ac17f5ef821e
Workflow: https://github.com/urish/tt08-2048-game/actions/runs/10720211073
  • Loading branch information
TinyTapeoutBot authored and urish committed Sep 5, 2024
1 parent 5f498e7 commit ecc28dc
Show file tree
Hide file tree
Showing 8 changed files with 24,175 additions and 19,824 deletions.
4 changes: 2 additions & 2 deletions projects/tt_um_2048_vga_game/commit_id.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"app": "Tiny Tapeout tt08 587b6cb0",
"repo": "https://github.com/urish/tt08-2048-game",
"commit": "237712f53a5e14e80623320a101ec2b721bb3a47",
"workflow_url": "https://github.com/urish/tt08-2048-game/actions/runs/10683573756",
"commit": "dc44f905c2a5e514a65eb4a88548ac17f5ef821e",
"workflow_url": "https://github.com/urish/tt08-2048-game/actions/runs/10720211073",
"sort_id": 1725394945324,
"openlane_version": "OpenLane2 2.0.8",
"pdk_version": "open_pdks bdc9412b3e468c102d01b7cf6337be06ec6e9c9a"
Expand Down
2 changes: 2 additions & 0 deletions projects/tt_um_2048_vga_game/docs/info.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Use the `ui_in` pins to move the tiles on the board:

After resetting the game, you will see a jumping "2048" animation on the screen. Press any of the `ui_in[3:0]` pins to start the game. The game will start with two tiles with the number 2 on the board. Use the `ui_in` pins to move the tiles in the desired direction. The game will end when the board is full and no more moves can be made.

Setting `ui_in[7]` to 1 will enter unit test mode. In this mode, the game displays a colorful rectangle on the top of the screen, and accepts debug commands on the `uio` pins. Check out the test bench for more information.

## External hardware

[TinyVGA PMOD](https://github.com/mole99/tiny-vga)
20 changes: 11 additions & 9 deletions projects/tt_um_2048_vga_game/info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ project:
# Source files must be in ./src and you must list each source file separately, one per line.
# Don't forget to also update `PROJECT_SOURCES` in test/Makefile.
source_files:
- "button_debounce.v"
- "debug_controller.v"
- "draw_game.v"
- "draw_numbers.v"
- "galois_lfsr.v"
Expand All @@ -37,7 +39,7 @@ pinout:
ui[4]: ""
ui[5]: ""
ui[6]: ""
ui[7]: ""
ui[7]: "debug_mode"

# Outputs
uo[0]: "R1"
Expand All @@ -50,14 +52,14 @@ pinout:
uo[7]: "HSync"

# Bidirectional pins
uio[0]: ""
uio[1]: ""
uio[2]: ""
uio[3]: ""
uio[4]: ""
uio[5]: ""
uio[6]: ""
uio[7]: ""
uio[0]: "debug_cmd"
uio[1]: "debug_cmd"
uio[2]: "debug_cmd"
uio[3]: "debug_cmd"
uio[4]: "debug_data"
uio[5]: "debug_data"
uio[6]: "debug_data"
uio[7]: "debug_data"

# Do not change!
yaml_version: 6
Loading

0 comments on commit ecc28dc

Please sign in to comment.