Design and Simulation of Various Counters and Shift Registers