Hardware interview practice
Config_db type matching
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?
Choose one
Answer choices
- A. The get fails because config_db entries are type-parameterized; assignment compatibility does not merge int and time resources
- B. The get succeeds because int converts to time
- C. The get succeeds only when timeout is less than 2^31
- D. The result depends on report verbosity
