Can I use uvm_config_db initial begin?

In reply to UVM_LOVE:

  1. why not use uvm_env if you are using uvm_config_db?

  2. you should call config_db::get method inside your env class, not in tb_top, ideally in build_phase. or somewhere after constructor new();

  3. test should be class extended from uvm_test rather than module if you really want to use UVM.

  4. looks like you are new to how systemverilog testbench works, and kind of confused between UVM and SV testbench.