Design and implement a sequential circuit that counts from 0-3in a repeating cycle with two inputs: step and reset. If the stepinput is 1 the count progresses to the next value, if 0 you stay atthe current value. If the reset input is 1 the count returns to 0,if 0 it has no effect. If both step and reset are 1, reset takesprecedence.
Use J-K flip flops in your design and follow the design processoutlined:
• Derive a state diagram for the circuit
• Create a state table
• Derive the flip-flop input equations and output equations
• Draw the logic diagram
• Implement the logic circuit on your breadboard forpresentation