FPGA · Medium · SystemVerilog

Feed Latency Meter

Measure cycle latency from message start to normalized output.

Task

Increment a free-running cycle counter. Capture start timestamp on start_msg and output latency on normalized_valid.

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

HFT, latency, timestamp

Open Feed Latency Meter in the HDLForge interactive editor.

Related problems

Explore the FPGA Design Practice & Interview Preparation hub.

Continue practising