Sequence 110

Design a sequential circuit with one binary input and one binary output. The output must be 1 at cycle ii when the inputs at cycles i2i-2, i1i-1 and ii are 110, otherwise the output must be 0.

Specification

module find110(in, out, clk, rst);
    input in, clk, rst;
    output out;

Hint

The state machine can be implemented with 3 states.

Input

Output

Problem information

Author: Jordi Cortadella

Generation: 2026-02-03T12:22:16.745Z

© Jutge.org, 2006–2026.
https://jutge.org