UVM Config DB

In reply to uvmsd:

The uvm_config_db is pass by value. What you need to do is create an object

class cfg;
  int REQ_NUM_WORDS;
  // add other variables you want to share
endclass

Then construct this object in your driver and set it.

In your monitor, you can get a handle to this object and retrieve it from the config_db.