A Universal Serial Bus (USB) communication link requires a circuit that produces the sequence00000001. You are to design a synchronous sequential circuit that starts producing this sequence forinput E = 1. Once the sequence starts, it completes. If E = 1, during the last output in the sequence,the sequence repeats. Otherwise, if E = 0, the output remains constant at 1.(a) Draw the Moore state diagram for the circuit.(b) Find the state table and make a state assignment.(c) Design the circuit using D flip-flops and logic gates. A reset should be included to place thecircuit in the appropriate initial state at which E is examined to determine if the sequence ofconstant 1s is to be produced.