Determine the function of the sequential circuit described by the followi…
Determine the function of the sequential circuit described by the following state diagram
- Mealy sequential circuit of non overlapping sequence detector for the sequence $111$.
- Moore sequential circuit of overlapping sequence detector for the sequence $111$.
- Mealy sequential circuit of overlapping sequence detector for the sequence $111$.
- Moore sequential circuit of non overlapping sequence detector for the sequence $111$.
Correct answer
C. Mealy sequential circuit of overlapping sequence detector for the sequence $111$.
Explanation
**Mealy.** The labels are input/output on the transitions ($1/1$, $0/0$, …), so the output depends on the input as well as the state. **Detects $111$.** $S_0 \xrightarrow{1/0} S_1 \xrightarrow{1/0} S_2 \xrightarrow{1/1}$: the output is $1$ on the third consecutive $1$. Any $0$ returns the machine to $S_0$. **Overlapping.** After detecting $111$ the machine stays in $S_2$ on another $1$ and outputs $1$ again. So $1111$ gives two detections: the last two $1$s of one match are reused. Answer: (c).