In reply to chr_sue:
In reply to saurabh.sa27:
You have to provide a string from the commandline like this:
@chr_sue, I don't think it will work, the commandline uvm_set_config_string need the arguments:
The first argument needs to be uvm_component, can't be an uvm_object.
Since the "cfg" class in top_env class is an object, then I don't think we can use +uvm_set_config_string to set value to cfg directly.