Delayed sequence

Design a circuit that reads an input sequence and generates the same sequence delayed three cycles. The output sequence must be 0 during the first three cycles. Here is an example:

    in:    1 1 0 0 1 0 0 1 1 1 0 1 0 0 1 ...
    out:   0 0 0 1 1 0 0 1 0 0 1 1 1 0 1 0 0 1 ...

Specification

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

Input

Output

Problem information

Author: Jordi Cortadella

Generation: 2026-02-03T12:21:04.942Z

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