Skip to question
asic.fyi
DesignVerificationSystemVerilogFirmwareArchitectureInterviews
asic.fyi/Interview questions/Config_db type matching

Hardware interview practice

Config_db type matching

EasyUVM ComponentsSystemVerilog

A test sets uvm_config_db#(int)::set(..., "timeout", 100), while the consumer calls uvm_config_db#(time)::get for the same scope and field. What is the expected result?

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. The get fails because config_db entries are type-parameterized; assignment compatibility does not merge int and time resources
  2. B. The get succeeds because int converts to time
  3. C. The get succeeds only when timeout is less than 2^31
  4. D. The result depends on report verbosity
Continue practicing

Related questions

UVM ComponentsConfig_db virtual interface distribution→UVM ComponentsConfig_db build-time precedence→
asic.fyi · Learn silicon end to end.info@asic.fyi