In reply to UVM_LOVE:
-
why not use uvm_env if you are using uvm_config_db?
-
you should call config_db::get method inside your env class, not in tb_top, ideally in build_phase. or somewhere after constructor new();
-
test should be class extended from uvm_test rather than module if you really want to use UVM.
-
looks like you are new to how systemverilog testbench works, and kind of confused between UVM and SV testbench.