working vhdl (2)