Bala Posted January 20, 2012 Report Share Posted January 20, 2012 I have extended my_test_config from uvm_ojbect. I then use my_test_config = my_test_config::type_id::create("my_test_config); set_config_object("*.my_env", "cfg", my_test_config); But when I print_topology() I get the following Name Type Size Value my_env top_env - @505 cfg object - <null> Could someone help me sort this out. The problem my_test_config is supposed to override my default configuration in my_env So when I use uvm_config_db#(my_test_config)::get(this, "", "cfg", cfg); It fails and hits uvm_fatal Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.