VHDL learning and testing