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 ...
module delayed_seq (in, out, clk, rst);
input in, clk, rst;
output out;in is the input that generates the input
sequence
clk is the clock signal.
rst is the synchronous reset signal.
out is the output that produces the output
sequence.