Coursework for the Imperial College VHDL & Logic Synthesis lecture 2013.