Design a synchronous 3-bit binary counter that generates therepeated sequence of 0, 3, 4, 7, 0, 3, 4, 7, 0… The outputs of theflip-flops are to be the binary output signals of your counter.Your solution needs to include the input equations for theflip-flops, and a circuit diagram for each version. a) Design thecounter using D flip-flops b) Design the counter using T flip-flopsc) Design the counter using JK flip-flops