A VHDL implementation of a 2D mapping robot