2 to 4 decoder VHDL Tested with ModelSim 10.1b Truth table: 00 => 0001 01 => 0010 10 => 0100 11 => 1000 Youtube link https://www.youtube.com/watch?v=Vn73vKb5JGk