Skip to question
asic.fyi
DesignVerificationSystemVerilogFirmwareArchitectureInterviews
asic.fyi/Interview questions/Configuration object ownership

Hardware interview practice

Configuration object ownership

MediumUVM ComponentsSystemVerilog

A test puts the same mutable agent_cfg handle into config_db for agents a0 and a1. Each agent writes its own index into cfg.index during build. Later both report index=1. What is the architectural error?

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. build_phase cannot assign integral fields
  2. B. config_db always converts object fields to static variables
  3. C. Agent indices must be stored in the factory, not a configuration object
  4. D. Both agents share one object handle, so the second mutation is visible through both references; create or clone per-agent configurations
Continue practicing

Related questions

UVM ComponentsCheck_phase and final checking→UVM ComponentsFinish_item versus get_response→
asic.fyi · Learn silicon end to end.info@asic.fyi