Query on passing a variable from Module to Class sequence using uvm_config_db

In reply to verif_user:

you can pass the variable to the sequencer, then in you sequence call get_sequencer() to retrieve the sequencer handle to probe the value.

Alternative, put the variable into a config object, use uvm_event_pool to get a global event, call uvm_event::trigger(config_obj) to pass the object into the event, then in your sequence get the global event call uvm_evnet::wait_trigger_data(config_obj) to retrieve the object.