Alok Menghrajani

Currently: security consulting and lecturer.

Previously: security engineering at Square Block. Co-author of Hack (the programming language) and put the 's' in https at Facebook Meta. Maker of various CTF puzzles.


This blog does not use any tracking cookies and does not serve any ads. Enjoy your anonymity; I have no idea who you are, where you came from, and where you are headed to. Keep the dream of an Internet from times past alive.


Home | Contact me | Github | RSS feed | Consulting services | Tools & games

A VGA controller in VHDL which renders image and runs Conway’s Game of Life

A project I worked on as part of an Advanced Digital Design course at EPFL, in 2004. We designed a VGA controller and 3 demonstration applications.

The first application is very simple and displays a “snow” effect based on random pixels (something resembling what a TV set displays when there is no signal). It required building a hardware pseudo-random number generator. The second application allows us to display a simple color image on the screen (digital picture frame). The third application runs Conway’s Game of Life (the cells get computed in parallel).

We also designed a unit for bi-directional communication with a PC using the serial port. The goal of this course was to provide us with an overview of what the challenges are when developing a large hardware project. The code was synthesized on an Altera board and connected to a standard VGA monitor.