1. Design a sequence detector, a Mealy finite state machine todetect the serial bit sequence 1101, where the most significant bit(MSB) comes first and the least significant bit comes last.
A) Draw the state diagram
B) Draw the state table
C) The circuit is to be implemented using JK flip-flops andcombinational logic circuit. Derive the Boolean expressionnecessary for this implementation.
D) Sketch the circuit diagram for your design. This should showall the flipflops, logic gates and interconnections.