Computer Laboratory > Teaching > Course material 2007–08 > ECAD Labs > ECAD Lab 2 - Game of Life

  Lab 2 - Game of Life

This second lab will utilise the soft processor based on the the MIPS architecture. Over the final 3 weeks of practical sessions, you will code Conway's Game of Life on the MIPS processor, displaying the current state over the VGA output. By the end of the 3 weeks, you will be able to toggle individual cells on the screen via. a cursor controlled with a PS/2 mouse, and advance the state by one iteration each time a button is pressed on the DE2 board.
By the end of the first week, it is expected that the Verilog code that renders the cursor and grid on screen will be finished, leaving the final 2 weeks to write the assembler to handle mouse clicks and to advance the state when required. As before, these are just meant to be guidelines, it is advisable to read up on the lab before you come to the practical session, possibly even making an initial attempt at it. This will give you more time at the end to solve unexpected problems.
Getting started
The renderer
Painting cells
Game of Life