Added 4 bit counter to generate t_enable