Decodey VHDL code

The code for the decodey.