Hardware interview practice
Field automation reference copying
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?
Choose one
Answer choices
- A. UVM_DEFAULT disables the copy operation
- B. copy always aliases every object field regardless of flags
- C. The factory replaced child with a singleton
- D. UVM_REFERENCE requests handle copying for that field, so both parents refer to the same child object
