In reply to dave_59:
Hi Dave, Thanks for the quick reply.
These sequence item and sequencer are in the package, I can’t modify these classes.
In my test case, I have imported the package and instantiated the sequence item class only and I did the following assignment to the variable.
TFB_Bfm_pkg::TFB_Bfm_input_msg i_TFB_Bfm_input_msg;
i_TFB_Bfm_input_msg = TFB_Bfm_input_msg::type_id::create (“i_TFB_Bfm_input_msg”);
i_TFB_Bfm_input_msg.src = 4’hf;
Is this passes the src value “f” to the sequencer?
Should I need to instantiate the sequencer class also?