Generally uvm_config_db is used, where we will set at the top and retrieve at lower components.
Now, my requirement is, there is a variable declared in the driver. I wanted to set some value from the driver and get from the top level. How to do this, when I tried with the following code, it gives me an error message
This is the example code, please check and let me know.
I wanted to set some value at lower components and get it at top level. Kindly help me to get this or point me to a similar example for this.
Quick add - I use a dedicated scope to share such variables - if I had to do that - some more code, to create a “common_shared_scope” and use that as “path_name” in set & get.