FPGA · Easy · SystemVerilog

Four-Sample Delay Line

Store the current and previous input samples for a four-tap FIR.

Task

On each valid sample, shift the delay line so `x0` is newest and `x3` is oldest.

Examples

Constraints

What this problem is testing

FPGA problems test whether logically correct RTL will behave predictably in hardware, including clock-domain boundaries, reset release, noisy inputs, inferred resources, and timing.

Interview habit: before coding, state reset behavior, the state that must be stored, and the conditions that update each output.

Verification plan

Common mistakes

Interview follow-up questions

Concepts to review

DSP, FIR, shift register

Open Four-Sample Delay Line in the HDLForge interactive editor.

Related problems

Explore the FPGA Design Practice & Interview Preparation hub.

Continue practising