In this thesis, a version of the popular computer game Tetris was developed.
The game was fully implemented in the VHDL hardware design language
with a focus on modular design.
A module was developed for operations on the active element
that implements horizontal movement, rotations, falling and fast descent.
Other game logic was implemented in the module for pseudorandom selection of next element
and the module for full row removal.
Both of these were connected to the developed module for the playing field.
On screen display was implemented in the developed module for display of characters
and the module for pipelined rendering,
the later of which represents the top level hardware-independent module.
Several hardware-dependent modules were developed for interacting with the player:
a 7-segment display controller, a VGA controller and a module for tactile buttons.
These modules were all connected with the game via a hardware-dependent top level
module for the Digilent Nexys4 development board.
|