Vhdl language design counter