
This is a mini implementation of the nostalgic game Bomberman. It supports two players, where each player has an up, down, left, right, and bomb button.
Plug into the VGA monitor to see if the chip works.
Below is a more detailed view of how the implementation works:
tt_um_sker module
Wires the ports from the chip to the chip interface.
In: "btn_up1"
In: "btn_down1"
In: "btn_left1"
In: "btn_right1"
In: "btn_up2"
In: "btn_down2"
In: "btn_left2"
In: "btn_right2"
In: "btn_bomb1"
In: "btn_bomb2"
Out: "red[0]"
Out: "red[1]"
Out: "green[0]"
Out: "green[1]"
Out: "blue[0]"
Out: "blue[1]"
Out: "VS"
Out: "HS"
ChipInterface module
Bomberman module
Winner module
BombCounter module
Bomb module
Player module
ButtonBuffer module
PrevPlayer module
CurrMap module
ResetMap module
PrevMap module
Synchronizer module
VGA module
Display module
MapDisplay module
MapDisplayDecoder module
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | btn_up1 | red[1] | btn_bomb1 |
| 1 | btn_down1 | green[1] | btn_bomb2 |
| 2 | btn_left1 | blue[1] | |
| 3 | btn_right1 | VS | |
| 4 | btn_up2 | red[0] | |
| 5 | btn_down2 | green[0] | |
| 6 | btn_left2 | blue[0] | |
| 7 | btn_right2 | HS |