Skip to question
asic.fyi
DesignVerificationSystemVerilogFirmwareArchitectureInterviews
asic.fyi/Interview questions/Field automation reference copying

Hardware interview practice

Field automation reference copying

MediumUVM ComponentsSystemVerilog

A transaction registers a nested object field with `uvm_field_object(child, UVM_DEFAULT | UVM_REFERENCE)`. After dst.copy(src), changing dst.child also changes src.child. Why?

Try it in the question bankReason first. Then compare.

Keep this exact question selected while you check your answer and review the full solution.

Practice this question →
Choose one

Answer choices

  1. A. UVM_DEFAULT disables the copy operation
  2. B. copy always aliases every object field regardless of flags
  3. C. The factory replaced child with a singleton
  4. D. UVM_REFERENCE requests handle copying for that field, so both parents refer to the same child object
Continue practicing

Related questions

UVM ComponentsManual do_copy and do_compare→UVM ComponentsPack and unpack ordering→
asic.fyi · Learn silicon end to end.info@asic.fyi