UVM · Medium · SystemVerilog

UVM Sequence Body

Generate a stream of randomized sequence items.

Task

Extend uvm_sequence#(bus_item), repeat 20 times, create an item, start_item, randomize, and finish_item.

Examples

Constraints

What this problem is testing

UVM interview problems test transaction flow, ownership, phasing, TLM connections, checking strategy, and whether components remain reusable and debuggable.

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

uvm, sequence, randomization

Open UVM Sequence Body in the HDLForge interactive editor.

Related problems

Explore the UVM Practice & Interview Preparation hub.

Continue practising