Construct a state diagram for a synchronous sequential circuit that detects an input sequence of 1010. The output z is 1 when the sequence is detected. Otherwise, z is 0. Sequences are allowed to overlap. A sample input/output is given below.
Input x Output z
001011110100111010100100 000000000001000000101000
Design a synchronous sequential circuit of Moore model that recognizes the input sequence 110. The output Z is 1 when the sequence is detected. Otherwise, Z is 0. Use D flip-flops in the realization. A sample input/output is given below.
Input x Output z
01001110011001011110100 00000000010000010000100