In reply to peterjin:
At least one of your problems is you declared m_seqr in both nspi_master_agent and nspi_master_agent_param. You should never redeclare a variable with the same name in both classes.
In reply to peterjin:
At least one of your problems is you declared m_seqr in both nspi_master_agent and nspi_master_agent_param. You should never redeclare a variable with the same name in both classes.