vhdl code for ring counter, N-bit ring counter vhdl behavior structural code, vhdl code for switch tail ring counter