hi, I think Dave's input as below will give you a hint
http://ovmworld.org/forums/showthread.php?t=1219
Setting control knobs in a sequence from the component hierarchy cannot be done directly since sequence items are not part of the hierarchy. The set_config_int configuration is only applied to objects derived from ovm_component so this mechanism cannot be used directly either.
To get this to work with sequences, the trick is to place the control variables in the sequencer - this is part of the component hierarchy so these variables can be set using either hierarchical names or the OVM configuration mechanism.
The control variables can be picked up within a sequence by using the p_sequencer handle that points to the sequencer that creates it, e.g.
Code:
max_addr = p_sequencer.max_addr;
The p_sequencer handle is created by the `ovm_sequence_utils macro and is the same type as the sequencer class so can access all of its members.
hope it will help
Thanks.P