Suppose my UVM monitor/driver function depends on the DUT configuration.
At run-time the DUT configuration may change, e.g. DUT configuration registers may be reprogrammed via JTAG.
What would be a correct way to pass DUT configuration info to UVM monitor/driver?
I think uvm_config_db isn’t appropriate here.
In reply to vitaliy:
Reprogramming your DUT via JTAG will be done through a JTAG agent using register commands. This will also update the registers in your testbench, i.e. the new configuration is also available in the UVM environment. This is a typical use-case what your are requesting.
In reply to Ram _p:
make a reference to your register model in your driver then you have what you need.