Hardware interview practice
Factory instance overrides
Only the driver named uvm_test_top.env.a0.drv should be replaced by error_driver; every other base_driver must remain unchanged. Which operation expresses that intent most precisely?
Choose one
Answer choices
- A. Set a global type override from base_driver to error_driver
- B. Override base_agent and rely on the factory to infer the child driver path
- C. Set the driver's is_active field to UVM_PASSIVE
- D. Set an instance override for base_driver at the full creation path uvm_test_top.env.a0.drv
