UVM · Medium · SystemVerilog

UVM Sequence Item

Define and register a simple randomized UVM transaction.

Task

Extend uvm_sequence_item with rand addr/data/write and register fields using uvm_object_utils.

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-item, transaction

Open UVM Sequence Item in the HDLForge interactive editor.

Related problems

Explore the UVM Practice & Interview Preparation hub.

Continue practising