If i want to pass on a value to a sequence, i understand that from test we can set the variable value to the sequencer on which this sequence runs like below.
uvm_config_db #(int)::set(this,"env*.agent*.seqr","addr", 50);
By this i can get the value of addr in my corresponding sequence as below.
uvm_config_db #(int)::get(m_sequencer,"","addr",seq_addr); //seq_addr being local variable in sequence.
The above code is valid only if i have started a sequence using seq.start(env*.agent*.seqr). But how to do the same, if i start my sequence as seq.start(null). With my way of using sequence start there is no particular sequencer on which my sequence runs. I am using this to do some RAL based writes in my sequence(RAL model inturn calls any one interface related sequencer much later), for which i wanted to pass weights for the register sequence_item through test.
I am kinda new to UVM, so, if it is some thing basic which I missed kindly let me know :-)