DescriptionQ304
Q304DVASIC interview problem
Top-down build traversal
TechniquesUVMPhase lifecycle and ordering
DifficultyEasy
TopicUVM Components
LanguageSystemVerilog
Format4 choices
01
Problem
The agent reads is_active from config_db in its build_phase. Assuming no competing setting, what value does it read in this test?
Function headerSystemVerilog
function void test::build_phase(uvm_phase phase);
super.build_phase(phase);
env = env_t::type_id::create("env", this);
uvm_config_db#(uvm_active_passive_enum)::set(
this, "env.agt", "is_active", UVM_PASSIVE);
endfunction02
