Design a sequencer using J-K flip flops that has twocycles. The even cycle sequences 0,2,4,6, and repeats. The odd cycle sequences 1,3,5,7, and repeats. An externalinput selects which cycle to perform. An input of 0 selectsthe even cycle; an input of 1 selects the odd cycle. Thecycles can be entered and exited only through states 0 and 1. For this sequencer, produce the following:
a)A state diagram
b)A transition table
c)K-maps and reduced expressions for all J-K inputs
d)A logic diagram for the sequencer.