FPGA · Hard · SystemVerilog

Streaming Ethernet/IPv4/UDP Parser

Integrate a fixed-latency streaming packet parser without full-frame buffering.

Task

Track byte position, identify IPv4 using EtherType 0x0800, identify UDP using protocol 17, and pulse metadata_valid when UDP ports are captured.

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

packet parser, streaming, integration

Open Streaming Ethernet/IPv4/UDP Parser in the HDLForge interactive editor.

Related problems

Explore the FPGA Design Practice & Interview Preparation hub.

Continue practising